<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hello, Andrew!<br>
<br>
You cannot access the raw NAPTR response from the script, you can
only see the R-URI modified according to the ENUM regexp response.
Therefore, you can search for the rn param in the R-URI ($ru
pseudovariable).<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">--
Răzvan Crainea
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<br>
On 04/06/2012 11:58 PM, Andrew Melton wrote:
<blockquote
cite="mid:CAB_4pdPW+M4VqkRGX++Em=Tct19T1+MWud3VdcneqZZtd7bjPA@mail.gmail.com"
type="cite">I am attempting to use the NAPTR response from an
enum_pv_query, but I can't find the variable being used to store
it. Debug shows a response value:
<div><br>
</div>
<div>DBG:enum:enum_pv_query_3: ENUM query on
5.2.1.5.7.2.8.2.1.5.1.enum.local: order 100, pref 50, flen 1,
flags 'u', slen 12, services 'E2U+pstn:tel', rlen 44, regexp
'!^(.*)$!tel:\1;npdi;rn=5125599976;spid=1086!'</div>
<div><br>
</div>
<div>Based on that, I was expecting to redirect the call by
parsing the rn=5125599976 from the enum response, and using it
to either rewrite the uri or construct a simple 302 from
scratch. Can I store the response or use it in a script?</div>
<div><br>
</div>
<div>Thanks.</div>
<div><br>
</div>
<div><br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</body>
</html>