[Serusers] How do I get rid of npdi=yes?

Mike Tkachuk mike at yes.net.ua
Sat Jun 24 16:09:55 CEST 2006


Hello John,

As RFC3261 (19.1.1) says, you have a broken UA.

Saturday, June 24, 2006 4:43:26 PM, you wrote:

>> You have a broken UA.

JC> Where do you get that? Nothing is broken, its the Number Porting flag the
JC> TDM sends. If anything, Asterisk and SER are broken because they do not
JC> recognize it :-)

JC> And its subst_uri() that gets rid of it. I found it last night. Thanks
JC> though.

JC>   -John


>> AFAIK it's not possible with From. SER processes messages and always
>> keep the original message. When you do subst etc, you basically tell SER
>> how to change the message before sending a reply or forwarding. The ruri
>> can be changed (but still the original uri is kept, i.e. revert_uri())
>> The lookup function will use the From in the original message,
>> regardless of what you do.
>> You have a broken UA.
>> g-)
>>
>> John Clements wrote:
>>> I've looked around and have found one or two other posts asking about
>>> this, but I have never seen an answer. The From is:
>>>
>>> =uri: <sip:5551212;npdi=yes at x.x.x.x:5060;dtg=SIP;user=phone>
>>>
>>> Which causes a number of issues. USRLOC no longer works:
>>>
>>> =lookup(): '5551212;npdi=yes' Not found in usrloc
>>>
>>> And when you send the call to an Asterisk server, Asterisk wigs out
>>> because it truncates everything after the first ";" it encounters in the
>>> URI. Does anyone have any idea how to get rid of it? I've tried subst(),
>>> but could not get it to work. :-(
>>>
>>>
>>>   -John
>>>
>>>
>>> _______________________________________________
>>> Serusers mailing list
>>> Serusers at lists.iptel.org
>>> http://lists.iptel.org/mailman/listinfo/serusers
>>>
>>>
>>>
>>
>>


JC> _______________________________________________
JC> Serusers mailing list
JC> Serusers at lists.iptel.org
JC> http://lists.iptel.org/mailman/listinfo/serusers


--
Mike Tkachuk




More information about the sr-users mailing list