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

John Clements jclements at quadranttelecom.com
Sat Jun 24 15:43:26 CEST 2006


> 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 :-)

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





More information about the sr-users mailing list