[asterisk-dev] Detailed SIP disconnect reason

Kirill 'Big K' Katsnelson kkm at adaptiveai.com
Mon Feb 22 16:54:00 CST 2010


 From looking at the code, I do not think such a feature exists. If I am 
missing anything, please correct me. If not, them my question is how to 
implement that so it would be of interest to a wider audience.

I need to know in the dialplan why (narrowly, a SIP) call was 
disconnected. In particular, immediately I want to distinguish a 
disconnection from RTP timeout or SIP session timer from another cause. 
But, more generally, if I were to create such a feature, I would also 
include other indications such as e. g. which party has issued a BYE.

So, if I am implementing that,

1. Is that thing of a common interest and may go into the trunk as a new 
feature?

2. What is a better way to report that to the dialplan:
    a - set a channel variable
    b - report that through the CHANNEL() function.
    c - other?

Thanks,

  -kkm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5506 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.digium.com/pipermail/asterisk-dev/attachments/20100222/83d5f04a/attachment-0001.bin 


More information about the asterisk-dev mailing list