Paweł Budzyński
2005-01-24 01:28:49 UTC
Hi,
Please help me findout an answer to this question:
My simple application should log to file, if somebody
pick up phone or not when phone is ringing. To do this
I implement the following flow chart of messages exchange
(see below) and Im not sure, is it correct?
App CAPI
CONNECT_IND
<-----------------
ALERT_REQ
----------------->
ALERT_CONF
<-----------------
DISCONNECT_IND Parameter Reason is writen to log file
<-----------------
DISCONECT_RESP
----------------->
PLCI is the same
Based on PLCI state machine diagram (CAPI specification
chapter 7), this is allowed. But based on general message
protocol idea, CONNECT_RESP should be send to CAPI.
but ...
my application can't send CONNECT_RESP{Reject=IGNORE CALL}
immediately after CONNECT_IND, because it must wait for
DISCONNECT_IND and upon analysis Reason parameter write
to log file, if somebody pickup phone or not.
So second question is:
- When my application should send CONNECT_RESP ?
regards
Pawel Budzynski
Please help me findout an answer to this question:
My simple application should log to file, if somebody
pick up phone or not when phone is ringing. To do this
I implement the following flow chart of messages exchange
(see below) and Im not sure, is it correct?
App CAPI
CONNECT_IND
<-----------------
ALERT_REQ
----------------->
ALERT_CONF
<-----------------
DISCONNECT_IND Parameter Reason is writen to log file
<-----------------
DISCONECT_RESP
----------------->
PLCI is the same
Based on PLCI state machine diagram (CAPI specification
chapter 7), this is allowed. But based on general message
protocol idea, CONNECT_RESP should be send to CAPI.
but ...
my application can't send CONNECT_RESP{Reject=IGNORE CALL}
immediately after CONNECT_IND, because it must wait for
DISCONNECT_IND and upon analysis Reason parameter write
to log file, if somebody pickup phone or not.
So second question is:
- When my application should send CONNECT_RESP ?
regards
Pawel Budzynski