[OpenSIPS-Users] enum_pv_query response

Andrew Melton amelton at gmail.com
Fri Apr 6 22:58:09 CEST 2012


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:

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!'

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?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120406/7e5fca75/attachment.htm>


More information about the Users mailing list