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

Greger V. Teigre greger at teigre.com
Sat Jun 24 09:31:37 CEST 2006


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