2023-09-27 17:48:58.072734 90.03% [INFO] sofia.c:10462 sofia/default/0603871977@trunk.fr.eu receiving invite from 91.121.129.23:5060 version: 1.10.7 -release 64bit call-id: 22413-DS-e39b8776-62439d702@trunk.fr.eu 2023-09-27 17:48:58.072734 90.03% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 91.121.129.23:0. 2023-09-27 17:48:58.072734 90.03% [DEBUG] sofia.c:10585 IP 91.121.129.23 Approved by acl "default[]". Access Granted. 2023-09-27 17:48:58.072734 90.03% [DEBUG] sofia.c:7499 Channel sofia/default/0603871977@trunk.fr.eu entering state [received][100] 2023-09-27 17:48:58.072734 90.03% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=cp10 169582973879 169582973879 IN IP4 194.149.191.222 s=SIP Call c=IN IP4 91.121.129.144 t=0 0 m=audio 34528 RTP/AVP 8 0 18 101 b=AS:82 a=rtpmap:8 PCMA/8000/1 a=rtpmap:0 PCMU/8000/1 a=rtpmap:18 G729/8000/1 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2023-09-27 17:48:58.072734 90.03% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2023-09-27 17:48:58.072734 90.03% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2023-09-27 17:48:58.072734 90.03% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2023-09-27 17:48:58.072734 90.03% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2023-09-27 17:48:58.072734 90.03% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2023-09-27 17:48:58.072734 90.03% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2023-09-27 17:48:58.072734 90.03% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2023-09-27 17:48:58.072734 90.03% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2023-09-27 17:48:58.072734 90.03% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000 2023-09-27 17:48:58.072734 90.03% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/0603871977@trunk.fr.eu PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2023-09-27 17:48:58.072734 90.03% [DEBUG] switch_core_codec.c:111 sofia/default/0603871977@trunk.fr.eu Original read codec set to PCMA:8 2023-09-27 17:48:58.072734 90.03% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000 2023-09-27 17:48:58.072734 90.03% [DEBUG] switch_core_media.c:5973 sofia/default/0603871977@trunk.fr.eu Set 2833 dtmf send payload to 101 recv payload to 101 2023-09-27 17:48:58.072734 90.03% [DEBUG] sofia.c:7933 (sofia/default/0603871977@trunk.fr.eu) State Change CS_NEW -> CS_INIT 2023-09-27 17:48:58.072734 90.03% [DEBUG] switch_core_state_machine.c:600 (sofia/default/0603871977@trunk.fr.eu) State NEW 2023-09-27 17:48:58.072734 90.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0603871977@trunk.fr.eu) Running State Change CS_INIT (Cur 165 Tot 3937680) 2023-09-27 17:48:58.072734 90.03% [DEBUG] switch_core_state_machine.c:624 (sofia/default/0603871977@trunk.fr.eu) State INIT 2023-09-27 17:48:58.072734 90.03% [DEBUG] mod_sofia.c:97 sofia/default/0603871977@trunk.fr.eu SOFIA INIT 2023-09-27 17:48:58.072734 90.03% [DEBUG] switch_core_state_machine.c:40 sofia/default/0603871977@trunk.fr.eu Standard INIT 2023-09-27 17:48:58.072734 90.03% [DEBUG] switch_core_state_machine.c:48 (sofia/default/0603871977@trunk.fr.eu) State Change CS_INIT -> CS_ROUTING 2023-09-27 17:48:58.072734 90.03% [DEBUG] switch_core_state_machine.c:624 (sofia/default/0603871977@trunk.fr.eu) State INIT going to sleep 2023-09-27 17:48:58.072734 90.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0603871977@trunk.fr.eu) Running State Change CS_ROUTING (Cur 165 Tot 3937680) 2023-09-27 17:48:58.072734 90.03% [DEBUG] switch_channel.c:2380 (sofia/default/0603871977@trunk.fr.eu) Callstate Change DOWN -> RINGING 2023-09-27 17:48:58.072734 90.03% [DEBUG] switch_core_state_machine.c:640 (sofia/default/0603871977@trunk.fr.eu) State ROUTING 2023-09-27 17:48:58.072734 90.03% [DEBUG] mod_sofia.c:158 sofia/default/0603871977@trunk.fr.eu SOFIA ROUTING 2023-09-27 17:48:58.072734 90.03% [DEBUG] switch_core_state_machine.c:230 sofia/default/0603871977@trunk.fr.eu Standard ROUTING 2023-09-27 17:48:58.072734 90.03% [INFO] mod_dialplan_xml.c:639 Processing +33603871977 <0603871977>->0427469912 in context default 2023-09-27 17:48:58.092705 90.03% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL 2023-09-27 17:48:58.092705 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2023-09-27 17:48:58.092705 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code') 2023-09-27 17:48:58.092705 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-09-27 17:48:58.092705 90.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 0427469912 2023-09-27 17:48:58.092705 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0427469912' AND status=0 limit 1 2023-09-27 17:48:58.092705 90.03% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERnobody 2023-09-27 17:48:58.092705 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-09-27 17:48:58.092705 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '0427469912' limit 1 2023-09-27 17:48:58.092705 90.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : +33603871977 / 0603871977 2023-09-27 17:48:58.092705 90.03% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 6 2023-09-27 17:48:58.092705 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 6 AND status=0 limit 1 2023-09-27 17:48:58.092705 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*,03/333/*/*,04/334/*/*,02/332/*/*,01/331/*/*,05/335/*/*,09/339/*/*".....0427469912 2023-09-27 17:48:58.092705 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*,03/333/*/*,04/334/*/*,02/332/*/*,01/331/*/*,05/335/*/*,09/339/*/*".....0427469912 2023-09-27 17:48:58.092705 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*,03/333/*/*,04/334/*/*,02/332/*/*,01/331/*/*,05/335/*/*,09/339/*/*".....0427469912 2023-09-27 17:48:58.092705 90.03% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0427469912 2023-09-27 17:48:58.092705 90.03% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 33427469912 2023-09-27 17:48:58.092705 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*,03/333/*/*,04/334/*/*,02/332/*/*,01/331/*/*,05/335/*/*,09/339/*/*".....33427469912 2023-09-27 17:48:58.092705 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*,03/333/*/*,04/334/*/*,02/332/*/*,01/331/*/*,05/335/*/*,09/339/*/*".....33427469912 2023-09-27 17:48:58.092705 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*,03/333/*/*,04/334/*/*,02/332/*/*,01/331/*/*,05/335/*/*,09/339/*/*".....33427469912 2023-09-27 17:48:58.092705 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*,03/333/*/*,04/334/*/*,02/332/*/*,01/331/*/*,05/335/*/*,09/339/*/*".....33427469912 2023-09-27 17:48:58.092705 90.03% [DEBUG] switch_cpp.cpp:1465 [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, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="33427469912" LIMIT 1 2023-09-27 17:48:58.092705 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-09-27 17:48:58.112729 90.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound 2023-09-27 17:48:58.112729 90.03% [DEBUG] switch_cpp.cpp:1465 [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("91.121.129.23") 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 "0427469912" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1 2023-09-27 17:48:58.112729 90.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 1166079117] 2023-09-27 17:48:58.112729 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "1166079117" AND deleted = 0 limit 1 2023-09-27 17:48:58.112729 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =14 2023-09-27 17:48:58.112729 90.03% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 6 2023-09-27 17:48:58.112729 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 6 AND status=0 limit 1 2023-09-27 17:48:58.112729 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*,03/333/*/*,04/334/*/*,02/332/*/*,01/331/*/*,05/335/*/*,09/339/*/*".....0427469912 2023-09-27 17:48:58.112729 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*,03/333/*/*,04/334/*/*,02/332/*/*,01/331/*/*,05/335/*/*,09/339/*/*".....0427469912 2023-09-27 17:48:58.112729 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*,03/333/*/*,04/334/*/*,02/332/*/*,01/331/*/*,05/335/*/*,09/339/*/*".....0427469912 2023-09-27 17:48:58.112729 90.03% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0427469912 2023-09-27 17:48:58.112729 90.03% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 33427469912 2023-09-27 17:48:58.112729 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*,03/333/*/*,04/334/*/*,02/332/*/*,01/331/*/*,05/335/*/*,09/339/*/*".....33427469912 2023-09-27 17:48:58.112729 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*,03/333/*/*,04/334/*/*,02/332/*/*,01/331/*/*,05/335/*/*,09/339/*/*".....33427469912 2023-09-27 17:48:58.112729 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*,03/333/*/*,04/334/*/*,02/332/*/*,01/331/*/*,05/335/*/*,09/339/*/*".....33427469912 2023-09-27 17:48:58.112729 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*,03/333/*/*,04/334/*/*,02/332/*/*,01/331/*/*,05/335/*/*,09/339/*/*".....33427469912 2023-09-27 17:48:58.112729 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="33427469912" AND (accountid = 0 OR status = 1) LIMIT 1 2023-09-27 17:48:58.112729 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound 2023-09-27 17:48:58.112729 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 14 2023-09-27 17:48:58.112729 90.03% [DEBUG] switch_cpp.cpp:1465 [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 P.is_terminated = 0 AND (patterns = '^0427469912.*' OR patterns = '^042746991.*' OR patterns = '^04274699.*' OR patterns = '^0427469.*' OR patterns = '^042746.*' OR patterns = '^04274.*' OR patterns = '^0427.*' OR patterns = '^042.*' OR patterns = '^04.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 14 ORDER BY LENGTH(PKGPTR.patterns) DESC 2023-09-27 17:48:58.112729 90.03% [DEBUG] switch_cpp.cpp:1465 [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 ="0427469912" AND A.accountid = '6' limit 1 2023-09-27 17:48:58.132706 90.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0427469912 2023-09-27 17:48:58.132706 90.03% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 6 2023-09-27 17:48:58.132706 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 6 AND status=0 limit 1 2023-09-27 17:48:58.132706 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*,03/333/*/*,04/334/*/*,02/332/*/*,01/331/*/*,05/335/*/*,09/339/*/*".....0427469912 2023-09-27 17:48:58.132706 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*,03/333/*/*,04/334/*/*,02/332/*/*,01/331/*/*,05/335/*/*,09/339/*/*".....0427469912 2023-09-27 17:48:58.132706 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*,03/333/*/*,04/334/*/*,02/332/*/*,01/331/*/*,05/335/*/*,09/339/*/*".....0427469912 2023-09-27 17:48:58.132706 90.03% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0427469912 2023-09-27 17:48:58.132706 90.03% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 33427469912 2023-09-27 17:48:58.132706 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*,03/333/*/*,04/334/*/*,02/332/*/*,01/331/*/*,05/335/*/*,09/339/*/*".....33427469912 2023-09-27 17:48:58.132706 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*,03/333/*/*,04/334/*/*,02/332/*/*,01/331/*/*,05/335/*/*,09/339/*/*".....33427469912 2023-09-27 17:48:58.132706 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*,03/333/*/*,04/334/*/*,02/332/*/*,01/331/*/*,05/335/*/*,09/339/*/*".....33427469912 2023-09-27 17:48:58.132706 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*,03/333/*/*,04/334/*/*,02/332/*/*,01/331/*/*,05/335/*/*,09/339/*/*".....33427469912 2023-09-27 17:48:58.132706 90.03% [DEBUG] switch_cpp.cpp:1465 [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, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="33427469912" LIMIT 1 2023-09-27 17:48:58.132706 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-09-27 17:48:58.132706 90.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound 2023-09-27 17:48:58.132706 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '0427469912' OR number = '042746991' OR number = '04274699' OR number = '0427469' OR number = '042746' OR number = '04274' OR number = '0427' OR number = '042' OR number = '04' OR number = '0' OR number ='--') OR (number = '0427469912*' OR number = '042746991*' OR number = '04274699*' OR number = '0427469*' OR number = '042746*' OR number = '04274*' OR number = '0427*' OR number = '042*' OR number = '04*' OR number = '0*' OR number ='--') OR (number = '0603871977' OR number = '060387197' OR number = '06038719' OR number = '0603871' OR number = '060387' OR number = '06038' OR number = '0603' OR number = '060' OR number = '06' OR number = '0' OR number ='--') OR (number = '0603871977*' OR number = '060387197*' OR number = '06038719*' OR number = '0603871*' OR number = '060387*' OR number = '06038*' OR number = '0603*' OR number = '060*' OR number = '06*' OR number = '0*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2023-09-27 17:48:58.132706 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2023-09-27 17:48:58.132706 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0427469912' OR routing_prefix = '042746991' OR routing_prefix = '04274699' OR routing_prefix = '0427469' OR routing_prefix = '042746' OR routing_prefix = '04274' OR routing_prefix = '0427' OR routing_prefix = '042' OR routing_prefix = '04' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2023-09-27 17:48:58.132706 90.03% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2023-09-27 17:48:58.132706 90.03% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 6 2023-09-27 17:48:58.132706 90.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 1166079117 2023-09-27 17:48:58.132706 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =14 2023-09-27 17:48:58.152710 90.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 292.6914 2023-09-27 17:48:58.152710 90.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2023-09-27 17:48:58.152710 90.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 2 2023-09-27 17:48:58.152710 90.03% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2023-09-27 17:48:58.152710 90.03% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2023-09-27 17:48:58.152710 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0 2023-09-27 17:48:58.152710 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound 2023-09-27 17:48:58.152710 90.03% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 6 2023-09-27 17:48:58.152710 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 6 AND status=0 limit 1 2023-09-27 17:48:58.152710 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*,03/333/*/*,04/334/*/*,02/332/*/*,01/331/*/*,05/335/*/*,09/339/*/*".....33427469912 2023-09-27 17:48:58.152710 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*,03/333/*/*,04/334/*/*,02/332/*/*,01/331/*/*,05/335/*/*,09/339/*/*".....33427469912 2023-09-27 17:48:58.152710 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*,03/333/*/*,04/334/*/*,02/332/*/*,01/331/*/*,05/335/*/*,09/339/*/*".....33427469912 2023-09-27 17:48:58.152710 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*,03/333/*/*,04/334/*/*,02/332/*/*,01/331/*/*,05/335/*/*,09/339/*/*".....33427469912 2023-09-27 17:48:58.152710 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*,03/333/*/*,04/334/*/*,02/332/*/*,01/331/*/*,05/335/*/*,09/339/*/*".....33427469912 2023-09-27 17:48:58.152710 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*,03/333/*/*,04/334/*/*,02/332/*/*,01/331/*/*,05/335/*/*,09/339/*/*".....33427469912 2023-09-27 17:48:58.152710 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*,03/333/*/*,04/334/*/*,02/332/*/*,01/331/*/*,05/335/*/*,09/339/*/*".....33427469912 2023-09-27 17:48:58.152710 90.03% [DEBUG] switch_cpp.cpp:1465 [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, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="33427469912" LIMIT 1 2023-09-27 17:48:58.152710 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-09-27 17:48:58.152710 90.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound 2023-09-27 17:48:58.152710 90.03% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2023-09-27 17:48:58.152710 90.03% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 69577 2023-09-27 17:48:58.152710 90.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2023-09-27 17:48:58.152710 90.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2023-09-27 17:48:58.152710 90.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000 2023-09-27 17:48:58.152710 90.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 33427469912 2023-09-27 17:48:58.152710 90.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 66 2023-09-27 17:48:58.152710 90.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 6 2023-09-27 17:48:58.152710 90.03% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2023-09-27 17:48:58.152710 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =14 2023-09-27 17:48:58.152710 90.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your292.6914 balance Accountid 6 !!! 2023-09-27 17:48:58.152710 90.03% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100 2023-09-27 17:48:58.152710 90.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes 2023-09-27 17:48:58.152710 90.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE 2023-09-27 17:48:58.152710 90.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1 2023-09-27 17:48:58.152710 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 6 AND status=0 LIMIT 1 2023-09-27 17:48:58.152710 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "14" AND deleted = 0 limit 1 2023-09-27 17:48:58.152710 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =14 2023-09-27 17:48:58.172733 90.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:6 2023-09-27 17:48:58.172733 90.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:6 2023-09-27 17:48:58.172733 90.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 6 2023-09-27 17:48:58.172733 90.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100 2023-09-27 17:48:58.172733 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-09-27 17:48:58.172733 90.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1 2023-09-27 17:48:58.172733 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_5 2023-09-27 17:48:58.172733 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT daily_call_credit_limit,daily_call_used_limit,monthly_call_credit_limit,monthly_call_used_limit FROM accounts WHERE (number = 14 or id = 14 ) and status = 0 limit 1 2023-09-27 17:48:58.172733 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START: 2023-09-27 17:48:58.172733 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec 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="6089462975" limit 1 2023-09-27 17:48:58.172733 90.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/0603871977@trunk.fr.eu parsing [default->33427469912] continue=false Dialplan: sofia/default/0603871977@trunk.fr.eu Regex (PASS) [33427469912] destination_number(0427469912) =~ /0427469912/ break=on-false Dialplan: sofia/default/0603871977@trunk.fr.eu Action set(effective_destination_number=0427469912) Dialplan: sofia/default/0603871977@trunk.fr.eu Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/0603871977@trunk.fr.eu Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/0603871977@trunk.fr.eu Action set(notify_flag=0) Dialplan: sofia/default/0603871977@trunk.fr.eu Action set(notify_credit_limit=5.00000) Dialplan: sofia/default/0603871977@trunk.fr.eu Action set(type=3) Dialplan: sofia/default/0603871977@trunk.fr.eu Action set(callstart=2023-09-27 15:48:58) Dialplan: sofia/default/0603871977@trunk.fr.eu Action set(hangup_after_bridge=true) Dialplan: sofia/default/0603871977@trunk.fr.eu Action set(continue_on_fail=TRUE) Dialplan: sofia/default/0603871977@trunk.fr.eu Action set(account_id=6) Dialplan: sofia/default/0603871977@trunk.fr.eu Action set(parent_id=0) Dialplan: sofia/default/0603871977@trunk.fr.eu Action set(entity_id=3) Dialplan: sofia/default/0603871977@trunk.fr.eu Action set(call_processed=internal) Dialplan: sofia/default/0603871977@trunk.fr.eu Action set(call_direction=inbound) Dialplan: sofia/default/0603871977@trunk.fr.eu Action set(accountname=OVH TRUNK SIP) Dialplan: sofia/default/0603871977@trunk.fr.eu Action set(origination_rates_did=ID:69577|CODE:^33427469912.*|DESTINATION:33427469912|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:66|ACCID:14) Dialplan: sofia/default/0603871977@trunk.fr.eu Action set(origination_rates=0) Dialplan: sofia/default/0603871977@trunk.fr.eu Action set(original_caller_id_name=+33603871977) Dialplan: sofia/default/0603871977@trunk.fr.eu Action set(original_caller_id_number=0603871977) Dialplan: sofia/default/0603871977@trunk.fr.eu Action set(effective_caller_id_name=+33603871977) Dialplan: sofia/default/0603871977@trunk.fr.eu Action set(effective_caller_id_number=0603871977) Dialplan: sofia/default/0603871977@trunk.fr.eu Action set(receiver_accid=14) Dialplan: sofia/default/0603871977@trunk.fr.eu Action export(domain_name=) Dialplan: sofia/default/0603871977@trunk.fr.eu Action export(sip_to_host=) Dialplan: sofia/default/0603871977@trunk.fr.eu Action export(presence_data=x|||OVH(1166079117)|||^33427469912.* // 33427469912 // 0.00000|||||||||DID|||91.121.129.23) Dialplan: sofia/default/0603871977@trunk.fr.eu Action export(call_type=5) Dialplan: sofia/default/0603871977@trunk.fr.eu Action set(daily_call_credit_limit=0.00000) Dialplan: sofia/default/0603871977@trunk.fr.eu Action set(monthly_call_credit_limit=0.00000) Dialplan: sofia/default/0603871977@trunk.fr.eu Action set(daily_call_used_limit=0.00000) Dialplan: sofia/default/0603871977@trunk.fr.eu Action set(monthly_call_used_limit=0.00000) Dialplan: sofia/default/0603871977@trunk.fr.eu Action set(calltype=SIP-DID) Dialplan: sofia/default/0603871977@trunk.fr.eu Action bridge({sip_contact_user=33427469912}[leg_timeout=0]sofia/${sofia_profile_name}/33427469912${regex(${sofia_contact(6089462975@${domain_name})}|^[^@]+(.*)|%1)}) Dialplan: sofia/default/0603871977@trunk.fr.eu Action set(did_id=69577) Dialplan: sofia/default/0603871977@trunk.fr.eu Action set(destination_number=33427469912) Dialplan: sofia/default/0603871977@trunk.fr.eu Action set(leg_timeout=0) Dialplan: sofia/default/0603871977@trunk.fr.eu Action set(call_type_vm_flag=1) Dialplan: sofia/default/0603871977@trunk.fr.eu Action set(is_local_extension=1) Dialplan: sofia/default/0603871977@trunk.fr.eu Action lua(did_call_forwarding.lua) |--- Dialplan: Processing recursive conditions level:1 [33427469912_recur_1] require-nested=TRUE |--- Dialplan: sofia/default/0603871977@trunk.fr.eu Regex (FAIL) [33427469912_recur_1] ${cond(${user_data 6089462975@${domain_name} param vm-enabled} == true ? YES : NO)}(NO) =~ /^YES$/ break=on-false |--- Dialplan: sofia/default/0603871977@trunk.fr.eu ANTI-Action hangup(${originate_disposition}) 2023-09-27 17:48:58.192732 90.03% [DEBUG] switch_core_state_machine.c:281 (sofia/default/0603871977@trunk.fr.eu) State Change CS_ROUTING -> CS_EXECUTE 2023-09-27 17:48:58.192732 90.03% [DEBUG] switch_core_state_machine.c:640 (sofia/default/0603871977@trunk.fr.eu) State ROUTING going to sleep 2023-09-27 17:48:58.192732 90.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0603871977@trunk.fr.eu) Running State Change CS_EXECUTE (Cur 165 Tot 3937680) 2023-09-27 17:48:58.192732 90.03% [DEBUG] switch_core_state_machine.c:647 (sofia/default/0603871977@trunk.fr.eu) State EXECUTE 2023-09-27 17:48:58.192732 90.03% [DEBUG] mod_sofia.c:213 sofia/default/0603871977@trunk.fr.eu SOFIA EXECUTE 2023-09-27 17:48:58.192732 90.03% [DEBUG] switch_core_state_machine.c:323 sofia/default/0603871977@trunk.fr.eu Standard EXECUTE EXECUTE [depth=0] sofia/default/0603871977@trunk.fr.eu set(effective_destination_number=0427469912) 2023-09-27 17:48:58.192732 90.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/0603871977@trunk.fr.eu [effective_destination_number]=[0427469912] EXECUTE [depth=0] sofia/default/0603871977@trunk.fr.eu set(bridge_pre_execute_bleg_app=sched_hangup) 2023-09-27 17:48:58.192732 90.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/0603871977@trunk.fr.eu [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE [depth=0] sofia/default/0603871977@trunk.fr.eu set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2023-09-27 17:48:58.192732 90.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/0603871977@trunk.fr.eu [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE [depth=0] sofia/default/0603871977@trunk.fr.eu set(notify_flag=0) 2023-09-27 17:48:58.192732 90.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/0603871977@trunk.fr.eu [notify_flag]=[0] EXECUTE [depth=0] sofia/default/0603871977@trunk.fr.eu set(notify_credit_limit=5.00000) 2023-09-27 17:48:58.192732 90.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/0603871977@trunk.fr.eu [notify_credit_limit]=[5.00000] EXECUTE [depth=0] sofia/default/0603871977@trunk.fr.eu set(type=3) 2023-09-27 17:48:58.192732 90.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/0603871977@trunk.fr.eu [type]=[3] EXECUTE [depth=0] sofia/default/0603871977@trunk.fr.eu set(callstart=2023-09-27 15:48:58) 2023-09-27 17:48:58.192732 90.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/0603871977@trunk.fr.eu [callstart]=[2023-09-27 15:48:58] EXECUTE [depth=0] sofia/default/0603871977@trunk.fr.eu set(hangup_after_bridge=true) 2023-09-27 17:48:58.192732 90.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/0603871977@trunk.fr.eu [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/0603871977@trunk.fr.eu set(continue_on_fail=TRUE) 2023-09-27 17:48:58.192732 90.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/0603871977@trunk.fr.eu [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/0603871977@trunk.fr.eu set(account_id=6) 2023-09-27 17:48:58.192732 90.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/0603871977@trunk.fr.eu [account_id]=[6] EXECUTE [depth=0] sofia/default/0603871977@trunk.fr.eu set(parent_id=0) 2023-09-27 17:48:58.192732 90.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/0603871977@trunk.fr.eu [parent_id]=[0] EXECUTE [depth=0] sofia/default/0603871977@trunk.fr.eu set(entity_id=3) 2023-09-27 17:48:58.192732 90.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/0603871977@trunk.fr.eu [entity_id]=[3] EXECUTE [depth=0] sofia/default/0603871977@trunk.fr.eu set(call_processed=internal) 2023-09-27 17:48:58.192732 90.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/0603871977@trunk.fr.eu [call_processed]=[internal] EXECUTE [depth=0] sofia/default/0603871977@trunk.fr.eu set(call_direction=inbound) 2023-09-27 17:48:58.192732 90.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/0603871977@trunk.fr.eu [call_direction]=[inbound] EXECUTE [depth=0] sofia/default/0603871977@trunk.fr.eu set(accountname=OVH TRUNK SIP) 2023-09-27 17:48:58.192732 90.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/0603871977@trunk.fr.eu [accountname]=[OVH TRUNK SIP] EXECUTE [depth=0] sofia/default/0603871977@trunk.fr.eu set(origination_rates_did=ID:69577|CODE:^33427469912.*|DESTINATION:33427469912|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:66|ACCID:14) 2023-09-27 17:48:58.192732 90.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/0603871977@trunk.fr.eu [origination_rates_did]=[ID:69577|CODE:^33427469912.*|DESTINATION:33427469912|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:66|ACCID:14] EXECUTE [depth=0] sofia/default/0603871977@trunk.fr.eu set(origination_rates=0) 2023-09-27 17:48:58.192732 90.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/0603871977@trunk.fr.eu [origination_rates]=[0] EXECUTE [depth=0] sofia/default/0603871977@trunk.fr.eu set(original_caller_id_name=+33603871977) 2023-09-27 17:48:58.192732 90.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/0603871977@trunk.fr.eu [original_caller_id_name]=[+33603871977] EXECUTE [depth=0] sofia/default/0603871977@trunk.fr.eu set(original_caller_id_number=0603871977) 2023-09-27 17:48:58.192732 90.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/0603871977@trunk.fr.eu [original_caller_id_number]=[0603871977] EXECUTE [depth=0] sofia/default/0603871977@trunk.fr.eu set(effective_caller_id_name=+33603871977) 2023-09-27 17:48:58.192732 90.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/0603871977@trunk.fr.eu [effective_caller_id_name]=[+33603871977] EXECUTE [depth=0] sofia/default/0603871977@trunk.fr.eu set(effective_caller_id_number=0603871977) 2023-09-27 17:48:58.192732 90.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/0603871977@trunk.fr.eu [effective_caller_id_number]=[0603871977] EXECUTE [depth=0] sofia/default/0603871977@trunk.fr.eu set(receiver_accid=14) 2023-09-27 17:48:58.192732 90.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/0603871977@trunk.fr.eu [receiver_accid]=[14] EXECUTE [depth=0] sofia/default/0603871977@trunk.fr.eu export(domain_name=) 2023-09-27 17:48:58.192732 90.03% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[UNDEF] EXECUTE [depth=0] sofia/default/0603871977@trunk.fr.eu export(sip_to_host=) 2023-09-27 17:48:58.192732 90.03% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[UNDEF] EXECUTE [depth=0] sofia/default/0603871977@trunk.fr.eu export(presence_data=x|||OVH(1166079117)|||^33427469912.* // 33427469912 // 0.00000|||||||||DID|||91.121.129.23) 2023-09-27 17:48:58.192732 90.03% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||OVH(1166079117)|||^33427469912.* // 33427469912 // 0.00000|||||||||DID|||91.121.129.23] EXECUTE [depth=0] sofia/default/0603871977@trunk.fr.eu export(call_type=5) 2023-09-27 17:48:58.192732 90.03% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[5] EXECUTE [depth=0] sofia/default/0603871977@trunk.fr.eu set(daily_call_credit_limit=0.00000) 2023-09-27 17:48:58.192732 90.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/0603871977@trunk.fr.eu [daily_call_credit_limit]=[0.00000] EXECUTE [depth=0] sofia/default/0603871977@trunk.fr.eu set(monthly_call_credit_limit=0.00000) 2023-09-27 17:48:58.192732 90.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/0603871977@trunk.fr.eu [monthly_call_credit_limit]=[0.00000] EXECUTE [depth=0] sofia/default/0603871977@trunk.fr.eu set(daily_call_used_limit=0.00000) 2023-09-27 17:48:58.192732 90.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/0603871977@trunk.fr.eu [daily_call_used_limit]=[0.00000] EXECUTE [depth=0] sofia/default/0603871977@trunk.fr.eu set(monthly_call_used_limit=0.00000) 2023-09-27 17:48:58.192732 90.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/0603871977@trunk.fr.eu [monthly_call_used_limit]=[0.00000] EXECUTE [depth=0] sofia/default/0603871977@trunk.fr.eu set(calltype=SIP-DID) 2023-09-27 17:48:58.192732 90.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/0603871977@trunk.fr.eu [calltype]=[SIP-DID] EXECUTE [depth=0] sofia/default/0603871977@trunk.fr.eu bridge({sip_contact_user=33427469912}[leg_timeout=0]sofia/default/33427469912@212.83.158.218:5160) 2023-09-27 17:48:58.192732 90.03% [DEBUG] switch_channel.c:1269 sofia/default/0603871977@trunk.fr.eu EXPORTING[export_vars] [presence_data]=[x|||OVH(1166079117)|||^33427469912.* // 33427469912 // 0.00000|||||||||DID|||91.121.129.23] to event 2023-09-27 17:48:58.192732 90.03% [DEBUG] switch_channel.c:1269 sofia/default/0603871977@trunk.fr.eu EXPORTING[export_vars] [call_type]=[5] to event 2023-09-27 17:48:58.192732 90.03% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables 2023-09-27 17:48:58.192732 90.03% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables 2023-09-27 17:48:58.192732 90.03% [NOTICE] switch_channel.c:1123 New Channel sofia/default/33427469912@212.83.158.218:5160 [f95b5b28-337e-411c-a580-ba569df614a2] 2023-09-27 17:48:58.192732 90.03% [DEBUG] mod_sofia.c:5121 (sofia/default/33427469912@212.83.158.218:5160) State Change CS_NEW -> CS_INIT 2023-09-27 17:48:58.192732 90.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/33427469912@212.83.158.218:5160) Running State Change CS_INIT (Cur 166 Tot 3937681) 2023-09-27 17:48:58.192732 90.03% [DEBUG] switch_core_state_machine.c:624 (sofia/default/33427469912@212.83.158.218:5160) State INIT 2023-09-27 17:48:58.192732 90.03% [DEBUG] mod_sofia.c:97 sofia/default/33427469912@212.83.158.218:5160 SOFIA INIT 2023-09-27 17:48:58.192732 90.03% [INFO] sofia_glue.c:1651 sofia/default/33427469912@212.83.158.218:5160 sending invite call-id: (null) 2023-09-27 17:48:58.192732 90.03% [DEBUG] sofia_glue.c:1654 sofia/default/33427469912@212.83.158.218:5160 sending invite version: 1.10.7 -release 64bit Local SDP: v=0 o=FreeSWITCH 1695800222 1695800223 IN IP4 212.83.157.3 s=FreeSWITCH c=IN IP4 212.83.157.3 t=0 0 m=audio 29516 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv 2023-09-27 17:48:58.192732 90.03% [DEBUG] switch_core_state_machine.c:40 sofia/default/33427469912@212.83.158.218:5160 Standard INIT 2023-09-27 17:48:58.192732 90.03% [DEBUG] switch_core_state_machine.c:48 (sofia/default/33427469912@212.83.158.218:5160) State Change CS_INIT -> CS_ROUTING 2023-09-27 17:48:58.192732 90.03% [DEBUG] switch_core_state_machine.c:624 (sofia/default/33427469912@212.83.158.218:5160) State INIT going to sleep 2023-09-27 17:48:58.192732 90.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/33427469912@212.83.158.218:5160) Running State Change CS_ROUTING (Cur 166 Tot 3937681) 2023-09-27 17:48:58.192732 90.03% [DEBUG] switch_core_state_machine.c:640 (sofia/default/33427469912@212.83.158.218:5160) State ROUTING 2023-09-27 17:48:58.192732 90.03% [DEBUG] mod_sofia.c:158 sofia/default/33427469912@212.83.158.218:5160 SOFIA ROUTING 2023-09-27 17:48:58.192732 90.03% [DEBUG] switch_ivr_originate.c:67 (sofia/default/33427469912@212.83.158.218:5160) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2023-09-27 17:48:58.192732 90.03% [DEBUG] switch_core_state_machine.c:640 (sofia/default/33427469912@212.83.158.218:5160) State ROUTING going to sleep 2023-09-27 17:48:58.192732 90.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/33427469912@212.83.158.218:5160) Running State Change CS_CONSUME_MEDIA (Cur 166 Tot 3937681) 2023-09-27 17:48:58.192732 90.03% [DEBUG] sofia.c:7499 Channel sofia/default/33427469912@212.83.158.218:5160 entering state [calling][0] 2023-09-27 17:48:58.192732 90.03% [DEBUG] switch_core_state_machine.c:659 (sofia/default/33427469912@212.83.158.218:5160) State CONSUME_MEDIA 2023-09-27 17:48:58.192732 90.03% [DEBUG] switch_core_state_machine.c:659 (sofia/default/33427469912@212.83.158.218:5160) State CONSUME_MEDIA going to sleep 2023-09-27 17:48:58.212792 90.03% [DEBUG] sofia.c:7499 Channel sofia/default/33427469912@212.83.158.218:5160 entering state [completing][200] 2023-09-27 17:48:58.212792 90.03% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=root 1711269820 1711269820 IN IP4 212.83.158.218 s=Asterisk PBX 16.8-cert14 c=IN IP4 212.83.158.218 t=0 0 m=audio 12198 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=maxptime:150 2023-09-27 17:48:58.212792 90.03% [DEBUG] sofia.c:7499 Channel sofia/default/33427469912@212.83.158.218:5160 entering state [ready][200] 2023-09-27 17:48:58.212792 90.03% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2023-09-27 17:48:58.212792 90.03% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2023-09-27 17:48:58.212792 90.03% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000 2023-09-27 17:48:58.212792 90.03% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/33427469912@212.83.158.218:5160 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2023-09-27 17:48:58.212792 90.03% [DEBUG] switch_core_codec.c:111 sofia/default/33427469912@212.83.158.218:5160 Original read codec set to PCMA:8 2023-09-27 17:48:58.212792 90.03% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000 2023-09-27 17:48:58.212792 90.03% [DEBUG] switch_core_media.c:5973 sofia/default/33427469912@212.83.158.218:5160 Set 2833 dtmf send payload to 101 recv payload to 101 2023-09-27 17:48:58.212792 90.03% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/33427469912@212.83.158.218:5160] 212.83.157.3 port 29516 -> 212.83.158.218 port 12198 codec: 8 ms: 20 2023-09-27 17:48:58.212792 90.03% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms 2023-09-27 17:48:58.212792 90.03% [DEBUG] switch_core_media.c:9089 sofia/default/33427469912@212.83.158.218:5160 Set 2833 dtmf send payload to 101 2023-09-27 17:48:58.212792 90.03% [DEBUG] switch_core_media.c:9096 sofia/default/33427469912@212.83.158.218:5160 Set 2833 dtmf receive payload to 101 2023-09-27 17:48:58.212792 90.03% [DEBUG] switch_core_media.c:9119 sofia/default/33427469912@212.83.158.218:5160 Set rtp dtmf delay to 40 2023-09-27 17:48:58.212792 90.03% [NOTICE] sofia.c:8683 Channel [sofia/default/33427469912@212.83.158.218:5160] has been answered 2023-09-27 17:48:58.212792 90.03% [DEBUG] switch_channel.c:3950 (sofia/default/33427469912@212.83.158.218:5160) Callstate Change DOWN -> ACTIVE 2023-09-27 17:48:58.212792 90.03% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/0603871977@trunk.fr.eu] 212.83.157.3 port 30858 -> 91.121.129.144 port 34528 codec: 8 ms: 20 2023-09-27 17:48:58.212792 90.03% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms 2023-09-27 17:48:58.212792 90.03% [DEBUG] switch_core_media.c:9089 sofia/default/0603871977@trunk.fr.eu Set 2833 dtmf send payload to 101 2023-09-27 17:48:58.212792 90.03% [DEBUG] switch_core_media.c:9096 sofia/default/0603871977@trunk.fr.eu Set 2833 dtmf receive payload to 101 2023-09-27 17:48:58.212792 90.03% [DEBUG] switch_core_media.c:9119 sofia/default/0603871977@trunk.fr.eu Set rtp dtmf delay to 40 2023-09-27 17:48:58.212792 90.03% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/0603871977@trunk.fr.eu: v=0 o=FreeSWITCH 1695798880 1695798881 IN IP4 212.83.157.3 s=FreeSWITCH c=IN IP4 212.83.157.3 t=0 0 m=audio 30858 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv 2023-09-27 17:48:58.212792 90.03% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/0603871977@trunk.fr.eu] has been answered 2023-09-27 17:48:58.212792 90.03% [DEBUG] switch_channel.c:3950 (sofia/default/0603871977@trunk.fr.eu) Callstate Change RINGING -> ACTIVE 2023-09-27 17:48:58.212792 90.03% [DEBUG] sofia.c:7499 Channel sofia/default/0603871977@trunk.fr.eu entering state [completed][200] 2023-09-27 17:48:58.212792 90.03% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/33427469912@212.83.158.218:5160] Peer UUID: f95b5b28-337e-411c-a580-ba569df614a2 2023-09-27 17:48:58.212792 90.03% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/33427469912@212.83.158.218:5160) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2023-09-27 17:48:58.212792 90.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/33427469912@212.83.158.218:5160) Running State Change CS_EXCHANGE_MEDIA (Cur 166 Tot 3937681) 2023-09-27 17:48:58.212792 90.03% [DEBUG] switch_core_state_machine.c:650 (sofia/default/33427469912@212.83.158.218:5160) State EXCHANGE_MEDIA 2023-09-27 17:48:58.212792 90.03% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA 2023-09-27 17:48:58.252741 90.03% [DEBUG] sofia.c:7499 Channel sofia/default/0603871977@trunk.fr.eu entering state [ready][200] 2023-09-27 17:48:58.432774 89.97% [DEBUG] switch_ivr_bridge.c:655 sofia/default/33427469912@212.83.158.218:5160 Bridge execute app sched_hangup(+6000 normal_clearing) 2023-09-27 17:48:58.432774 89.97% [NOTICE] switch_channel.c:1123 New Channel sofia/default/+33247927051@62.192.27.242 [d9bdaf5a-85ec-4f65-a0bf-666700f17fec] 2023-09-27 17:48:58.432774 89.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+33247927051@62.192.27.242) Running State Change CS_NEW (Cur 167 Tot 3937682) 2023-09-27 17:48:58.432774 89.97% [INFO] sofia.c:10462 sofia/default/+33247927051@62.192.27.242 receiving invite from 62.192.27.242:5060 version: 1.10.7 -release 64bit call-id: 421827106_67082200@62.192.27.242 2023-09-27 17:48:58.432774 89.97% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 62.192.27.242:0. 2023-09-27 17:48:58.432774 89.97% [DEBUG] sofia.c:10585 IP 62.192.27.242 Approved by acl "default[]". Access Granted. 2023-09-27 17:48:58.432774 89.97% [DEBUG] sofia.c:7499 Channel sofia/default/+33247927051@62.192.27.242 entering state [received][100] 2023-09-27 17:48:58.432774 89.97% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=Sonus_UAC 346166 575549 IN IP4 62.192.27.242 s=SIP Media Capabilities c=IN IP4 62.192.27.234 t=0 0 m=audio 39560 RTP/AVP 8 18 101 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2023-09-27 17:48:58.432774 89.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2023-09-27 17:48:58.432774 89.97% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2023-09-27 17:48:58.432774 89.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2023-09-27 17:48:58.432774 89.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2023-09-27 17:48:58.432774 89.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2023-09-27 17:48:58.432774 89.97% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000 2023-09-27 17:48:58.432774 89.97% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/+33247927051@62.192.27.242 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2023-09-27 17:48:58.432774 89.97% [DEBUG] switch_core_codec.c:111 sofia/default/+33247927051@62.192.27.242 Original read codec set to PCMA:8 2023-09-27 17:48:58.432774 89.97% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000 2023-09-27 17:48:58.432774 89.97% [DEBUG] switch_core_media.c:5973 sofia/default/+33247927051@62.192.27.242 Set 2833 dtmf send payload to 101 recv payload to 101 2023-09-27 17:48:58.432774 89.97% [DEBUG] sofia.c:7933 (sofia/default/+33247927051@62.192.27.242) State Change CS_NEW -> CS_INIT 2023-09-27 17:48:58.432774 89.97% [DEBUG] switch_core_state_machine.c:600 (sofia/default/+33247927051@62.192.27.242) State NEW 2023-09-27 17:48:58.432774 89.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+33247927051@62.192.27.242) Running State Change CS_INIT (Cur 167 Tot 3937682) 2023-09-27 17:48:58.432774 89.97% [DEBUG] switch_core_state_machine.c:624 (sofia/default/+33247927051@62.192.27.242) State INIT 2023-09-27 17:48:58.432774 89.97% [DEBUG] mod_sofia.c:97 sofia/default/+33247927051@62.192.27.242 SOFIA INIT 2023-09-27 17:48:58.432774 89.97% [DEBUG] switch_core_state_machine.c:40 sofia/default/+33247927051@62.192.27.242 Standard INIT 2023-09-27 17:48:58.432774 89.97% [DEBUG] switch_core_state_machine.c:48 (sofia/default/+33247927051@62.192.27.242) State Change CS_INIT -> CS_ROUTING 2023-09-27 17:48:58.432774 89.97% [DEBUG] switch_core_state_machine.c:624 (sofia/default/+33247927051@62.192.27.242) State INIT going to sleep 2023-09-27 17:48:58.432774 89.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+33247927051@62.192.27.242) Running State Change CS_ROUTING (Cur 167 Tot 3937682) 2023-09-27 17:48:58.432774 89.97% [DEBUG] switch_channel.c:2380 (sofia/default/+33247927051@62.192.27.242) Callstate Change DOWN -> RINGING 2023-09-27 17:48:58.432774 89.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/+33247927051@62.192.27.242) State ROUTING 2023-09-27 17:48:58.432774 89.97% [DEBUG] mod_sofia.c:158 sofia/default/+33247927051@62.192.27.242 SOFIA ROUTING 2023-09-27 17:48:58.432774 89.97% [DEBUG] switch_core_state_machine.c:230 sofia/default/+33247927051@62.192.27.242 Standard ROUTING 2023-09-27 17:48:58.432774 89.97% [INFO] mod_dialplan_xml.c:639 Processing +33247927051 <+33140880055>->+33359838148 in context default 2023-09-27 17:48:58.432774 89.97% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL 2023-09-27 17:48:58.432774 89.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2023-09-27 17:48:58.432774 89.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code') 2023-09-27 17:48:58.452765 89.97% [DEBUG] switch_ivr.c:632 sofia/default/33427469912@212.83.158.218:5160 Command Execute [depth=0] sched_hangup(+6000 normal_clearing) 023-09-27 17:49:10.932704 89.10% [DEBUG] switch_core_state_machine.c:600 (sofia/default/1756027767@163.172.224.31) State NEW 2023-09-27 17:49:11.052734 89.10% [DEBUG] switch_ivr.c:632 sofia/default/33427469912@212.83.158.218:5160 Command Execute [depth=0] playback(local_stream://moh) EXECUTE [depth=0] sofia/default/33427469912@212.83.158.218:5160 playback(local_stream://moh)