2018-12-19 08:04:21.490546 [NOTICE] switch_channel.c:1104 New Channel sofia/default/6617480240@117.247.91.162:5060 [b122c820-0364-11e9-a0b3-51646c3ac3f3] 2018-12-19 08:04:21.490546 [DEBUG] switch_core_state_machine.c:584 (sofia/default/6617480240@117.247.91.162:5060) Running State Change CS_NEW (Cur 1 Tot 1483) 2018-12-19 08:04:21.490546 [DEBUG] sofia.c:9873 sofia/default/6617480240@117.247.91.162:5060 receiving invite from 117.247.91.162:5060 version: 1.6.19 git 7a77e0b 2017-07-13 12:01:45Z 64bit 2018-12-19 08:04:21.490546 [DEBUG] sofia.c:9989 IP 117.247.91.162 Approved by acl "default[]". Access Granted. 2018-12-19 08:04:21.490546 [DEBUG] sofia.c:7084 Channel sofia/default/6617480240@117.247.91.162:5060 entering state [received][100] 2018-12-19 08:04:21.490546 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=root 726063361 726063361 IN IP4 117.247.91.162 s=Asterisk PBX 14.3.0 c=IN IP4 117.247.91.162 t=0 0 m=audio 22238 RTP/AVP 0 8 3 111 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:3 GSM/8000 a=rtpmap:111 G726-32/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=maxptime:150 2018-12-19 08:04:21.490546 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2018-12-19 08:04:21.490546 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2018-12-19 08:04:21.490546 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2018-12-19 08:04:21.490546 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2018-12-19 08:04:21.490546 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2018-12-19 08:04:21.490546 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2018-12-19 08:04:21.490546 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] 2018-12-19 08:04:21.490546 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1] 2018-12-19 08:04:21.490546 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:111:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2018-12-19 08:04:21.490546 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:111:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2018-12-19 08:04:21.490546 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2018-12-19 08:04:21.490546 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/6617480240@117.247.91.162:5060 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2018-12-19 08:04:21.490546 [DEBUG] switch_core_codec.c:111 sofia/default/6617480240@117.247.91.162:5060 Original read codec set to PCMU:0 2018-12-19 08:04:21.490546 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2018-12-19 08:04:21.490546 [DEBUG] switch_core_media.c:4767 sofia/default/6617480240@117.247.91.162:5060 Set 2833 dtmf send payload to 101 recv payload to 101 2018-12-19 08:04:21.490546 [DEBUG] sofia.c:7507 (sofia/default/6617480240@117.247.91.162:5060) State Change CS_NEW -> CS_INIT 2018-12-19 08:04:21.490546 [DEBUG] switch_core_state_machine.c:603 (sofia/default/6617480240@117.247.91.162:5060) State NEW 2018-12-19 08:04:21.490546 [DEBUG] switch_core_state_machine.c:584 (sofia/default/6617480240@117.247.91.162:5060) Running State Change CS_INIT (Cur 1 Tot 1483) 2018-12-19 08:04:21.490546 [DEBUG] switch_core_state_machine.c:627 (sofia/default/6617480240@117.247.91.162:5060) State INIT 2018-12-19 08:04:21.490546 [DEBUG] mod_sofia.c:90 sofia/default/6617480240@117.247.91.162:5060 SOFIA INIT 2018-12-19 08:04:21.490546 [DEBUG] switch_core_state_machine.c:40 sofia/default/6617480240@117.247.91.162:5060 Standard INIT 2018-12-19 08:04:21.490546 [DEBUG] switch_core_state_machine.c:48 (sofia/default/6617480240@117.247.91.162:5060) State Change CS_INIT -> CS_ROUTING 2018-12-19 08:04:21.490546 [DEBUG] switch_core_state_machine.c:627 (sofia/default/6617480240@117.247.91.162:5060) State INIT going to sleep 2018-12-19 08:04:21.490546 [DEBUG] switch_core_state_machine.c:584 (sofia/default/6617480240@117.247.91.162:5060) Running State Change CS_ROUTING (Cur 1 Tot 1483) 2018-12-19 08:04:21.490546 [DEBUG] switch_channel.c:2249 (sofia/default/6617480240@117.247.91.162:5060) Callstate Change DOWN -> RINGING 2018-12-19 08:04:21.490546 [DEBUG] switch_core_state_machine.c:643 (sofia/default/6617480240@117.247.91.162:5060) State ROUTING 2018-12-19 08:04:21.490546 [DEBUG] mod_sofia.c:143 sofia/default/6617480240@117.247.91.162:5060 SOFIA ROUTING 2018-12-19 08:04:21.490546 [DEBUG] switch_core_state_machine.c:236 sofia/default/6617480240@117.247.91.162:5060 Standard ROUTING 2018-12-19 08:04:21.490546 [INFO] mod_dialplan_xml.c:637 Processing 6617480240 <6617480240>->13049314867 in context default 2018-12-19 08:04:21.490546 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f27542cfe60 Connected. 2018-12-19 08:04:21.490546 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM system WHERE group_title IN ('global','opensips','callingcard') 2018-12-19 08:04:21.510556 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 13049314867 2018-12-19 08:04:21.510556 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID 2018-12-19 08:04:21.510556 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 6617480240 / 6617480240 2018-12-19 08:04:21.510556 [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 ="13049314867" LIMIT 1 2018-12-19 08:04:21.510556 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound 2018-12-19 08:04:21.510556 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("117.247.91.162") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 - SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1)) AND "13049314867" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1 2018-12-19 08:04:21.510556 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 9139839482] 2018-12-19 08:04:21.510556 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '13049314867' OR routing_prefix = '1304931486' OR routing_prefix = '130493148' OR routing_prefix = '13049314' OR routing_prefix = '1304931' OR routing_prefix = '130493' OR routing_prefix = '13049' OR routing_prefix = '1304' OR routing_prefix = '130' OR routing_prefix = '13' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 limit 1 2018-12-19 08:04:21.510556 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "9139839482" OR id="9139839482") AND status=0 AND deleted=0 AND (expiry >= '2018-12-19 08:04:21' OR expiry = '0000-00-00 00:00:00') limit 1 2018-12-19 08:04:21.510556 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [get_staus_fraud_detection] Query :select fraud_detection from fraud_UI_settings 2018-12-19 08:04:21.510556 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CALLERID_NUMBER] CALLERID :6617480240 2018-12-19 08:04:21.510556 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CUSTOMER_ID] USERID :11 2018-12-19 08:04:21.510556 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CIDPOOL] CIDPOOL :0 2018-12-19 08:04:21.510556 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [get_staus_fraud_detection] Query :select fraud_detection from fraud_UI_settings 2018-12-19 08:04:21.510556 [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 = '^13049314867.*' OR patterns = '^1304931486.*' OR patterns = '^130493148.*' OR patterns = '^13049314.*' OR patterns = '^1304931.*' OR patterns = '^130493.*' OR patterns = '^13049.*' OR patterns = '^1304.*' OR patterns = '^130.*' OR patterns = '^13.*' OR patterns = '^1.*' OR patterns ='--') AND status = 0 AND pricelist_id = 1 ORDER BY LENGTH(PKGPTR.patterns) DESC LIMIT 1 2018-12-19 08:04:21.510556 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information =================== 2018-12-19 08:04:21.510556 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 11 2018-12-19 08:04:21.510556 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 9139839482 2018-12-19 08:04:21.510556 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2018-12-19 08:04:21.510556 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1 2018-12-19 08:04:21.510556 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2018-12-19 08:04:21.510556 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2018-12-19 08:04:21.530548 [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 ="13049314867" LIMIT 1 2018-12-19 08:04:21.530548 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2018-12-19 08:04:21.530548 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 7 2018-12-19 08:04:21.530548 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2018-12-19 08:04:21.530548 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2018-12-19 08:04:21.530548 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000 2018-12-19 08:04:21.530548 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : 13049314867 2018-12-19 08:04:21.530548 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 11 2018-12-19 08:04:21.530548 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2018-12-19 08:04:21.530548 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [get_staus_fraud_detection] Query :select fraud_detection from fraud_UI_settings 2018-12-19 08:04:21.530548 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100 2018-12-19 08:04:21.530548 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 100 minutes 2018-12-19 08:04:21.530548 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "11" OR id="11") AND status=0 AND deleted=0 AND (expiry >= '2018-12-19 08:04:21' OR expiry = '0000-00-00 00:00:00') limit 1 2018-12-19 08:04:21.530548 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [get_staus_fraud_detection] Query :select fraud_detection from fraud_UI_settings 2018-12-19 08:04:21.530548 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2018-12-19 08:04:21.530548 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [get_staus_fraud_detection] Query :select fraud_detection from fraud_UI_settings 2018-12-19 08:04:21.530548 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100 2018-12-19 08:04:21.530548 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:11 2018-12-19 08:04:21.530548 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:11 2018-12-19 08:04:21.530548 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 11 2018-12-19 08:04:21.530548 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = 13049314867 and status=0 LIMIT 1 2018-12-19 08:04:21.530548 [WARNING] switch_cpp.cpp:1365 [ASTPP] [fifo_agent_flag] fifo_agent_flag0 2018-12-19 08:04:21.530548 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_TIME_CONDITION_ID] Query :SELECT timecondition_id from dids WHERE id = '7' LIMIT 1 2018-12-19 08:04:21.530548 [INFO] switch_cpp.cpp:1365 [ASTPP] [TIME_COND] timecondition_id : 1 2018-12-19 08:04:21.530548 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '1' and status = 0 LIMIT 1 2018-12-19 08:04:21.530548 [INFO] switch_cpp.cpp:1365 [ASTPP] [TIME_COND] timecondition : [{"hour":"17-23","minute":"00-59","wday":"4-7","mday":"1-31","mon":"1-12","year":"2018-2018","extensions":"9139839482","priority":"1"}] 2018-12-19 08:04:21.530548 [INFO] switch_cpp.cpp:1365 [ASTPP] [TIME_COND] priority : 1 2018-12-19 08:04:21.530548 [INFO] switch_cpp.cpp:1365 [ASTPP] [TIME_COND] condition_str : time-of-day= "17:00-23:59" wday= "4-7" mday= "1-31" mon= "1-12" year= "2018-2018" 2018-12-19 08:04:21.530548 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FSXMLINBOUND] Caller ID Translation Starts 2018-12-19 08:04:21.530548 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FSXMLINBOUND] Caller ID Translation Ends 2018-12-19 08:04:21.530548 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_type : 8 2018-12-19 08:04:21.530548 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_type : IVR 2018-12-19 08:04:21.530548 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_IVR_INFO] Query :SELECT * from tbl_ivr_specification WHERE id = 1 and status=0 LIMIT 1 2018-12-19 08:04:21.530548 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '0' LIMIT 1 2018-12-19 08:04:21.530548 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2018-12-19 08:04:21.530548 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f27542cfe60 released. Dialplan: sofia/default/6617480240@117.247.91.162:5060 parsing [default->TEST] continue=true Dialplan: sofia/default/6617480240@117.247.91.162:5060 Date/TimeMatch (FAIL) [TEST] break=never Dialplan: sofia/default/6617480240@117.247.91.162:5060 parsing [default->tod route, x13049314867] continue=false Dialplan: sofia/default/6617480240@117.247.91.162:5060 Regex (PASS) [tod route, x13049314867] destination_number(13049314867) =~ /^(13049314867)$/ break=on-false Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action execute_extension(13049314867_${office_status}) 2018-12-19 08:04:21.530548 [DEBUG] switch_core_state_machine.c:286 (sofia/default/6617480240@117.247.91.162:5060) State Change CS_ROUTING -> CS_EXECUTE 2018-12-19 08:04:21.530548 [DEBUG] switch_core_state_machine.c:643 (sofia/default/6617480240@117.247.91.162:5060) State ROUTING going to sleep 2018-12-19 08:04:21.530548 [DEBUG] switch_core_state_machine.c:584 (sofia/default/6617480240@117.247.91.162:5060) Running State Change CS_EXECUTE (Cur 1 Tot 1483) 2018-12-19 08:04:21.530548 [DEBUG] switch_core_state_machine.c:650 (sofia/default/6617480240@117.247.91.162:5060) State EXECUTE 2018-12-19 08:04:21.530548 [DEBUG] mod_sofia.c:198 sofia/default/6617480240@117.247.91.162:5060 SOFIA EXECUTE 2018-12-19 08:04:21.530548 [DEBUG] switch_core_state_machine.c:328 sofia/default/6617480240@117.247.91.162:5060 Standard EXECUTE EXECUTE sofia/default/6617480240@117.247.91.162:5060 execute_extension(13049314867_) 2018-12-19 08:04:21.530548 [INFO] mod_dialplan_xml.c:637 Processing 6617480240 <6617480240>->13049314867_ in context default 2018-12-19 08:04:21.530548 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f27542cfe60 Connected. 2018-12-19 08:04:21.530548 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM system WHERE group_title IN ('global','opensips','callingcard') 2018-12-19 08:04:21.550604 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 13049314867 2018-12-19 08:04:21.550604 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID 2018-12-19 08:04:21.550604 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 6617480240 / 6617480240 2018-12-19 08:04:21.550604 [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 ="13049314867" LIMIT 1 2018-12-19 08:04:21.550604 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound 2018-12-19 08:04:21.550604 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("117.247.91.162") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 - SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1)) AND "13049314867" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1 2018-12-19 08:04:21.550604 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 9139839482] 2018-12-19 08:04:21.550604 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '13049314867' OR routing_prefix = '1304931486' OR routing_prefix = '130493148' OR routing_prefix = '13049314' OR routing_prefix = '1304931' OR routing_prefix = '130493' OR routing_prefix = '13049' OR routing_prefix = '1304' OR routing_prefix = '130' OR routing_prefix = '13' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 limit 1 2018-12-19 08:04:21.550604 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "9139839482" OR id="9139839482") AND status=0 AND deleted=0 AND (expiry >= '2018-12-19 08:04:21' OR expiry = '0000-00-00 00:00:00') limit 1 2018-12-19 08:04:21.550604 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [get_staus_fraud_detection] Query :select fraud_detection from fraud_UI_settings 2018-12-19 08:04:21.550604 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CALLERID_NUMBER] CALLERID :6617480240 2018-12-19 08:04:21.550604 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CUSTOMER_ID] USERID :11 2018-12-19 08:04:21.550604 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CIDPOOL] CIDPOOL :0 2018-12-19 08:04:21.550604 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [get_staus_fraud_detection] Query :select fraud_detection from fraud_UI_settings 2018-12-19 08:04:21.550604 [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 = '^13049314867.*' OR patterns = '^1304931486.*' OR patterns = '^130493148.*' OR patterns = '^13049314.*' OR patterns = '^1304931.*' OR patterns = '^130493.*' OR patterns = '^13049.*' OR patterns = '^1304.*' OR patterns = '^130.*' OR patterns = '^13.*' OR patterns = '^1.*' OR patterns ='--') AND status = 0 AND pricelist_id = 1 ORDER BY LENGTH(PKGPTR.patterns) DESC LIMIT 1 2018-12-19 08:04:21.550604 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information =================== 2018-12-19 08:04:21.550604 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 11 2018-12-19 08:04:21.550604 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 9139839482 2018-12-19 08:04:21.550604 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2018-12-19 08:04:21.550604 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1 2018-12-19 08:04:21.550604 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2018-12-19 08:04:21.550604 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2018-12-19 08:04:21.550604 [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 ="13049314867" LIMIT 1 2018-12-19 08:04:21.550604 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2018-12-19 08:04:21.550604 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 7 2018-12-19 08:04:21.550604 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2018-12-19 08:04:21.550604 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2018-12-19 08:04:21.550604 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000 2018-12-19 08:04:21.550604 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : 13049314867 2018-12-19 08:04:21.550604 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 11 2018-12-19 08:04:21.550604 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2018-12-19 08:04:21.550604 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [get_staus_fraud_detection] Query :select fraud_detection from fraud_UI_settings 2018-12-19 08:04:21.550604 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100 2018-12-19 08:04:21.550604 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 100 minutes 2018-12-19 08:04:21.550604 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "11" OR id="11") AND status=0 AND deleted=0 AND (expiry >= '2018-12-19 08:04:21' OR expiry = '0000-00-00 00:00:00') limit 1 2018-12-19 08:04:21.570560 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [get_staus_fraud_detection] Query :select fraud_detection from fraud_UI_settings 2018-12-19 08:04:21.570560 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2018-12-19 08:04:21.570560 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [get_staus_fraud_detection] Query :select fraud_detection from fraud_UI_settings 2018-12-19 08:04:21.570560 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100 2018-12-19 08:04:21.570560 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:11 2018-12-19 08:04:21.570560 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:11 2018-12-19 08:04:21.570560 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 11 2018-12-19 08:04:21.570560 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = 13049314867 and status=0 LIMIT 1 2018-12-19 08:04:21.570560 [WARNING] switch_cpp.cpp:1365 [ASTPP] [fifo_agent_flag] fifo_agent_flag0 2018-12-19 08:04:21.570560 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_TIME_CONDITION_ID] Query :SELECT timecondition_id from dids WHERE id = '7' LIMIT 1 2018-12-19 08:04:21.570560 [INFO] switch_cpp.cpp:1365 [ASTPP] [TIME_COND] timecondition_id : 1 2018-12-19 08:04:21.570560 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '1' and status = 0 LIMIT 1 2018-12-19 08:04:21.570560 [INFO] switch_cpp.cpp:1365 [ASTPP] [TIME_COND] timecondition : [{"hour":"17-23","minute":"00-59","wday":"4-7","mday":"1-31","mon":"1-12","year":"2018-2018","extensions":"9139839482","priority":"1"}] 2018-12-19 08:04:21.570560 [INFO] switch_cpp.cpp:1365 [ASTPP] [TIME_COND] priority : 1 2018-12-19 08:04:21.570560 [INFO] switch_cpp.cpp:1365 [ASTPP] [TIME_COND] condition_str : time-of-day= "17:00-23:59" wday= "4-7" mday= "1-31" mon= "1-12" year= "2018-2018" 2018-12-19 08:04:21.570560 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FSXMLINBOUND] Caller ID Translation Starts 2018-12-19 08:04:21.570560 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FSXMLINBOUND] Caller ID Translation Ends 2018-12-19 08:04:21.570560 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_type : 8 2018-12-19 08:04:21.570560 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_type : IVR 2018-12-19 08:04:21.570560 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_IVR_INFO] Query :SELECT * from tbl_ivr_specification WHERE id = 1 and status=0 LIMIT 1 2018-12-19 08:04:21.570560 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '0' LIMIT 1 2018-12-19 08:04:21.570560 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2018-12-19 08:04:21.570560 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f27542cfe60 released. Dialplan: sofia/default/6617480240@117.247.91.162:5060 parsing [default->TEST] continue=true Dialplan: sofia/default/6617480240@117.247.91.162:5060 Date/TimeMatch (FAIL) [TEST] break=never Dialplan: sofia/default/6617480240@117.247.91.162:5060 parsing [default->tod route, x13049314867] continue=false Dialplan: sofia/default/6617480240@117.247.91.162:5060 Regex (FAIL) [tod route, x13049314867] destination_number(13049314867_) =~ /^(13049314867)$/ break=on-false Dialplan: sofia/default/6617480240@117.247.91.162:5060 parsing [default->office is open] continue=false Dialplan: sofia/default/6617480240@117.247.91.162:5060 Regex (FAIL) [office is open] destination_number(13049314867_) =~ /^(13049314867_open)$/ break=on-false Dialplan: sofia/default/6617480240@117.247.91.162:5060 parsing [default->13049314867] continue=false Dialplan: sofia/default/6617480240@117.247.91.162:5060 Regex (PASS) [13049314867] destination_number(13049314867_) =~ /13049314867/ break=on-false Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(effective_destination_number=13049314867) Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action sched_hangup(+6000 normal_clearing) Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(callstart=2018-12-19 08:04:21) Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(hangup_after_bridge=true) Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(account_id=11) Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(parent_id=0) Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(entity_id=0) Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(call_processed=internal) Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(call_direction=inbound) Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(accountname=DID testing) Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action export(t38_passthru=true) Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(fax_enable_t38=true) Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(fax_enable_t38_request=true) Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(origination_rates_did=ID:7|CODE:^13049314867.*|DESTINATION:13049314867|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|ACCID:11) Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(origination_rates=ID:0|CODE:13049314867|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:1|MARKUP:0|ACCID:11) Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(original_caller_id_name=6617480240) Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(original_caller_id_number=6617480240) Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(effective_caller_id_name=6617480240) Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(effective_caller_id_number=6617480240) Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(receiver_accid=11) Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action export(presence_data=x|||QA Test(9139839482)|||^13049314867.* // 13049314867 // 0.00000||||||DID) Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(did_calltype=8) Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(did_extensions=1) Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(ringback=0) Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(module_name=pbx) Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action ivr(TESTING0) 2018-12-19 08:04:21.570560 [NOTICE] switch_core_session.c:2914 Execute set(effective_destination_number=13049314867) EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(effective_destination_number=13049314867) 2018-12-19 08:04:21.570560 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [effective_destination_number]=[13049314867] 2018-12-19 08:04:21.570560 [NOTICE] switch_core_session.c:2914 Execute sched_hangup(+6000 normal_clearing) EXECUTE sofia/default/6617480240@117.247.91.162:5060 sched_hangup(+6000 normal_clearing) 2018-12-19 08:04:21.570560 [DEBUG] switch_scheduler.c:249 Added task 98 switch_ivr_schedule_hangup (b122c820-0364-11e9-a0b3-51646c3ac3f3) to run at 1545212661 2018-12-19 08:04:21.570560 [NOTICE] switch_core_session.c:2914 Execute set(callstart=2018-12-19 08:04:21) EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(callstart=2018-12-19 08:04:21) 2018-12-19 08:04:21.570560 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [callstart]=[2018-12-19 08:04:21] 2018-12-19 08:04:21.570560 [NOTICE] switch_core_session.c:2914 Execute set(hangup_after_bridge=true) EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(hangup_after_bridge=true) 2018-12-19 08:04:21.570560 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [hangup_after_bridge]=[true] 2018-12-19 08:04:21.570560 [NOTICE] switch_core_session.c:2914 Execute set(continue_on_fail=TRUE) EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(continue_on_fail=TRUE) 2018-12-19 08:04:21.570560 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [continue_on_fail]=[TRUE] 2018-12-19 08:04:21.570560 [NOTICE] switch_core_session.c:2914 Execute set(account_id=11) EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(account_id=11) 2018-12-19 08:04:21.570560 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [account_id]=[11] 2018-12-19 08:04:21.570560 [NOTICE] switch_core_session.c:2914 Execute set(parent_id=0) EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(parent_id=0) 2018-12-19 08:04:21.570560 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [parent_id]=[0] 2018-12-19 08:04:21.570560 [NOTICE] switch_core_session.c:2914 Execute set(entity_id=0) EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(entity_id=0) 2018-12-19 08:04:21.570560 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [entity_id]=[0] 2018-12-19 08:04:21.570560 [NOTICE] switch_core_session.c:2914 Execute set(call_processed=internal) EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(call_processed=internal) 2018-12-19 08:04:21.570560 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [call_processed]=[internal] 2018-12-19 08:04:21.570560 [NOTICE] switch_core_session.c:2914 Execute set(call_direction=inbound) EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(call_direction=inbound) 2018-12-19 08:04:21.570560 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [call_direction]=[inbound] 2018-12-19 08:04:21.570560 [NOTICE] switch_core_session.c:2914 Execute set(accountname=DID testing) EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(accountname=DID testing) 2018-12-19 08:04:21.570560 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [accountname]=[DID testing] 2018-12-19 08:04:21.570560 [NOTICE] switch_core_session.c:2914 Execute export(t38_passthru=true) EXECUTE sofia/default/6617480240@117.247.91.162:5060 export(t38_passthru=true) 2018-12-19 08:04:21.570560 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [t38_passthru]=[true] 2018-12-19 08:04:21.570560 [NOTICE] switch_core_session.c:2914 Execute set(fax_enable_t38=true) EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(fax_enable_t38=true) 2018-12-19 08:04:21.570560 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [fax_enable_t38]=[true] 2018-12-19 08:04:21.570560 [NOTICE] switch_core_session.c:2914 Execute set(fax_enable_t38_request=true) EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(fax_enable_t38_request=true) 2018-12-19 08:04:21.570560 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [fax_enable_t38_request]=[true] 2018-12-19 08:04:21.570560 [NOTICE] switch_core_session.c:2914 Execute set(origination_rates_did=ID:7|CODE:^13049314867.*|DESTINATION:13049314867|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|ACCID:11) EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(origination_rates_did=ID:7|CODE:^13049314867.*|DESTINATION:13049314867|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|ACCID:11) 2018-12-19 08:04:21.570560 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [origination_rates_did]=[ID:7|CODE:^13049314867.*|DESTINATION:13049314867|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|ACCID:11] 2018-12-19 08:04:21.570560 [NOTICE] switch_core_session.c:2914 Execute set(origination_rates=ID:0|CODE:13049314867|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:1|MARKUP:0|ACCID:11) EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(origination_rates=ID:0|CODE:13049314867|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:1|MARKUP:0|ACCID:11) 2018-12-19 08:04:21.570560 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [origination_rates]=[ID:0|CODE:13049314867|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:1|MARKUP:0|ACCID:11] 2018-12-19 08:04:21.570560 [NOTICE] switch_core_session.c:2914 Execute set(original_caller_id_name=6617480240) EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(original_caller_id_name=6617480240) 2018-12-19 08:04:21.570560 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [original_caller_id_name]=[6617480240] 2018-12-19 08:04:21.570560 [NOTICE] switch_core_session.c:2914 Execute set(original_caller_id_number=6617480240) EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(original_caller_id_number=6617480240) 2018-12-19 08:04:21.570560 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [original_caller_id_number]=[6617480240] 2018-12-19 08:04:21.570560 [NOTICE] switch_core_session.c:2914 Execute set(effective_caller_id_name=6617480240) EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(effective_caller_id_name=6617480240) 2018-12-19 08:04:21.570560 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [effective_caller_id_name]=[6617480240] 2018-12-19 08:04:21.570560 [NOTICE] switch_core_session.c:2914 Execute set(effective_caller_id_number=6617480240) EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(effective_caller_id_number=6617480240) 2018-12-19 08:04:21.570560 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [effective_caller_id_number]=[6617480240] 2018-12-19 08:04:21.570560 [NOTICE] switch_core_session.c:2914 Execute set(receiver_accid=11) EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(receiver_accid=11) 2018-12-19 08:04:21.570560 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [receiver_accid]=[11] 2018-12-19 08:04:21.570560 [NOTICE] switch_core_session.c:2914 Execute export(presence_data=x|||QA Test(9139839482)|||^13049314867.* // 13049314867 // 0.00000||||||DID) EXECUTE sofia/default/6617480240@117.247.91.162:5060 export(presence_data=x|||QA Test(9139839482)|||^13049314867.* // 13049314867 // 0.00000||||||DID) 2018-12-19 08:04:21.570560 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||QA Test(9139839482)|||^13049314867.* // 13049314867 // 0.00000||||||DID] 2018-12-19 08:04:21.570560 [NOTICE] switch_core_session.c:2914 Execute set(did_calltype=8) EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(did_calltype=8) 2018-12-19 08:04:21.570560 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [did_calltype]=[8] 2018-12-19 08:04:21.570560 [NOTICE] switch_core_session.c:2914 Execute set(did_extensions=1) EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(did_extensions=1) 2018-12-19 08:04:21.570560 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [did_extensions]=[1] 2018-12-19 08:04:21.570560 [NOTICE] switch_core_session.c:2914 Execute set(ringback=0) EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(ringback=0) 2018-12-19 08:04:21.570560 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [ringback]=[0] 2018-12-19 08:04:21.570560 [NOTICE] switch_core_session.c:2914 Execute set(module_name=pbx) EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(module_name=pbx) 2018-12-19 08:04:21.570560 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [module_name]=[pbx] 2018-12-19 08:04:21.570560 [NOTICE] switch_core_session.c:2914 Execute ivr(TESTING0) 2018-12-19 08:04:21.570560 [DEBUG] switch_core_session.c:2647 Application ivr Requires media! pre_answering channel sofia/default/6617480240@117.247.91.162:5060 2018-12-19 08:04:21.570560 [INFO] switch_core_session.c:2649 Sending early media 2018-12-19 08:04:21.570560 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/6617480240@117.247.91.162:5060] 139.162.54.235 port 21554 -> 117.247.91.162 port 22238 codec: 0 ms: 20 2018-12-19 08:04:21.570560 [DEBUG] switch_rtp.c:4111 Starting timer [soft] 160 bytes per 20ms 2018-12-19 08:04:21.570560 [DEBUG] switch_core_media.c:7179 sofia/default/6617480240@117.247.91.162:5060 Set 2833 dtmf send payload to 101 2018-12-19 08:04:21.570560 [DEBUG] switch_core_media.c:7186 sofia/default/6617480240@117.247.91.162:5060 Set 2833 dtmf receive payload to 101 2018-12-19 08:04:21.570560 [DEBUG] switch_core_media.c:7209 sofia/default/6617480240@117.247.91.162:5060 Set rtp dtmf delay to 40 2018-12-19 08:04:21.570560 [DEBUG] mod_sofia.c:2364 Ring SDP: v=0 o=FreeSWITCH 1545185107 1545185108 IN IP4 139.162.54.235 s=FreeSWITCH c=IN IP4 139.162.54.235 t=0 0 m=audio 21554 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2018-12-19 08:04:21.570560 [NOTICE] mod_sofia.c:2367 Pre-Answer sofia/default/6617480240@117.247.91.162:5060! 2018-12-19 08:04:21.570560 [DEBUG] switch_channel.c:3474 (sofia/default/6617480240@117.247.91.162:5060) Callstate Change RINGING -> EARLY EXECUTE sofia/default/6617480240@117.247.91.162:5060 ivr(TESTING0) 2018-12-19 08:04:21.590550 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-exit' 2018-12-19 08:04:21.590550 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-sub' 2018-12-19 08:04:21.590550 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-exec-app' 2018-12-19 08:04:21.590550 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-play-sound' 2018-12-19 08:04:21.590550 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-back' 2018-12-19 08:04:21.590550 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-top' 2018-12-19 08:04:21.590550 [DEBUG] switch_ivr_menu.c:880 building menu 'TESTING0' 2018-12-19 08:04:21.590550 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '/^(\d{2,20})$/' 2018-12-19 08:04:21.590550 [DEBUG] switch_ivr_menu.c:483 Executing IVR menu TESTING0 2018-12-19 08:04:21.590550 [DEBUG] sofia.c:7084 Channel sofia/default/6617480240@117.247.91.162:5060 entering state [early][183] 2018-12-19 08:04:21.590550 [DEBUG] switch_ivr_menu.c:661 IVR menu 'TESTING0' no input detected 2018-12-19 08:04:21.590550 [DEBUG] switch_ivr_menu.c:661 IVR menu 'TESTING0' no input detected 2018-12-19 08:04:21.590550 [DEBUG] switch_ivr_menu.c:661 IVR menu 'TESTING0' no input detected 2018-12-19 08:04:21.590550 [DEBUG] switch_ivr_menu.c:505 Maximum failures 2018-12-19 08:04:21.590550 [DEBUG] switch_ivr_menu.c:673 exit-sound 'voicemail/vm-goodbye.wav' 2018-12-19 08:04:21.590550 [DEBUG] switch_ivr_play_say.c:1498 Codec Activated L16@8000hz 1 channels 20ms 2018-12-19 08:04:21.910540 [DEBUG] switch_rtp.c:7271 Correct audio ip/port confirmed. 2018-12-19 08:04:22.051308 [DEBUG] switch_ivr_play_say.c:1942 done playing file /usr/local/freeswitch/sounds/en/us/callie/voicemail/vm-goodbye.wav 2018-12-19 08:04:22.051308 [NOTICE] switch_core_state_machine.c:385 sofia/default/6617480240@117.247.91.162:5060 has executed the last dialplan instruction, hanging up. 2018-12-19 08:04:22.051308 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/default/6617480240@117.247.91.162:5060 [CS_EXECUTE] [NORMAL_CLEARING] 2018-12-19 08:04:22.051308 [DEBUG] switch_core_state_machine.c:650 (sofia/default/6617480240@117.247.91.162:5060) State EXECUTE going to sleep 2018-12-19 08:04:22.051308 [DEBUG] switch_core_state_machine.c:584 (sofia/default/6617480240@117.247.91.162:5060) Running State Change CS_HANGUP (Cur 1 Tot 1483) 2018-12-19 08:04:22.051308 [DEBUG] switch_core_state_machine.c:850 (sofia/default/6617480240@117.247.91.162:5060) Callstate Change EARLY -> HANGUP 2018-12-19 08:04:22.051308 [DEBUG] switch_core_state_machine.c:852 (sofia/default/6617480240@117.247.91.162:5060) State HANGUP 2018-12-19 08:04:22.051308 [DEBUG] mod_sofia.c:438 Channel sofia/default/6617480240@117.247.91.162:5060 hanging up, cause: NORMAL_CLEARING 2018-12-19 08:04:22.051308 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 480 2018-12-19 08:04:22.051308 [DEBUG] switch_core_state_machine.c:60 sofia/default/6617480240@117.247.91.162:5060 Standard HANGUP, cause: NORMAL_CLEARING 2018-12-19 08:04:22.051308 [DEBUG] switch_core_state_machine.c:852 (sofia/default/6617480240@117.247.91.162:5060) State HANGUP going to sleep 2018-12-19 08:04:22.051308 [DEBUG] switch_core_state_machine.c:619 (sofia/default/6617480240@117.247.91.162:5060) State Change CS_HANGUP -> CS_REPORTING 2018-12-19 08:04:22.051308 [DEBUG] switch_core_state_machine.c:584 (sofia/default/6617480240@117.247.91.162:5060) Running State Change CS_REPORTING (Cur 1 Tot 1483) 2018-12-19 08:04:22.051308 [DEBUG] switch_core_state_machine.c:938 (sofia/default/6617480240@117.247.91.162:5060) State REPORTING 2018-12-19 08:04:22.051308 [INFO] mod_json_cdr.c:271 Process [b122c820-0364-11e9-a0b3-51646c3ac3f3.cdr.json] 2018-12-19 08:04:22.051308 [DEBUG] switch_core_state_machine.c:174 sofia/default/6617480240@117.247.91.162:5060 Standard REPORTING, cause: NORMAL_CLEARING 2018-12-19 08:04:22.051308 [DEBUG] switch_core_state_machine.c:938 (sofia/default/6617480240@117.247.91.162:5060) State REPORTING going to sleep 2018-12-19 08:04:22.051308 [DEBUG] switch_core_state_machine.c:610 (sofia/default/6617480240@117.247.91.162:5060) State Change CS_REPORTING -> CS_DESTROY 2018-12-19 08:04:22.051308 [DEBUG] switch_core_session.c:1665 Session 1483 (sofia/default/6617480240@117.247.91.162:5060) Locked, Waiting on external entities 2018-12-19 08:04:22.051308 [NOTICE] switch_core_session.c:1683 Session 1483 (sofia/default/6617480240@117.247.91.162:5060) Ended 2018-12-19 08:04:22.051308 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/6617480240@117.247.91.162:5060 [CS_DESTROY] 2018-12-19 08:04:22.051308 [DEBUG] switch_core_state_machine.c:741 (sofia/default/6617480240@117.247.91.162:5060) Running State Change CS_DESTROY (Cur 0 Tot 1483) 2018-12-19 08:04:22.051308 [DEBUG] switch_core_state_machine.c:751 (sofia/default/6617480240@117.247.91.162:5060) State DESTROY 2018-12-19 08:04:22.051308 [DEBUG] mod_sofia.c:343 sofia/default/6617480240@117.247.91.162:5060 SOFIA DESTROY 2018-12-19 08:04:22.051308 [DEBUG] switch_core_state_machine.c:181 sofia/default/6617480240@117.247.91.162:5060 Standard DESTROY 2018-12-19 08:04:22.051308 [DEBUG] switch_core_state_machine.c:751 (sofia/default/6617480240@117.247.91.162:5060) State DESTROY going to sleep 2018-12-19 08:04:22.570552 [DEBUG] switch_scheduler.c:144 Deleting task 98 switch_ivr_schedule_hangup (b122c820-0364-11e9-a0b3-51646c3ac3f3) 2018-12-19 08:04:23.090555 [NOTICE] switch_channel.c:1104 New Channel sofia/default/6617480240@117.247.91.162:5060 [b2173554-0364-11e9-a0d3-51646c3ac3f3] 2018-12-19 08:04:23.090555 [DEBUG] switch_core_state_machine.c:584 (sofia/default/6617480240@117.247.91.162:5060) Running State Change CS_NEW (Cur 1 Tot 1484) 2018-12-19 08:04:23.090555 [DEBUG] sofia.c:9873 sofia/default/6617480240@117.247.91.162:5060 receiving invite from 117.247.91.162:5060 version: 1.6.19 git 7a77e0b 2017-07-13 12:01:45Z 64bit