[asterisk-dev] [Code Review] Add replacement for SIP_CAUSE

opticron reviewboard at asterisk.org
Tue Mar 20 10:40:57 CDT 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1822/
-----------------------------------------------------------

Review request for Asterisk Developers.


Summary
-------

Add a drop-in replacement for SIP_CAUSE that does not incur the overhead of the MASTER_CHANNEL dialplan function.  This feature uses control frames to pass the data and creates a mechanism by which any channel driver can report cause information.  This implementation includes only SIP, but implementations for other channel drivers will be available in the next month.


This addresses bug SWP-4221.
    https://issues.asterisk.org/jira/browse/SWP-4221


Diffs
-----

  trunk/apps/app_dial.c 359891 
  trunk/channels/chan_sip.c 359891 
  trunk/include/asterisk/frame.h 359891 
  trunk/main/channel.c 359891 
  trunk/main/features.c 359891 

Diff: https://reviewboard.asterisk.org/r/1822/diff


Testing
-------

Verified that this functions identically to SIP_CAUSE in single-channel dials, forked dials, and forked dials behind a local dial.


Thanks,

opticron

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20120320/ff211860/attachment.htm>


More information about the asterisk-dev mailing list