s***@processingsystems.de
2009-06-12 18:20:50 UTC
Hi there,
uhm I've a problem.
I've written an application that shows the user which number is
calling.
It works perfectly on a normal telephone system. But if I try to get
the number from a PBX ( Private Branch Exchange ) (its the system on
which you need to dial a "0" (in germany) before dialing the proper
number) I get no response from CONNECT_IND_CALLINGPARTYNUMBER. Just
don't know why.
Here the code in question:
LISTEN_REQ_HEADER(&CMSG, Appl_Id, 0, 1);
LISTEN_REQ_INFOMASK(&CMSG) = 0xffff;
LISTEN_REQ_CIPMASK(&CMSG) = ALL_SERVICES;
CAPI_PUT_CMSG(&CMSG);
QVariant str = CAPI_GET_CMSG(&CMSG,Appl_Id);
if (str != "4356" && i == true) {
QVariant var = (char *)CONNECT_IND_CALLINGPARTYNUMBER; //should hold
the calling number
....
Thnaks for your held in advance.
Greetings: Stefan Reinhardt
uhm I've a problem.
I've written an application that shows the user which number is
calling.
It works perfectly on a normal telephone system. But if I try to get
the number from a PBX ( Private Branch Exchange ) (its the system on
which you need to dial a "0" (in germany) before dialing the proper
number) I get no response from CONNECT_IND_CALLINGPARTYNUMBER. Just
don't know why.
Here the code in question:
LISTEN_REQ_HEADER(&CMSG, Appl_Id, 0, 1);
LISTEN_REQ_INFOMASK(&CMSG) = 0xffff;
LISTEN_REQ_CIPMASK(&CMSG) = ALL_SERVICES;
CAPI_PUT_CMSG(&CMSG);
QVariant str = CAPI_GET_CMSG(&CMSG,Appl_Id);
if (str != "4356" && i == true) {
QVariant var = (char *)CONNECT_IND_CALLINGPARTYNUMBER; //should hold
the calling number
....
Thnaks for your held in advance.
Greetings: Stefan Reinhardt