<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
On 1/27/10 7:50 PM, Eric Hiller wrote:
<blockquote cite="mid:BLU112-W145BAEFB7994315C6068C4DB5D0@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>Klaus,<br>
<br>
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:<br>
$ruri.domain = "216.82.224.202";<br>
forward();<br>
Which worked fine in 1.2, but does not in 1.5. What would be the
equivalent config for 1.5?<br>
</blockquote>
<br>
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.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<blockquote cite="mid:BLU112-W145BAEFB7994315C6068C4DB5D0@phx.gbl"
type="cite"><br>
For the enum side I would do:<br>
enum_pv_query("{s.select,$ruri,;}");<br>
<br>
If I did textops then it would be:<br>
subst_user('/;(.*)$//');<br>
Correct?<br>
<br>
Thanks again!<br>
-Eric<br>
<br>
> Date: Sat, 16 Jan 2010 10:51:59 +0100<br>
> From: <a class="moz-txt-link-abbreviated" href="mailto:klaus.mailinglists@pernau.at">klaus.mailinglists@pernau.at</a><br>
> To: <a class="moz-txt-link-abbreviated" href="mailto:mrraptor98@hotmail.com">mrraptor98@hotmail.com</a><br>
> CC: <a class="moz-txt-link-abbreviated" href="mailto:users@lists.kamailio.org">users@lists.kamailio.org</a><br>
> Subject: Re: [Kamailio-Users] isup in invite<br>
> <br>
> Hi ERic!<br>
> <br>
> The ENUM lookup is done with the complete userpart. In your case
you <br>
> have to parse the E164 number manually.<br>
> <br>
> You can do this for example with string transformations: e.g.<br>
>
<a class="moz-txt-link-freetext" href="http://www.kamailio.org/dokuwiki/doku.php/transformations:1.5.x#sselect_index_separator">http://www.kamailio.org/dokuwiki/doku.php/transformations:1.5.x#sselect_index_separator</a><br>
> <br>
> Then use enum_pv_function() with the pseudo variable (pv) holding
the <br>
> parsed number.<br>
> <a class="moz-txt-link-freetext" href="http://kamailio.org/docs/modules/1.5.x/enum#id2467740">http://kamailio.org/docs/modules/1.5.x/enum#id2467740</a><br>
> <br>
> <br>
> regards<br>
> klaus<br>
> <br>
> Eric Hiller wrote:<br>
> > I have an issue where my sip endpoint is sending ISUP
information in the <br>
> > invite. IE: <a class="moz-txt-link-freetext" href="sip:+1xxxxxxxxxx;npdi=yes;cic=+1-0110@xxxx:5060">sip:+1xxxxxxxxxx;npdi=yes;cic=+1-0110@xxxx:5060</a>
and when I <br>
> > run the enum query I am getting:<br>
> > 0(24410) enum_query(): uri user is not an E164 number<br>
> > <br>
> > This is most likely due to the fact that <br>
> > $rU=+17794294010;npdi=yes;cic=+1-0110<br>
> > <br>
> > Does openser not read the user properly? Is there a way to
correct this?<br>
> > <br>
> > I am running openser 1.2.2 notls<br>
> > <br>
> > Thanks for any help!<br>
> > -Eric<br>
> > <br>
> >
------------------------------------------------------------------------<br>
> > Your E-mail and More On-the-Go. Get Windows Live Hotmail
Free. Sign up <br>
> > now. <a class="moz-txt-link-rfc2396E" href="http://clk.atdmt.com/GBL/go/196390709/direct/01/"><http://clk.atdmt.com/GBL/go/196390709/direct/01/></a><br>
> > <br>
> > <br>
> >
------------------------------------------------------------------------<br>
> > <br>
> > _______________________________________________<br>
> > Kamailio (OpenSER) - Users mailing list<br>
> > <a class="moz-txt-link-abbreviated" href="mailto:Users@lists.kamailio.org">Users@lists.kamailio.org</a><br>
> > <a class="moz-txt-link-freetext" href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><br>
> >
<a class="moz-txt-link-freetext" href="http://lists.openser-project.org/cgi-bin/mailman/listinfo/users">http://lists.openser-project.org/cgi-bin/mailman/listinfo/users</a><br>
> <br>
> <br>
> _______________________________________________<br>
> Kamailio (OpenSER) - Users mailing list<br>
> <a class="moz-txt-link-abbreviated" href="mailto:Users@lists.kamailio.org">Users@lists.kamailio.org</a><br>
> <a class="moz-txt-link-freetext" href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><br>
> <a class="moz-txt-link-freetext" href="http://lists.openser-project.org/cgi-bin/mailman/listinfo/users">http://lists.openser-project.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
<hr>Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. <a
moz-do-not-send="true"
href="http://clk.atdmt.com/GBL/go/196390709/direct/01/" target="_new">Sign
up now.</a>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Kamailio (OpenSER) - Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.kamailio.org">Users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a>
<a class="moz-txt-link-freetext" href="http://lists.openser-project.org/cgi-bin/mailman/listinfo/users">http://lists.openser-project.org/cgi-bin/mailman/listinfo/users</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
* <a class="moz-txt-link-freetext" href="http://www.asipto.com/">http://www.asipto.com/</a>
</pre>
</body>
</html>