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

Weiter Leiter bp4mls at googlemail.com
Sat Jun 24 15:57:59 CEST 2006


Hi John,

I have to ask: is it, by chance, a UA you are developing? :)

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


... I mean, you have to have a motivation to be so drastic when judging
some many bright minds' outcome. :)


> And its subst_uri() that gets rid of it. I found it last night. Thanks
> though.
>
>   -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
>>>
>>>
>>>
>>>       
>>     
>
>
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
>   




More information about the sr-users mailing list