Hello,
On 1/27/10 7:50 PM, Eric Hiller wrote:
Klaus,
Thanks for the help, I am working on getting 1.5 installed now as this functionality isn't available in 1.2 it would appear. In 1.5 I am getting an error for my code: $ruri.domain = "216.82.224.202"; forward(); Which worked fine in 1.2, but does not in 1.5. What would be the equivalent config for 1.5?
have you loaded the pv.so module? In 1.5.0 and greater most of pseudo-variables are implemented in pv module. instead of $ruri.domain you can use the shorter version $rd.
Cheers, Daniel
For the enum side I would do: enum_pv_query("{s.select,$ruri,;}");
If I did textops then it would be: subst_user('/;(.*)$//'); Correct?
Thanks again! -Eric
Date: Sat, 16 Jan 2010 10:51:59 +0100 From: klaus.mailinglists@pernau.at To: mrraptor98@hotmail.com CC: users@lists.kamailio.org Subject: Re: [Kamailio-Users] isup in invite
Hi ERic!
The ENUM lookup is done with the complete userpart. In your case you have to parse the E164 number manually.
You can do this for example with string transformations: e.g.
http://www.kamailio.org/dokuwiki/doku.php/transformations:1.5.x#sselect_inde...
Then use enum_pv_function() with the pseudo variable (pv) holding the parsed number. http://kamailio.org/docs/modules/1.5.x/enum#id2467740
regards klaus
Eric Hiller wrote:
I have an issue where my sip endpoint is sending ISUP information
in the
invite. IE: sip:+1xxxxxxxxxx;npdi=yes;cic=+1-0110@xxxx:5060 and
when I
run the enum query I am getting: 0(24410) enum_query(): uri user is not an E164 number
This is most likely due to the fact that $rU=+17794294010;npdi=yes;cic=+1-0110
Does openser not read the user properly? Is there a way to correct
this?
I am running openser 1.2.2 notls
Thanks for any help! -Eric
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
Sign up
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. Sign up now. http://clk.atdmt.com/GBL/go/196390709/direct/01/
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users