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

Nils Ohlmeier lists at ohlmeier.org
Mon Jun 26 11:55:06 CEST 2006


I bag to disagree but according to the BNF of RFC3261 (page 222) the username 
of the URI below is '5551212;npdi=yes' and the host part ist 'x.x.x.x' (and 
the URI parameters are 'dtg=SIP' and 'user=phone').
But IMHO each implementation which puts such an extension into the username 
should be aware of the fact that all implementations which are not compliant 
with this extension will interpret the username like described above (and 
AFAIK there is no rule which tells 3261 implementations to strip anything in 
an username).

Regards
  Nils

On Saturday 24 June 2006 09:59, Jiri Kuthan wrote:
> I don't think that the problem in URI is presence of npdi. The problem is
> IMO that it is a SIP URDI without a domain -- I don't really see to where I
> would be able to send such a URI.
>
> -jiri
>
> At 19:53 23/06/2006, 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
>
> --
> Jiri Kuthan            http://iptel.org/~jiri/
>
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers



More information about the sr-users mailing list