Hi John, I'm assuming you are using a Sonus gateway? This is a known problem with Sonus. They put a few of the options (namely NPDI and RN) to the left of the "@". It's kinda crazy.. Asterisk versions >= 1.2.7 WILL NOT be able to properly parse this URI. I'm working on a bug in the asterisk bug tracker http://bugs.digium.com/view.php?id=7208
They are waiting on me to do a debug from my Sonus gateway, just been busy lately.
As for SER, you should consder using the textopts modules. Try the functions: subst_uri or subst_user
Let us know what that does for you.. -Brett
On Fri, June 23, 2006 12:53 pm, 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@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@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers