What the..<div><br></div><div>I thought &quot;Caller-Destination-Number&quot; was always the cleaned dialed number (i.e. 5551234567) - is this not the case?</div><div><br></div><div>Cal<br><div><div><br><div class="gmail_quote">
On Fri, Jan 4, 2013 at 5:38 PM, Victor Chukalovskiy <span dir="ltr">&lt;<a href="mailto:victor.chukalovskiy@gmail.com" target="_blank">victor.chukalovskiy@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello and Happy New year!<br>
<br>
A SIP call comes in that was previously dipped. I&#39;d like to be able to<br>
have &quot;rn&quot; and &quot;npdi&quot; available as channel variables that I can use in<br>
regex expressions. Is there a way to configure FreeSWITCH to put &quot;rn&quot;<br>
and &quot;npdi&quot; into separate channel variable?<br>
<br>
So far, info application shows me the following channel variables that<br>
contain LRN:<br>
<br>
Caller-Destination-Number: [5551234567;npdi=yes;rn=5555550001]<br>
variable_sip_req_user: [5551234567;npdi=yes;rn=5555550001]<br>
variable_sip_req_uri: [5551234567;npdi=yes;rn=<a href="http://5555550001@1.2.3.4:5060" target="_blank">5555550001@1.2.3.4:5060</a>]<br>
<br>
I can probably dissect those and put &quot;rn&quot; and &quot;npdi&quot; into separate<br>
variables. But this means extra steps in dial-plan. In case there is a<br>
built-in way to accomplish the same task, it would be great!<br>
<br>
Could you please let me know.<br>
<br>
Thank you,<br>
Victor<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div></div></div>