[asterisk-dev] sip contact suffix on header

luciano digivoice lucianodigivoice at gmail.com
Wed Mar 4 05:18:33 CST 2009


Hello all,

last week I got a problem, a customer needs to insert a contact suffix at
the SIP Header(Asterisk 1.4.22). For example:

Original Contact:
Contact: <sip:551133062182 at 192.168.0.24 <sip%3A551133062182 at 192.168.0.24>>

Changed Contact:
Contact: <sip:551133062182lbo at 192.168.0.24<sip%3A551133062182lbo at 192.168.0.24>
>

After studing the chan_sip.c we made a patch. This patch creates a new
sip.conf parameter(contactsuffix), and this parameter is read by the
chan_sip.c, changing the contact string.

This change is running without problems, but we would like to put it in the
new version of Asterisk 1.4.X.

How could we do it?

Thanks a lot.

-- 
Luciano Alves Barroso
www.digivoice.com.br
www.meucci.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20090304/7eeb4017/attachment-0001.htm 


More information about the asterisk-dev mailing list