Thorsten
2005-04-06 14:36:52 UTC
Hi all,
I'm trying to program a soft phone based on COMMON ISDN API. One of
the functionalities should be to listen on call which are put in hold
or are suspended. I read in the documentation of the COMMON ISDN API
that you can listen on this supplementary services but I never get any
information messages from the API that a call has been put in hold or
has been suspended. My listen registration looks like:
App CAPI
LISTEN_REQ
----------------->
LISTEN_CONF (Info = 0)
<-----------------
FACILITY_REQ
----------------->
FACILITY_CONF (Info = 0 )
<-----------------
LISTEN_REQ parameter:
Controller: 0x0001
InfoMask: FACILITY| and all other
CIPMask: TELEPHONY|3.1KHZAUDIO|7KHZAUDIO|SPEECH| and all other
CIPMask2: 0x0000
Calling party number: 0x00
Calling party subaddress: 0x00
FACILITY_REQ parameter:
Controller: 0x0001
Facility selector: 0x03
Facility request parameter: 0x07 (length)
0x0001 (listen)
0x04 (supstruct lenght)
0xFF (all services)
0x07
0x00
0x00
After the registration of my app I put a call from an other
application (AVM: FRITZ!fon) in hold. Now I would expect that my
application gets any message from the COMMON ISDN API but I don't :-(.
These both applications run on the same controller!
So, if anybody knows what I might make wrong please let me know. Or
isn't it possible to detect if a call is in put in hold or is
suspended by another application.
Thanks for your help
Thorsten
I'm trying to program a soft phone based on COMMON ISDN API. One of
the functionalities should be to listen on call which are put in hold
or are suspended. I read in the documentation of the COMMON ISDN API
that you can listen on this supplementary services but I never get any
information messages from the API that a call has been put in hold or
has been suspended. My listen registration looks like:
App CAPI
LISTEN_REQ
----------------->
LISTEN_CONF (Info = 0)
<-----------------
FACILITY_REQ
----------------->
FACILITY_CONF (Info = 0 )
<-----------------
LISTEN_REQ parameter:
Controller: 0x0001
InfoMask: FACILITY| and all other
CIPMask: TELEPHONY|3.1KHZAUDIO|7KHZAUDIO|SPEECH| and all other
CIPMask2: 0x0000
Calling party number: 0x00
Calling party subaddress: 0x00
FACILITY_REQ parameter:
Controller: 0x0001
Facility selector: 0x03
Facility request parameter: 0x07 (length)
0x0001 (listen)
0x04 (supstruct lenght)
0xFF (all services)
0x07
0x00
0x00
After the registration of my app I put a call from an other
application (AVM: FRITZ!fon) in hold. Now I would expect that my
application gets any message from the COMMON ISDN API but I don't :-(.
These both applications run on the same controller!
So, if anybody knows what I might make wrong please let me know. Or
isn't it possible to detect if a call is in put in hold or is
suspended by another application.
Thanks for your help
Thorsten