[asterisk-dev] Potentially naughty patch

Joshua Colp jcolp at digium.com
Tue Oct 29 11:40:41 CDT 2013


Olle E. Johansson wrote:
>
> That is indeed an interesting concept. Good food for thought.
>
> We could also implement a channel interface function that asks for a specific format and implement
> the translation in the core. Somehow I loose too much information in SIP ->  ISDN ->  SIP conversions
> in most of my calls and I need to get rid of that. I am patching to get around instead of fixing the
> real problem.

Theoretically speaking since native hangup causes are now stored on the 
channel [1] it would be possible to extend this to allow them to be 
explicitly set in the dialplan as well (like Hangup allows you to do) 
and ultimately leverage them in channel drivers when hangup actually 
occurs. Of course since the results from all dialed channels are stored 
you'd need an aggregate result in some cases.

[1] https://wiki.asterisk.org/wiki/display/AST/Hangup+Cause

-- 
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at:  www.digium.com  & www.asterisk.org



More information about the asterisk-dev mailing list