<div>Hello,</div><div>&nbsp;</div><div>Sorry, I must be more specific on this..</div><div>I wont to know which field should I use inside module to get only number.</div><div>&nbsp;</div><div>10.02.2011, 19:24, "Michael Collins" &lt;msc@freeswitch.org&gt;:</div><blockquote>Are you calling yourself in this example?<div>&nbsp;</div><div>variable_sip_req_user: [<span class="wmi-callto">79645835822</span>]</div><div>variable_sip_to_user: [<span class="wmi-callto">79645835822</span>]</div><div>&nbsp;</div><div>I'm just curious. In any case, in this example it looks like the sip_to_user contains the number you are looking for. Another option would be to capture the phone number part in the regex and add a custom chan var like this:</div> <div>&lt;action application="set" data="dialed_number=$1"/&gt;</div><div>&nbsp;</div><div>Then you could access "dialed_number" as the name of the chan var.</div><div>&nbsp;</div><div>-MC<br /><br /> <div class="gmail_quote">On Tue, Feb 8, 2011 at 4:17 PM, Serge Yuriev <span dir="ltr">&lt;<a href="mailto:me@nevian.org">me@nevian.org</a>&gt;</span> wrote:<br /><blockquote class="gmail_quote" style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;">Hello<br /> <br /> In INFO app after call i see (shortened for readability)<br /> <span class="wmi-callto">2011-02-09 00</span>:20:00.824547 [INFO] mod_dptools.c:1202 CHANNEL_DATA:<br /> Caller-Direction: [inbound]<br /> Caller-Username: [nevian]<br /> Caller-Dialplan: [XML]<br /> Caller-Caller-ID-Name: [Serge S. Yuriev]<br /> Caller-Caller-ID-Number: [nevian]<br /> Caller-Callee-ID-Name: [Outbound Call]<br /> Caller-Callee-ID-Number: [<a href="mailto:79645835822@81.16.114.33">79645835822@81.16.114.33</a>]<br /> Caller-Network-Addr: [109.173.67.229]<br /> Caller-ANI: [nevian]<br /> Caller-Destination-Number: [<span class="wmi-callto">79645835822</span>]<br /> variable_sip_from_display: [Serge S. Yuriev]<br /> variable_sip_full_from: ["Serge S. Yuriev" &lt;<a href="mailto:sip%3Anevian@cranz.nevian.org">sip:nevian@cranz.nevian.org</a>&gt;;tag=<span class="wmi-callto">624579331</span>]<br /> variable_sip_full_to: [&lt;<a href="mailto:sip%3A79645835822@cranz.nevian.org">sip:79645835822@cranz.nevian.org</a>&gt;]<br /> variable_sip_req_user: [<span class="wmi-callto">79645835822</span>]<br /> variable_sip_req_uri: [<a href="mailto:79645835822@cranz.nevian.org">79645835822@cranz.nevian.org</a>]<br /> variable_sip_req_host: [<a href="http://cranz.nevian.org" target="_blank">cranz.nevian.org</a>]<br /> variable_sip_to_user: [<span class="wmi-callto">79645835822</span>]<br /> variable_sip_to_uri: [<a href="mailto:79645835822@cranz.nevian.org">79645835822@cranz.nevian.org</a>]<br /> <br /> In mod_radius_cdr profile-&gt;destination_number returns it as <a href="mailto:79645835822@81.16.114.33">79645835822@81.16.114.33</a><br /> Which field should I use to get only number?<br /> <br /> Termination via h323 if this matters<br /> <br /> --<br /> wbr,<br /> Serge<br /> <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></div> <p>_______________________________________________<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">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br />UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br /><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></p></blockquote><div>&nbsp;</div><div>&nbsp;</div><div>-- <br />wbr,<br />Serge</div>