[Freeswitch-users] NPDI tel URI parameters appearing in SIP URI

Victor Chukalovskiy victor.chukalovskiy at gmail.com
Wed Feb 20 01:25:22 MSK 2013


Hello,

SIP call comes on leg A as following:
INVITE sip:6135555555*;npdi=yes*@1.2.3.4:5060 SIP/2.0

${destination_number} var becomes "6135555555;npdi=yes"

On leg B I send the call to gateway using unaltered ${destination_number}:
<action application="bridge" 
data="sofia/gateway/test_gw/${destination_number}"/>

I see the following on leg B:
INVITE sip:6135555555 at 5.6.7.8:5060*;npdi=yes* SIP/2.0

So, FS moved ";npdi=yes" which is a tel URI parameter into the very end 
as if it was a SIP URI parameter. Such behavior does not seem correct. 
Is this a bug? Found the following implementation discussion:
http://comments.gmane.org/gmane.ietf.sip-implementors/21554

Please help to make FS send tel URI parameters unaltered using bridge 
application and a gateway. WiKi for bridge dial-plan tool has some 
examples but it does not make use of gateway and I need to use gateway.

Thank you,
Victor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130219/52148976/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list