Are you calling yourself in this example? variable_sip_req_user: [79645835822] variable_sip_to_user: [79645835822] 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: <action application="set" data="dialed_number=$1"/> Then you could access "dialed_number" as the name of the chan var. -MC On Tue, Feb 8, 2011 at 4:17 PM, Serge Yuriev <me@nevian.org> wrote:
Hello
In INFO app after call i see (shortened for readability) 2011-02-09 00:20:00.824547 [INFO] mod_dptools.c:1202 CHANNEL_DATA: Caller-Direction: [inbound] Caller-Username: [nevian] Caller-Dialplan: [XML] Caller-Caller-ID-Name: [Serge S. Yuriev] Caller-Caller-ID-Number: [nevian] Caller-Callee-ID-Name: [Outbound Call] Caller-Callee-ID-Number: [79645835822@81.16.114.33] Caller-Network-Addr: [109.173.67.229] Caller-ANI: [nevian] Caller-Destination-Number: [79645835822] variable_sip_from_display: [Serge S. Yuriev] variable_sip_full_from: ["Serge S. Yuriev" <sip:nevian@cranz.nevian.org
;tag=624579331] variable_sip_full_to: [<sip:79645835822@cranz.nevian.org>] variable_sip_req_user: [79645835822] variable_sip_req_uri: [79645835822@cranz.nevian.org] variable_sip_req_host: [cranz.nevian.org] variable_sip_to_user: [79645835822] variable_sip_to_uri: [79645835822@cranz.nevian.org]
In mod_radius_cdr profile->destination_number returns it as 79645835822@81.16.114.33 Which field should I use to get only number?
Termination via h323 if this matters
-- wbr, Serge
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org