[asterisk-dev] [Code Review] Extend pvt->relatedpeer support to INVITES in chan_sip.c
Nick Lewis
Nick.Lewis at atltelecom.com
Thu May 6 08:57:46 CDT 2010
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/629/
-----------------------------------------------------------
(Updated 2010-05-06 08:57:46.579820)
Review request for Asterisk Developers, Mark Michelson and pprindeville.
Changes
-------
Adds relatedpeer to outgoing as well as incoming requests
The relatedpeer reference is now used for session timers, call hold and disallowed methods to justify its existence.
Summary
-------
There is an item (relatedpeer) in the pvt structure that references a related (matched) peer structure. This is used during processing of SUBSCRIBE, NOTIFY, and OPTIONS requests and permits peer configuration items to be used without duplicating them in the pvt structure. The attached change extends the availability of the relatedpeer to INVITE processing too.
Diffs (updated)
-----
trunk/channels/chan_sip.c 258227
Diff: https://reviewboard.asterisk.org/r/629/diff
Testing
-------
During a incoming call the matched peer appears correctly in a new "Peer" field in the output to the "sip show channels" cli command
Thanks,
Nick
More information about the asterisk-dev
mailing list