2019-03-16 11:44:25.183340 [DEBUG] switch_core_state_machine.c:603 (sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com) State NEW 2019-03-16 11:44:25.183340 [DEBUG] sofia.c:2334 detaching session e877e9a2-0914-4460-bf69-f668b61389a9 2019-03-16 11:44:25.403345 [DEBUG] sofia.c:2442 Re-attaching to session e877e9a2-0914-4460-bf69-f668b61389a9 2019-03-16 11:44:25.423344 [DEBUG] sofia.c:9873 sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com receiving invite from 157.41.145.227:40287 version: 1.6.19 git 7a77e0b 2017-07-13 12:01:45Z 64bit 2019-03-16 11:44:25.423344 [DEBUG] sofia.c:10044 IP 157.41.145.227 Rejected by acl "default". Falling back to Digest auth. 2019-03-16 11:44:25.423344 [DEBUG] sofia.c:11168 Setting NAT mode based on via received 2019-03-16 11:44:25.423344 [DEBUG] sofia.c:7084 Channel sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com entering state [received][100] 2019-03-16 11:44:25.423344 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=Zoiper 6472043 0 IN IP4 10.6.17.21 s=Z c=IN IP4 10.6.17.21 t=0 0 m=audio 49552 RTP/AVP 3 101 0 8 97 110 a=rtpmap:3 GSM/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:97 iLBC/8000 a=fmtp:97 mode=30 a=rtpmap:110 speex/8000 2019-03-16 11:44:25.423344 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] 2019-03-16 11:44:25.423344 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1] 2019-03-16 11:44:25.423344 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [GSM:3:8000:20:13200:1]/[G729:18:8000:20:8000:1] 2019-03-16 11:44:25.423344 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2019-03-16 11:44:25.423344 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2019-03-16 11:44:25.423344 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2019-03-16 11:44:25.423344 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2019-03-16 11:44:25.423344 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2019-03-16 11:44:25.423344 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2019-03-16 11:44:25.423344 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2019-03-16 11:44:25.423344 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2019-03-16 11:44:25.423344 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2019-03-16 11:44:25.423344 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMA:8:8000:20:64000:1] 2019-03-16 11:44:25.423344 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMU:0:8000:20:64000:1] 2019-03-16 11:44:25.423344 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [iLBC:97:8000:30:0:1]/[G729:18:8000:20:8000:1] 2019-03-16 11:44:25.423344 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2019-03-16 11:44:25.423344 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2019-03-16 11:44:25.423344 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [speex:110:8000:20:0:1]/[G729:18:8000:20:8000:1] 2019-03-16 11:44:25.423344 [DEBUG] switch_core_media.c:3061 Set Codec sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2019-03-16 11:44:25.423344 [DEBUG] switch_core_codec.c:111 sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com Original read codec set to PCMU:0 2019-03-16 11:44:25.423344 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2019-03-16 11:44:25.423344 [DEBUG] switch_core_media.c:4767 sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com Set 2833 dtmf send payload to 101 recv payload to 101 2019-03-16 11:44:25.423344 [DEBUG] sofia.c:7507 (sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com) State Change CS_NEW -> CS_INIT 2019-03-16 11:44:25.423344 [DEBUG] switch_core_state_machine.c:584 (sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com) Running State Change CS_INIT (Cur 1 Tot 31) 2019-03-16 11:44:25.423344 [DEBUG] switch_core_state_machine.c:627 (sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com) State INIT 2019-03-16 11:44:25.423344 [DEBUG] mod_sofia.c:90 sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com SOFIA INIT 2019-03-16 11:44:25.423344 [DEBUG] switch_core_state_machine.c:40 sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com Standard INIT 2019-03-16 11:44:25.423344 [DEBUG] switch_core_state_machine.c:48 (sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com) State Change CS_INIT -> CS_ROUTING 2019-03-16 11:44:25.423344 [DEBUG] switch_core_state_machine.c:627 (sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com) State INIT going to sleep 2019-03-16 11:44:25.423344 [DEBUG] switch_core_state_machine.c:584 (sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com) Running State Change CS_ROUTING (Cur 1 Tot 31) 2019-03-16 11:44:25.423344 [DEBUG] switch_channel.c:2249 (sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com) Callstate Change DOWN -> RINGING 2019-03-16 11:44:25.423344 [DEBUG] switch_core_state_machine.c:643 (sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com) State ROUTING 2019-03-16 11:44:25.423344 [DEBUG] mod_sofia.c:143 sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com SOFIA ROUTING 2019-03-16 11:44:25.423344 [DEBUG] switch_core_state_machine.c:236 sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com Standard ROUTING 2019-03-16 11:44:25.423344 [INFO] mod_dialplan_xml.c:637 Processing 1161198699 <1161198699>->9437212320 in context default 2019-03-16 11:44:25.423344 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fcc282366c0 Connected. 2019-03-16 11:44:25.423344 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM system WHERE group_title IN ('global','opensips','callingcard') 2019-03-16 11:44:25.443336 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 9437212320 2019-03-16 11:44:25.443336 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 1161198699 / 1161198699 2019-03-16 11:44:25.443336 [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 ="9437212320" LIMIT 1 2019-03-16 11:44:25.443336 [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="9437212320" limit 1 2019-03-16 11:44:25.443336 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound 2019-03-16 11:44:25.443336 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 1161198699] 2019-03-16 11:44:25.443336 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "1161198699" OR id="1161198699") AND status=0 AND deleted=0 AND (expiry >= '2019-03-16 06:14:25' OR expiry = '0000-00-00 00:00:00') limit 1 2019-03-16 11:44:25.443336 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns ='^9437212320.*' OR blocked_patterns ='^943721232.*' OR blocked_patterns ='^94372123.*' OR blocked_patterns ='^9437212.*' OR blocked_patterns ='^943721.*' OR blocked_patterns ='^94372.*' OR blocked_patterns ='^9437.*' OR blocked_patterns ='^943.*' OR blocked_patterns ='^94.*' OR blocked_patterns ='^9.*' OR blocked_patterns ='--') AND accountid = 170 limit 1 2019-03-16 11:44:25.443336 [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 ='^9437212320.*' OR patterns ='^943721232.*' OR patterns ='^94372123.*' OR patterns ='^9437212.*' OR patterns ='^943721.*' OR patterns ='^94372.*' OR patterns ='^9437.*' OR patterns ='^943.*' OR patterns ='^94.*' OR patterns ='^9.*' OR patterns ='--') AND status = 0 AND pricelist_id = 1 ORDER BY LENGTH(PKGPTR.patterns) DESC LIMIT 1 2019-03-16 11:44:25.443336 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information =================== 2019-03-16 11:44:25.443336 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 170 2019-03-16 11:44:25.443336 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 1161198699 2019-03-16 11:44:25.443336 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 666666.66667 2019-03-16 11:44:25.443336 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2019-03-16 11:44:25.443336 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1 2019-03-16 11:44:25.443336 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2019-03-16 11:44:25.443336 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2019-03-16 11:44:25.443336 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern ='^9437212320.*' OR pattern ='^943721232.*' OR pattern ='^94372123.*' OR pattern ='^9437212.*' OR pattern ='^943721.*' OR pattern ='^94372.*' OR pattern ='^9437.*' OR pattern ='^943.*' OR pattern ='^94.*' OR pattern ='^9.*' OR pattern ='--') AND status = 0 AND pricelist_id = 1 ORDER BY LENGTH(pattern) DESC,cost DESC LIMIT 1 2019-03-16 11:44:25.443336 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] LIMITING CALL TO CONFIG MAX LENGTH 24!!! 2019-03-16 11:44:25.443336 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2019-03-16 11:44:25.443336 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1 2019-03-16 11:44:25.443336 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^9.* 2019-03-16 11:44:25.443336 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : INDIA 2019-03-16 11:44:25.443336 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2019-03-16 11:44:25.443336 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2019-03-16 11:44:25.443336 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.15333 2019-03-16 11:44:25.443336 [INFO] switch_cpp.cpp:1365 [ASTPP] Initial Increment : 60 2019-03-16 11:44:25.443336 [INFO] switch_cpp.cpp:1365 [ASTPP] Increment : 60 2019-03-16 11:44:25.443336 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 170 2019-03-16 11:44:25.443336 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2019-03-16 11:44:25.443336 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 24 minutes 2019-03-16 11:44:25.443336 [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 ='^9437212320.*' OR pattern ='^943721232.*' OR pattern ='^94372123.*' OR pattern ='^9437212.*' OR pattern ='^943721.*' OR pattern ='^94372.*' OR pattern ='^9437.*' OR pattern ='^943.*' OR pattern ='^94.*' OR pattern ='^9.*' 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 11:44:25.463345 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information =================== 2019-03-16 11:44:25.463345 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1 2019-03-16 11:44:25.463345 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^9.* 2019-03-16 11:44:25.463345 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : INDIA 2019-03-16 11:44:25.463345 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2019-03-16 11:44:25.463345 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0 2019-03-16 11:44:25.463345 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^9.* 2019-03-16 11:44:25.463345 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 2019-03-16 11:44:25.463345 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 2019-03-16 11:44:25.463345 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 1 2019-03-16 11:44:25.463345 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : GW_TTL_DEL 2019-03-16 11:44:25.463345 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable : 2019-03-16 11:44:25.463345 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway : 2019-03-16 11:44:25.463345 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 4 2019-03-16 11:44:25.463345 [INFO] switch_cpp.cpp:1365 [ASTPP] Number Translation : 2019-03-16 11:44:25.463345 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0 2019-03-16 11:44:25.463345 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES======================= 2019-03-16 11:44:25.463345 [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 = 170 AND status=0 LIMIT 1 2019-03-16 11:44:25.463345 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FSXMLOUTBOUND] Caller ID Translation Starts 2019-03-16 11:44:25.463345 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FSXMLOUTBOUND] Caller ID Translation Ends 2019-03-16 11:44:25.463345 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2019-03-16 11:44:25.463345 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fcc282366c0 released. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com parsing [default->9437212320] continue=false Dialplan: sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com Regex (PASS) [9437212320] destination_number(9437212320) =~ /9437212320/ break=on-false Dialplan: sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com Action set(effective_destination_number=9437212320) Dialplan: sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com Action sched_hangup(+1440 normal_clearing) Dialplan: sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com Action set(callstart=2019-03-16 06:14:25) Dialplan: sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com Action set(hangup_after_bridge=true) Dialplan: sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com Action set(continue_on_fail=!USER_BUSY) Dialplan: sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com Action set(account_id=170) Dialplan: sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com Action set(parent_id=0) Dialplan: sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com Action set(entity_id=0) Dialplan: sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com Action set(call_processed=internal) Dialplan: sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com Action set(call_direction=outbound) Dialplan: sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com Action set(accountname=default) Dialplan: sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com Action export(t38_passthru=true) Dialplan: sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com Action set(fax_enable_t38=true) Dialplan: sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com Action set(fax_enable_t38_request=true) Dialplan: sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com Action set(origination_rates=ID:1|CODE:^9.*|DESTINATION:INDIA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.15333|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|ACCID:170) Dialplan: sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com Action set(original_caller_id_name=1161198699) Dialplan: sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com Action set(original_caller_id_number=1161198699) Dialplan: sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com Action set(effective_caller_id_name=1161198699) Dialplan: sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com Action set(effective_caller_id_number=1161198699) Dialplan: sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com Action set(calltype=STANDARD) Dialplan: sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com Action set(termination_rates=ID:1|CODE:^9.*|DESTINATION:INDIA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.12000|INC:60|INITIALBLOCK:60|TRUNK:1|PROVIDER:4) Dialplan: sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com Action set(trunk_id=1) Dialplan: sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com Action set(provider_id=4) Dialplan: sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com Action bridge([leg_timeout=30,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/GW_TTL_DEL/9437212320) 2019-03-16 11:44:25.463345 [DEBUG] switch_core_state_machine.c:286 (sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com) State Change CS_ROUTING -> CS_EXECUTE 2019-03-16 11:44:25.463345 [DEBUG] switch_core_state_machine.c:643 (sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com) State ROUTING going to sleep 2019-03-16 11:44:25.463345 [DEBUG] switch_core_state_machine.c:584 (sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com) Running State Change CS_EXECUTE (Cur 1 Tot 31) 2019-03-16 11:44:25.463345 [DEBUG] switch_core_state_machine.c:650 (sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com) State EXECUTE 2019-03-16 11:44:25.463345 [DEBUG] mod_sofia.c:198 sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com SOFIA EXECUTE 2019-03-16 11:44:25.463345 [DEBUG] switch_core_state_machine.c:328 sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com Standard EXECUTE EXECUTE sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com set(effective_destination_number=9437212320) 2019-03-16 11:44:25.463345 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com [effective_destination_number]=[9437212320] EXECUTE sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com sched_hangup(+1440 normal_clearing) 2019-03-16 11:44:25.463345 [DEBUG] switch_scheduler.c:249 Added task 13 switch_ivr_schedule_hangup (e877e9a2-0914-4460-bf69-f668b61389a9) to run at 1552718305 EXECUTE sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com set(callstart=2019-03-16 06:14:25) 2019-03-16 11:44:25.463345 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com [callstart]=[2019-03-16 06:14:25] EXECUTE sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com set(hangup_after_bridge=true) 2019-03-16 11:44:25.463345 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com [hangup_after_bridge]=[true] EXECUTE sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com set(continue_on_fail=!USER_BUSY) 2019-03-16 11:44:25.463345 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com [continue_on_fail]=[!USER_BUSY] EXECUTE sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com set(account_id=170) 2019-03-16 11:44:25.463345 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com [account_id]=[170] EXECUTE sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com set(parent_id=0) 2019-03-16 11:44:25.463345 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com [parent_id]=[0] EXECUTE sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com set(entity_id=0) 2019-03-16 11:44:25.463345 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com [entity_id]=[0] EXECUTE sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com set(call_processed=internal) 2019-03-16 11:44:25.463345 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com [call_processed]=[internal] EXECUTE sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com set(call_direction=outbound) 2019-03-16 11:44:25.463345 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com [call_direction]=[outbound] EXECUTE sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com set(accountname=default) 2019-03-16 11:44:25.463345 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com [accountname]=[default] EXECUTE sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com export(t38_passthru=true) 2019-03-16 11:44:25.463345 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [t38_passthru]=[true] EXECUTE sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com set(fax_enable_t38=true) 2019-03-16 11:44:25.463345 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com [fax_enable_t38]=[true] EXECUTE sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com set(fax_enable_t38_request=true) 2019-03-16 11:44:25.463345 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com [fax_enable_t38_request]=[true] EXECUTE sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com set(origination_rates=ID:1|CODE:^9.*|DESTINATION:INDIA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.15333|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|ACCID:170) 2019-03-16 11:44:25.463345 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com [origination_rates]=[ID:1|CODE:^9.*|DESTINATION:INDIA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.15333|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|ACCID:170] EXECUTE sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com set(original_caller_id_name=1161198699) 2019-03-16 11:44:25.463345 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com [original_caller_id_name]=[1161198699] EXECUTE sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com set(original_caller_id_number=1161198699) 2019-03-16 11:44:25.463345 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com [original_caller_id_number]=[1161198699] EXECUTE sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com set(effective_caller_id_name=1161198699) 2019-03-16 11:44:25.463345 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com [effective_caller_id_name]=[1161198699] EXECUTE sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com set(effective_caller_id_number=1161198699) 2019-03-16 11:44:25.463345 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com [effective_caller_id_number]=[1161198699] EXECUTE sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com set(calltype=STANDARD) 2019-03-16 11:44:25.463345 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com [calltype]=[STANDARD] EXECUTE sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com set(termination_rates=ID:1|CODE:^9.*|DESTINATION:INDIA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.12000|INC:60|INITIALBLOCK:60|TRUNK:1|PROVIDER:4) 2019-03-16 11:44:25.463345 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com [termination_rates]=[ID:1|CODE:^9.*|DESTINATION:INDIA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.12000|INC:60|INITIALBLOCK:60|TRUNK:1|PROVIDER:4] EXECUTE sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com set(trunk_id=1) 2019-03-16 11:44:25.463345 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com [trunk_id]=[1] EXECUTE sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com set(provider_id=4) 2019-03-16 11:44:25.463345 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com [provider_id]=[4] EXECUTE sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com bridge([leg_timeout=30,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/GW_TTL_DEL/9437212320) 2019-03-16 11:44:25.463345 [DEBUG] switch_channel.c:1250 sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com EXPORTING[export_vars] [t38_passthru]=[true] to event 2019-03-16 11:44:25.463345 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2019-03-16 11:44:25.463345 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2019-03-16 11:44:25.463345 [NOTICE] switch_channel.c:1104 New Channel sofia/SIP_TTL_DEL/9437212320 [130162ec-0d33-45df-a8c4-eabb2670411c] 2019-03-16 11:44:25.463345 [DEBUG] mod_sofia.c:4819 (sofia/SIP_TTL_DEL/9437212320) State Change CS_NEW -> CS_INIT 2019-03-16 11:44:25.463345 [DEBUG] switch_ivr_originate.c:2963 sofia/SIP_TTL_DEL/9437212320 Setting leg timeout to 30 2019-03-16 11:44:25.463345 [DEBUG] switch_core_state_machine.c:584 (sofia/SIP_TTL_DEL/9437212320) Running State Change CS_INIT (Cur 2 Tot 32) 2019-03-16 11:44:25.463345 [DEBUG] switch_core_state_machine.c:627 (sofia/SIP_TTL_DEL/9437212320) State INIT 2019-03-16 11:44:25.463345 [DEBUG] mod_sofia.c:90 sofia/SIP_TTL_DEL/9437212320 SOFIA INIT 2019-03-16 11:44:25.463345 [DEBUG] sofia_glue.c:1264 sip:10.50.180.1 Setting proxy route to sofia/SIP_TTL_DEL/9437212320 2019-03-16 11:44:25.463345 [DEBUG] sofia_glue.c:1295 sofia/SIP_TTL_DEL/9437212320 sending invite version: 1.6.19 git 7a77e0b 2017-07-13 12:01:45Z 64bit Local SDP: v=0 o=FreeSWITCH 1552690383 1552690384 IN IP4 103.54.24.21 s=FreeSWITCH c=IN IP4 103.54.24.21 t=0 0 m=audio 26482 RTP/AVP 8 0 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2019-03-16 11:44:25.463345 [DEBUG] switch_core_state_machine.c:40 sofia/SIP_TTL_DEL/9437212320 Standard INIT 2019-03-16 11:44:25.463345 [DEBUG] switch_core_state_machine.c:48 (sofia/SIP_TTL_DEL/9437212320) State Change CS_INIT -> CS_ROUTING 2019-03-16 11:44:25.463345 [DEBUG] switch_core_state_machine.c:627 (sofia/SIP_TTL_DEL/9437212320) State INIT going to sleep 2019-03-16 11:44:25.463345 [DEBUG] switch_core_state_machine.c:584 (sofia/SIP_TTL_DEL/9437212320) Running State Change CS_ROUTING (Cur 2 Tot 32) 2019-03-16 11:44:25.463345 [DEBUG] switch_core_state_machine.c:643 (sofia/SIP_TTL_DEL/9437212320) State ROUTING 2019-03-16 11:44:25.463345 [DEBUG] mod_sofia.c:143 sofia/SIP_TTL_DEL/9437212320 SOFIA ROUTING 2019-03-16 11:44:25.463345 [DEBUG] switch_ivr_originate.c:67 (sofia/SIP_TTL_DEL/9437212320) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2019-03-16 11:44:25.463345 [DEBUG] switch_core_state_machine.c:643 (sofia/SIP_TTL_DEL/9437212320) State ROUTING going to sleep 2019-03-16 11:44:25.463345 [DEBUG] switch_core_state_machine.c:584 (sofia/SIP_TTL_DEL/9437212320) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 32) 2019-03-16 11:44:25.463345 [DEBUG] sofia.c:7084 Channel sofia/SIP_TTL_DEL/9437212320 entering state [calling][0] 2019-03-16 11:44:25.463345 [DEBUG] switch_core_state_machine.c:662 (sofia/SIP_TTL_DEL/9437212320) State CONSUME_MEDIA 2019-03-16 11:44:25.463345 [DEBUG] switch_core_state_machine.c:662 (sofia/SIP_TTL_DEL/9437212320) State CONSUME_MEDIA going to sleep 2019-03-16 11:44:25.503338 [DEBUG] sofia.c:7084 Channel sofia/SIP_TTL_DEL/9437212320 entering state [terminated][403] 2019-03-16 11:44:25.503338 [NOTICE] sofia.c:8273 Hangup sofia/SIP_TTL_DEL/9437212320 [CS_CONSUME_MEDIA] [CALL_REJECTED] 2019-03-16 11:44:25.503338 [DEBUG] switch_core_state_machine.c:584 (sofia/SIP_TTL_DEL/9437212320) Running State Change CS_HANGUP (Cur 2 Tot 32) 2019-03-16 11:44:25.503338 [DEBUG] switch_core_state_machine.c:850 (sofia/SIP_TTL_DEL/9437212320) Callstate Change DOWN -> HANGUP 2019-03-16 11:44:25.503338 [DEBUG] switch_core_state_machine.c:852 (sofia/SIP_TTL_DEL/9437212320) State HANGUP 2019-03-16 11:44:25.503338 [DEBUG] mod_sofia.c:438 Channel sofia/SIP_TTL_DEL/9437212320 hanging up, cause: CALL_REJECTED 2019-03-16 11:44:25.503338 [DEBUG] switch_core_state_machine.c:60 sofia/SIP_TTL_DEL/9437212320 Standard HANGUP, cause: CALL_REJECTED 2019-03-16 11:44:25.503338 [DEBUG] switch_core_state_machine.c:852 (sofia/SIP_TTL_DEL/9437212320) State HANGUP going to sleep 2019-03-16 11:44:25.503338 [DEBUG] switch_core_state_machine.c:619 (sofia/SIP_TTL_DEL/9437212320) State Change CS_HANGUP -> CS_REPORTING 2019-03-16 11:44:25.503338 [DEBUG] switch_core_state_machine.c:584 (sofia/SIP_TTL_DEL/9437212320) Running State Change CS_REPORTING (Cur 2 Tot 32) 2019-03-16 11:44:25.503338 [DEBUG] switch_core_state_machine.c:938 (sofia/SIP_TTL_DEL/9437212320) State REPORTING 2019-03-16 11:44:25.503338 [INFO] mod_json_cdr.c:271 Process [130162ec-0d33-45df-a8c4-eabb2670411c.cdr.json] 2019-03-16 11:44:25.503338 [DEBUG] switch_core_state_machine.c:174 sofia/SIP_TTL_DEL/9437212320 Standard REPORTING, cause: CALL_REJECTED 2019-03-16 11:44:25.503338 [DEBUG] switch_core_state_machine.c:938 (sofia/SIP_TTL_DEL/9437212320) State REPORTING going to sleep 2019-03-16 11:44:25.503338 [DEBUG] switch_core_state_machine.c:610 (sofia/SIP_TTL_DEL/9437212320) State Change CS_REPORTING -> CS_DESTROY 2019-03-16 11:44:25.503338 [DEBUG] switch_core_session.c:1665 Session 32 (sofia/SIP_TTL_DEL/9437212320) Locked, Waiting on external entities 2019-03-16 11:44:25.503338 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 21 [CALL_REJECTED] 2019-03-16 11:44:25.503338 [NOTICE] switch_core_session.c:1683 Session 32 (sofia/SIP_TTL_DEL/9437212320) Ended 2019-03-16 11:44:25.503338 [NOTICE] switch_core_session.c:1687 Close Channel sofia/SIP_TTL_DEL/9437212320 [CS_DESTROY] 2019-03-16 11:44:25.503338 [DEBUG] switch_core_state_machine.c:741 (sofia/SIP_TTL_DEL/9437212320) Running State Change CS_DESTROY (Cur 1 Tot 32) 2019-03-16 11:44:25.503338 [DEBUG] switch_core_state_machine.c:751 (sofia/SIP_TTL_DEL/9437212320) State DESTROY 2019-03-16 11:44:25.503338 [DEBUG] mod_sofia.c:343 sofia/SIP_TTL_DEL/9437212320 SOFIA DESTROY 2019-03-16 11:44:25.503338 [DEBUG] switch_core_state_machine.c:181 sofia/SIP_TTL_DEL/9437212320 Standard DESTROY 2019-03-16 11:44:25.503338 [DEBUG] switch_core_state_machine.c:751 (sofia/SIP_TTL_DEL/9437212320) State DESTROY going to sleep 2019-03-16 11:44:25.503338 [INFO] mod_dptools.c:3436 Originate Failed. Cause: CALL_REJECTED 2019-03-16 11:44:25.503338 [NOTICE] switch_channel.c:4844 Hangup sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com [CS_EXECUTE] [CALL_REJECTED] 2019-03-16 11:44:25.503338 [DEBUG] switch_core_session.c:2815 sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2019-03-16 11:44:25.503338 [DEBUG] switch_core_state_machine.c:650 (sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com) State EXECUTE going to sleep 2019-03-16 11:44:25.503338 [DEBUG] switch_core_state_machine.c:584 (sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com) Running State Change CS_HANGUP (Cur 1 Tot 32) 2019-03-16 11:44:25.503338 [DEBUG] switch_core_state_machine.c:850 (sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com) Callstate Change RINGING -> HANGUP 2019-03-16 11:44:25.503338 [DEBUG] switch_core_state_machine.c:852 (sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com) State HANGUP 2019-03-16 11:44:25.503338 [DEBUG] mod_sofia.c:432 sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com Overriding SIP cause 603 with 403 from the other leg 2019-03-16 11:44:25.503338 [DEBUG] mod_sofia.c:438 Channel sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com hanging up, cause: CALL_REJECTED 2019-03-16 11:44:25.503338 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 403 2019-03-16 11:44:25.503338 [DEBUG] switch_core_state_machine.c:60 sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com Standard HANGUP, cause: CALL_REJECTED 2019-03-16 11:44:25.503338 [DEBUG] switch_core_state_machine.c:852 (sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com) State HANGUP going to sleep 2019-03-16 11:44:25.503338 [DEBUG] switch_core_state_machine.c:619 (sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com) State Change CS_HANGUP -> CS_REPORTING 2019-03-16 11:44:25.503338 [DEBUG] switch_core_state_machine.c:584 (sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com) Running State Change CS_REPORTING (Cur 1 Tot 32) 2019-03-16 11:44:25.503338 [DEBUG] switch_core_state_machine.c:938 (sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com) State REPORTING 2019-03-16 11:44:25.503338 [INFO] mod_json_cdr.c:271 Process [e877e9a2-0914-4460-bf69-f668b61389a9.cdr.json] 2019-03-16 11:44:25.523337 [DEBUG] switch_core_state_machine.c:174 sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com Standard REPORTING, cause: CALL_REJECTED 2019-03-16 11:44:25.523337 [DEBUG] switch_core_state_machine.c:938 (sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com) State REPORTING going to sleep 2019-03-16 11:44:25.523337 [DEBUG] switch_core_state_machine.c:610 (sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com) State Change CS_REPORTING -> CS_DESTROY 2019-03-16 11:44:25.523337 [DEBUG] switch_core_session.c:1665 Session 31 (sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com) Locked, Waiting on external entities 2019-03-16 11:44:25.523337 [NOTICE] switch_core_session.c:1683 Session 31 (sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com) Ended 2019-03-16 11:44:25.523337 [NOTICE] switch_core_session.c:1687 Close Channel sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com [CS_DESTROY] 2019-03-16 11:44:25.523337 [DEBUG] switch_core_state_machine.c:741 (sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com) Running State Change CS_DESTROY (Cur 0 Tot 32) 2019-03-16 11:44:25.523337 [DEBUG] switch_core_state_machine.c:751 (sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com) State DESTROY 2019-03-16 11:44:25.523337 [DEBUG] mod_sofia.c:343 sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com SOFIA DESTROY 2019-03-16 11:44:25.523337 [DEBUG] switch_core_state_machine.c:181 sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com Standard DESTROY 2019-03-16 11:44:25.523337 [DEBUG] switch_core_state_machine.c:751 (sofia/SIP_SHRISAI_INT/1161198699@sip.saispacenet.com) State DESTROY going to sleep