+OK log level [7] 2019-03-16 07:30:58.363978 [NOTICE] switch_channel.c:1104 New Channel sofia/default/2889055891@103.54.24.21 [39977cf6-e1e1-4e3f-b3b6-bbbfe0845928] 2019-03-16 07:30:58.363978 [DEBUG] switch_core_state_machine.c:584 (sofia/default/2889055891@103.54.24.21) Running State Change CS_NEW (Cur 1 Tot 50) 2019-03-16 07:30:58.363978 [DEBUG] sofia.c:9873 sofia/default/2889055891@103.54.24.21 receiving invite from 157.41.145.227:57899 version: 1.6.19 git 7a77e0b 2017-07-13 12:01:45Z 64bit 2019-03-16 07:30:58.363978 [DEBUG] sofia.c:10044 IP 157.41.145.227 Rejected by acl "default". Falling back to Digest auth. 2019-03-16 07:30:58.363978 [WARNING] sofia_reg.c:1792 SIP auth challenge (INVITE) on sofia profile 'default' for [8144659796@103.54.24.21] from ip 157.41.145.227 2019-03-16 07:30:58.363978 [DEBUG] switch_core_state_machine.c:603 (sofia/default/2889055891@103.54.24.21) State NEW 2019-03-16 07:30:58.363978 [DEBUG] sofia.c:2334 detaching session 39977cf6-e1e1-4e3f-b3b6-bbbfe0845928 2019-03-16 07:30:58.503968 [DEBUG] sofia.c:2442 Re-attaching to session 39977cf6-e1e1-4e3f-b3b6-bbbfe0845928 2019-03-16 07:30:58.503968 [DEBUG] sofia.c:9873 sofia/default/2889055891@103.54.24.21 receiving invite from 157.41.145.227:57899 version: 1.6.19 git 7a77e0b 2017-07-13 12:01:45Z 64bit 2019-03-16 07:30:58.503968 [DEBUG] sofia.c:10044 IP 157.41.145.227 Rejected by acl "default". Falling back to Digest auth. 2019-03-16 07:30:58.523969 [DEBUG] sofia.c:11168 Setting NAT mode based on via received 2019-03-16 07:30:58.523969 [DEBUG] sofia.c:7084 Channel sofia/default/2889055891@103.54.24.21 entering state [received][100] 2019-03-16 07:30:58.523969 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=- 3761710258 3761710258 IN IP4 192.168.43.217 s=pjmedia b=AS:84 t=0 0 a=X-nat:0 m=audio 4000 RTP/AVP 123 8 0 101 c=IN IP4 192.168.43.217 b=TIAS:64000 a=rtpmap:123 opus/48000/2 a=fmtp:123 maxplaybackrate=24000;sprop-maxcapturerate=24000;maxaveragebitrate=20000;useinbandfec=1 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=rtcp:4001 IN IP4 192.168.43.217 a=ssrc:848445801 cname:282a264579ab5984 2019-03-16 07:30:58.523969 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [opus:123:48000:20:0:2]/[PCMA:8:8000:20:64000:1] 2019-03-16 07:30:58.523969 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [opus:123:48000:20:0:2]/[PCMU:0:8000:20:64000:1] 2019-03-16 07:30:58.523969 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [opus:123:48000:20:0:2]/[G729:18:8000:20:8000:1] 2019-03-16 07:30:58.523969 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2019-03-16 07:30:58.523969 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2019-03-16 07:30:58.523969 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2019-03-16 07:30:58.523969 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2019-03-16 07:30:58.523969 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2019-03-16 07:30:58.523969 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2019-03-16 07:30:58.523969 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2019-03-16 07:30:58.523969 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2019-03-16 07:30:58.523969 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2019-03-16 07:30:58.523969 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/2889055891@103.54.24.21 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2019-03-16 07:30:58.523969 [DEBUG] switch_core_codec.c:111 sofia/default/2889055891@103.54.24.21 Original read codec set to PCMA:8 2019-03-16 07:30:58.523969 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2019-03-16 07:30:58.523969 [DEBUG] switch_core_media.c:4767 sofia/default/2889055891@103.54.24.21 Set 2833 dtmf send payload to 101 recv payload to 101 2019-03-16 07:30:58.523969 [DEBUG] sofia.c:7507 (sofia/default/2889055891@103.54.24.21) State Change CS_NEW -> CS_INIT 2019-03-16 07:30:58.523969 [DEBUG] switch_core_state_machine.c:584 (sofia/default/2889055891@103.54.24.21) Running State Change CS_INIT (Cur 1 Tot 50) 2019-03-16 07:30:58.523969 [DEBUG] switch_core_state_machine.c:627 (sofia/default/2889055891@103.54.24.21) State INIT 2019-03-16 07:30:58.523969 [DEBUG] mod_sofia.c:90 sofia/default/2889055891@103.54.24.21 SOFIA INIT 2019-03-16 07:30:58.523969 [DEBUG] switch_core_state_machine.c:40 sofia/default/2889055891@103.54.24.21 Standard INIT 2019-03-16 07:30:58.523969 [DEBUG] switch_core_state_machine.c:48 (sofia/default/2889055891@103.54.24.21) State Change CS_INIT -> CS_ROUTING 2019-03-16 07:30:58.523969 [DEBUG] switch_core_state_machine.c:627 (sofia/default/2889055891@103.54.24.21) State INIT going to sleep 2019-03-16 07:30:58.523969 [DEBUG] switch_core_state_machine.c:584 (sofia/default/2889055891@103.54.24.21) Running State Change CS_ROUTING (Cur 1 Tot 50) 2019-03-16 07:30:58.523969 [DEBUG] switch_channel.c:2249 (sofia/default/2889055891@103.54.24.21) Callstate Change DOWN -> RINGING 2019-03-16 07:30:58.523969 [DEBUG] switch_core_state_machine.c:643 (sofia/default/2889055891@103.54.24.21) State ROUTING 2019-03-16 07:30:58.523969 [DEBUG] mod_sofia.c:143 sofia/default/2889055891@103.54.24.21 SOFIA ROUTING 2019-03-16 07:30:58.523969 [DEBUG] switch_core_state_machine.c:236 sofia/default/2889055891@103.54.24.21 Standard ROUTING 2019-03-16 07:30:58.523969 [INFO] mod_dialplan_xml.c:637 Processing Suman <2889055891>->8144659796 in context default 2019-03-16 07:30:58.523969 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fc6443550c0 Connected. 2019-03-16 07:30:58.523969 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM system WHERE group_title IN ('global','opensips','callingcard') 2019-03-16 07:30:58.543972 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 8144659796 2019-03-16 07:30:58.543972 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 2889055891 / 2889055891 2019-03-16 07:30:58.543972 [DEBUG] switch_cpp.cpp:1365 [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 ="8144659796" LIMIT 1 2019-03-16 07:30:58.543972 [DEBUG] switch_cpp.cpp:1365 [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="8144659796" limit 1 2019-03-16 07:30:58.543972 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound 2019-03-16 07:30:58.543972 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 2889055891] 2019-03-16 07:30:58.543972 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "2889055891" OR id="2889055891") AND status=0 AND deleted=0 AND (expiry >= '2019-03-16 02:00:58' OR expiry = '0000-00-00 00:00:00') limit 1 2019-03-16 07:30:58.543972 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns ='^8144659796.*' OR blocked_patterns ='^814465979.*' OR blocked_patterns ='^81446597.*' OR blocked_patterns ='^8144659.*' OR blocked_patterns ='^814465.*' OR blocked_patterns ='^81446.*' OR blocked_patterns ='^8144.*' OR blocked_patterns ='^814.*' OR blocked_patterns ='^81.*' OR blocked_patterns ='^8.*' OR blocked_patterns ='--') AND accountid = 5 limit 1 2019-03-16 07:30:58.543972 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT * FROM packages as P inner join package_patterns as PKGPTR on P.id = PKGPTR.package_id WHERE (patterns ='^8144659796.*' OR patterns ='^814465979.*' OR patterns ='^81446597.*' OR patterns ='^8144659.*' OR patterns ='^814465.*' OR patterns ='^81446.*' OR patterns ='^8144.*' OR patterns ='^814.*' OR patterns ='^81.*' OR patterns ='^8.*' OR patterns ='--') AND status = 0 AND pricelist_id = 1 ORDER BY LENGTH(PKGPTR.patterns) DESC LIMIT 1 2019-03-16 07:30:58.543972 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information =================== 2019-03-16 07:30:58.543972 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 5 2019-03-16 07:30:58.543972 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 2889055891 2019-03-16 07:30:58.543972 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10 2019-03-16 07:30:58.543972 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2019-03-16 07:30:58.543972 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1 2019-03-16 07:30:58.543972 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2019-03-16 07:30:58.543972 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2019-03-16 07:30:58.543972 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern ='^8144659796.*' OR pattern ='^814465979.*' OR pattern ='^81446597.*' OR pattern ='^8144659.*' OR pattern ='^814465.*' OR pattern ='^81446.*' OR pattern ='^8144.*' OR pattern ='^814.*' OR pattern ='^81.*' OR pattern ='^8.*' OR pattern ='--') AND status = 0 AND pricelist_id = 1 ORDER BY LENGTH(pattern) DESC,cost DESC LIMIT 1 2019-03-16 07:30:58.543972 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100 2019-03-16 07:30:58.543972 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2019-03-16 07:30:58.543972 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1 2019-03-16 07:30:58.543972 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^8.* 2019-03-16 07:30:58.543972 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : INDIA 2019-03-16 07:30:58.543972 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2019-03-16 07:30:58.543972 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2019-03-16 07:30:58.543972 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000 2019-03-16 07:30:58.543972 [INFO] switch_cpp.cpp:1365 [ASTPP] Initial Increment : 30 2019-03-16 07:30:58.543972 [INFO] switch_cpp.cpp:1365 [ASTPP] Increment : 60 2019-03-16 07:30:58.543972 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 5 2019-03-16 07:30:58.543972 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2019-03-16 07:30:58.543972 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 100 minutes 2019-03-16 07:30:58.543972 [DEBUG] switch_cpp.cpp:1365 [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 ='^8144659796.*' OR pattern ='^814465979.*' OR pattern ='^81446597.*' OR pattern ='^8144659.*' OR pattern ='^814465.*' OR pattern ='^81446.*' OR pattern ='^8144.*' OR pattern ='^814.*' OR pattern ='^81.*' OR pattern ='^8.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id=1 ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence 2019-03-16 07:30:58.563973 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information =================== 2019-03-16 07:30:58.563973 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1 2019-03-16 07:30:58.563973 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^8.* 2019-03-16 07:30:58.563973 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : India 2019-03-16 07:30:58.563973 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2019-03-16 07:30:58.563973 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0 2019-03-16 07:30:58.563973 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^8.* 2019-03-16 07:30:58.563973 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 2019-03-16 07:30:58.563973 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 2019-03-16 07:30:58.563973 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 1 2019-03-16 07:30:58.563973 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : TTL_DELHI 2019-03-16 07:30:58.563973 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable : 2019-03-16 07:30:58.563973 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway : 2019-03-16 07:30:58.563973 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 4 2019-03-16 07:30:58.563973 [INFO] switch_cpp.cpp:1365 [ASTPP] Number Translation : 2019-03-16 07:30:58.563973 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 30 2019-03-16 07:30:58.563973 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES======================= 2019-03-16 07:30:58.563973 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 5 AND status=0 LIMIT 1 2019-03-16 07:30:58.563973 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FSXMLOUTBOUND] Caller ID Translation Starts 2019-03-16 07:30:58.563973 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FSXMLOUTBOUND] Caller ID Translation Ends 2019-03-16 07:30:58.563973 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2019-03-16 07:30:58.563973 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fc6443550c0 released. Dialplan: sofia/default/2889055891@103.54.24.21 parsing [default->8144659796] continue=false Dialplan: sofia/default/2889055891@103.54.24.21 Regex (PASS) [8144659796] destination_number(8144659796) =~ /8144659796/ break=on-false Dialplan: sofia/default/2889055891@103.54.24.21 Action set(effective_destination_number=8144659796) Dialplan: sofia/default/2889055891@103.54.24.21 Action sched_hangup(+6000 normal_clearing) Dialplan: sofia/default/2889055891@103.54.24.21 Action set(callstart=2019-03-16 02:00:58) Dialplan: sofia/default/2889055891@103.54.24.21 Action set(hangup_after_bridge=true) Dialplan: sofia/default/2889055891@103.54.24.21 Action set(continue_on_fail=!USER_BUSY) Dialplan: sofia/default/2889055891@103.54.24.21 Action set(account_id=5) Dialplan: sofia/default/2889055891@103.54.24.21 Action set(parent_id=0) Dialplan: sofia/default/2889055891@103.54.24.21 Action set(entity_id=0) Dialplan: sofia/default/2889055891@103.54.24.21 Action set(call_processed=internal) Dialplan: sofia/default/2889055891@103.54.24.21 Action set(call_direction=outbound) Dialplan: sofia/default/2889055891@103.54.24.21 Action set(accountname=default) Dialplan: sofia/default/2889055891@103.54.24.21 Action export(t38_passthru=true) Dialplan: sofia/default/2889055891@103.54.24.21 Action set(fax_enable_t38=true) Dialplan: sofia/default/2889055891@103.54.24.21 Action set(fax_enable_t38_request=true) Dialplan: sofia/default/2889055891@103.54.24.21 Action set(origination_rates=ID:1|CODE:^8.*|DESTINATION:INDIA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|ACCID:5) Dialplan: sofia/default/2889055891@103.54.24.21 Action set(original_caller_id_name=2889055891) Dialplan: sofia/default/2889055891@103.54.24.21 Action set(original_caller_id_number=2889055891) Dialplan: sofia/default/2889055891@103.54.24.21 Action set(effective_caller_id_name=2889055891) Dialplan: sofia/default/2889055891@103.54.24.21 Action set(effective_caller_id_number=2889055891) Dialplan: sofia/default/2889055891@103.54.24.21 Action set(calltype=STANDARD) Dialplan: sofia/default/2889055891@103.54.24.21 Action set(termination_rates=ID:1|CODE:^8.*|DESTINATION:India|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:4) Dialplan: sofia/default/2889055891@103.54.24.21 Action set(trunk_id=1) Dialplan: sofia/default/2889055891@103.54.24.21 Action set(provider_id=4) Dialplan: sofia/default/2889055891@103.54.24.21 Action limit_execute(db TTL_DELHI gw_TTL_DELHI 30 bridge [leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/TTL_DELHI/8144659796) 2019-03-16 07:30:58.563973 [DEBUG] switch_core_state_machine.c:286 (sofia/default/2889055891@103.54.24.21) State Change CS_ROUTING -> CS_EXECUTE 2019-03-16 07:30:58.563973 [DEBUG] switch_core_state_machine.c:643 (sofia/default/2889055891@103.54.24.21) State ROUTING going to sleep 2019-03-16 07:30:58.563973 [DEBUG] switch_core_state_machine.c:584 (sofia/default/2889055891@103.54.24.21) Running State Change CS_EXECUTE (Cur 1 Tot 50) 2019-03-16 07:30:58.563973 [DEBUG] switch_core_state_machine.c:650 (sofia/default/2889055891@103.54.24.21) State EXECUTE 2019-03-16 07:30:58.563973 [DEBUG] mod_sofia.c:198 sofia/default/2889055891@103.54.24.21 SOFIA EXECUTE 2019-03-16 07:30:58.563973 [DEBUG] switch_core_state_machine.c:328 sofia/default/2889055891@103.54.24.21 Standard EXECUTE EXECUTE sofia/default/2889055891@103.54.24.21 set(effective_destination_number=8144659796) 2019-03-16 07:30:58.563973 [DEBUG] mod_dptools.c:1548 SET sofia/default/2889055891@103.54.24.21 [effective_destination_number]=[8144659796] EXECUTE sofia/default/2889055891@103.54.24.21 sched_hangup(+6000 normal_clearing) 2019-03-16 07:30:58.563973 [DEBUG] switch_scheduler.c:249 Added task 11 switch_ivr_schedule_hangup (39977cf6-e1e1-4e3f-b3b6-bbbfe0845928) to run at 1552707658 EXECUTE sofia/default/2889055891@103.54.24.21 set(callstart=2019-03-16 02:00:58) 2019-03-16 07:30:58.563973 [DEBUG] mod_dptools.c:1548 SET sofia/default/2889055891@103.54.24.21 [callstart]=[2019-03-16 02:00:58] EXECUTE sofia/default/2889055891@103.54.24.21 set(hangup_after_bridge=true) 2019-03-16 07:30:58.563973 [DEBUG] mod_dptools.c:1548 SET sofia/default/2889055891@103.54.24.21 [hangup_after_bridge]=[true] EXECUTE sofia/default/2889055891@103.54.24.21 set(continue_on_fail=!USER_BUSY) 2019-03-16 07:30:58.563973 [DEBUG] mod_dptools.c:1548 SET sofia/default/2889055891@103.54.24.21 [continue_on_fail]=[!USER_BUSY] EXECUTE sofia/default/2889055891@103.54.24.21 set(account_id=5) 2019-03-16 07:30:58.563973 [DEBUG] mod_dptools.c:1548 SET sofia/default/2889055891@103.54.24.21 [account_id]=[5] EXECUTE sofia/default/2889055891@103.54.24.21 set(parent_id=0) 2019-03-16 07:30:58.563973 [DEBUG] mod_dptools.c:1548 SET sofia/default/2889055891@103.54.24.21 [parent_id]=[0] EXECUTE sofia/default/2889055891@103.54.24.21 set(entity_id=0) 2019-03-16 07:30:58.563973 [DEBUG] mod_dptools.c:1548 SET sofia/default/2889055891@103.54.24.21 [entity_id]=[0] EXECUTE sofia/default/2889055891@103.54.24.21 set(call_processed=internal) 2019-03-16 07:30:58.563973 [DEBUG] mod_dptools.c:1548 SET sofia/default/2889055891@103.54.24.21 [call_processed]=[internal] EXECUTE sofia/default/2889055891@103.54.24.21 set(call_direction=outbound) 2019-03-16 07:30:58.563973 [DEBUG] mod_dptools.c:1548 SET sofia/default/2889055891@103.54.24.21 [call_direction]=[outbound] EXECUTE sofia/default/2889055891@103.54.24.21 set(accountname=default) 2019-03-16 07:30:58.563973 [DEBUG] mod_dptools.c:1548 SET sofia/default/2889055891@103.54.24.21 [accountname]=[default] EXECUTE sofia/default/2889055891@103.54.24.21 export(t38_passthru=true) 2019-03-16 07:30:58.563973 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [t38_passthru]=[true] EXECUTE sofia/default/2889055891@103.54.24.21 set(fax_enable_t38=true) 2019-03-16 07:30:58.563973 [DEBUG] mod_dptools.c:1548 SET sofia/default/2889055891@103.54.24.21 [fax_enable_t38]=[true] EXECUTE sofia/default/2889055891@103.54.24.21 set(fax_enable_t38_request=true) 2019-03-16 07:30:58.563973 [DEBUG] mod_dptools.c:1548 SET sofia/default/2889055891@103.54.24.21 [fax_enable_t38_request]=[true] EXECUTE sofia/default/2889055891@103.54.24.21 set(origination_rates=ID:1|CODE:^8.*|DESTINATION:INDIA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|ACCID:5) 2019-03-16 07:30:58.563973 [DEBUG] mod_dptools.c:1548 SET sofia/default/2889055891@103.54.24.21 [origination_rates]=[ID:1|CODE:^8.*|DESTINATION:INDIA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|ACCID:5] EXECUTE sofia/default/2889055891@103.54.24.21 set(original_caller_id_name=2889055891) 2019-03-16 07:30:58.563973 [DEBUG] mod_dptools.c:1548 SET sofia/default/2889055891@103.54.24.21 [original_caller_id_name]=[2889055891] EXECUTE sofia/default/2889055891@103.54.24.21 set(original_caller_id_number=2889055891) 2019-03-16 07:30:58.563973 [DEBUG] mod_dptools.c:1548 SET sofia/default/2889055891@103.54.24.21 [original_caller_id_number]=[2889055891] EXECUTE sofia/default/2889055891@103.54.24.21 set(effective_caller_id_name=2889055891) 2019-03-16 07:30:58.563973 [DEBUG] mod_dptools.c:1548 SET sofia/default/2889055891@103.54.24.21 [effective_caller_id_name]=[2889055891] EXECUTE sofia/default/2889055891@103.54.24.21 set(effective_caller_id_number=2889055891) 2019-03-16 07:30:58.583972 [DEBUG] mod_dptools.c:1548 SET sofia/default/2889055891@103.54.24.21 [effective_caller_id_number]=[2889055891] EXECUTE sofia/default/2889055891@103.54.24.21 set(calltype=STANDARD) 2019-03-16 07:30:58.583972 [DEBUG] mod_dptools.c:1548 SET sofia/default/2889055891@103.54.24.21 [calltype]=[STANDARD] EXECUTE sofia/default/2889055891@103.54.24.21 set(termination_rates=ID:1|CODE:^8.*|DESTINATION:India|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:4) 2019-03-16 07:30:58.583972 [DEBUG] mod_dptools.c:1548 SET sofia/default/2889055891@103.54.24.21 [termination_rates]=[ID:1|CODE:^8.*|DESTINATION:India|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:4] EXECUTE sofia/default/2889055891@103.54.24.21 set(trunk_id=1) 2019-03-16 07:30:58.583972 [DEBUG] mod_dptools.c:1548 SET sofia/default/2889055891@103.54.24.21 [trunk_id]=[1] EXECUTE sofia/default/2889055891@103.54.24.21 set(provider_id=4) 2019-03-16 07:30:58.583972 [DEBUG] mod_dptools.c:1548 SET sofia/default/2889055891@103.54.24.21 [provider_id]=[4] EXECUTE sofia/default/2889055891@103.54.24.21 limit_execute(db TTL_DELHI gw_TTL_DELHI 30 bridge [leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/TTL_DELHI/8144659796) 2019-03-16 07:30:58.583972 [DEBUG] switch_limit.c:126 incr called: TTL_DELHI_gw_TTL_DELHI max:30, interval:0 2019-03-16 07:30:58.583972 [DEBUG] mod_db.c:194 Usage for TTL_DELHI_gw_TTL_DELHI is now 1/30 EXECUTE sofia/default/2889055891@103.54.24.21 bridge([leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/TTL_DELHI/8144659796) 2019-03-16 07:30:58.583972 [DEBUG] switch_channel.c:1250 sofia/default/2889055891@103.54.24.21 EXPORTING[export_vars] [t38_passthru]=[true] to event 2019-03-16 07:30:58.583972 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2019-03-16 07:30:58.583972 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2019-03-16 07:30:58.583972 [NOTICE] switch_channel.c:1104 New Channel sofia/TTL_DELHI/8144659796 [5f14a67b-3ef9-4ea8-9351-bb89e970d9a0] 2019-03-16 07:30:58.583972 [DEBUG] mod_sofia.c:4819 (sofia/TTL_DELHI/8144659796) State Change CS_NEW -> CS_INIT 2019-03-16 07:30:58.583972 [DEBUG] switch_ivr_originate.c:2963 sofia/TTL_DELHI/8144659796 Setting leg timeout to 30 2019-03-16 07:30:58.583972 [DEBUG] switch_core_state_machine.c:584 (sofia/TTL_DELHI/8144659796) Running State Change CS_INIT (Cur 2 Tot 51) 2019-03-16 07:30:58.583972 [DEBUG] switch_core_state_machine.c:627 (sofia/TTL_DELHI/8144659796) State INIT 2019-03-16 07:30:58.583972 [DEBUG] mod_sofia.c:90 sofia/TTL_DELHI/8144659796 SOFIA INIT 2019-03-16 07:30:58.583972 [DEBUG] sofia_glue.c:1295 sofia/TTL_DELHI/8144659796 sending invite version: 1.6.19 git 7a77e0b 2017-07-13 12:01:45Z 64bit Local SDP: v=0 o=FreeSWITCH 1552677224 1552677225 IN IP4 103.54.24.21 s=FreeSWITCH c=IN IP4 103.54.24.21 t=0 0 m=audio 24434 RTP/AVP 8 18 101 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2019-03-16 07:30:58.583972 [DEBUG] switch_core_state_machine.c:40 sofia/TTL_DELHI/8144659796 Standard INIT 2019-03-16 07:30:58.583972 [DEBUG] switch_core_state_machine.c:48 (sofia/TTL_DELHI/8144659796) State Change CS_INIT -> CS_ROUTING 2019-03-16 07:30:58.583972 [DEBUG] switch_core_state_machine.c:627 (sofia/TTL_DELHI/8144659796) State INIT going to sleep 2019-03-16 07:30:58.583972 [DEBUG] switch_core_state_machine.c:584 (sofia/TTL_DELHI/8144659796) Running State Change CS_ROUTING (Cur 2 Tot 51) 2019-03-16 07:30:58.583972 [DEBUG] sofia.c:7084 Channel sofia/TTL_DELHI/8144659796 entering state [calling][0] 2019-03-16 07:30:58.583972 [DEBUG] switch_core_state_machine.c:643 (sofia/TTL_DELHI/8144659796) State ROUTING 2019-03-16 07:30:58.583972 [DEBUG] mod_sofia.c:143 sofia/TTL_DELHI/8144659796 SOFIA ROUTING 2019-03-16 07:30:58.583972 [DEBUG] switch_ivr_originate.c:67 (sofia/TTL_DELHI/8144659796) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2019-03-16 07:30:58.583972 [DEBUG] switch_core_state_machine.c:643 (sofia/TTL_DELHI/8144659796) State ROUTING going to sleep 2019-03-16 07:30:58.583972 [DEBUG] switch_core_state_machine.c:584 (sofia/TTL_DELHI/8144659796) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 51) 2019-03-16 07:30:58.583972 [DEBUG] switch_core_state_machine.c:662 (sofia/TTL_DELHI/8144659796) State CONSUME_MEDIA 2019-03-16 07:30:58.583972 [DEBUG] switch_core_state_machine.c:662 (sofia/TTL_DELHI/8144659796) State CONSUME_MEDIA going to sleep 2019-03-16 07:30:58.603985 [DEBUG] sofia.c:7084 Channel sofia/TTL_DELHI/8144659796 entering state [terminated][403] 2019-03-16 07:30:58.603985 [NOTICE] sofia.c:8273 Hangup sofia/TTL_DELHI/8144659796 [CS_CONSUME_MEDIA] [CALL_REJECTED] 2019-03-16 07:30:58.603985 [DEBUG] switch_core_state_machine.c:584 (sofia/TTL_DELHI/8144659796) Running State Change CS_HANGUP (Cur 2 Tot 51) 2019-03-16 07:30:58.603985 [DEBUG] switch_core_state_machine.c:850 (sofia/TTL_DELHI/8144659796) Callstate Change DOWN -> HANGUP 2019-03-16 07:30:58.603985 [DEBUG] switch_core_state_machine.c:852 (sofia/TTL_DELHI/8144659796) State HANGUP 2019-03-16 07:30:58.603985 [DEBUG] mod_sofia.c:438 Channel sofia/TTL_DELHI/8144659796 hanging up, cause: CALL_REJECTED 2019-03-16 07:30:58.603985 [DEBUG] switch_core_state_machine.c:60 sofia/TTL_DELHI/8144659796 Standard HANGUP, cause: CALL_REJECTED 2019-03-16 07:30:58.603985 [DEBUG] switch_core_state_machine.c:852 (sofia/TTL_DELHI/8144659796) State HANGUP going to sleep 2019-03-16 07:30:58.603985 [DEBUG] switch_core_state_machine.c:619 (sofia/TTL_DELHI/8144659796) State Change CS_HANGUP -> CS_REPORTING 2019-03-16 07:30:58.603985 [DEBUG] switch_core_state_machine.c:584 (sofia/TTL_DELHI/8144659796) Running State Change CS_REPORTING (Cur 2 Tot 51) 2019-03-16 07:30:58.603985 [DEBUG] switch_core_state_machine.c:938 (sofia/TTL_DELHI/8144659796) State REPORTING 2019-03-16 07:30:58.603985 [INFO] mod_json_cdr.c:271 Process [5f14a67b-3ef9-4ea8-9351-bb89e970d9a0.cdr.json] 2019-03-16 07:30:58.623975 [DEBUG] switch_core_state_machine.c:174 sofia/TTL_DELHI/8144659796 Standard REPORTING, cause: CALL_REJECTED 2019-03-16 07:30:58.623975 [DEBUG] switch_core_state_machine.c:938 (sofia/TTL_DELHI/8144659796) State REPORTING going to sleep 2019-03-16 07:30:58.623975 [DEBUG] switch_core_state_machine.c:610 (sofia/TTL_DELHI/8144659796) State Change CS_REPORTING -> CS_DESTROY 2019-03-16 07:30:58.623975 [DEBUG] switch_core_session.c:1665 Session 51 (sofia/TTL_DELHI/8144659796) Locked, Waiting on external entities 2019-03-16 07:30:58.623975 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 21 [CALL_REJECTED] 2019-03-16 07:30:58.623975 [NOTICE] switch_core_session.c:1683 Session 51 (sofia/TTL_DELHI/8144659796) Ended 2019-03-16 07:30:58.623975 [NOTICE] switch_core_session.c:1687 Close Channel sofia/TTL_DELHI/8144659796 [CS_DESTROY] 2019-03-16 07:30:58.623975 [DEBUG] switch_core_state_machine.c:741 (sofia/TTL_DELHI/8144659796) Running State Change CS_DESTROY (Cur 1 Tot 51) 2019-03-16 07:30:58.623975 [DEBUG] switch_core_state_machine.c:751 (sofia/TTL_DELHI/8144659796) State DESTROY 2019-03-16 07:30:58.623975 [DEBUG] mod_sofia.c:343 sofia/TTL_DELHI/8144659796 SOFIA DESTROY 2019-03-16 07:30:58.623975 [DEBUG] switch_core_state_machine.c:181 sofia/TTL_DELHI/8144659796 Standard DESTROY 2019-03-16 07:30:58.623975 [DEBUG] switch_core_state_machine.c:751 (sofia/TTL_DELHI/8144659796) State DESTROY going to sleep 2019-03-16 07:30:58.623975 [INFO] mod_dptools.c:3436 Originate Failed. Cause: CALL_REJECTED 2019-03-16 07:30:58.623975 [NOTICE] switch_channel.c:4844 Hangup sofia/default/2889055891@103.54.24.21 [CS_EXECUTE] [CALL_REJECTED] 2019-03-16 07:30:58.623975 [DEBUG] switch_core_session.c:2815 sofia/default/2889055891@103.54.24.21 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2019-03-16 07:30:58.623975 [DEBUG] switch_core_session.c:2815 sofia/default/2889055891@103.54.24.21 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2019-03-16 07:30:58.623975 [DEBUG] switch_core_state_machine.c:650 (sofia/default/2889055891@103.54.24.21) State EXECUTE going to sleep 2019-03-16 07:30:58.623975 [DEBUG] switch_core_state_machine.c:584 (sofia/default/2889055891@103.54.24.21) Running State Change CS_HANGUP (Cur 1 Tot 51) 2019-03-16 07:30:58.623975 [DEBUG] switch_core_state_machine.c:850 (sofia/default/2889055891@103.54.24.21) Callstate Change RINGING -> HANGUP 2019-03-16 07:30:58.623975 [DEBUG] switch_core_state_machine.c:852 (sofia/default/2889055891@103.54.24.21) State HANGUP 2019-03-16 07:30:58.623975 [DEBUG] mod_sofia.c:432 sofia/default/2889055891@103.54.24.21 Overriding SIP cause 603 with 403 from the other leg 2019-03-16 07:30:58.623975 [DEBUG] mod_sofia.c:438 Channel sofia/default/2889055891@103.54.24.21 hanging up, cause: CALL_REJECTED 2019-03-16 07:30:58.623975 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 403 2019-03-16 07:30:58.623975 [DEBUG] switch_core_state_machine.c:60 sofia/default/2889055891@103.54.24.21 Standard HANGUP, cause: CALL_REJECTED 2019-03-16 07:30:58.623975 [DEBUG] switch_core_state_machine.c:852 (sofia/default/2889055891@103.54.24.21) State HANGUP going to sleep 2019-03-16 07:30:58.623975 [DEBUG] switch_core_state_machine.c:619 (sofia/default/2889055891@103.54.24.21) State Change CS_HANGUP -> CS_REPORTING 2019-03-16 07:30:58.623975 [DEBUG] switch_core_state_machine.c:584 (sofia/default/2889055891@103.54.24.21) Running State Change CS_REPORTING (Cur 1 Tot 51) 2019-03-16 07:30:58.623975 [DEBUG] switch_core_state_machine.c:938 (sofia/default/2889055891@103.54.24.21) State REPORTING 2019-03-16 07:30:58.623975 [INFO] mod_json_cdr.c:271 Process [39977cf6-e1e1-4e3f-b3b6-bbbfe0845928.cdr.json] 2019-03-16 07:30:58.643970 [DEBUG] switch_core_state_machine.c:174 sofia/default/2889055891@103.54.24.21 Standard REPORTING, cause: CALL_REJECTED 2019-03-16 07:30:58.643970 [DEBUG] switch_core_state_machine.c:938 (sofia/default/2889055891@103.54.24.21) State REPORTING going to sleep 2019-03-16 07:30:58.643970 [DEBUG] switch_core_state_machine.c:610 (sofia/default/2889055891@103.54.24.21) State Change CS_REPORTING -> CS_DESTROY 2019-03-16 07:30:58.643970 [DEBUG] switch_core_session.c:1665 Session 50 (sofia/default/2889055891@103.54.24.21) Locked, Waiting on external entities 2019-03-16 07:30:58.643970 [NOTICE] switch_core_session.c:1683 Session 50 (sofia/default/2889055891@103.54.24.21) Ended 2019-03-16 07:30:58.643970 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/2889055891@103.54.24.21 [CS_DESTROY] 2019-03-16 07:30:58.643970 [DEBUG] switch_core_state_machine.c:741 (sofia/default/2889055891@103.54.24.21) Running State Change CS_DESTROY (Cur 0 Tot 51) 2019-03-16 07:30:58.643970 [DEBUG] switch_core_state_machine.c:751 (sofia/default/2889055891@103.54.24.21) State DESTROY 2019-03-16 07:30:58.643970 [DEBUG] mod_sofia.c:343 sofia/default/2889055891@103.54.24.21 SOFIA DESTROY 2019-03-16 07:30:58.643970 [DEBUG] switch_core_state_machine.c:181 sofia/default/2889055891@103.54.24.21 Standard DESTROY 2019-03-16 07:30:58.643970 [DEBUG] switch_core_state_machine.c:751 (sofia/default/2889055891@103.54.24.21) State DESTROY going to sleep 2019-03-16 07:30:59.063984 [DEBUG] switch_scheduler.c:144 Deleting task 11 switch_ivr_schedule_hangup (39977cf6-e1e1-4e3f-b3b6-bbbfe0845928)