[asterisk-dev] [Code Review] Extend pvt->relatedpeer support to INVITES in chan_sip.c

Olle E. Johansson oej at edvina.net
Tue Apr 27 08:25:35 CDT 2010


27 apr 2010 kl. 15.21 skrev Nick Lewis:

> 
> 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.

Which is technichally doable, but please also explain the benefit of adding that relation. What do we gain?

/O


More information about the asterisk-dev mailing list