Hello,

Recently I have noticed an error in my service. After some investigation,
we found that its due to some calls is terminated very early.

The scenario is, If Caller-A sends an INVITE to Asterisk, This INVITE
processed on an agi method. On that method, we read several sip custom and
default sip header for our processing.

But during this processing, if Caller-A sends CANCEL then some header value
read get malformed. Actually, it seems it gets shifted, suppose if we read
To header first and then cseq, TO header value set to cseq value and TO
return NULL. We have added some debug log in asterisk code and found,
asterisk return good value. The time between INVITE and CANCEL is 50 ms.

We have implemented AGIHangupException in our agi method, but this
exception does not catch by this CANCEL request.

Any idea/solution is appreciated.

Thanks in advance,
Salah Ahmed
_______________________________________________
Asterisk-java-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/asterisk-java-users

Reply via email to