2021-02-12 14:49:16.418150 [DEBUG] sofia.c:6379 Ping to sip user '6178146163@EmaCo13.sbc3.onqcommunications.co.uk' succeeded with code 200 - count 1, state Reachable 2021-02-12 14:49:18.258160 [NOTICE] switch_channel.c:1118 New Channel sofia/default/447889603924@95.211.119.240 [5be35c8d-d6c1-47e7-9638-88cd3b6a5b81] 2021-02-12 14:49:18.258160 [DEBUG] switch_core_state_machine.c:585 (sofia/default/447889603924@95.211.119.240) Running State Change CS_NEW (Cur 1 Tot 759921) 2021-02-12 14:49:18.258160 [DEBUG] sofia.c:10243 sofia/default/447889603924@95.211.119.240 receiving invite from 95.211.119.240:5060 version: 1.10.1 -release-12-f9990221e6 64bit 2021-02-12 14:49:18.258160 [DEBUG] sofia.c:10337 verifying acl "default" for ip/port 95.211.119.240:0. 2021-02-12 14:49:18.258160 [DEBUG] sofia.c:10366 IP 95.211.119.240 Approved by acl "default[]". Access Granted. 2021-02-12 14:49:18.278149 [DEBUG] sofia.c:7290 Channel sofia/default/447889603924@95.211.119.240 entering state [received][100] 2021-02-12 14:49:18.278149 [DEBUG] sofia.c:7300 Remote SDP: v=0 o=sbc-uk-mr-dh03a 303417345 1613141359 IN IP4 193.113.127.218 s=sip call c=IN IP4 193.113.127.212 t=0 0 m=audio 47514 RTP/AVP 8 0 18 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=silenceSupp:off - - - - a=ptime:20 2021-02-12 14:49:18.278149 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-02-12 14:49:18.278149 [DEBUG] switch_core_media.c:5645 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2021-02-12 14:49:18.278149 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-02-12 14:49:18.278149 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-02-12 14:49:18.278149 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-02-12 14:49:18.278149 [DEBUG] switch_core_media.c:5645 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2021-02-12 14:49:18.278149 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2021-02-12 14:49:18.278149 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2021-02-12 14:49:18.278149 [DEBUG] switch_core_media.c:5506 Set telephone-event payload to 101@8000 2021-02-12 14:49:18.278149 [DEBUG] switch_core_media.c:3834 Set Codec sofia/default/447889603924@95.211.119.240 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2021-02-12 14:49:18.278149 [DEBUG] switch_core_codec.c:111 sofia/default/447889603924@95.211.119.240 Original read codec set to PCMA:8 2021-02-12 14:49:18.278149 [DEBUG] switch_core_media.c:5849 Set telephone-event payload to 101@8000 2021-02-12 14:49:18.278149 [DEBUG] switch_core_media.c:5907 sofia/default/447889603924@95.211.119.240 Set 2833 dtmf send payload to 101 recv payload to 101 2021-02-12 14:49:18.278149 [DEBUG] sofia.c:7724 (sofia/default/447889603924@95.211.119.240) State Change CS_NEW -> CS_INIT 2021-02-12 14:49:18.278149 [DEBUG] switch_core_state_machine.c:604 (sofia/default/447889603924@95.211.119.240) State NEW 2021-02-12 14:49:18.278149 [DEBUG] switch_core_state_machine.c:585 (sofia/default/447889603924@95.211.119.240) Running State Change CS_INIT (Cur 1 Tot 759921) 2021-02-12 14:49:18.278149 [DEBUG] switch_core_state_machine.c:628 (sofia/default/447889603924@95.211.119.240) State INIT 2021-02-12 14:49:18.278149 [DEBUG] mod_sofia.c:93 sofia/default/447889603924@95.211.119.240 SOFIA INIT 2021-02-12 14:49:18.278149 [DEBUG] switch_core_state_machine.c:40 sofia/default/447889603924@95.211.119.240 Standard INIT 2021-02-12 14:49:18.278149 [DEBUG] switch_core_state_machine.c:48 (sofia/default/447889603924@95.211.119.240) State Change CS_INIT -> CS_ROUTING 2021-02-12 14:49:18.278149 [DEBUG] switch_core_state_machine.c:628 (sofia/default/447889603924@95.211.119.240) State INIT going to sleep 2021-02-12 14:49:18.278149 [DEBUG] switch_core_state_machine.c:585 (sofia/default/447889603924@95.211.119.240) Running State Change CS_ROUTING (Cur 1 Tot 759921) 2021-02-12 14:49:18.278149 [DEBUG] switch_channel.c:2332 (sofia/default/447889603924@95.211.119.240) Callstate Change DOWN -> RINGING 2021-02-12 14:49:18.278149 [DEBUG] switch_core_state_machine.c:644 (sofia/default/447889603924@95.211.119.240) State ROUTING 2021-02-12 14:49:18.278149 [DEBUG] mod_sofia.c:154 sofia/default/447889603924@95.211.119.240 SOFIA ROUTING 2021-02-12 14:49:18.278149 [DEBUG] switch_core_state_machine.c:236 sofia/default/447889603924@95.211.119.240 Standard ROUTING 2021-02-12 14:49:18.278149 [INFO] mod_dialplan_xml.c:637 Processing 447889603924 <447889603924>->441245866218 in context default 2021-02-12 14:49:18.278149 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2021-02-12 14:49:18.278149 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-02-12 14:49:18.318161 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] blind_flag: 0 2021-02-12 14:49:18.318161 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Dialed number : 441245866218 2021-02-12 14:49:18.318161 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '441245866218' limit 1 2021-02-12 14:49:18.318161 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '441245866218' AND status=0 limit 1 2021-02-12 14:49:18.318161 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '441245866218' and status=0 LIMIT 1 2021-02-12 14:49:18.318161 [WARNING] switch_cpp.cpp:1443 [ASTPP] [FAXER] in custom Caller ID 2021-02-12 14:49:18.318161 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Caller Id name / number : 447889603924 / 447889603924 2021-02-12 14:49:18.318161 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [Astpp][Dialplan] Get countrycode query :select * from countrycode where countrycode = 44 order by id desc limit 1 2021-02-12 14:49:18.318161 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [Astpp][Dialplan] mymylog :07889603924 2021-02-12 14:49:18.318161 [NOTICE] switch_cpp.cpp:1443 [ASTPP] HARSH2: 4 2021-02-12 14:49:18.318161 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 4 AND status=0 limit 1 2021-02-12 14:49:18.318161 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,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,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="441245866218" LIMIT 1 2021-02-12 14:49:18.318161 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Call direction : inbound 2021-02-12 14:49:18.318161 [DEBUG] switch_cpp.cpp:1443 [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("95.211.119.240") 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 "441245866218" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1 2021-02-12 14:49:18.318161 [INFO] switch_cpp.cpp:1443 [ASTPP] [Accountcode : 573705] 2021-02-12 14:49:18.318161 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "573705" AND deleted = 0 limit 1 2021-02-12 14:49:18.318161 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="441245866218" AND A.accountid = '32' limit 1 2021-02-12 14:49:18.318161 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 441245866218 2021-02-12 14:49:18.318161 [NOTICE] switch_cpp.cpp:1443 [ASTPP] HARSH2: 4 2021-02-12 14:49:18.318161 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 4 AND status=0 limit 1 2021-02-12 14:49:18.318161 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,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,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="441245866218" LIMIT 1 2021-02-12 14:49:18.318161 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] New Call direction : inbound 2021-02-12 14:49:18.318161 [NOTICE] switch_cpp.cpp:1443 [ASTPP] HARSH2: 4 2021-02-12 14:49:18.318161 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 4 AND status=0 limit 1 2021-02-12 14:49:18.318161 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="441245866218" AND (accountid = 0 OR status = 1) LIMIT 1 2021-02-12 14:49:18.318161 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound 2021-02-12 14:49:18.318161 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :48 2021-02-12 14:49:18.318161 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^441245866218.*' OR patterns = '^44124586621.*' OR patterns = '^4412458662.*' OR patterns = '^441245866.*' OR patterns = '^44124586.*' OR patterns = '^4412458.*' OR patterns = '^441245.*' OR patterns = '^44124.*' OR patterns = '^4412.*' OR patterns = '^441.*' OR patterns = '^44.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 48 ORDER BY LENGTH(PKGPTR.patterns) DESC 2021-02-12 14:49:18.318161 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '441245866218' OR number = '44124586621' OR number = '4412458662' OR number = '441245866' OR number = '44124586' OR number = '4412458' OR number = '441245' OR number = '44124' OR number = '4412' OR number = '441' OR number = '44' OR number = '4' OR number ='--') OR (number = '441245866218*' OR number = '44124586621*' OR number = '4412458662*' OR number = '441245866*' OR number = '44124586*' OR number = '4412458*' OR number = '441245*' OR number = '44124*' OR number = '4412*' OR number = '441*' OR number = '44*' OR number = '4*' OR number ='--') OR (number = '07889603924' OR number = '0788960392' OR number = '078896039' OR number = '07889603' OR number = '0788960' OR number = '078896' OR number = '07889' OR number = '0788' OR number = '078' OR number = '07' OR number = '0' OR number ='--') OR (number = '07889603924*' OR number = '0788960392*' OR number = '078896039*' OR number = '07889603*' OR number = '0788960*' OR number = '078896*' OR number = '07889*' OR number = '0788*' OR number = '078*' OR number = '07*' OR number = '0*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2021-02-12 14:49:18.318161 [DEBUG] switch_cpp.cpp:1443 [ASTPP] Call Barring Status : -1 2021-02-12 14:49:18.318161 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '441245866218' OR routing_prefix = '44124586621' OR routing_prefix = '4412458662' OR routing_prefix = '441245866' OR routing_prefix = '44124586' OR routing_prefix = '4412458' OR routing_prefix = '441245' OR routing_prefix = '44124' OR routing_prefix = '4412' OR routing_prefix = '441' OR routing_prefix = '44' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2021-02-12 14:49:18.318161 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== Account Information =================== 2021-02-12 14:49:18.318161 [INFO] switch_cpp.cpp:1443 [ASTPP] User id : 32 2021-02-12 14:49:18.318161 [INFO] switch_cpp.cpp:1443 [ASTPP] Account code : 573705 2021-02-12 14:49:18.318161 [INFO] switch_cpp.cpp:1443 [ASTPP] Balance : 10000 2021-02-12 14:49:18.318161 [INFO] switch_cpp.cpp:1443 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2021-02-12 14:49:18.318161 [INFO] switch_cpp.cpp:1443 [ASTPP] Ratecard id : 3 2021-02-12 14:49:18.318161 [INFO] switch_cpp.cpp:1443 [ASTPP] CID Pool : 0 2021-02-12 14:49:18.318161 [INFO] switch_cpp.cpp:1443 [ASTPP] ======================================================== 2021-02-12 14:49:18.338149 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 3 AND status = 0 2021-02-12 14:49:18.338149 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_RATES] call_direction :inbound 2021-02-12 14:49:18.338149 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_RATES] Caller Number :447889603924 2021-02-12 14:49:18.338149 [NOTICE] switch_cpp.cpp:1443 [ASTPP] HARSH2: 4 2021-02-12 14:49:18.338149 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 4 AND status=0 limit 1 2021-02-12 14:49:18.338149 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,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,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="441245866218" LIMIT 1 2021-02-12 14:49:18.338149 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_RATES] Caller Number11 :07889603924 2021-02-12 14:49:18.338149 [INFO] switch_cpp.cpp:1443 [ASTPP] call_direction:::::: inbound 2021-02-12 14:49:18.338149 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== Rates Information =================== 2021-02-12 14:49:18.338149 [INFO] switch_cpp.cpp:1443 [ASTPP] ID : 674 2021-02-12 14:49:18.338149 [INFO] switch_cpp.cpp:1443 [ASTPP] Connectcost : 0.05000 2021-02-12 14:49:18.338149 [INFO] switch_cpp.cpp:1443 [ASTPP] Includedseconds : 0 2021-02-12 14:49:18.338149 [INFO] switch_cpp.cpp:1443 [ASTPP] Cost : 0.10000 2021-02-12 14:49:18.338149 [INFO] switch_cpp.cpp:1443 [ASTPP] comment : Chelmsford Kent 2021-02-12 14:49:18.338149 [INFO] switch_cpp.cpp:1443 [ASTPP] Country Id : 200 2021-02-12 14:49:18.338149 [INFO] switch_cpp.cpp:1443 [ASTPP] Accid : 32 2021-02-12 14:49:18.338149 [INFO] switch_cpp.cpp:1443 [ASTPP] ================================================================ 2021-02-12 14:49:18.338149 [INFO] switch_cpp.cpp:1443 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 32 !!! 2021-02-12 14:49:18.338149 [NOTICE] switch_cpp.cpp:1443 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 600 mins! 2021-02-12 14:49:18.338149 [INFO] switch_cpp.cpp:1443 [ASTPP] Call Max length duration : 600 minutes 2021-02-12 14:49:18.338149 [INFO] switch_cpp.cpp:1443 [ASTPP] [userinfo] INB_FREE:TRUE 2021-02-12 14:49:18.338149 [INFO] switch_cpp.cpp:1443 [ASTPP] [userinfo] free_inbound:1 2021-02-12 14:49:18.338149 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 32 AND status=0 LIMIT 1 2021-02-12 14:49:18.338149 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "48" AND deleted = 0 limit 1 2021-02-12 14:49:18.338149 [INFO] switch_cpp.cpp:1443 [ASTPP] [userinfo] Actual CustomerInfo XML:32 2021-02-12 14:49:18.338149 [INFO] switch_cpp.cpp:1443 [ASTPP] [userinfo] Userinfo XML:32 2021-02-12 14:49:18.338149 [INFO] switch_cpp.cpp:1443 [ASTPP] [userinfo] Actual CustomerInfo XML : 32 2021-02-12 14:49:18.338149 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 48 limit 1 2021-02-12 14:49:18.338149 [WARNING] switch_cpp.cpp:1443 [ASTPP] [user_domain] user_domainElectrical.sbc3.onqcommunications.co.uk 2021-02-12 14:49:18.338149 [INFO] switch_cpp.cpp:1443 [ASTPP] maxlength::::::::: 600 2021-02-12 14:49:18.338149 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 48 limit 1 2021-02-12 14:49:18.338149 [WARNING] switch_cpp.cpp:1443 [ASTPP] [user_domain] user_domainElectrical.sbc3.onqcommunications.co.uk 2021-02-12 14:49:18.338149 [DEBUG] switch_cpp.cpp:1443 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_4 2021-02-12 14:49:18.338149 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/447889603924@95.211.119.240 parsing [default->441245866218] continue=false Dialplan: sofia/default/447889603924@95.211.119.240 Regex (PASS) [441245866218] destination_number(441245866218) =~ /441245866218/ break=on-false Dialplan: sofia/default/447889603924@95.211.119.240 Action set(effective_destination_number=441245866218) Dialplan: sofia/default/447889603924@95.211.119.240 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/447889603924@95.211.119.240 Action set(bridge_pre_execute_bleg_data=+36000 normal_clearing) Dialplan: sofia/default/447889603924@95.211.119.240 Action set(callstart=2021-02-12 14:49:18) Dialplan: sofia/default/447889603924@95.211.119.240 Action set(hangup_after_bridge=true) Dialplan: sofia/default/447889603924@95.211.119.240 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/447889603924@95.211.119.240 Action set(account_id=32) Dialplan: sofia/default/447889603924@95.211.119.240 Action set(parent_id=0) Dialplan: sofia/default/447889603924@95.211.119.240 Action set(entity_id=3) Dialplan: sofia/default/447889603924@95.211.119.240 Action set(call_processed=internal) Dialplan: sofia/default/447889603924@95.211.119.240 Action set(call_direction=inbound) Dialplan: sofia/default/447889603924@95.211.119.240 Action set(accountname=Voxbeam Inbound) Dialplan: sofia/default/447889603924@95.211.119.240 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/447889603924@95.211.119.240 Action set(origination_rates_did=ID:674|CODE:^441245866218.*|DESTINATION:Chelmsford Kent|CONNECTIONCOST:0.05000|INCLUDEDSECONDS:0|CT:4|COST:0.10000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:200|ACCID:48) Dialplan: sofia/default/447889603924@95.211.119.240 Action set(origination_rates=0) Dialplan: sofia/default/447889603924@95.211.119.240 Action set(original_caller_id_name=447889603924) Dialplan: sofia/default/447889603924@95.211.119.240 Action set(original_caller_id_number=07889603924) Dialplan: sofia/default/447889603924@95.211.119.240 Action limit(db 48 user_48 2 !SWITCH_CONGESTION) Dialplan: sofia/default/447889603924@95.211.119.240 Action set(effective_caller_id_name=447889603924) Dialplan: sofia/default/447889603924@95.211.119.240 Action set(effective_caller_id_number=07889603924) Dialplan: sofia/default/447889603924@95.211.119.240 Action set(receiver_accid=48) Dialplan: sofia/default/447889603924@95.211.119.240 Action limit(db 441245866218 did_441245866218 2 !SWITCH_CONGESTION) Dialplan: sofia/default/447889603924@95.211.119.240 Action export(presence_data=x|||Voxbeam(573705)|||^441245866218.* // Chelmsford Kent // 0.10000||||||DID|||95.211.119.240) Dialplan: sofia/default/447889603924@95.211.119.240 Action export(call_type=4) Dialplan: sofia/default/447889603924@95.211.119.240 Action set(calltype=STANDARD) Dialplan: sofia/default/447889603924@95.211.119.240 Action set(accountcode=697268) Dialplan: sofia/default/447889603924@95.211.119.240 Action set(caller_did_account_id=32) Dialplan: sofia/default/447889603924@95.211.119.240 Action set(origination_rates_did=0) Dialplan: sofia/default/447889603924@95.211.119.240 Action transfer(447702792133 XML default) 2021-02-12 14:49:18.338149 [DEBUG] switch_core_state_machine.c:287 (sofia/default/447889603924@95.211.119.240) State Change CS_ROUTING -> CS_EXECUTE 2021-02-12 14:49:18.338149 [DEBUG] switch_core_state_machine.c:644 (sofia/default/447889603924@95.211.119.240) State ROUTING going to sleep 2021-02-12 14:49:18.338149 [DEBUG] switch_core_state_machine.c:585 (sofia/default/447889603924@95.211.119.240) Running State Change CS_EXECUTE (Cur 1 Tot 759921) 2021-02-12 14:49:18.338149 [DEBUG] switch_core_state_machine.c:651 (sofia/default/447889603924@95.211.119.240) State EXECUTE 2021-02-12 14:49:18.338149 [DEBUG] mod_sofia.c:209 sofia/default/447889603924@95.211.119.240 SOFIA EXECUTE 2021-02-12 14:49:18.338149 [DEBUG] switch_core_state_machine.c:329 sofia/default/447889603924@95.211.119.240 Standard EXECUTE EXECUTE [depth=0] sofia/default/447889603924@95.211.119.240 set(effective_destination_number=441245866218) 2021-02-12 14:49:18.338149 [DEBUG] mod_dptools.c:1672 SET sofia/default/447889603924@95.211.119.240 [effective_destination_number]=[441245866218] EXECUTE [depth=0] sofia/default/447889603924@95.211.119.240 set(bridge_pre_execute_bleg_app=sched_hangup) 2021-02-12 14:49:18.338149 [DEBUG] mod_dptools.c:1672 SET sofia/default/447889603924@95.211.119.240 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE [depth=0] sofia/default/447889603924@95.211.119.240 set(bridge_pre_execute_bleg_data=+36000 normal_clearing) 2021-02-12 14:49:18.338149 [DEBUG] mod_dptools.c:1672 SET sofia/default/447889603924@95.211.119.240 [bridge_pre_execute_bleg_data]=[+36000 normal_clearing] EXECUTE [depth=0] sofia/default/447889603924@95.211.119.240 set(callstart=2021-02-12 14:49:18) 2021-02-12 14:49:18.338149 [DEBUG] mod_dptools.c:1672 SET sofia/default/447889603924@95.211.119.240 [callstart]=[2021-02-12 14:49:18] EXECUTE [depth=0] sofia/default/447889603924@95.211.119.240 set(hangup_after_bridge=true) 2021-02-12 14:49:18.338149 [DEBUG] mod_dptools.c:1672 SET sofia/default/447889603924@95.211.119.240 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/447889603924@95.211.119.240 set(continue_on_fail=TRUE) 2021-02-12 14:49:18.338149 [DEBUG] mod_dptools.c:1672 SET sofia/default/447889603924@95.211.119.240 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/447889603924@95.211.119.240 set(account_id=32) 2021-02-12 14:49:18.338149 [DEBUG] mod_dptools.c:1672 SET sofia/default/447889603924@95.211.119.240 [account_id]=[32] EXECUTE [depth=0] sofia/default/447889603924@95.211.119.240 set(parent_id=0) 2021-02-12 14:49:18.338149 [DEBUG] mod_dptools.c:1672 SET sofia/default/447889603924@95.211.119.240 [parent_id]=[0] EXECUTE [depth=0] sofia/default/447889603924@95.211.119.240 set(entity_id=3) 2021-02-12 14:49:18.338149 [DEBUG] mod_dptools.c:1672 SET sofia/default/447889603924@95.211.119.240 [entity_id]=[3] EXECUTE [depth=0] sofia/default/447889603924@95.211.119.240 set(call_processed=internal) 2021-02-12 14:49:18.338149 [DEBUG] mod_dptools.c:1672 SET sofia/default/447889603924@95.211.119.240 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/447889603924@95.211.119.240 set(call_direction=inbound) 2021-02-12 14:49:18.338149 [DEBUG] mod_dptools.c:1672 SET sofia/default/447889603924@95.211.119.240 [call_direction]=[inbound] EXECUTE [depth=0] sofia/default/447889603924@95.211.119.240 set(accountname=Voxbeam Inbound) 2021-02-12 14:49:18.338149 [DEBUG] mod_dptools.c:1672 SET sofia/default/447889603924@95.211.119.240 [accountname]=[Voxbeam Inbound] EXECUTE [depth=0] sofia/default/447889603924@95.211.119.240 set(filename1=astpp.pbx.lua) 2021-02-12 14:49:18.338149 [DEBUG] mod_dptools.c:1672 SET sofia/default/447889603924@95.211.119.240 [filename1]=[astpp.pbx.lua] EXECUTE [depth=0] sofia/default/447889603924@95.211.119.240 set(origination_rates_did=ID:674|CODE:^441245866218.*|DESTINATION:Chelmsford Kent|CONNECTIONCOST:0.05000|INCLUDEDSECONDS:0|CT:4|COST:0.10000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:200|ACCID:48) 2021-02-12 14:49:18.338149 [DEBUG] mod_dptools.c:1672 SET sofia/default/447889603924@95.211.119.240 [origination_rates_did]=[ID:674|CODE:^441245866218.*|DESTINATION:Chelmsford Kent|CONNECTIONCOST:0.05000|INCLUDEDSECONDS:0|CT:4|COST:0.10000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:200|ACCID:48] EXECUTE [depth=0] sofia/default/447889603924@95.211.119.240 set(origination_rates=0) 2021-02-12 14:49:18.338149 [DEBUG] mod_dptools.c:1672 SET sofia/default/447889603924@95.211.119.240 [origination_rates]=[0] EXECUTE [depth=0] sofia/default/447889603924@95.211.119.240 set(original_caller_id_name=447889603924) 2021-02-12 14:49:18.338149 [DEBUG] mod_dptools.c:1672 SET sofia/default/447889603924@95.211.119.240 [original_caller_id_name]=[447889603924] EXECUTE [depth=0] sofia/default/447889603924@95.211.119.240 set(original_caller_id_number=07889603924) 2021-02-12 14:49:18.338149 [DEBUG] mod_dptools.c:1672 SET sofia/default/447889603924@95.211.119.240 [original_caller_id_number]=[07889603924] EXECUTE [depth=0] sofia/default/447889603924@95.211.119.240 limit(db 48 user_48 2 !SWITCH_CONGESTION) 2021-02-12 14:49:18.338149 [DEBUG] switch_limit.c:124 incr called: 48_user_48 max:2, interval:0 2021-02-12 14:49:18.338149 [DEBUG] mod_db.c:194 Usage for 48_user_48 is now 1/2 EXECUTE [depth=0] sofia/default/447889603924@95.211.119.240 set(effective_caller_id_name=447889603924) 2021-02-12 14:49:18.338149 [DEBUG] mod_dptools.c:1672 SET sofia/default/447889603924@95.211.119.240 [effective_caller_id_name]=[447889603924] EXECUTE [depth=0] sofia/default/447889603924@95.211.119.240 set(effective_caller_id_number=07889603924) 2021-02-12 14:49:18.338149 [DEBUG] mod_dptools.c:1672 SET sofia/default/447889603924@95.211.119.240 [effective_caller_id_number]=[07889603924] EXECUTE [depth=0] sofia/default/447889603924@95.211.119.240 set(receiver_accid=48) 2021-02-12 14:49:18.338149 [DEBUG] mod_dptools.c:1672 SET sofia/default/447889603924@95.211.119.240 [receiver_accid]=[48] EXECUTE [depth=0] sofia/default/447889603924@95.211.119.240 limit(db 441245866218 did_441245866218 2 !SWITCH_CONGESTION) 2021-02-12 14:49:18.338149 [DEBUG] switch_limit.c:124 incr called: 441245866218_did_441245866218 max:2, interval:0 2021-02-12 14:49:18.338149 [DEBUG] mod_db.c:194 Usage for 441245866218_did_441245866218 is now 1/2 EXECUTE [depth=0] sofia/default/447889603924@95.211.119.240 export(presence_data=x|||Voxbeam(573705)|||^441245866218.* // Chelmsford Kent // 0.10000||||||DID|||95.211.119.240) 2021-02-12 14:49:18.338149 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||Voxbeam(573705)|||^441245866218.* // Chelmsford Kent // 0.10000||||||DID|||95.211.119.240] EXECUTE [depth=0] sofia/default/447889603924@95.211.119.240 export(call_type=4) 2021-02-12 14:49:18.338149 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_type]=[4] EXECUTE [depth=0] sofia/default/447889603924@95.211.119.240 set(calltype=STANDARD) 2021-02-12 14:49:18.338149 [DEBUG] mod_dptools.c:1672 SET sofia/default/447889603924@95.211.119.240 [calltype]=[STANDARD] EXECUTE [depth=0] sofia/default/447889603924@95.211.119.240 set(accountcode=697268) 2021-02-12 14:49:18.338149 [DEBUG] mod_dptools.c:1672 SET sofia/default/447889603924@95.211.119.240 [accountcode]=[697268] EXECUTE [depth=0] sofia/default/447889603924@95.211.119.240 set(caller_did_account_id=32) 2021-02-12 14:49:18.338149 [DEBUG] mod_dptools.c:1672 SET sofia/default/447889603924@95.211.119.240 [caller_did_account_id]=[32] EXECUTE [depth=0] sofia/default/447889603924@95.211.119.240 set(origination_rates_did=0) 2021-02-12 14:49:18.338149 [DEBUG] mod_dptools.c:1672 SET sofia/default/447889603924@95.211.119.240 [origination_rates_did]=[0] EXECUTE [depth=0] sofia/default/447889603924@95.211.119.240 transfer(447702792133 XML default) 2021-02-12 14:49:18.338149 [DEBUG] switch_ivr.c:2231 (sofia/default/447889603924@95.211.119.240) State Change CS_EXECUTE -> CS_ROUTING 2021-02-12 14:49:18.338149 [NOTICE] switch_ivr.c:2238 Transfer sofia/default/447889603924@95.211.119.240 to XML[447702792133@default] 2021-02-12 14:49:18.338149 [DEBUG] switch_core_state_machine.c:651 (sofia/default/447889603924@95.211.119.240) State EXECUTE going to sleep 2021-02-12 14:49:18.338149 [DEBUG] switch_core_state_machine.c:585 (sofia/default/447889603924@95.211.119.240) Running State Change CS_ROUTING (Cur 1 Tot 759921) 2021-02-12 14:49:18.338149 [DEBUG] switch_core_state_machine.c:644 (sofia/default/447889603924@95.211.119.240) State ROUTING 2021-02-12 14:49:18.338149 [DEBUG] mod_sofia.c:145 Call appears to be already acknowledged 2021-02-12 14:49:18.338149 [DEBUG] mod_sofia.c:154 sofia/default/447889603924@95.211.119.240 SOFIA ROUTING 2021-02-12 14:49:18.338149 [DEBUG] switch_core_state_machine.c:236 sofia/default/447889603924@95.211.119.240 Standard ROUTING 2021-02-12 14:49:18.338149 [INFO] mod_dialplan_xml.c:637 Processing 447889603924 <447889603924>->447702792133 in context default 2021-02-12 14:49:18.358155 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2021-02-12 14:49:18.358155 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-02-12 14:49:18.398155 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] blind_flag: 0 2021-02-12 14:49:18.398155 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Dialed number : 447702792133 2021-02-12 14:49:18.398155 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '447702792133' limit 1 2021-02-12 14:49:18.398155 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '447702792133' AND status=0 limit 1 2021-02-12 14:49:18.398155 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '447702792133' and status=0 LIMIT 1 2021-02-12 14:49:18.398155 [INFO] switch_cpp.cpp:1443 [ASTPP] [PBX] queue_destination_number,agent_hold_file : 447702792133 2021-02-12 14:49:18.398155 [WARNING] switch_cpp.cpp:1443 [ASTPP] [agent_fifo_condition] fifo_agent_flag1 2021-02-12 14:49:18.398155 [INFO] switch_cpp.cpp:1443 [ASTPP] [PBX] queue_destination_number,agent_hold_file : 447702792133 2021-02-12 14:49:18.398155 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '${uk-ring}' LIMIT 1 2021-02-12 14:49:18.398155 [DEBUG] switch_cpp.cpp:1443 [ASTPP] Generated XML:
Dialplan: sofia/default/447889603924@95.211.119.240 parsing [default->447702792133] continue=false Dialplan: sofia/default/447889603924@95.211.119.240 Regex (PASS) [447702792133] destination_number(447702792133) =~ /447702792133/ break=on-false Dialplan: sofia/default/447889603924@95.211.119.240 Action export(bypass_media=true) Dialplan: sofia/default/447889603924@95.211.119.240 Action export(did_user_domain=167.71.32.137) Dialplan: sofia/default/447889603924@95.211.119.240 Action answer() Dialplan: sofia/default/447889603924@95.211.119.240 Action fifo(myqueue_2 out wait) 2021-02-12 14:49:18.398155 [DEBUG] switch_core_state_machine.c:287 (sofia/default/447889603924@95.211.119.240) State Change CS_ROUTING -> CS_EXECUTE 2021-02-12 14:49:18.398155 [DEBUG] switch_core_state_machine.c:644 (sofia/default/447889603924@95.211.119.240) State ROUTING going to sleep 2021-02-12 14:49:18.398155 [DEBUG] switch_core_state_machine.c:585 (sofia/default/447889603924@95.211.119.240) Running State Change CS_EXECUTE (Cur 1 Tot 759921) 2021-02-12 14:49:18.398155 [DEBUG] switch_core_state_machine.c:651 (sofia/default/447889603924@95.211.119.240) State EXECUTE 2021-02-12 14:49:18.398155 [DEBUG] mod_sofia.c:209 sofia/default/447889603924@95.211.119.240 SOFIA EXECUTE 2021-02-12 14:49:18.398155 [DEBUG] switch_core_state_machine.c:329 sofia/default/447889603924@95.211.119.240 Standard EXECUTE EXECUTE [depth=0] sofia/default/447889603924@95.211.119.240 export(bypass_media=true) 2021-02-12 14:49:18.398155 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [bypass_media]=[true] EXECUTE [depth=0] sofia/default/447889603924@95.211.119.240 export(did_user_domain=167.71.32.137) 2021-02-12 14:49:18.398155 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [did_user_domain]=[167.71.32.137] EXECUTE [depth=0] sofia/default/447889603924@95.211.119.240 answer() 2021-02-12 14:49:18.398155 [DEBUG] switch_core_media.c:8658 AUDIO RTP [sofia/default/447889603924@95.211.119.240] 167.71.32.137 port 18096 -> 193.113.127.212 port 47514 codec: 8 ms: 20 2021-02-12 14:49:18.398155 [DEBUG] switch_rtp.c:4408 Starting timer [soft] 160 bytes per 20ms 2021-02-12 14:49:18.398155 [DEBUG] switch_core_media.c:8972 sofia/default/447889603924@95.211.119.240 Set 2833 dtmf send payload to 101 2021-02-12 14:49:18.398155 [DEBUG] switch_core_media.c:8979 sofia/default/447889603924@95.211.119.240 Set 2833 dtmf receive payload to 101 2021-02-12 14:49:18.398155 [DEBUG] switch_core_media.c:9002 sofia/default/447889603924@95.211.119.240 Set rtp dtmf delay to 40 2021-02-12 14:49:18.398155 [DEBUG] mod_sofia.c:905 Local SDP sofia/default/447889603924@95.211.119.240: v=0 o=FreeSWITCH 1613123262 1613123263 IN IP4 167.71.32.137 s=FreeSWITCH c=IN IP4 167.71.32.137 t=0 0 m=audio 18096 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2021-02-12 14:49:18.398155 [NOTICE] mod_dptools.c:1406 Channel [sofia/default/447889603924@95.211.119.240] has been answered 2021-02-12 14:49:18.398155 [DEBUG] switch_channel.c:3865 (sofia/default/447889603924@95.211.119.240) Callstate Change RINGING -> ACTIVE 2021-02-12 14:49:18.398155 [DEBUG] sofia.c:7290 Channel sofia/default/447889603924@95.211.119.240 entering state [completed][200] EXECUTE [depth=0] sofia/default/447889603924@95.211.119.240 fifo(myqueue_2 out wait) 2021-02-12 14:49:18.438167 [DEBUG] sofia.c:7290 Channel sofia/default/447889603924@95.211.119.240 entering state [ready][200] 2021-02-12 14:49:18.938152 [DEBUG] switch_rtp.c:7720 Correct audio ip/port confirmed.