On 21 Sep 2017, at 18:51, Michael Jerris <mike@jerris.com> wrote:https://freeswitch.org/confluence/display/FREESWITCH/XML+User+Directory#XMLUserDirectory-DialString_________________________________________________________________________On Sep 20, 2017, at 6:36 PM, Joseph Waite <joelists@tm.net.uk> wrote:Hi Guys_________________________________________________________________________Knocking my head against this. I am trying to route calls to registered endpoints. But it is not working.The log of the whole call is as follows2017-09-20 23:31:49.230782 [NOTICE] switch_channel.c:1104 New Channel sofia/external/07966677711@185.8.92.3 [a923b79f-e080-416c-934c-af13b570f813]2017-09-20 23:31:49.230782 [DEBUG] switch_core_state_machine.c:584 (sofia/external/07966677711@185.8.92.3) Running State Change CS_NEW (Cur 1 Tot 16430)2017-09-20 23:31:49.230782 [DEBUG] sofia.c:9873 sofia/external/07966677711@185.8.92.3 receiving invite from 185.8.92.3:5062 version: 1.6.19 git febfb38 2017-09-14 23:14:02Z 64bit2017-09-20 23:31:49.270606 [DEBUG] sofia.c:7084 Channel sofia/external/07966677711@185.8.92.3 entering state [received][100]2017-09-20 23:31:49.270606 [DEBUG] sofia.c:7094 Remote SDP:v=0o=FreeSWITCH 1505928870 1505928871 IN IP4 185.8.92.3s=FreeSWITCHc=IN IP4 185.8.92.3t=0 0m=audio 17854 RTP/AVP 8 101a=rtpmap:8 PCMA/8000a=rtpmap:101 telephone-event/8000a=fmtp:101 0-16a=silenceSupp:off - - - -a=ptime:202017-09-20 23:31:49.270606 [DEBUG] sofia.c:7486 (sofia/external/07966677711@185.8.92.3) State Change CS_NEW -> CS_INIT2017-09-20 23:31:49.270606 [DEBUG] switch_core_state_machine.c:603 (sofia/external/07966677711@185.8.92.3) State NEW2017-09-20 23:31:49.270606 [DEBUG] switch_core_state_machine.c:584 (sofia/external/07966677711@185.8.92.3) Running State Change CS_INIT (Cur 1 Tot 16430)2017-09-20 23:31:49.270606 [DEBUG] switch_core_state_machine.c:627 (sofia/external/07966677711@185.8.92.3) State INIT2017-09-20 23:31:49.270606 [DEBUG] mod_sofia.c:90 sofia/external/07966677711@185.8.92.3 SOFIA INIT2017-09-20 23:31:49.270606 [DEBUG] switch_core_state_machine.c:40 sofia/external/07966677711@185.8.92.3 Standard INIT2017-09-20 23:31:49.270606 [DEBUG] switch_core_state_machine.c:48 (sofia/external/07966677711@185.8.92.3) State Change CS_INIT -> CS_ROUTING2017-09-20 23:31:49.270606 [DEBUG] switch_core_state_machine.c:627 (sofia/external/07966677711@185.8.92.3) State INIT going to sleep2017-09-20 23:31:49.270606 [DEBUG] switch_core_state_machine.c:584 (sofia/external/07966677711@185.8.92.3) Running State Change CS_ROUTING (Cur 1 Tot 16430)2017-09-20 23:31:49.270606 [DEBUG] switch_channel.c:2249 (sofia/external/07966677711@185.8.92.3) Callstate Change DOWN -> RINGING2017-09-20 23:31:49.270606 [DEBUG] switch_core_state_machine.c:643 (sofia/external/07966677711@185.8.92.3) State ROUTING2017-09-20 23:31:49.270606 [DEBUG] mod_sofia.c:143 sofia/external/07966677711@185.8.92.3 SOFIA ROUTING2017-09-20 23:31:49.270606 [ERR] mod_xml_radius.c:933 Result of true match: 185.35.229.6 == ^185\.35\.229\.302017-09-20 23:31:49.270606 [ERR] mod_xml_radius.c:930 Didn't match: inbound == ^outbound2017-09-20 23:31:49.270606 [DEBUG] switch_core_state_machine.c:236 sofia/external/07966677711@185.8.92.3 Standard ROUTING2017-09-20 23:31:49.270606 [INFO] mod_dialplan_xml.c:637 Processing 07966677711 <07966677711>->443307881011 in context publicDialplan: sofia/external/07966677711@185.8.92.3 parsing [public->unloop] continue=falseDialplan: sofia/external/07966677711@185.8.92.3 Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-falseDialplan: sofia/external/07966677711@185.8.92.3 Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-falseDialplan: sofia/external/07966677711@185.8.92.3 parsing [public->outside_call] continue=trueDialplan: sofia/external/07966677711@185.8.92.3 Absolute Condition [outside_call]Dialplan: sofia/external/07966677711@185.8.92.3 Action set(outside_call=true)Dialplan: sofia/external/07966677711@185.8.92.3 Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})Dialplan: sofia/external/07966677711@185.8.92.3 parsing [public->call_debug] continue=trueDialplan: sofia/external/07966677711@185.8.92.3 Regex (FAIL) [call_debug] ${call_debug}(false) =~ /^true$/ break=neverDialplan: sofia/external/07966677711@185.8.92.3 parsing [public->rejections] continue=falseDialplan: sofia/external/07966677711@185.8.92.3 Regex (FAIL) [rejections] ${radius_auth_result}() =~ /2/ break=on-falseDialplan: sofia/external/07966677711@185.8.92.3 parsing [public->timedouts] continue=falseDialplan: sofia/external/07966677711@185.8.92.3 Regex (FAIL) [timedouts] ${radius_auth_result}() =~ /1/ break=on-falseDialplan: sofia/external/07966677711@185.8.92.3 parsing [public->JeraSoft VCS Routing] continue=falseDialplan: sofia/external/07966677711@185.8.92.3 Regex (PASS) [JeraSoft VCS Routing] destination_number(443307881011) =~ /^(.+)$/ break=on-falseDialplan: sofia/external/07966677711@185.8.92.3 Action export(nolocal:h323-call-origin=originate)Dialplan: sofia/external/07966677711@185.8.92.3 Action set(sip_h_X-accountcode=${accountcode})Dialplan: sofia/external/07966677711@185.8.92.3 Action set(call_direction=outbound)Dialplan: sofia/external/07966677711@185.8.92.3 Action set(hangup_after_bridge=true)Dialplan: sofia/external/07966677711@185.8.92.3 Action set(continue_on_fail=true)Dialplan: sofia/external/07966677711@185.8.92.3 Action set(inherit_codec=true)Dialplan: sofia/external/07966677711@185.8.92.3 Action set(call_timeout=20)Dialplan: sofia/external/07966677711@185.8.92.3 Action set(fail_on_single_reject=USER_BUSY)Dialplan: sofia/external/07966677711@185.8.92.3 Action set(origination_caller_id_name=${sip_req_user})Dialplan: sofia/external/07966677711@185.8.92.3 Action set(origination_caller_id_number=${sip_from_user})Dialplan: sofia/external/07966677711@185.8.92.3 Action set(SRCGWIP=src-gw-ip=${network_addr}) INLINEEXECUTE sofia/external/07966677711@185.8.92.3 set(SRCGWIP=src-gw-ip=185.8.92.3)2017-09-20 23:31:49.270606 [DEBUG] mod_dptools.c:1548 SET sofia/external/07966677711@185.8.92.3 [SRCGWIP]=[src-gw-ip=185.8.92.3]Dialplan: sofia/external/07966677711@185.8.92.3 Action set(CALLID=h323-conf-id=${uuid}) INLINEEXECUTE sofia/external/07966677711@185.8.92.3 set(CALLID=h323-conf-id=a923b79f-e080-416c-934c-af13b570f813)2017-09-20 23:31:49.270606 [DEBUG] mod_dptools.c:1548 SET sofia/external/07966677711@185.8.92.3 [CALLID]=[h323-conf-id=a923b79f-e080-416c-934c-af13b570f813]Dialplan: sofia/external/07966677711@185.8.92.3 Action set(CALLINGNUMBER=${caller_id_number}) INLINEEXECUTE sofia/external/07966677711@185.8.92.3 set(CALLINGNUMBER=07966677711)2017-09-20 23:31:49.270606 [DEBUG] mod_dptools.c:1548 SET sofia/external/07966677711@185.8.92.3 [CALLINGNUMBER]=[07966677711]Dialplan: sofia/external/07966677711@185.8.92.3 Action set(CALLEDNUMBER=${destination_number}) INLINEEXECUTE sofia/external/07966677711@185.8.92.3 set(CALLEDNUMBER=443307881011)2017-09-20 23:31:49.270606 [DEBUG] mod_dptools.c:1548 SET sofia/external/07966677711@185.8.92.3 [CALLEDNUMBER]=[443307881011]Dialplan: sofia/external/07966677711@185.8.92.3 Action auth_function(in ${DIALED_NUMBER}, in ${USERNAME}, in ${PASSWD}, out AUTH_RESULT)Dialplan: sofia/external/07966677711@185.8.92.3 Action export(credit_time=${credit_time})Dialplan: sofia/external/07966677711@185.8.92.3 Action export(cisco_service_info=${cisco_service_info)Dialplan: sofia/external/07966677711@185.8.92.3 Action export(sip_redirect_context=redirect)Dialplan: sofia/external/07966677711@185.8.92.3 Action transfer(443307881011 XML ipauth)Dialplan: sofia/external/07966677711@185.8.92.3 Action hangup(${bridge_hangup_cause})2017-09-20 23:31:49.270606 [DEBUG] switch_core_state_machine.c:286 (sofia/external/07966677711@185.8.92.3) State Change CS_ROUTING -> CS_EXECUTE2017-09-20 23:31:49.270606 [DEBUG] switch_core_state_machine.c:643 (sofia/external/07966677711@185.8.92.3) State ROUTING going to sleep2017-09-20 23:31:49.270606 [DEBUG] switch_core_state_machine.c:584 (sofia/external/07966677711@185.8.92.3) Running State Change CS_EXECUTE (Cur 1 Tot 16430)2017-09-20 23:31:49.270606 [DEBUG] switch_core_state_machine.c:650 (sofia/external/07966677711@185.8.92.3) State EXECUTE2017-09-20 23:31:49.270606 [DEBUG] mod_sofia.c:198 sofia/external/07966677711@185.8.92.3 SOFIA EXECUTE2017-09-20 23:31:49.270606 [DEBUG] switch_core_state_machine.c:328 sofia/external/07966677711@185.8.92.3 Standard EXECUTEEXECUTE sofia/external/07966677711@185.8.92.3 set(outside_call=true)2017-09-20 23:31:49.270606 [DEBUG] mod_dptools.c:1548 SET sofia/external/07966677711@185.8.92.3 [outside_call]=[true]EXECUTE sofia/external/07966677711@185.8.92.3 export(RFC2822_DATE=Wed, 20 Sep 2017 23:31:49 +0100)2017-09-20 23:31:49.270606 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 20 Sep 2017 23:31:49 +0100]EXECUTE sofia/external/07966677711@185.8.92.3 export(nolocal:h323-call-origin=originate)2017-09-20 23:31:49.270606 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) (REMOTE ONLY) [h323-call-origin]=[originate]EXECUTE sofia/external/07966677711@185.8.92.3 set(sip_h_X-accountcode=)2017-09-20 23:31:49.270606 [DEBUG] mod_dptools.c:1548 SET sofia/external/07966677711@185.8.92.3 [sip_h_X-accountcode]=[UNDEF]EXECUTE sofia/external/07966677711@185.8.92.3 set(call_direction=outbound)2017-09-20 23:31:49.270606 [DEBUG] mod_dptools.c:1548 SET sofia/external/07966677711@185.8.92.3 [call_direction]=[outbound]EXECUTE sofia/external/07966677711@185.8.92.3 set(hangup_after_bridge=true)2017-09-20 23:31:49.270606 [DEBUG] mod_dptools.c:1548 SET sofia/external/07966677711@185.8.92.3 [hangup_after_bridge]=[true]EXECUTE sofia/external/07966677711@185.8.92.3 set(continue_on_fail=true)2017-09-20 23:31:49.270606 [DEBUG] mod_dptools.c:1548 SET sofia/external/07966677711@185.8.92.3 [continue_on_fail]=[true]EXECUTE sofia/external/07966677711@185.8.92.3 set(inherit_codec=true)2017-09-20 23:31:49.270606 [DEBUG] mod_dptools.c:1548 SET sofia/external/07966677711@185.8.92.3 [inherit_codec]=[true]EXECUTE sofia/external/07966677711@185.8.92.3 set(call_timeout=20)2017-09-20 23:31:49.270606 [DEBUG] mod_dptools.c:1548 SET sofia/external/07966677711@185.8.92.3 [call_timeout]=[20]EXECUTE sofia/external/07966677711@185.8.92.3 set(fail_on_single_reject=USER_BUSY)2017-09-20 23:31:49.270606 [DEBUG] mod_dptools.c:1548 SET sofia/external/07966677711@185.8.92.3 [fail_on_single_reject]=[USER_BUSY]EXECUTE sofia/external/07966677711@185.8.92.3 set(origination_caller_id_name=443307881011)2017-09-20 23:31:49.270606 [DEBUG] mod_dptools.c:1548 SET sofia/external/07966677711@185.8.92.3 [origination_caller_id_name]=[443307881011]EXECUTE sofia/external/07966677711@185.8.92.3 set(origination_caller_id_number=07966677711)2017-09-20 23:31:49.270606 [DEBUG] mod_dptools.c:1548 SET sofia/external/07966677711@185.8.92.3 [origination_caller_id_number]=[07966677711]EXECUTE sofia/external/07966677711@185.8.92.3 auth_function(in , in 07966677711, in , out AUTH_RESULT)2017-09-20 23:31:49.270606 [DEBUG] mod_rad_auth.c:301 allocate initial structure.2017-09-20 23:31:49.270606 [DEBUG] mod_rad_auth.c:313 initialzed configuration.2017-09-20 23:31:49.270606 [DEBUG] mod_rad_auth.c:318 set authserver := 185.35.229.30:1812:h4nn4h.2017-09-20 23:31:49.270606 [DEBUG] mod_rad_auth.c:318 set dictionary := /usr/local/freeswitch/conf/dictionaries/dictionary.2017-09-20 23:31:49.270606 [DEBUG] mod_rad_auth.c:318 set seqfile := /var/run/radius.seq.2017-09-20 23:31:49.270606 [DEBUG] mod_rad_auth.c:318 set mapfile := /usr/local/etc/radiusclient/port-id-map.2017-09-20 23:31:49.270606 [DEBUG] mod_rad_auth.c:318 set default_realm := .2017-09-20 23:31:49.270606 [DEBUG] mod_rad_auth.c:318 set radius_timeout := 3.2017-09-20 23:31:49.270606 [DEBUG] mod_rad_auth.c:318 set radius_retries := 2.2017-09-20 23:31:49.270606 [DEBUG] mod_rad_auth.c:318 set radius_deadtime := 0.2017-09-20 23:31:49.270606 [DEBUG] mod_rad_auth.c:318 set bindaddr := 185.35.229.6.2017-09-20 23:31:49.270606 [DEBUG] mod_rad_auth.c:371 ... radius: User-Name: 079666777112017-09-20 23:31:49.270606 [DEBUG] mod_rad_auth.c:380 ... radius: User-Password:2017-09-20 23:31:49.270606 [DEBUG] mod_rad_auth.c:391 ... radius: Called-station-Id is empty, ignoring...2017-09-20 23:31:49.270606 [DEBUG] mod_rad_auth.c:413 Handle attribute: h323-conf-id2017-09-20 23:31:49.270606 [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:24, vendor id:9, attr type:0, attr name:h323-conf-id (589848)2017-09-20 23:31:49.270606 [DEBUG] mod_rad_auth.c:444 ... radius: key:h323-conf-id, value:CALLID (h323-conf-id=a923b79f-e080-416c-934c-af13b570f813) as string2017-09-20 23:31:49.270606 [DEBUG] mod_rad_auth.c:413 Handle attribute: Cisco-AVPair2017-09-20 23:31:49.270606 [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:1, vendor id:9, attr type:0, attr name:Cisco-AVPair (589825)2017-09-20 23:31:49.270606 [DEBUG] mod_rad_auth.c:444 ... radius: key:Cisco-AVPair, value:SRCGWIP (src-gw-ip=185.8.92.3) as string2017-09-20 23:31:49.270606 [DEBUG] mod_rad_auth.c:413 Handle attribute: Cisco-AVPair2017-09-20 23:31:49.270606 [ERR] mod_rad_auth.c:178 Undefined channel variable: SRCGWNAME.2017-09-20 23:31:49.270606 [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:1, vendor id:9, attr type:0, attr name:Cisco-AVPair (589825)2017-09-20 23:31:49.270606 [DEBUG] mod_rad_auth.c:444 ... radius: key:Cisco-AVPair, value:SRCGWNAME () as string2017-09-20 23:31:49.270606 [DEBUG] mod_rad_auth.c:413 Handle attribute: Cisco-AVPair2017-09-20 23:31:49.270606 [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:1, vendor id:9, attr type:0, attr name:Cisco-AVPair (589825)2017-09-20 23:31:49.270606 [DEBUG] mod_rad_auth.c:444 ... radius: key:Cisco-AVPair, value:request-type=number (request-type=number) as string2017-09-20 23:31:49.270606 [DEBUG] mod_rad_auth.c:413 Handle attribute: Calling-Station-Id2017-09-20 23:31:49.270606 [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:31, vendor id:0, attr type:0, attr name:Calling-Station-Id (31)2017-09-20 23:31:49.270606 [DEBUG] mod_rad_auth.c:444 ... radius: key:Calling-Station-Id, value:CALLINGNUMBER (07966677711) as string2017-09-20 23:31:49.270606 [DEBUG] mod_rad_auth.c:413 Handle attribute: Called-Station-Id2017-09-20 23:31:49.270606 [DEBUG] mod_rad_auth.c:439 ... dictionary data: id:30, vendor id:0, attr type:0, attr name:Called-Station-Id (30)2017-09-20 23:31:49.270606 [DEBUG] mod_rad_auth.c:444 ... radius: key:Called-Station-Id, value:CALLEDNUMBER (443307881011) as string2017-09-20 23:31:49.270606 [DEBUG] mod_rad_auth.c:491 sending radius packet ...2017-09-20 23:31:49.290658 [DEBUG] mod_rad_auth.c:497 RADIUS Authentication OK2017-09-20 23:31:49.290658 [DEBUG] mod_rad_auth.c:519 Handle attribute: CREDIT_TIME2017-09-20 23:31:49.290658 [DEBUG] mod_rad_auth.c:522 attribute (CREDIT_TIME) found in radius packet2017-09-20 23:31:49.290658 [DEBUG] mod_rad_auth.c:523 set variable credit_time := 71992017-09-20 23:31:49.290658 [DEBUG] mod_rad_auth.c:519 Handle attribute: CISCO_SERVICE_INFO2017-09-20 23:31:49.290658 [DEBUG] mod_rad_auth.c:522 attribute (CISCO_SERVICE_INFO) found in radius packet2017-09-20 23:31:49.290658 [DEBUG] mod_rad_auth.c:523 set variable cisco_service_info := 2002017-09-20 23:31:49.290658 [DEBUG] mod_rad_auth.c:519 Handle attribute: RADIUS_RETURN_CODE2017-09-20 23:31:49.290658 [DEBUG] mod_rad_auth.c:522 attribute (RADIUS_RETURN_CODE) found in radius packet2017-09-20 23:31:49.290658 [DEBUG] mod_rad_auth.c:523 set variable return_code := 16EXECUTE sofia/external/07966677711@185.8.92.3 export(credit_time=7199)2017-09-20 23:31:49.290658 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [credit_time]=[7199]EXECUTE sofia/external/07966677711@185.8.92.3 export(cisco_service_info=200)2017-09-20 23:31:49.290658 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [cisco_service_info]=[200]EXECUTE sofia/external/07966677711@185.8.92.3 export(sip_redirect_context=redirect)2017-09-20 23:31:49.290658 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_redirect_context]=[redirect]EXECUTE sofia/external/07966677711@185.8.92.3 transfer(443307881011 XML ipauth)2017-09-20 23:31:49.290658 [DEBUG] switch_ivr.c:2165 (sofia/external/07966677711@185.8.92.3) State Change CS_EXECUTE -> CS_ROUTING2017-09-20 23:31:49.290658 [NOTICE] switch_ivr.c:2172 Transfer sofia/external/07966677711@185.8.92.3 to XML[443307881011@ipauth]2017-09-20 23:31:49.290658 [DEBUG] switch_core_state_machine.c:650 (sofia/external/07966677711@185.8.92.3) State EXECUTE going to sleep2017-09-20 23:31:49.290658 [DEBUG] switch_core_state_machine.c:584 (sofia/external/07966677711@185.8.92.3) Running State Change CS_ROUTING (Cur 1 Tot 16430)2017-09-20 23:31:49.290658 [DEBUG] switch_core_state_machine.c:643 (sofia/external/07966677711@185.8.92.3) State ROUTING2017-09-20 23:31:49.290658 [DEBUG] mod_sofia.c:143 sofia/external/07966677711@185.8.92.3 SOFIA ROUTING2017-09-20 23:31:49.290658 [ERR] mod_xml_radius.c:933 Result of true match: 185.35.229.6 == ^185\.35\.229\.302017-09-20 23:31:49.290658 [ERR] mod_xml_radius.c:930 Didn't match: inbound == ^outbound2017-09-20 23:31:49.290658 [DEBUG] switch_core_state_machine.c:236 sofia/external/07966677711@185.8.92.3 Standard ROUTING2017-09-20 23:31:49.290658 [INFO] mod_dialplan_xml.c:637 Processing 07966677711 <07966677711>->443307881011 in context ipauthDialplan: sofia/external/07966677711@185.8.92.3 parsing [ipauth->Auth Calls] continue=falseDialplan: sofia/external/07966677711@185.8.92.3 Regex (PASS) [Auth Calls] ${cisco_service_info}(200) =~ /^200$/ break=neverDialplan: sofia/external/07966677711@185.8.92.3 Action set(execute_on_answer=sched_hangup +${credit_time} alloted_timeout)Dialplan: sofia/external/07966677711@185.8.92.3 Action bridge({sip_invite_from_uri=sip:${sip_from_user}@${sip_network_ip}}sofia/external/${destination_number}@185.35.229.30:5060)Dialplan: sofia/external/07966677711@185.8.92.3 Action hangup(${bridge_hangup_cause})Dialplan: sofia/external/07966677711@185.8.92.3 Regex (FAIL) [Auth Calls] ${cisco_service_info}(200) =~ /^101$/ break=on-trueDialplan: sofia/external/07966677711@185.8.92.3 Regex (FAIL) [Auth Calls] ${cisco_service_info}(200) =~ /^221$/ break=on-trueDialplan: sofia/external/07966677711@185.8.92.3 Regex (FAIL) [Auth Calls] ${cisco_service_info}(200) =~ /^201$/ break=on-trueDialplan: sofia/external/07966677711@185.8.92.3 Absolute Condition [Auth Calls]Dialplan: sofia/external/07966677711@185.8.92.3 Action log(INFO Were in the IPauth Context!!)Dialplan: sofia/external/07966677711@185.8.92.3 Action log(INFO credit_time=${credit_time})Dialplan: sofia/external/07966677711@185.8.92.3 Action log(INFO cisco_service_info=${cisco_service_info})2017-09-20 23:31:49.290658 [DEBUG] switch_core_state_machine.c:286 (sofia/external/07966677711@185.8.92.3) State Change CS_ROUTING -> CS_EXECUTE2017-09-20 23:31:49.290658 [DEBUG] switch_core_state_machine.c:643 (sofia/external/07966677711@185.8.92.3) State ROUTING going to sleep2017-09-20 23:31:49.290658 [DEBUG] switch_core_state_machine.c:584 (sofia/external/07966677711@185.8.92.3) Running State Change CS_EXECUTE (Cur 1 Tot 16430)2017-09-20 23:31:49.290658 [DEBUG] switch_core_state_machine.c:650 (sofia/external/07966677711@185.8.92.3) State EXECUTE2017-09-20 23:31:49.290658 [DEBUG] mod_sofia.c:198 sofia/external/07966677711@185.8.92.3 SOFIA EXECUTE2017-09-20 23:31:49.290658 [DEBUG] switch_core_state_machine.c:328 sofia/external/07966677711@185.8.92.3 Standard EXECUTEEXECUTE sofia/external/07966677711@185.8.92.3 set(execute_on_answer=sched_hangup +7199 alloted_timeout)2017-09-20 23:31:49.290658 [DEBUG] mod_dptools.c:1548 SET sofia/external/07966677711@185.8.92.3 [execute_on_answer]=[sched_hangup +7199 alloted_timeout]EXECUTE sofia/external/07966677711@185.8.92.3 bridge({sip_invite_from_uri=sip:07966677711@185.8.92.3}sofia/external/443307881011@185.35.229.30:5060)2017-09-20 23:31:49.290658 [DEBUG] switch_channel.c:1250 sofia/external/07966677711@185.8.92.3 EXPORTING[export_vars] [RFC2822_DATE]=[Wed, 20 Sep 2017 23:31:49 +0100] to event2017-09-20 23:31:49.290658 [DEBUG] switch_channel.c:1250 sofia/external/07966677711@185.8.92.3 EXPORTING[export_vars] [h323-call-origin]=[originate] to event2017-09-20 23:31:49.290658 [DEBUG] switch_channel.c:1250 sofia/external/07966677711@185.8.92.3 EXPORTING[export_vars] [credit_time]=[7199] to event2017-09-20 23:31:49.290658 [DEBUG] switch_channel.c:1250 sofia/external/07966677711@185.8.92.3 EXPORTING[export_vars] [cisco_service_info]=[200] to event2017-09-20 23:31:49.290658 [DEBUG] switch_channel.c:1250 sofia/external/07966677711@185.8.92.3 EXPORTING[export_vars] [sip_redirect_context]=[redirect] to event2017-09-20 23:31:49.290658 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables2017-09-20 23:31:49.290658 [NOTICE] switch_channel.c:1104 New Channel sofia/external/443307881011@185.35.229.30:5060 [848843db-cad9-48a8-a4bd-2ac6b6b77dff]2017-09-20 23:31:49.290658 [DEBUG] mod_sofia.c:4819 (sofia/external/443307881011@185.35.229.30:5060) State Change CS_NEW -> CS_INIT2017-09-20 23:31:49.290658 [DEBUG] switch_core_state_machine.c:584 (sofia/external/443307881011@185.35.229.30:5060) Running State Change CS_INIT (Cur 2 Tot 16431)2017-09-20 23:31:49.290658 [DEBUG] switch_core_state_machine.c:627 (sofia/external/443307881011@185.35.229.30:5060) State INIT2017-09-20 23:31:49.290658 [DEBUG] mod_sofia.c:90 sofia/external/443307881011@185.35.229.30:5060 SOFIA INIT2017-09-20 23:31:49.290658 [DEBUG] sofia_glue.c:1295 sofia/external/443307881011@185.35.229.30:5060 sending invite version: 1.6.19 git febfb38 2017-09-14 23:14:02Z 64bitLocal SDP:v=0o=FreeSWITCH 1505929783 1505929784 IN IP4 185.35.229.6s=FreeSWITCHc=IN IP4 185.35.229.6t=0 0m=audio 16926 RTP/AVP 8 101 13a=rtpmap:8 PCMA/8000a=rtpmap:101 telephone-event/8000a=fmtp:101 0-16a=rtpmap:13 CN/8000a=ptime:20a=sendrecv2017-09-20 23:31:49.290658 [DEBUG] switch_core_state_machine.c:40 sofia/external/443307881011@185.35.229.30:5060 Standard INIT2017-09-20 23:31:49.290658 [DEBUG] switch_core_state_machine.c:48 (sofia/external/443307881011@185.35.229.30:5060) State Change CS_INIT -> CS_ROUTING2017-09-20 23:31:49.290658 [DEBUG] switch_core_state_machine.c:627 (sofia/external/443307881011@185.35.229.30:5060) State INIT going to sleep2017-09-20 23:31:49.290658 [DEBUG] switch_core_state_machine.c:584 (sofia/external/443307881011@185.35.229.30:5060) Running State Change CS_ROUTING (Cur 2 Tot 16431)2017-09-20 23:31:49.290658 [DEBUG] sofia.c:7084 Channel sofia/external/443307881011@185.35.229.30:5060 entering state [calling][0]2017-09-20 23:31:49.290658 [DEBUG] switch_core_state_machine.c:643 (sofia/external/443307881011@185.35.229.30:5060) State ROUTING2017-09-20 23:31:49.290658 [DEBUG] mod_sofia.c:143 sofia/external/443307881011@185.35.229.30:5060 SOFIA ROUTING2017-09-20 23:31:49.290658 [DEBUG] switch_ivr_originate.c:67 (sofia/external/443307881011@185.35.229.30:5060) State Change CS_ROUTING -> CS_CONSUME_MEDIA2017-09-20 23:31:49.290658 [ERR] mod_xml_radius.c:930 Didn't match: 185.35.229.30:5060 == ^185\.35\.229\.302017-09-20 23:31:49.290658 [DEBUG] switch_core_state_machine.c:643 (sofia/external/443307881011@185.35.229.30:5060) State ROUTING going to sleep2017-09-20 23:31:49.290658 [DEBUG] switch_core_state_machine.c:584 (sofia/external/443307881011@185.35.229.30:5060) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 16431)2017-09-20 23:31:49.290658 [DEBUG] switch_core_state_machine.c:662 (sofia/external/443307881011@185.35.229.30:5060) State CONSUME_MEDIA2017-09-20 23:31:49.290658 [DEBUG] switch_core_state_machine.c:662 (sofia/external/443307881011@185.35.229.30:5060) State CONSUME_MEDIA going to sleep2017-09-20 23:31:49.350696 [DEBUG] sofia.c:6540 Redirect: Transfering to joehouse XML redirect2017-09-20 23:31:49.350696 [DEBUG] switch_ivr.c:2165 (sofia/external/07966677711@185.8.92.3) State Change CS_EXECUTE -> CS_ROUTING2017-09-20 23:31:49.350696 [NOTICE] switch_ivr.c:2172 Transfer sofia/external/07966677711@185.8.92.3 to XML[joehouse@redirect]2017-09-20 23:31:49.350696 [NOTICE] sofia.c:6549 Hangup sofia/external/443307881011@185.35.229.30:5060 [CS_CONSUME_MEDIA] [REDIRECTION_TO_NEW_DESTINATION]2017-09-20 23:31:49.350696 [DEBUG] sofia.c:1453 Channel is already hungup.2017-09-20 23:31:49.350696 [DEBUG] sofia.c:1453 Channel is already hungup.2017-09-20 23:31:49.350696 [DEBUG] switch_core_state_machine.c:584 (sofia/external/443307881011@185.35.229.30:5060) Running State Change CS_HANGUP (Cur 2 Tot 16431)2017-09-20 23:31:49.350696 [DEBUG] switch_core_state_machine.c:850 (sofia/external/443307881011@185.35.229.30:5060) Callstate Change DOWN -> HANGUP2017-09-20 23:31:49.350696 [DEBUG] switch_core_state_machine.c:852 (sofia/external/443307881011@185.35.229.30:5060) State HANGUP2017-09-20 23:31:49.350696 [DEBUG] mod_sofia.c:438 Channel sofia/external/443307881011@185.35.229.30:5060 hanging up, cause: REDIRECTION_TO_NEW_DESTINATION2017-09-20 23:31:49.350696 [DEBUG] mod_sofia.c:502 Sending CANCEL to sofia/external/443307881011@185.35.229.30:50602017-09-20 23:31:49.350696 [DEBUG] switch_core_state_machine.c:60 sofia/external/443307881011@185.35.229.30:5060 Standard HANGUP, cause: REDIRECTION_TO_NEW_DESTINATION2017-09-20 23:31:49.350696 [DEBUG] switch_core_state_machine.c:852 (sofia/external/443307881011@185.35.229.30:5060) State HANGUP going to sleep2017-09-20 23:31:49.350696 [DEBUG] switch_core_state_machine.c:619 (sofia/external/443307881011@185.35.229.30:5060) State Change CS_HANGUP -> CS_REPORTING2017-09-20 23:31:49.350696 [DEBUG] switch_core_state_machine.c:584 (sofia/external/443307881011@185.35.229.30:5060) Running State Change CS_REPORTING (Cur 2 Tot 16431)2017-09-20 23:31:49.350696 [DEBUG] switch_core_state_machine.c:938 (sofia/external/443307881011@185.35.229.30:5060) State REPORTING2017-09-20 23:31:49.350696 [ERR] mod_xml_radius.c:930 Didn't match: 185.35.229.30:5060 == ^185\.35\.229\.302017-09-20 23:31:49.350696 [DEBUG] switch_core_state_machine.c:174 sofia/external/443307881011@185.35.229.30:5060 Standard REPORTING, cause: REDIRECTION_TO_NEW_DESTINATION2017-09-20 23:31:49.350696 [DEBUG] switch_core_state_machine.c:938 (sofia/external/443307881011@185.35.229.30:5060) State REPORTING going to sleep2017-09-20 23:31:49.350696 [DEBUG] switch_core_state_machine.c:610 (sofia/external/443307881011@185.35.229.30:5060) State Change CS_REPORTING -> CS_DESTROY2017-09-20 23:31:49.350696 [DEBUG] switch_core_session.c:1665 Session 16431 (sofia/external/443307881011@185.35.229.30:5060) Locked, Waiting on external entities2017-09-20 23:31:49.350696 [DEBUG] switch_ivr_originate.c:3837 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL]2017-09-20 23:31:49.350696 [NOTICE] switch_core_session.c:1683 Session 16431 (sofia/external/443307881011@185.35.229.30:5060) Ended2017-09-20 23:31:49.350696 [NOTICE] switch_core_session.c:1687 Close Channel sofia/external/443307881011@185.35.229.30:5060 [CS_DESTROY]2017-09-20 23:31:49.350696 [DEBUG] switch_core_state_machine.c:741 (sofia/external/443307881011@185.35.229.30:5060) Running State Change CS_DESTROY (Cur 1 Tot 16431)2017-09-20 23:31:49.350696 [DEBUG] switch_core_state_machine.c:751 (sofia/external/443307881011@185.35.229.30:5060) State DESTROY2017-09-20 23:31:49.350696 [DEBUG] mod_sofia.c:343 sofia/external/443307881011@185.35.229.30:5060 SOFIA DESTROY2017-09-20 23:31:49.350696 [DEBUG] switch_core_state_machine.c:181 sofia/external/443307881011@185.35.229.30:5060 Standard DESTROY2017-09-20 23:31:49.350696 [DEBUG] switch_core_state_machine.c:751 (sofia/external/443307881011@185.35.229.30:5060) State DESTROY going to sleep2017-09-20 23:31:49.350696 [INFO] mod_dptools.c:3436 Originate Failed. Cause: ORIGINATOR_CANCEL2017-09-20 23:31:49.350696 [DEBUG] switch_core_state_machine.c:650 (sofia/external/07966677711@185.8.92.3) State EXECUTE going to sleep2017-09-20 23:31:49.350696 [DEBUG] switch_core_state_machine.c:584 (sofia/external/07966677711@185.8.92.3) Running State Change CS_ROUTING (Cur 1 Tot 16431)2017-09-20 23:31:49.350696 [DEBUG] switch_core_state_machine.c:643 (sofia/external/07966677711@185.8.92.3) State ROUTING2017-09-20 23:31:49.350696 [DEBUG] mod_sofia.c:143 sofia/external/07966677711@185.8.92.3 SOFIA ROUTING2017-09-20 23:31:49.350696 [ERR] mod_xml_radius.c:933 Result of true match: 185.35.229.6 == ^185\.35\.229\.302017-09-20 23:31:49.350696 [ERR] mod_xml_radius.c:930 Didn't match: inbound == ^outbound2017-09-20 23:31:49.350696 [DEBUG] switch_core_state_machine.c:236 sofia/external/07966677711@185.8.92.3 Standard ROUTING2017-09-20 23:31:49.350696 [INFO] mod_dialplan_xml.c:637 Processing 07966677711 <07966677711>->joehouse in context redirectDialplan: sofia/external/07966677711@185.8.92.3 parsing [redirect->Redirect Calls] continue=falseDialplan: sofia/external/07966677711@185.8.92.3 Regex (PASS) [Redirect Calls] ${sip_redirect_contact_0}(<sip:joehouse@185.35.229.6>;src_number=07966677711;q=1.00) =~ /^<sip:(.+)\@185.35.229.6(.+)$/ break=on-trueDialplan: sofia/external/07966677711@185.8.92.3 Action set(process_cdr=true)Dialplan: sofia/external/07966677711@185.8.92.3 Action log(ALERT Local User)Dialplan: sofia/external/07966677711@185.8.92.3 Action set(accountcode=jerasoftoutbound)Dialplan: sofia/external/07966677711@185.8.92.3 Action log(ALERT joehouse)Dialplan: sofia/external/07966677711@185.8.92.3 Action bridge(user/joehouse@sip.biznetuk.com)2017-09-20 23:31:49.350696 [DEBUG] switch_core_state_machine.c:286 (sofia/external/07966677711@185.8.92.3) State Change CS_ROUTING -> CS_EXECUTE2017-09-20 23:31:49.350696 [DEBUG] switch_core_state_machine.c:643 (sofia/external/07966677711@185.8.92.3) State ROUTING going to sleep2017-09-20 23:31:49.350696 [DEBUG] switch_core_state_machine.c:584 (sofia/external/07966677711@185.8.92.3) Running State Change CS_EXECUTE (Cur 1 Tot 16431)2017-09-20 23:31:49.350696 [DEBUG] switch_core_state_machine.c:650 (sofia/external/07966677711@185.8.92.3) State EXECUTE2017-09-20 23:31:49.350696 [DEBUG] mod_sofia.c:198 sofia/external/07966677711@185.8.92.3 SOFIA EXECUTE2017-09-20 23:31:49.350696 [DEBUG] switch_core_state_machine.c:328 sofia/external/07966677711@185.8.92.3 Standard EXECUTEEXECUTE sofia/external/07966677711@185.8.92.3 set(process_cdr=true)2017-09-20 23:31:49.350696 [DEBUG] mod_dptools.c:1548 SET sofia/external/07966677711@185.8.92.3 [process_cdr]=[true]EXECUTE sofia/external/07966677711@185.8.92.3 log(ALERT Local User)2017-09-20 23:31:49.350696 [ALERT] mod_dptools.c:1742 Local UserEXECUTE sofia/external/07966677711@185.8.92.3 set(accountcode=jerasoftoutbound)2017-09-20 23:31:49.350696 [DEBUG] mod_dptools.c:1548 SET sofia/external/07966677711@185.8.92.3 [accountcode]=[jerasoftoutbound]EXECUTE sofia/external/07966677711@185.8.92.3 log(ALERT joehouse)2017-09-20 23:31:49.350696 [ALERT] mod_dptools.c:1742 joehouseEXECUTE sofia/external/07966677711@185.8.92.3 bridge(user/joehouse@sip.biznetuk.com)2017-09-20 23:31:49.350696 [DEBUG] switch_channel.c:1250 sofia/external/07966677711@185.8.92.3 EXPORTING[export_vars] [RFC2822_DATE]=[Wed, 20 Sep 2017 23:31:49 +0100] to event2017-09-20 23:31:49.350696 [DEBUG] switch_channel.c:1250 sofia/external/07966677711@185.8.92.3 EXPORTING[export_vars] [h323-call-origin]=[originate] to event2017-09-20 23:31:49.350696 [DEBUG] switch_channel.c:1250 sofia/external/07966677711@185.8.92.3 EXPORTING[export_vars] [credit_time]=[7199] to event2017-09-20 23:31:49.350696 [DEBUG] switch_channel.c:1250 sofia/external/07966677711@185.8.92.3 EXPORTING[export_vars] [cisco_service_info]=[200] to event2017-09-20 23:31:49.350696 [DEBUG] switch_channel.c:1250 sofia/external/07966677711@185.8.92.3 EXPORTING[export_vars] [sip_redirect_context]=[redirect] to event2017-09-20 23:31:49.350696 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables2017-09-20 23:31:49.350696 [WARNING] mod_dptools.c:4184 Can't find user [joehouse@sip.biznetuk.com]2017-09-20 23:31:49.350696 [NOTICE] switch_ivr_originate.c:2851 Cannot create outgoing channel of type [user] cause: [SUBSCRIBER_ABSENT]2017-09-20 23:31:49.350696 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 20 [SUBSCRIBER_ABSENT]2017-09-20 23:31:49.350696 [INFO] mod_dptools.c:3436 Originate Failed. Cause: SUBSCRIBER_ABSENT2017-09-20 23:31:49.350696 [NOTICE] switch_core_state_machine.c:385 sofia/external/07966677711@185.8.92.3 has executed the last dialplan instruction, hanging up.2017-09-20 23:31:49.350696 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/external/07966677711@185.8.92.3 [CS_EXECUTE] [NORMAL_CLEARING]2017-09-20 23:31:49.350696 [DEBUG] switch_core_state_machine.c:650 (sofia/external/07966677711@185.8.92.3) State EXECUTE going to sleep2017-09-20 23:31:49.350696 [DEBUG] switch_core_state_machine.c:584 (sofia/external/07966677711@185.8.92.3) Running State Change CS_HANGUP (Cur 1 Tot 16431)2017-09-20 23:31:49.350696 [DEBUG] switch_core_state_machine.c:850 (sofia/external/07966677711@185.8.92.3) Callstate Change RINGING -> HANGUP2017-09-20 23:31:49.350696 [DEBUG] switch_core_state_machine.c:852 (sofia/external/07966677711@185.8.92.3) State HANGUP2017-09-20 23:31:49.350696 [DEBUG] mod_sofia.c:438 Channel sofia/external/07966677711@185.8.92.3 hanging up, cause: NORMAL_CLEARING2017-09-20 23:31:49.350696 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 4802017-09-20 23:31:49.350696 [DEBUG] switch_core_state_machine.c:60 sofia/external/07966677711@185.8.92.3 Standard HANGUP, cause: NORMAL_CLEARING2017-09-20 23:31:49.350696 [DEBUG] switch_core_state_machine.c:852 (sofia/external/07966677711@185.8.92.3) State HANGUP going to sleep2017-09-20 23:31:49.350696 [DEBUG] switch_core_state_machine.c:619 (sofia/external/07966677711@185.8.92.3) State Change CS_HANGUP -> CS_REPORTING2017-09-20 23:31:49.350696 [DEBUG] switch_core_state_machine.c:584 (sofia/external/07966677711@185.8.92.3) Running State Change CS_REPORTING (Cur 1 Tot 16431)2017-09-20 23:31:49.350696 [DEBUG] switch_core_state_machine.c:938 (sofia/external/07966677711@185.8.92.3) State REPORTING2017-09-20 23:31:49.350696 [ERR] mod_xml_radius.c:933 Result of true match: 185.35.229.6 == ^185\.35\.229\.302017-09-20 23:31:49.350696 [ERR] mod_xml_radius.c:930 Didn't match: inbound == ^outbound2017-09-20 23:31:49.350696 [DEBUG] switch_core_state_machine.c:174 sofia/external/07966677711@185.8.92.3 Standard REPORTING, cause: NORMAL_CLEARING2017-09-20 23:31:49.350696 [DEBUG] switch_core_state_machine.c:938 (sofia/external/07966677711@185.8.92.3) State REPORTING going to sleep2017-09-20 23:31:49.350696 [DEBUG] switch_core_state_machine.c:610 (sofia/external/07966677711@185.8.92.3) State Change CS_REPORTING -> CS_DESTROY2017-09-20 23:31:49.350696 [DEBUG] switch_core_session.c:1665 Session 16430 (sofia/external/07966677711@185.8.92.3) Locked, Waiting on external entities2017-09-20 23:31:49.350696 [NOTICE] switch_core_session.c:1683 Session 16430 (sofia/external/07966677711@185.8.92.3) Ended2017-09-20 23:31:49.350696 [NOTICE] switch_core_session.c:1687 Close Channel sofia/external/07966677711@185.8.92.3 [CS_DESTROY]2017-09-20 23:31:49.350696 [DEBUG] switch_core_state_machine.c:741 (sofia/external/07966677711@185.8.92.3) Running State Change CS_DESTROY (Cur 0 Tot 16431)2017-09-20 23:31:49.350696 [DEBUG] switch_core_state_machine.c:751 (sofia/external/07966677711@185.8.92.3) State DESTROY2017-09-20 23:31:49.350696 [DEBUG] mod_sofia.c:343 sofia/external/07966677711@185.8.92.3 SOFIA DESTROY2017-09-20 23:31:49.350696 [DEBUG] switch_core_state_machine.c:181 sofia/external/07966677711@185.8.92.3 Standard DESTROY2017-09-20 23:31:49.350696 [DEBUG] switch_core_state_machine.c:751 (sofia/external/07966677711@185.8.92.3) State DESTROY going to sleepits saying there is no endpoint registered yet the output of show registrations shows there isfreeswitch@BiznetukSBC1> show registrationsreg_user,realm,token,url,expires,network_ip,network_port,network_proto,hostname,metadata,registration_uuidjoehouse,sip.biznetuk.com,1030250472@192_168_1_101,sofia/internal/sip:joehouse@185.35.230.2:5382,1505947110,185.35.230.2,5382,udp,BiznetukSBC1,,60484000-aa2d-4b21-9d58-11e7d4155f1e1 total.Any ideas?
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
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
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
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