2019-01-31 19:39:47.248456 [NOTICE] switch_channel.c:1104 New Channel sofia/Default/Eduardo@52.67.133.254 [9bda101a-b53a-4e24-b659-d10475e97ac3] 2019-01-31 19:39:47.248456 [DEBUG] switch_core_state_machine.c:543 (sofia/Default/Eduardo@52.67.133.254) Running State Change CS_NEW 2019-01-31 19:39:47.248456 [DEBUG] sofia.c:9376 sofia/Default/Eduardo@52.67.133.254 receiving invite from 177.189.208.91:63579 version: 1.6.8 git 99de0ad 2016-05-05 15:38:32Z 64bit 2019-01-31 19:39:47.248456 [DEBUG] sofia.c:9543 IP 177.189.208.91 Rejected by acl "default". Falling back to Digest auth. 2019-01-31 19:39:47.248456 [DEBUG] sofia.c:2214 detaching session 9bda101a-b53a-4e24-b659-d10475e97ac3 2019-01-31 19:39:47.248456 [WARNING] sofia_reg.c:1775 SIP auth challenge (INVITE) on sofia profile 'Default' for [552135147320@52.67.133.254] from ip 177.189.208.91 2019-01-31 19:39:47.248456 [DEBUG] switch_core_state_machine.c:562 (sofia/Default/Eduardo@52.67.133.254) State NEW 2019-01-31 19:39:47.268448 [DEBUG] sofia.c:2322 Re-attaching to session 9bda101a-b53a-4e24-b659-d10475e97ac3 2019-01-31 19:39:47.268448 [DEBUG] sofia.c:9376 sofia/Default/Eduardo@52.67.133.254 receiving invite from 177.189.208.91:63579 version: 1.6.8 git 99de0ad 2016-05-05 15:38:32Z 64bit 2019-01-31 19:39:47.268448 [DEBUG] sofia.c:9543 IP 177.189.208.91 Rejected by acl "default". Falling back to Digest auth. 2019-01-31 19:39:47.268448 [DEBUG] sofia.c:10678 Setting NAT mode based on via received 2019-01-31 19:39:47.268448 [DEBUG] sofia.c:6858 Channel sofia/Default/Eduardo@52.67.133.254 entering state [received][100] 2019-01-31 19:39:47.268448 [DEBUG] sofia.c:6868 Remote SDP: v=0 o=- 3757952387 3757952387 IN IP4 192.168.4.10 s=pjmedia b=AS:84 t=0 0 a=X-nat:0 m=audio 4066 RTP/AVP 18 0 8 101 c=IN IP4 192.168.4.10 b=TIAS:64000 a=rtpmap:18 G729/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=rtcp:4067 IN IP4 192.168.4.10 a=ssrc:722937765 cname:2a9a013d795002cf 2019-01-31 19:39:47.268448 [DEBUG] sofia.c:7213 (sofia/Default/Eduardo@52.67.133.254) State Change CS_NEW -> CS_INIT 2019-01-31 19:39:47.268448 [DEBUG] switch_core_state_machine.c:543 (sofia/Default/Eduardo@52.67.133.254) Running State Change CS_INIT 2019-01-31 19:39:47.268448 [DEBUG] switch_core_state_machine.c:586 (sofia/Default/Eduardo@52.67.133.254) State INIT 2019-01-31 19:39:47.268448 [DEBUG] mod_sofia.c:89 sofia/Default/Eduardo@52.67.133.254 SOFIA INIT 2019-01-31 19:39:47.268448 [DEBUG] switch_core_state_machine.c:40 sofia/Default/Eduardo@52.67.133.254 Standard INIT 2019-01-31 19:39:47.268448 [DEBUG] switch_core_state_machine.c:48 (sofia/Default/Eduardo@52.67.133.254) State Change CS_INIT -> CS_ROUTING 2019-01-31 19:39:47.268448 [DEBUG] switch_core_state_machine.c:586 (sofia/Default/Eduardo@52.67.133.254) State INIT going to sleep 2019-01-31 19:39:47.268448 [DEBUG] switch_core_state_machine.c:543 (sofia/Default/Eduardo@52.67.133.254) Running State Change CS_ROUTING 2019-01-31 19:39:47.268448 [DEBUG] switch_channel.c:2249 (sofia/Default/Eduardo@52.67.133.254) Callstate Change DOWN -> RINGING 2019-01-31 19:39:47.268448 [DEBUG] switch_core_state_machine.c:602 (sofia/Default/Eduardo@52.67.133.254) State ROUTING 2019-01-31 19:39:47.268448 [DEBUG] mod_sofia.c:142 sofia/Default/Eduardo@52.67.133.254 SOFIA ROUTING 2019-01-31 19:39:47.268448 [DEBUG] switch_core_state_machine.c:236 sofia/Default/Eduardo@52.67.133.254 Standard ROUTING 2019-01-31 19:39:47.268448 [INFO] mod_dialplan_xml.c:637 Processing Eduardo ->552135147320 in context default 2019-01-31 19:39:47.268448 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f558c0aef70 Connected. 2019-01-31 19:39:47.288430 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM system WHERE group_title IN ('global','opensips','callingcard') 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] [Dialplan] Dialed number : 552135147320 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] [Dialplan] Caller Id name / number : Eduardo / 551135880115 2019-01-31 19:39:47.288430 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,B.id as accountid,B.number as account_code,B.did_cid_translation as did_cid_translation,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout FROM dids AS A,accounts AS B WHERE A.status=0 AND B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="552135147320" LIMIT 1 2019-01-31 19:39:47.288430 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="552135147320" limit 1 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] [Dialplan] Call direction : outbound 2019-01-31 19:39:47.288430 [NOTICE] switch_cpp.cpp:1360 [ASTPP] [Accountcode : 7160147804] 2019-01-31 19:39:47.288430 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "7160147804" OR id="7160147804") AND status=0 AND deleted=0 AND (expiry >= '2019-01-31 21:39:47' OR expiry = '0000-00-00 00:00:00') limit 1 2019-01-31 19:39:47.288430 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns ='^552135147320.*' OR blocked_patterns ='^55213514732.*' OR blocked_patterns ='^5521351473.*' OR blocked_patterns ='^552135147.*' OR blocked_patterns ='^55213514.*' OR blocked_patterns ='^5521351.*' OR blocked_patterns ='^552135.*' OR blocked_patterns ='^55213.*' OR blocked_patterns ='^5521.*' OR blocked_patterns ='^552.*' OR blocked_patterns ='^55.*' OR blocked_patterns ='^5.*' OR blocked_patterns ='--') AND accountid = 7 limit 1 2019-01-31 19:39:47.288430 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT * FROM packages as P inner join package_patterns as PKGPTR on P.id = PKGPTR.package_id WHERE (patterns ='^552135147320.*' OR patterns ='^55213514732.*' OR patterns ='^5521351473.*' OR patterns ='^552135147.*' OR patterns ='^55213514.*' OR patterns ='^5521351.*' OR patterns ='^552135.*' OR patterns ='^55213.*' OR patterns ='^5521.*' OR patterns ='^552.*' OR patterns ='^55.*' OR patterns ='^5.*' OR patterns ='--') AND status = 0 AND pricelist_id = 1 ORDER BY LENGTH(PKGPTR.patterns) DESC LIMIT 1 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] =============== Account Information =================== 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] User id : 7 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] Account code : 7160147804 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] Balance : 10 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] Ratecard id : 1 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] ======================================================== 2019-01-31 19:39:47.288430 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2019-01-31 19:39:47.288430 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern ='^552135147320.*' OR pattern ='^55213514732.*' OR pattern ='^5521351473.*' OR pattern ='^552135147.*' OR pattern ='^55213514.*' OR pattern ='^5521351.*' OR pattern ='^552135.*' OR pattern ='^55213.*' OR pattern ='^5521.*' OR pattern ='^552.*' OR pattern ='^55.*' OR pattern ='^5.*' OR pattern ='--') AND status = 0 AND pricelist_id = 1 ORDER BY LENGTH(pattern) DESC,cost DESC LIMIT 1 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] =============== Rates Information =================== 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] ID : 4385 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] Code : ^5521.* 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] Destination : Rio de Janeiro 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] Connectcost : 0.00000 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] Includedseconds : 4 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] Cost : 0.00000 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] Initial Increment : 30 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] Increment : 6 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] Accid : 7 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] ================================================================ 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] Call Max length duration : 100 minutes 2019-01-31 19:39:47.288430 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=1 2019-01-31 19:39:47.288430 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TK.cid_translation,TR.init_inc,TK.status,TK.dialed_modify,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern ='^552135147320.*' OR pattern ='^55213514732.*' OR pattern ='^5521351473.*' OR pattern ='^552135147.*' OR pattern ='^55213514.*' OR pattern ='^5521351.*' OR pattern ='^552135.*' OR pattern ='^55213.*' OR pattern ='^5521.*' OR pattern ='^552.*' OR pattern ='^55.*' OR pattern ='^5.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (5) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence 2019-01-31 19:39:47.308430 [INFO] switch_cpp.cpp:1360 [ASTPP] =============== Termination Rates Information =================== 2019-01-31 19:39:47.308430 [INFO] switch_cpp.cpp:1360 [ASTPP] ID : 5016 2019-01-31 19:39:47.308430 [INFO] switch_cpp.cpp:1360 [ASTPP] Code : ^5521.* 2019-01-31 19:39:47.308430 [INFO] switch_cpp.cpp:1360 [ASTPP] Destination : Rio de Janeiro Fixo 2019-01-31 19:39:47.308430 [INFO] switch_cpp.cpp:1360 [ASTPP] Connectcost : 0.00000 2019-01-31 19:39:47.308430 [INFO] switch_cpp.cpp:1360 [ASTPP] Free Seconds : 4 2019-01-31 19:39:47.308430 [INFO] switch_cpp.cpp:1360 [ASTPP] Prefix : ^5521.* 2019-01-31 19:39:47.308430 [INFO] switch_cpp.cpp:1360 [ASTPP] Strip : 55 2019-01-31 19:39:47.308430 [INFO] switch_cpp.cpp:1360 [ASTPP] Prepend : 2019-01-31 19:39:47.308430 [INFO] switch_cpp.cpp:1360 [ASTPP] Carrier id : 5 2019-01-31 19:39:47.308430 [INFO] switch_cpp.cpp:1360 [ASTPP] carrier_name : Trunk-Basix 2019-01-31 19:39:47.308430 [INFO] switch_cpp.cpp:1360 [ASTPP] dialplan_variable : 2019-01-31 19:39:47.308430 [INFO] switch_cpp.cpp:1360 [ASTPP] Failover gateway : 2019-01-31 19:39:47.308430 [INFO] switch_cpp.cpp:1360 [ASTPP] Vendor id : 8 2019-01-31 19:39:47.308430 [INFO] switch_cpp.cpp:1360 [ASTPP] Number Translation : 2019-01-31 19:39:47.308430 [INFO] switch_cpp.cpp:1360 [ASTPP] Max channels : 0 2019-01-31 19:39:47.308430 [INFO] switch_cpp.cpp:1360 [ASTPP] ========================END OF TERMINATION RATES======================= 2019-01-31 19:39:47.308430 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 7 AND status=0 LIMIT 1 2019-01-31 19:39:47.308430 [WARNING] switch_cpp.cpp:1360 [ASTPP] [FSXMLOUTBOUND] Caller ID Translation Starts 2019-01-31 19:39:47.308430 [WARNING] switch_cpp.cpp:1360 [ASTPP] [FSXMLOUTBOUND] Caller ID Translation Ends 2019-01-31 19:39:47.308430 [WARNING] switch_cpp.cpp:1360 [ASTPP] [DONUMBERTRANSLATION] Before number translation : 552135147320 2019-01-31 19:39:47.308430 [WARNING] switch_cpp.cpp:1360 [ASTPP] [DONUMBERTRANSLATION] After number translation : 2135147320 2019-01-31 19:39:47.308430 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [Dialplan] Generated XML:
2019-01-31 19:39:47.308430 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f558c0aef70 released. Dialplan: sofia/Default/Eduardo@52.67.133.254 parsing [default->552135147320] continue=false Dialplan: sofia/Default/Eduardo@52.67.133.254 Regex (PASS) [552135147320] destination_number(552135147320) =~ /552135147320/ break=on-false Dialplan: sofia/Default/Eduardo@52.67.133.254 Action set(effective_destination_number=552135147320) Dialplan: sofia/Default/Eduardo@52.67.133.254 Action sched_hangup(+6000 normal_clearing) Dialplan: sofia/Default/Eduardo@52.67.133.254 Action set(callstart=2019-01-31 21:39:47) Dialplan: sofia/Default/Eduardo@52.67.133.254 Action set(hangup_after_bridge=true) Dialplan: sofia/Default/Eduardo@52.67.133.254 Action set(continue_on_fail=!USER_BUSY) Dialplan: sofia/Default/Eduardo@52.67.133.254 Action set(account_id=7) Dialplan: sofia/Default/Eduardo@52.67.133.254 Action set(parent_id=0) Dialplan: sofia/Default/Eduardo@52.67.133.254 Action set(entity_id=0) Dialplan: sofia/Default/Eduardo@52.67.133.254 Action set(call_processed=internal) Dialplan: sofia/Default/Eduardo@52.67.133.254 Action set(call_direction=outbound) Dialplan: sofia/Default/Eduardo@52.67.133.254 Action set(accountname=default) Dialplan: sofia/Default/Eduardo@52.67.133.254 Action export(t38_passthru=true) Dialplan: sofia/Default/Eduardo@52.67.133.254 Action set(fax_enable_t38=true) Dialplan: sofia/Default/Eduardo@52.67.133.254 Action set(fax_enable_t38_request=true) Dialplan: sofia/Default/Eduardo@52.67.133.254 Action set(origination_rates=ID:4385|CODE:^5521.*|DESTINATION:Rio de Janeiro|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:4|COST:0.00000|INC:6|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|ACCID:7) Dialplan: sofia/Default/Eduardo@52.67.133.254 Action set(original_caller_id_name=Eduardo) Dialplan: sofia/Default/Eduardo@52.67.133.254 Action set(original_caller_id_number=551135880115) Dialplan: sofia/Default/Eduardo@52.67.133.254 Action set(effective_caller_id_name=Eduardo) Dialplan: sofia/Default/Eduardo@52.67.133.254 Action set(effective_caller_id_number=551135880115) Dialplan: sofia/Default/Eduardo@52.67.133.254 Action set(calltype=STANDARD) Dialplan: sofia/Default/Eduardo@52.67.133.254 Action set(termination_rates=ID:5016|CODE:^5521.*|DESTINATION:Rio de Janeiro Fixo|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:4|COST:0.00000|INC:6|INITIALBLOCK:30|TRUNK:5|PROVIDER:8) Dialplan: sofia/Default/Eduardo@52.67.133.254 Action set(trunk_id=5) Dialplan: sofia/Default/Eduardo@52.67.133.254 Action set(provider_id=8) Dialplan: sofia/Default/Eduardo@52.67.133.254 Action limit(hash CPS_5 CPS_trunk_5 1/1 !SWITCH_CONGESTION) Dialplan: sofia/Default/Eduardo@52.67.133.254 Action bridge([leg_timeout=120,absolute_codec_string=^^:PCMU:PCMA:G729]sofia/gateway/Trunk-Basix/2135147320) 2019-01-31 19:39:47.308430 [DEBUG] switch_core_state_machine.c:286 (sofia/Default/Eduardo@52.67.133.254) State Change CS_ROUTING -> CS_EXECUTE 2019-01-31 19:39:47.308430 [DEBUG] switch_core_state_machine.c:602 (sofia/Default/Eduardo@52.67.133.254) State ROUTING going to sleep 2019-01-31 19:39:47.308430 [DEBUG] switch_core_state_machine.c:543 (sofia/Default/Eduardo@52.67.133.254) Running State Change CS_EXECUTE 2019-01-31 19:39:47.308430 [DEBUG] switch_core_state_machine.c:609 (sofia/Default/Eduardo@52.67.133.254) State EXECUTE 2019-01-31 19:39:47.308430 [DEBUG] mod_sofia.c:197 sofia/Default/Eduardo@52.67.133.254 SOFIA EXECUTE 2019-01-31 19:39:47.308430 [DEBUG] switch_core_state_machine.c:328 sofia/Default/Eduardo@52.67.133.254 Standard EXECUTE EXECUTE sofia/Default/Eduardo@52.67.133.254 set(effective_destination_number=552135147320) 2019-01-31 19:39:47.308430 [DEBUG] mod_dptools.c:1519 SET sofia/Default/Eduardo@52.67.133.254 [effective_destination_number]=[552135147320] EXECUTE sofia/Default/Eduardo@52.67.133.254 sched_hangup(+6000 normal_clearing) 2019-01-31 19:39:47.308430 [DEBUG] switch_scheduler.c:249 Added task 10 switch_ivr_schedule_hangup (9bda101a-b53a-4e24-b659-d10475e97ac3) to run at 1548976787 EXECUTE sofia/Default/Eduardo@52.67.133.254 set(callstart=2019-01-31 21:39:47) 2019-01-31 19:39:47.308430 [DEBUG] mod_dptools.c:1519 SET sofia/Default/Eduardo@52.67.133.254 [callstart]=[2019-01-31 21:39:47] EXECUTE sofia/Default/Eduardo@52.67.133.254 set(hangup_after_bridge=true) 2019-01-31 19:39:47.308430 [DEBUG] mod_dptools.c:1519 SET sofia/Default/Eduardo@52.67.133.254 [hangup_after_bridge]=[true] EXECUTE sofia/Default/Eduardo@52.67.133.254 set(continue_on_fail=!USER_BUSY) 2019-01-31 19:39:47.308430 [DEBUG] mod_dptools.c:1519 SET sofia/Default/Eduardo@52.67.133.254 [continue_on_fail]=[!USER_BUSY] EXECUTE sofia/Default/Eduardo@52.67.133.254 set(account_id=7) 2019-01-31 19:39:47.308430 [DEBUG] mod_dptools.c:1519 SET sofia/Default/Eduardo@52.67.133.254 [account_id]=[7] EXECUTE sofia/Default/Eduardo@52.67.133.254 set(parent_id=0) 2019-01-31 19:39:47.308430 [DEBUG] mod_dptools.c:1519 SET sofia/Default/Eduardo@52.67.133.254 [parent_id]=[0] EXECUTE sofia/Default/Eduardo@52.67.133.254 set(entity_id=0) 2019-01-31 19:39:47.308430 [DEBUG] mod_dptools.c:1519 SET sofia/Default/Eduardo@52.67.133.254 [entity_id]=[0] EXECUTE sofia/Default/Eduardo@52.67.133.254 set(call_processed=internal) 2019-01-31 19:39:47.308430 [DEBUG] mod_dptools.c:1519 SET sofia/Default/Eduardo@52.67.133.254 [call_processed]=[internal] EXECUTE sofia/Default/Eduardo@52.67.133.254 set(call_direction=outbound) 2019-01-31 19:39:47.308430 [DEBUG] mod_dptools.c:1519 SET sofia/Default/Eduardo@52.67.133.254 [call_direction]=[outbound] EXECUTE sofia/Default/Eduardo@52.67.133.254 set(accountname=default) 2019-01-31 19:39:47.308430 [DEBUG] mod_dptools.c:1519 SET sofia/Default/Eduardo@52.67.133.254 [accountname]=[default] EXECUTE sofia/Default/Eduardo@52.67.133.254 export(t38_passthru=true) 2019-01-31 19:39:47.308430 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [t38_passthru]=[true] EXECUTE sofia/Default/Eduardo@52.67.133.254 set(fax_enable_t38=true) 2019-01-31 19:39:47.308430 [DEBUG] mod_dptools.c:1519 SET sofia/Default/Eduardo@52.67.133.254 [fax_enable_t38]=[true] EXECUTE sofia/Default/Eduardo@52.67.133.254 set(fax_enable_t38_request=true) 2019-01-31 19:39:47.308430 [DEBUG] mod_dptools.c:1519 SET sofia/Default/Eduardo@52.67.133.254 [fax_enable_t38_request]=[true] EXECUTE sofia/Default/Eduardo@52.67.133.254 set(origination_rates=ID:4385|CODE:^5521.*|DESTINATION:Rio de Janeiro|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:4|COST:0.00000|INC:6|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|ACCID:7) 2019-01-31 19:39:47.308430 [DEBUG] mod_dptools.c:1519 SET sofia/Default/Eduardo@52.67.133.254 [origination_rates]=[ID:4385|CODE:^5521.*|DESTINATION:Rio de Janeiro|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:4|COST:0.00000|INC:6|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|ACCID:7] EXECUTE sofia/Default/Eduardo@52.67.133.254 set(original_caller_id_name=Eduardo) 2019-01-31 19:39:47.308430 [DEBUG] mod_dptools.c:1519 SET sofia/Default/Eduardo@52.67.133.254 [original_caller_id_name]=[Eduardo] EXECUTE sofia/Default/Eduardo@52.67.133.254 set(original_caller_id_number=551135880115) 2019-01-31 19:39:47.308430 [DEBUG] mod_dptools.c:1519 SET sofia/Default/Eduardo@52.67.133.254 [original_caller_id_number]=[551135880115] EXECUTE sofia/Default/Eduardo@52.67.133.254 set(effective_caller_id_name=Eduardo) 2019-01-31 19:39:47.308430 [DEBUG] mod_dptools.c:1519 SET sofia/Default/Eduardo@52.67.133.254 [effective_caller_id_name]=[Eduardo] EXECUTE sofia/Default/Eduardo@52.67.133.254 set(effective_caller_id_number=551135880115) 2019-01-31 19:39:47.308430 [DEBUG] mod_dptools.c:1519 SET sofia/Default/Eduardo@52.67.133.254 [effective_caller_id_number]=[551135880115] EXECUTE sofia/Default/Eduardo@52.67.133.254 set(calltype=STANDARD) 2019-01-31 19:39:47.308430 [DEBUG] mod_dptools.c:1519 SET sofia/Default/Eduardo@52.67.133.254 [calltype]=[STANDARD] EXECUTE sofia/Default/Eduardo@52.67.133.254 set(termination_rates=ID:5016|CODE:^5521.*|DESTINATION:Rio de Janeiro Fixo|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:4|COST:0.00000|INC:6|INITIALBLOCK:30|TRUNK:5|PROVIDER:8) 2019-01-31 19:39:47.308430 [DEBUG] mod_dptools.c:1519 SET sofia/Default/Eduardo@52.67.133.254 [termination_rates]=[ID:5016|CODE:^5521.*|DESTINATION:Rio de Janeiro Fixo|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:4|COST:0.00000|INC:6|INITIALBLOCK:30|TRUNK:5|PROVIDER:8] EXECUTE sofia/Default/Eduardo@52.67.133.254 set(trunk_id=5) 2019-01-31 19:39:47.308430 [DEBUG] mod_dptools.c:1519 SET sofia/Default/Eduardo@52.67.133.254 [trunk_id]=[5] EXECUTE sofia/Default/Eduardo@52.67.133.254 set(provider_id=8) 2019-01-31 19:39:47.308430 [DEBUG] mod_dptools.c:1519 SET sofia/Default/Eduardo@52.67.133.254 [provider_id]=[8] EXECUTE sofia/Default/Eduardo@52.67.133.254 limit(hash CPS_5 CPS_trunk_5 1/1 !SWITCH_CONGESTION) 2019-01-31 19:39:47.308430 [DEBUG] switch_limit.c:43 Unable to locate limit backend: hash 2019-01-31 19:39:47.308430 [ERR] switch_limit.c:122 Limit subsystem hash not found! 2019-01-31 19:39:47.308430 [NOTICE] mod_dptools.c:4532 Hangup sofia/Default/Eduardo@52.67.133.254 [CS_EXECUTE] [SWITCH_CONGESTION] 2019-01-31 19:39:47.308430 [DEBUG] switch_core_session.c:2796 sofia/Default/Eduardo@52.67.133.254 skip receive message [PHONE_EVENT] (channel is hungup already) 2019-01-31 19:39:47.308430 [DEBUG] switch_core_state_machine.c:609 (sofia/Default/Eduardo@52.67.133.254) State EXECUTE going to sleep 2019-01-31 19:39:47.308430 [DEBUG] switch_core_state_machine.c:543 (sofia/Default/Eduardo@52.67.133.254) Running State Change CS_HANGUP 2019-01-31 19:39:47.308430 [DEBUG] switch_core_state_machine.c:809 (sofia/Default/Eduardo@52.67.133.254) Callstate Change RINGING -> HANGUP 2019-01-31 19:39:47.308430 [DEBUG] switch_core_state_machine.c:811 (sofia/Default/Eduardo@52.67.133.254) State HANGUP 2019-01-31 19:39:47.308430 [DEBUG] mod_sofia.c:437 Channel sofia/Default/Eduardo@52.67.133.254 hanging up, cause: SWITCH_CONGESTION 2019-01-31 19:39:47.308430 [DEBUG] mod_sofia.c:574 Responding to INVITE with: 503 2019-01-31 19:39:47.308430 [DEBUG] switch_core_state_machine.c:60 sofia/Default/Eduardo@52.67.133.254 Standard HANGUP, cause: SWITCH_CONGESTION 2019-01-31 19:39:47.308430 [DEBUG] switch_core_state_machine.c:811 (sofia/Default/Eduardo@52.67.133.254) State HANGUP going to sleep 2019-01-31 19:39:47.308430 [DEBUG] switch_core_state_machine.c:578 (sofia/Default/Eduardo@52.67.133.254) State Change CS_HANGUP -> CS_REPORTING 2019-01-31 19:39:47.308430 [DEBUG] switch_core_state_machine.c:543 (sofia/Default/Eduardo@52.67.133.254) Running State Change CS_REPORTING 2019-01-31 19:39:47.308430 [DEBUG] switch_core_state_machine.c:897 (sofia/Default/Eduardo@52.67.133.254) State REPORTING 2019-01-31 19:39:47.308430 [INFO] mod_json_cdr.c:271 Process [9bda101a-b53a-4e24-b659-d10475e97ac3.cdr.json] 2019-01-31 19:39:47.328428 [DEBUG] switch_core_state_machine.c:174 sofia/Default/Eduardo@52.67.133.254 Standard REPORTING, cause: SWITCH_CONGESTION 2019-01-31 19:39:47.328428 [DEBUG] switch_core_state_machine.c:897 (sofia/Default/Eduardo@52.67.133.254) State REPORTING going to sleep 2019-01-31 19:39:47.328428 [DEBUG] switch_core_state_machine.c:569 (sofia/Default/Eduardo@52.67.133.254) State Change CS_REPORTING -> CS_DESTROY 2019-01-31 19:39:47.328428 [DEBUG] switch_core_session.c:1646 Session 10 (sofia/Default/Eduardo@52.67.133.254) Locked, Waiting on external entities 2019-01-31 19:39:47.328428 [NOTICE] switch_core_session.c:1664 Session 10 (sofia/Default/Eduardo@52.67.133.254) Ended 2019-01-31 19:39:47.328428 [NOTICE] switch_core_session.c:1668 Close Channel sofia/Default/Eduardo@52.67.133.254 [CS_DESTROY] 2019-01-31 19:39:47.328428 [DEBUG] switch_core_state_machine.c:700 (sofia/Default/Eduardo@52.67.133.254) Running State Change CS_DESTROY 2019-01-31 19:39:47.328428 [DEBUG] switch_core_state_machine.c:710 (sofia/Default/Eduardo@52.67.133.254) State DESTROY 2019-01-31 19:39:47.328428 [DEBUG] mod_sofia.c:342 sofia/Default/Eduardo@52.67.133.254 SOFIA DESTROY 2019-01-31 19:39:47.328428 [DEBUG] switch_core_state_machine.c:181 sofia/Default/Eduardo@52.67.133.254 Standard DESTROY 2019-01-31 19:39:47.328428 [DEBUG] switch_core_state_machine.c:710 (sofia/Default/Eduardo@52.67.133.254) State DESTROY going to sleep 2019-01-31 19:39:47.808456 [DEBUG] switch_scheduler.c:144 Deleting task 10 switch_ivr_schedule_hangup (9bda101a-b53a-4e24-b659-d10475e97ac3)