2024-06-12 11:47:30.234092 96.20% [NOTICE] switch_channel.c:1142 New Channel sofia/default/8032007428@102.221.16.146 [016602e6-e54c-41f8-90fe-d16e19c54464]
2024-06-12 11:47:30.234092 96.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8032007428@102.221.16.146) Running State Change CS_NEW (Cur 1 Tot 71)
2024-06-12 11:47:30.234092 96.20% [INFO] sofia.c:10459 sofia/default/8032007428@102.221.16.146 receiving invite from 102.221.16.146:5060 version: 1.10.10-release 64bit call-id: 76d8d3ce-bf5593f-61e03-7f0239f8f408-9210dd66-13c7-764
2024-06-12 11:47:30.234092 96.20% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 102.221.16.146:0.
2024-06-12 11:47:30.234092 96.20% [DEBUG] sofia.c:10582 IP 102.221.16.146 Approved by acl "default[]". Access Granted.
2024-06-12 11:47:30.234092 96.20% [DEBUG] sofia.c:7493 Channel sofia/default/8032007428@102.221.16.146 entering state [received][100]
2024-06-12 11:47:30.234092 96.20% [DEBUG] sofia.c:7503 Remote SDP:
v=0
o=- 216142 16142 IN IP4 102.221.16.147
s=Cataleya
c=IN IP4 102.221.16.147
t=0 0
a=sendrecv
m=audio 36550 RTP/AVP 8 0 96 97 100 101 18
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:96 AMR/8000
a=fmtp:96 mode-set=0,2,4,7;mode-change-period=2;mode-change-capability=2;mode-change-neighbor=1;max-red=0
a=rtpmap:97 telephone-event/8000
a=fmtp:97 0-15
a=rtpmap:100 AMR/8000
a=fmtp:100 mode-set=0,2,4,7;mode-change-period=2;mode-change-capability=2;mode-change-neighbor=1;max-red=0
a=rtpmap:101 AMR/8000
a=fmtp:101 mode-set=0,2,4,7;mode-change-period=2;mode-change-capability=2;mode-change-neighbor=1;max-red=0
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=maxptime:40
2024-06-12 11:47:30.234092 96.20% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:40:64000:1]/[PCMA:8:8000:20:64000:1]
2024-06-12 11:47:30.234092 96.20% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2024-06-12 11:47:30.234092 96.20% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:40:64000:1]/[PCMU:0:8000:20:64000:1]
2024-06-12 11:47:30.234092 96.20% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:40:64000:1]/[PCMA:8:8000:20:64000:1]
2024-06-12 11:47:30.234092 96.20% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:40:64000:1]/[PCMU:0:8000:20:64000:1]
2024-06-12 11:47:30.234092 96.20% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2024-06-12 11:47:30.234092 96.20% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [AMR:96:8000:40:0:1]/[PCMA:8:8000:20:64000:1]
2024-06-12 11:47:30.234092 96.20% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [AMR:96:8000:40:0:1]/[PCMU:0:8000:20:64000:1]
2024-06-12 11:47:30.234092 96.20% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 97@8000
2024-06-12 11:47:30.234092 96.20% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [AMR:100:8000:40:0:1]/[PCMA:8:8000:20:64000:1]
2024-06-12 11:47:30.234092 96.20% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [AMR:100:8000:40:0:1]/[PCMU:0:8000:20:64000:1]
2024-06-12 11:47:30.234092 96.20% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [AMR:101:8000:40:0:1]/[PCMA:8:8000:20:64000:1]
2024-06-12 11:47:30.234092 96.20% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [AMR:101:8000:40:0:1]/[PCMU:0:8000:20:64000:1]
2024-06-12 11:47:30.234092 96.20% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G729:18:8000:40:8000:1]/[PCMA:8:8000:20:64000:1]
2024-06-12 11:47:30.234092 96.20% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G729:18:8000:40:8000:1]/[PCMU:0:8000:20:64000:1]
2024-06-12 11:47:30.234092 96.20% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/8032007428@102.221.16.146 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2024-06-12 11:47:30.234092 96.20% [DEBUG] switch_core_codec.c:111 sofia/default/8032007428@102.221.16.146 Original read codec set to PCMA:8
2024-06-12 11:47:30.234092 96.20% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 97@8000
2024-06-12 11:47:30.234092 96.20% [DEBUG] switch_core_media.c:5856 sofia/default/8032007428@102.221.16.146 Set 2833 dtmf send payload to 97 recv payload to 97
2024-06-12 11:47:30.234092 96.20% [DEBUG] sofia.c:7927 (sofia/default/8032007428@102.221.16.146) State Change CS_NEW -> CS_INIT
2024-06-12 11:47:30.234092 96.20% [DEBUG] switch_core_state_machine.c:600 (sofia/default/8032007428@102.221.16.146) State NEW
2024-06-12 11:47:30.234092 96.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8032007428@102.221.16.146) Running State Change CS_INIT (Cur 1 Tot 71)
2024-06-12 11:47:30.234092 96.20% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8032007428@102.221.16.146) State INIT
2024-06-12 11:47:30.234092 96.20% [DEBUG] mod_sofia.c:97 sofia/default/8032007428@102.221.16.146 SOFIA INIT
2024-06-12 11:47:30.234092 96.20% [DEBUG] switch_core_state_machine.c:40 sofia/default/8032007428@102.221.16.146 Standard INIT
2024-06-12 11:47:30.234092 96.20% [DEBUG] switch_core_state_machine.c:48 (sofia/default/8032007428@102.221.16.146) State Change CS_INIT -> CS_ROUTING
2024-06-12 11:47:30.234092 96.20% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8032007428@102.221.16.146) State INIT going to sleep
2024-06-12 11:47:30.234092 96.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8032007428@102.221.16.146) Running State Change CS_ROUTING (Cur 1 Tot 71)
2024-06-12 11:47:30.234092 96.20% [DEBUG] switch_channel.c:2399 (sofia/default/8032007428@102.221.16.146) Callstate Change DOWN -> RINGING
2024-06-12 11:47:30.234092 96.20% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8032007428@102.221.16.146) State ROUTING
2024-06-12 11:47:30.234092 96.20% [DEBUG] mod_sofia.c:158 sofia/default/8032007428@102.221.16.146 SOFIA ROUTING
2024-06-12 11:47:30.234092 96.20% [DEBUG] switch_core_state_machine.c:230 sofia/default/8032007428@102.221.16.146 Standard ROUTING
2024-06-12 11:47:30.234092 96.20% [INFO] mod_dialplan_xml.c:639 Processing 8032007428 <8032007428>->07001340001 in context default
2024-06-12 11:47:30.254098 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
2024-06-12 11:47:30.254098 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2024-06-12 11:47:30.254098 96.20% [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')
2024-06-12 11:47:30.254098 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-06-12 11:47:30.254098 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2024-06-12 11:47:30.254098 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 07001340001
2024-06-12 11:47:30.254098 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '07001340001' limit 1
2024-06-12 11:47:30.254098 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '07001340001' AND status=0 limit 1
2024-06-12 11:47:30.254098 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '07001340001' and status=0 LIMIT 1
2024-06-12 11:47:30.254098 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERnobody
2024-06-12 11:47:30.254098 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-06-12 11:47:30.254098 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = '34.142.50.16' limit 1
2024-06-12 11:47:30.254098 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 8032007428 / 8032007428
2024-06-12 11:47:30.254098 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 40001
2024-06-12 11:47:30.254098 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 070013 AND status=0 limit 1
2024-06-12 11:47:30.254098 96.20% [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,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="07001340001" LIMIT 1
2024-06-12 11:47:30.254098 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-06-12 11:47:30.254098 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
2024-06-12 11:47:30.254098 96.20% [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("102.221.16.146") 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 "07001340001" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
2024-06-12 11:47:30.254098 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 7781082577]
2024-06-12 11:47:30.254098 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "7781082577" OR id = "7781082577") AND deleted = 0 limit 1
2024-06-12 11:47:30.274107 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =6
2024-06-12 11:47:30.274107 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="07001340001" AND (accountid = 0 OR status = 1) LIMIT 1
2024-06-12 11:47:30.274107 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
2024-06-12 11:47:30.274107 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 6
2024-06-12 11:47:30.274107 96.20% [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 = '^07001340001.*' OR patterns = '^0700134000.*' OR patterns = '^070013400.*' OR patterns = '^07001340.*' OR patterns = '^0700134.*' OR patterns = '^070013.*' OR patterns = '^07001.*' OR patterns = '^0700.*' OR patterns = '^070.*' OR patterns = '^07.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 6 ORDER BY LENGTH(PKGPTR.patterns) DESC
2024-06-12 11:47:30.274107 96.20% [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 ="07001340001" AND A.accountid = '5' limit 1
2024-06-12 11:47:30.274107 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 07001340001
2024-06-12 11:47:30.274107 96.20% [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,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="07001340001" LIMIT 1
2024-06-12 11:47:30.274107 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-06-12 11:47:30.274107 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
2024-06-12 11:47:30.274107 96.20% [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 = '07001340001' OR number = '0700134000' OR number = '070013400' OR number = '07001340' OR number = '0700134' OR number = '070013' OR number = '07001' OR number = '0700' OR number = '070' OR number = '07' OR number = '0' OR number ='--') OR (number = '07001340001*' OR number = '0700134000*' OR number = '070013400*' OR number = '07001340*' OR number = '0700134*' OR number = '070013*' OR number = '07001*' OR number = '0700*' OR number = '070*' OR number = '07*' OR number = '0*' OR number ='--') OR (number = '8032007428' OR number = '803200742' OR number = '80320074' OR number = '8032007' OR number = '803200' OR number = '80320' OR number = '8032' OR number = '803' OR number = '80' OR number = '8' OR number ='--') OR (number = '8032007428*' OR number = '803200742*' OR number = '80320074*' OR number = '8032007*' OR number = '803200*' OR number = '80320*' OR number = '8032*' OR number = '803*' OR number = '80*' OR number = '8*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2024-06-12 11:47:30.274107 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2024-06-12 11:47:30.274107 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '07001340001' OR routing_prefix = '0700134000' OR routing_prefix = '070013400' OR routing_prefix = '07001340' OR routing_prefix = '0700134' OR routing_prefix = '070013' OR routing_prefix = '07001' OR routing_prefix = '0700' OR routing_prefix = '070' OR routing_prefix = '07' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2024-06-12 11:47:30.274107 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2024-06-12 11:47:30.274107 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 5
2024-06-12 11:47:30.274107 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 7781082577
2024-06-12 11:47:30.274107 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =6
2024-06-12 11:47:30.294099 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 138.2066
2024-06-12 11:47:30.294099 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2024-06-12 11:47:30.294099 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 6
2024-06-12 11:47:30.294099 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2024-06-12 11:47:30.294099 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2024-06-12 11:47:30.294099 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 6 AND status = 0
2024-06-12 11:47:30.294099 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
2024-06-12 11:47:30.294099 96.20% [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,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="07001340001" LIMIT 1
2024-06-12 11:47:30.294099 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-06-12 11:47:30.294099 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 6 and status = 0 limit 1
2024-06-12 11:47:30.294099 96.20% [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,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="07001340001" LIMIT 1
2024-06-12 11:47:30.294099 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-06-12 11:47:30.294099 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound
2024-06-12 11:47:30.294099 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2024-06-12 11:47:30.294099 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 20001
2024-06-12 11:47:30.294099 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2024-06-12 11:47:30.294099 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2024-06-12 11:47:30.294099 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 12.55000
2024-06-12 11:47:30.294099 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Nigeria Nigeria
2024-06-12 11:47:30.294099 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 141
2024-06-12 11:47:30.294099 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 5
2024-06-12 11:47:30.294099 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2024-06-12 11:47:30.294099 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =6
2024-06-12 11:47:30.294099 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your138.2066 balance Accountid 5 !!!
2024-06-12 11:47:30.294099 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 11.012478087649 minutes
2024-06-12 11:47:30.294099 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
2024-06-12 11:47:30.294099 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
2024-06-12 11:47:30.294099 96.20% [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 = 5 AND status=0 LIMIT 1
2024-06-12 11:47:30.294099 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "6" OR number = "6") AND deleted = 0 limit 1
2024-06-12 11:47:30.294099 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =6
2024-06-12 11:47:30.314105 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:5
2024-06-12 11:47:30.314105 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:5
2024-06-12 11:47:30.314105 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 5
2024-06-12 11:47:30.314105 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 6 limit 1
2024-06-12 11:47:30.314105 96.20% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : zainab2.voice.intarvas.com
2024-06-12 11:47:30.314105 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 11.012478087649
2024-06-12 11:47:30.314105 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = 'nobody' and status = 0 limit 1
2024-06-12 11:47:30.314105 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-06-12 11:47:30.314105 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2024-06-12 11:47:30.314105 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
2024-06-12 11:47:30.314105 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "08032393088" AND accounts.status = 0
2024-06-12 11:47:30.314105 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 6 limit 1
2024-06-12 11:47:30.314105 96.20% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : zainab2.voice.intarvas.com
2024-06-12 11:47:30.314105 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_4
2024-06-12 11:47:30.314105 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="07001340001">
<condition field="destination_number" expression="07001340001">
<action application="set" data="effective_destination_number=07001340001"/>
<action application="set" data="execute_on_answer_1=sched_hangup +660.74868525896 normal_clearing"/>
<action application="set" data="notify_flag=0"/>
<action application="set" data="notify_credit_limit=5.00000"/>
<action application="set" data="type=3"/>
<action application="set" data="callstart=2024-06-12 11:47:30"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=5"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=3"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=inbound"/>
<action application="set" data="accountname=Test"/>
<action application="set" data="origination_rates_did=ID:20001|CODE:^07001340001.*|DESTINATION:Nigeria Nigeria|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:12.55000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:141|ACCID:5"/>
<action application="set" data="origination_rates=0"/>
<action application="set" data="original_caller_id_name=8032007428"/>
<action application="set" data="original_caller_id_number=8032007428"/>
<action application="set" data="effective_caller_id_name=8032007428"/>
<action application="set" data="effective_caller_id_number=8032007428"/>
<action application="set" data="receiver_accid=6"/>
<action application="export" data="domain_name=zainab2.voice.intarvas.com"/>
<action application="export" data="sip_to_host=zainab2.voice.intarvas.com"/>
<action application="export" data="presence_data=x|||Regulator(7781082577)|||^07001340001.* // Nigeria Nigeria // 12.55000|||||||||DID|||102.221.16.146"/>
<action application="export" data="call_type=4"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="accountcode=9512008074"/>
<action application="set" data="caller_did_account_id=5"/>
<action application="set" data="did_number=07001340001"/>
<action application="set" data="did_init_inc=60"/>
<action application="set" data="did_inc=60"/>
<action application="set" data="did_cost=12.55000"/>
<action application="set" data="did_connectcost=0.00000"/>
<action application="set" data="origination_rates_did=0"/>
<action application="set" data="did_id=20001"/>
<action application="transfer" data="08032393088 XML default"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/8032007428@102.221.16.146 parsing [default->07001340001] continue=false
Dialplan: sofia/default/8032007428@102.221.16.146 Regex (PASS) [07001340001] destination_number(07001340001) =~ /07001340001/ break=on-false
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(effective_destination_number=07001340001)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(execute_on_answer_1=sched_hangup +660.74868525896 normal_clearing)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(notify_flag=0)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(notify_credit_limit=5.00000)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(type=3)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(callstart=2024-06-12 11:47:30)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(account_id=5)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(parent_id=0)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(entity_id=3)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(call_processed=internal)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(call_direction=inbound)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(accountname=Test)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(origination_rates_did=ID:20001|CODE:^07001340001.*|DESTINATION:Nigeria Nigeria|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:12.55000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:141|ACCID:5)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(origination_rates=0)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(original_caller_id_name=8032007428)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(original_caller_id_number=8032007428)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(effective_caller_id_name=8032007428)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(effective_caller_id_number=8032007428)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(receiver_accid=6)
Dialplan: sofia/default/8032007428@102.221.16.146 Action export(domain_name=zainab2.voice.intarvas.com)
Dialplan: sofia/default/8032007428@102.221.16.146 Action export(sip_to_host=zainab2.voice.intarvas.com)
Dialplan: sofia/default/8032007428@102.221.16.146 Action export(presence_data=x|||Regulator(7781082577)|||^07001340001.* // Nigeria Nigeria // 12.55000|||||||||DID|||102.221.16.146)
Dialplan: sofia/default/8032007428@102.221.16.146 Action export(call_type=4)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(calltype=STANDARD)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(accountcode=9512008074)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(caller_did_account_id=5)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(did_number=07001340001)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(did_init_inc=60)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(did_inc=60)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(did_cost=12.55000)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(did_connectcost=0.00000)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(origination_rates_did=0)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(did_id=20001)
Dialplan: sofia/default/8032007428@102.221.16.146 Action transfer(08032393088 XML default)
2024-06-12 11:47:30.314105 96.20% [DEBUG] switch_core_state_machine.c:281 (sofia/default/8032007428@102.221.16.146) State Change CS_ROUTING -> CS_EXECUTE
2024-06-12 11:47:30.314105 96.20% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8032007428@102.221.16.146) State ROUTING going to sleep
2024-06-12 11:47:30.314105 96.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8032007428@102.221.16.146) Running State Change CS_EXECUTE (Cur 1 Tot 71)
2024-06-12 11:47:30.314105 96.20% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8032007428@102.221.16.146) State EXECUTE
2024-06-12 11:47:30.314105 96.20% [DEBUG] mod_sofia.c:213 sofia/default/8032007428@102.221.16.146 SOFIA EXECUTE
2024-06-12 11:47:30.314105 96.20% [DEBUG] switch_core_state_machine.c:323 sofia/default/8032007428@102.221.16.146 Standard EXECUTE
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(effective_destination_number=07001340001)
2024-06-12 11:47:30.314105 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [effective_destination_number]=[07001340001]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(execute_on_answer_1=sched_hangup +660.74868525896 normal_clearing)
2024-06-12 11:47:30.314105 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [execute_on_answer_1]=[sched_hangup +660.74868525896 normal_clearing]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(notify_flag=0)
2024-06-12 11:47:30.314105 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [notify_flag]=[0]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(notify_credit_limit=5.00000)
2024-06-12 11:47:30.314105 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [notify_credit_limit]=[5.00000]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(type=3)
2024-06-12 11:47:30.314105 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [type]=[3]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(callstart=2024-06-12 11:47:30)
2024-06-12 11:47:30.314105 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [callstart]=[2024-06-12 11:47:30]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(hangup_after_bridge=true)
2024-06-12 11:47:30.314105 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(continue_on_fail=TRUE)
2024-06-12 11:47:30.314105 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(account_id=5)
2024-06-12 11:47:30.314105 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [account_id]=[5]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(parent_id=0)
2024-06-12 11:47:30.314105 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(entity_id=3)
2024-06-12 11:47:30.314105 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [entity_id]=[3]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(call_processed=internal)
2024-06-12 11:47:30.314105 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(call_direction=inbound)
2024-06-12 11:47:30.314105 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [call_direction]=[inbound]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(accountname=Test)
2024-06-12 11:47:30.314105 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [accountname]=[Test]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(origination_rates_did=ID:20001|CODE:^07001340001.*|DESTINATION:Nigeria Nigeria|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:12.55000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:141|ACCID:5)
2024-06-12 11:47:30.314105 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [origination_rates_did]=[ID:20001|CODE:^07001340001.*|DESTINATION:Nigeria Nigeria|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:12.55000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:141|ACCID:5]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(origination_rates=0)
2024-06-12 11:47:30.314105 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [origination_rates]=[0]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(original_caller_id_name=8032007428)
2024-06-12 11:47:30.314105 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [original_caller_id_name]=[8032007428]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(original_caller_id_number=8032007428)
2024-06-12 11:47:30.314105 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [original_caller_id_number]=[8032007428]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(effective_caller_id_name=8032007428)
2024-06-12 11:47:30.314105 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [effective_caller_id_name]=[8032007428]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(effective_caller_id_number=8032007428)
2024-06-12 11:47:30.314105 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [effective_caller_id_number]=[8032007428]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(receiver_accid=6)
2024-06-12 11:47:30.314105 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [receiver_accid]=[6]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 export(domain_name=zainab2.voice.intarvas.com)
2024-06-12 11:47:30.314105 96.20% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [domain_name]=[zainab2.voice.intarvas.com]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 export(sip_to_host=zainab2.voice.intarvas.com)
2024-06-12 11:47:30.314105 96.20% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [sip_to_host]=[zainab2.voice.intarvas.com]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 export(presence_data=x|||Regulator(7781082577)|||^07001340001.* // Nigeria Nigeria // 12.55000|||||||||DID|||102.221.16.146)
2024-06-12 11:47:30.314105 96.20% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[x|||Regulator(7781082577)|||^07001340001.* // Nigeria Nigeria // 12.55000|||||||||DID|||102.221.16.146]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 export(call_type=4)
2024-06-12 11:47:30.314105 96.20% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [call_type]=[4]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(calltype=STANDARD)
2024-06-12 11:47:30.314105 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(accountcode=9512008074)
2024-06-12 11:47:30.314105 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [accountcode]=[9512008074]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(caller_did_account_id=5)
2024-06-12 11:47:30.314105 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [caller_did_account_id]=[5]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(did_number=07001340001)
2024-06-12 11:47:30.314105 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [did_number]=[07001340001]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(did_init_inc=60)
2024-06-12 11:47:30.314105 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [did_init_inc]=[60]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(did_inc=60)
2024-06-12 11:47:30.314105 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [did_inc]=[60]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(did_cost=12.55000)
2024-06-12 11:47:30.314105 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [did_cost]=[12.55000]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(did_connectcost=0.00000)
2024-06-12 11:47:30.314105 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [did_connectcost]=[0.00000]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(origination_rates_did=0)
2024-06-12 11:47:30.314105 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [origination_rates_did]=[0]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(did_id=20001)
2024-06-12 11:47:30.314105 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [did_id]=[20001]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 transfer(08032393088 XML default)
2024-06-12 11:47:30.314105 96.20% [DEBUG] switch_ivr.c:2288 (sofia/default/8032007428@102.221.16.146) State Change CS_EXECUTE -> CS_ROUTING
2024-06-12 11:47:30.314105 96.20% [NOTICE] switch_ivr.c:2295 Transfer sofia/default/8032007428@102.221.16.146 to XML[08032393088@default]
2024-06-12 11:47:30.314105 96.20% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8032007428@102.221.16.146) State EXECUTE going to sleep
2024-06-12 11:47:30.314105 96.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8032007428@102.221.16.146) Running State Change CS_ROUTING (Cur 1 Tot 71)
2024-06-12 11:47:30.314105 96.20% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8032007428@102.221.16.146) State ROUTING
2024-06-12 11:47:30.314105 96.20% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
2024-06-12 11:47:30.314105 96.20% [DEBUG] mod_sofia.c:158 sofia/default/8032007428@102.221.16.146 SOFIA ROUTING
2024-06-12 11:47:30.314105 96.20% [DEBUG] switch_core_state_machine.c:230 sofia/default/8032007428@102.221.16.146 Standard ROUTING
2024-06-12 11:47:30.314105 96.20% [INFO] mod_dialplan_xml.c:639 Processing 8032007428 <8032007428>->08032393088 in context default
2024-06-12 11:47:30.334092 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
2024-06-12 11:47:30.334092 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2024-06-12 11:47:30.334092 96.20% [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')
2024-06-12 11:47:30.354090 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-06-12 11:47:30.354090 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2024-06-12 11:47:30.354090 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 08032393088
2024-06-12 11:47:30.354090 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '08032393088' limit 1
2024-06-12 11:47:30.354090 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '08032393088' AND status=0 limit 1
2024-06-12 11:47:30.354090 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '08032393088' and status=0 LIMIT 1
2024-06-12 11:47:30.354090 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERnobody
2024-06-12 11:47:30.354090 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-06-12 11:47:30.354090 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'zainab2.voice.intarvas.com' limit 1
2024-06-12 11:47:30.354090 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '6' and username = '08032393088' limit 1
2024-06-12 11:47:30.354090 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 8032007428 / 8032007428
2024-06-12 11:47:30.354090 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 93088
2024-06-12 11:47:30.354090 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 080323 AND status=0 limit 1
2024-06-12 11:47:30.374100 96.20% [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,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="08032393088" LIMIT 1
2024-06-12 11:47:30.374100 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-06-12 11:47:30.374100 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="08032393088" AND domains.domain="zainab2.voice.intarvas.com" limit 1
2024-06-12 11:47:30.374100 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2024-06-12 11:47:30.374100 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9512008074]
2024-06-12 11:47:30.374100 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "9512008074" OR id = "9512008074") AND deleted = 0 limit 1
2024-06-12 11:47:30.394102 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^08032393088.*' OR blocked_patterns = '^0803239308.*' OR blocked_patterns = '^080323930.*' OR blocked_patterns = '^08032393.*' OR blocked_patterns = '^0803239.*' OR blocked_patterns = '^080323.*' OR blocked_patterns = '^08032.*' OR blocked_patterns = '^0803.*' OR blocked_patterns = '^080.*' OR blocked_patterns = '^08.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 6 limit 1
2024-06-12 11:47:30.394102 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="08032393088" AND (accountid = 0 OR status = 1) LIMIT 1
2024-06-12 11:47:30.394102 96.20% [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 = '^08032393088.*' OR patterns = '^0803239308.*' OR patterns = '^080323930.*' OR patterns = '^08032393.*' OR patterns = '^0803239.*' OR patterns = '^080323.*' OR patterns = '^08032.*' OR patterns = '^0803.*' OR patterns = '^080.*' OR patterns = '^08.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 6 ORDER BY LENGTH(PKGPTR.patterns) DESC
2024-06-12 11:47:30.394102 96.20% [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 ="08032393088" AND A.accountid = '6' limit 1
2024-06-12 11:47:30.394102 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 08032393088
2024-06-12 11:47:30.394102 96.20% [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,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="08032393088" LIMIT 1
2024-06-12 11:47:30.394102 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-06-12 11:47:30.394102 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="08032393088" AND domains.domain="zainab2.voice.intarvas.com" limit 1
2024-06-12 11:47:30.394102 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
2024-06-12 11:47:30.394102 96.20% [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 = '08032393088' OR number = '0803239308' OR number = '080323930' OR number = '08032393' OR number = '0803239' OR number = '080323' OR number = '08032' OR number = '0803' OR number = '080' OR number = '08' OR number = '0' OR number ='--') OR (number = '08032393088*' OR number = '0803239308*' OR number = '080323930*' OR number = '08032393*' OR number = '0803239*' OR number = '080323*' OR number = '08032*' OR number = '0803*' OR number = '080*' OR number = '08*' OR number = '0*' OR number ='--') OR (number = '8032007428' OR number = '803200742' OR number = '80320074' OR number = '8032007' OR number = '803200' OR number = '80320' OR number = '8032' OR number = '803' OR number = '80' OR number = '8' OR number ='--') OR (number = '8032007428*' OR number = '803200742*' OR number = '80320074*' OR number = '8032007*' OR number = '803200*' OR number = '80320*' OR number = '8032*' OR number = '803*' OR number = '80*' OR number = '8*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2024-06-12 11:47:30.394102 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2024-06-12 11:47:30.394102 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '08032393088' OR routing_prefix = '0803239308' OR routing_prefix = '080323930' OR routing_prefix = '08032393' OR routing_prefix = '0803239' OR routing_prefix = '080323' OR routing_prefix = '08032' OR routing_prefix = '0803' OR routing_prefix = '080' OR routing_prefix = '08' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2024-06-12 11:47:30.394102 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2024-06-12 11:47:30.394102 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 6
2024-06-12 11:47:30.394102 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9512008074
2024-06-12 11:47:30.394102 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 138.2066
2024-06-12 11:47:30.394102 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2024-06-12 11:47:30.394102 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 6
2024-06-12 11:47:30.394102 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2024-06-12 11:47:30.394102 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2024-06-12 11:47:30.394102 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 6 AND status = 0
2024-06-12 11:47:30.394102 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2024-06-12 11:47:30.394102 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 6 AND status = 0
2024-06-12 11:47:30.394102 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^08032393088.*' OR pattern = '^0803239308.*' OR pattern = '^080323930.*' OR pattern = '^08032393.*' OR pattern = '^0803239.*' OR pattern = '^080323.*' OR pattern = '^08032.*' OR pattern = '^0803.*' OR pattern = '^080.*' OR pattern = '^08.*' OR pattern = '^0.*' OR pattern ='--') AND (caller_id_pattern = '^8032007428.*' OR caller_id_pattern = '^803200742.*' OR caller_id_pattern = '^80320074.*' OR caller_id_pattern = '^8032007.*' OR caller_id_pattern = '^803200.*' OR caller_id_pattern = '^80320.*' OR caller_id_pattern = '^8032.*' OR caller_id_pattern = '^803.*' OR caller_id_pattern = '^80.*' OR caller_id_pattern = '^8.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 6 OR accountid=6) ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2024-06-12 11:47:30.394102 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2024-06-12 11:47:30.394102 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2024-06-12 11:47:30.394102 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 575
2024-06-12 11:47:30.394102 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
2024-06-12 11:47:30.394102 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2024-06-12 11:47:30.394102 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 12.5500000000
2024-06-12 11:47:30.394102 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Nigeria
2024-06-12 11:47:30.394102 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 141
2024-06-12 11:47:30.394102 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 6
2024-06-12 11:47:30.394102 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
2024-06-12 11:47:30.394102 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2024-06-12 11:47:30.394102 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2024-06-12 11:47:30.394102 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your138.2066 balance Accountid 6 !!!
2024-06-12 11:47:30.394102 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 5.5062390438247 minutes
2024-06-12 11:47:30.394102 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
2024-06-12 11:47:30.394102 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=6 ORDER by id asc
2024-06-12 11:47:30.394102 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^08032393088.*' OR pattern = '^0803239308.*' OR pattern = '^080323930.*' OR pattern = '^08032393.*' OR pattern = '^0803239.*' OR pattern = '^080323.*' OR pattern = '^08032.*' OR pattern = '^0803.*' OR pattern = '^080.*' OR pattern = '^08.*' OR pattern = '^0.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (1) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
2024-06-12 11:47:30.414102 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2024-06-12 11:47:30.414102 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 245
2024-06-12 11:47:30.414102 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^0803.*
2024-06-12 11:47:30.414102 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Nigeria
2024-06-12 11:47:30.414102 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
2024-06-12 11:47:30.414102 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2024-06-12 11:47:30.414102 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^0803.*
2024-06-12 11:47:30.414102 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip : +234
2024-06-12 11:47:30.414102 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend : 0
2024-06-12 11:47:30.414102 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 1
2024-06-12 11:47:30.414102 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : CataleyaSBC
2024-06-12 11:47:30.414102 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2024-06-12 11:47:30.414102 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : CataleyaSBC
2024-06-12 11:47:30.414102 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 5
2024-06-12 11:47:30.414102 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2024-06-12 11:47:30.414102 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2024-06-12 11:47:30.414102 96.20% [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
2024-06-12 11:47:30.414102 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 5.5062390438247
2024-06-12 11:47:30.414102 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = 'nobody' and status = 0 limit 1
2024-06-12 11:47:30.414102 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-06-12 11:47:30.414102 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2024-06-12 11:47:30.414102 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
2024-06-12 11:47:30.414102 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 6 AND status = 0
2024-06-12 11:47:30.414102 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 5) AND status=0 limit 1
2024-06-12 11:47:30.414102 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 1) AND status=0 limit 1
2024-06-12 11:47:30.414102 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :+234/0.....08032393088
2024-06-12 11:47:30.414102 96.20% [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,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="07001340001" LIMIT 1
2024-06-12 11:47:30.414102 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-06-12 11:47:30.414102 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DIDQUERY] Query :SELECT * FROM dids WHERE id ="20001" and status = 0 limit 1
2024-06-12 11:47:30.414102 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="08032393088">
<condition field="destination_number" expression="08032393088">
<action application="set" data="effective_destination_number=08032393088"/>
<action application="set" data="execute_on_answer_1=sched_hangup +330.37434262948 normal_clearing"/>
<action application="set" data="notify_flag=0"/>
<action application="set" data="notify_credit_limit=5.00000"/>
<action application="set" data="type=0"/>
<action application="set" data="callstart=2024-06-12 11:47:30"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=6"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=default"/>
<action application="set" data="origination_rates=ID:575|CODE:^0803.*|DESTINATION:Nigeria|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:12.5500000000|INC:1|INITIALBLOCK:1|RATEGROUP:6|MARKUP:0|CI:141|ACCID:6"/>
<action application="set" data="original_caller_id_name=8032007428"/>
<action application="set" data="original_caller_id_number=8032007428"/>
<action application="limit" data="db 9512008074 user_9512008074 5 "/>
<action application="limit" data="hash CPS_9512008074 CPS_user_9512008074 5/1 "/>
<action application="set" data="effective_caller_id_name=8032007428"/>
<action application="set" data="effective_caller_id_number=8032007428"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:245|CODE:^0803.*|DESTINATION:Nigeria|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:3.9000000000|INC:1|INITIALBLOCK:1|TRUNK:1|PROVIDER:5"/>
<action application="set" data="trunk_id=1"/>
<action application="set" data="provider_id=5"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="daily_call_credit_limit=0.00000"/>
<action application="set" data="monthly_call_credit_limit=0.00000"/>
<action application="set" data="daily_call_used_limit=0.00000"/>
<action application="set" data="monthly_call_used_limit=0.00000"/>
<action application="set" data="quality_trunk_seq=1"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=1"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=08032393088"/>
<action application="export" data="presence_data=x|||Zainab(9512008074)|||^0803.* // Nigeria // 12.5500000000 |||CataleyaSBC // ^0803.* // Nigeria // 3.9000000000 // trunk_id=1|||STD|||102.221.16.146"/>
<action application="bridge" data="{sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMU]sofia/gateway/CataleyaSBC/08032393088"/>
<action application="set" data="did_id=20001"/>
<action application="set" data="destination_number=08032393088"/>
<action application="set" data="leg_timeout=30"/>
<action application="set" data="call_type_vm_flag=1"/>
<action application="set" data="is_local_extension=0"/>
<action application="lua" data="did_call_forwarding.lua"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/8032007428@102.221.16.146 parsing [default->08032393088] continue=false
Dialplan: sofia/default/8032007428@102.221.16.146 Regex (PASS) [08032393088] destination_number(08032393088) =~ /08032393088/ break=on-false
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(effective_destination_number=08032393088)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(execute_on_answer_1=sched_hangup +330.37434262948 normal_clearing)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(notify_flag=0)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(notify_credit_limit=5.00000)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(type=0)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(callstart=2024-06-12 11:47:30)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(account_id=6)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(parent_id=0)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(entity_id=0)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(call_processed=internal)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(call_direction=outbound)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(accountname=default)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(origination_rates=ID:575|CODE:^0803.*|DESTINATION:Nigeria|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:12.5500000000|INC:1|INITIALBLOCK:1|RATEGROUP:6|MARKUP:0|CI:141|ACCID:6)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(original_caller_id_name=8032007428)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(original_caller_id_number=8032007428)
Dialplan: sofia/default/8032007428@102.221.16.146 Action limit(db 9512008074 user_9512008074 5 )
Dialplan: sofia/default/8032007428@102.221.16.146 Action limit(hash CPS_9512008074 CPS_user_9512008074 5/1 )
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(effective_caller_id_name=8032007428)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(effective_caller_id_number=8032007428)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(calltype=STANDARD)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(termination_rates=ID:245|CODE:^0803.*|DESTINATION:Nigeria|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:3.9000000000|INC:1|INITIALBLOCK:1|TRUNK:1|PROVIDER:5)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(trunk_id=1)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(provider_id=5)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(rate_flag=0)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(daily_call_credit_limit=0.00000)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(monthly_call_credit_limit=0.00000)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(daily_call_used_limit=0.00000)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(monthly_call_used_limit=0.00000)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(quality_trunk_seq=1)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(force_trunk_flag=0)
Dialplan: sofia/default/8032007428@102.221.16.146 Action export(presence_data=trunk_id=1)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(intcall=0)
Dialplan: sofia/default/8032007428@102.221.16.146 Action export(presence_id=08032393088)
Dialplan: sofia/default/8032007428@102.221.16.146 Action export(presence_data=x|||Zainab(9512008074)|||^0803.* // Nigeria // 12.5500000000 |||CataleyaSBC // ^0803.* // Nigeria // 3.9000000000 // trunk_id=1|||STD|||102.221.16.146)
Dialplan: sofia/default/8032007428@102.221.16.146 Action bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMU]sofia/gateway/CataleyaSBC/08032393088)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(did_id=20001)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(destination_number=08032393088)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(leg_timeout=30)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(call_type_vm_flag=1)
Dialplan: sofia/default/8032007428@102.221.16.146 Action set(is_local_extension=0)
Dialplan: sofia/default/8032007428@102.221.16.146 Action lua(did_call_forwarding.lua)
2024-06-12 11:47:30.414102 96.20% [DEBUG] switch_core_state_machine.c:281 (sofia/default/8032007428@102.221.16.146) State Change CS_ROUTING -> CS_EXECUTE
2024-06-12 11:47:30.414102 96.20% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8032007428@102.221.16.146) State ROUTING going to sleep
2024-06-12 11:47:30.414102 96.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8032007428@102.221.16.146) Running State Change CS_EXECUTE (Cur 1 Tot 71)
2024-06-12 11:47:30.414102 96.20% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8032007428@102.221.16.146) State EXECUTE
2024-06-12 11:47:30.414102 96.20% [DEBUG] mod_sofia.c:213 sofia/default/8032007428@102.221.16.146 SOFIA EXECUTE
2024-06-12 11:47:30.414102 96.20% [DEBUG] switch_core_state_machine.c:323 sofia/default/8032007428@102.221.16.146 Standard EXECUTE
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(effective_destination_number=08032393088)
2024-06-12 11:47:30.414102 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [effective_destination_number]=[08032393088]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(execute_on_answer_1=sched_hangup +330.37434262948 normal_clearing)
2024-06-12 11:47:30.414102 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [execute_on_answer_1]=[sched_hangup +330.37434262948 normal_clearing]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(notify_flag=0)
2024-06-12 11:47:30.414102 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [notify_flag]=[0]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(notify_credit_limit=5.00000)
2024-06-12 11:47:30.414102 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [notify_credit_limit]=[5.00000]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(type=0)
2024-06-12 11:47:30.414102 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [type]=[0]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(callstart=2024-06-12 11:47:30)
2024-06-12 11:47:30.414102 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [callstart]=[2024-06-12 11:47:30]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(hangup_after_bridge=true)
2024-06-12 11:47:30.414102 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(continue_on_fail=TRUE)
2024-06-12 11:47:30.414102 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(account_id=6)
2024-06-12 11:47:30.414102 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [account_id]=[6]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(parent_id=0)
2024-06-12 11:47:30.414102 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(entity_id=0)
2024-06-12 11:47:30.414102 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(call_processed=internal)
2024-06-12 11:47:30.414102 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(call_direction=outbound)
2024-06-12 11:47:30.414102 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(accountname=default)
2024-06-12 11:47:30.414102 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [accountname]=[default]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(origination_rates=ID:575|CODE:^0803.*|DESTINATION:Nigeria|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:12.5500000000|INC:1|INITIALBLOCK:1|RATEGROUP:6|MARKUP:0|CI:141|ACCID:6)
2024-06-12 11:47:30.414102 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [origination_rates]=[ID:575|CODE:^0803.*|DESTINATION:Nigeria|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:12.5500000000|INC:1|INITIALBLOCK:1|RATEGROUP:6|MARKUP:0|CI:141|ACCID:6]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(original_caller_id_name=8032007428)
2024-06-12 11:47:30.414102 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [original_caller_id_name]=[8032007428]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(original_caller_id_number=8032007428)
2024-06-12 11:47:30.414102 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [original_caller_id_number]=[8032007428]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 limit(db 9512008074 user_9512008074 5 )
2024-06-12 11:47:30.414102 96.20% [DEBUG] switch_limit.c:124 incr called: 9512008074_user_9512008074 max:5, interval:0
2024-06-12 11:47:30.414102 96.20% [DEBUG] mod_db.c:194 Usage for 9512008074_user_9512008074 is now 1/5
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 limit(hash CPS_9512008074 CPS_user_9512008074 5/1 )
2024-06-12 11:47:30.414102 96.20% [DEBUG] switch_limit.c:124 incr called: CPS_9512008074_CPS_user_9512008074 max:5, interval:1
2024-06-12 11:47:30.414102 96.20% [DEBUG] mod_hash.c:195 Usage for CPS_9512008074_CPS_user_9512008074 is now 1/5 for the last 1 seconds
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(effective_caller_id_name=8032007428)
2024-06-12 11:47:30.414102 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [effective_caller_id_name]=[8032007428]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(effective_caller_id_number=8032007428)
2024-06-12 11:47:30.414102 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [effective_caller_id_number]=[8032007428]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(calltype=STANDARD)
2024-06-12 11:47:30.414102 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(termination_rates=ID:245|CODE:^0803.*|DESTINATION:Nigeria|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:3.9000000000|INC:1|INITIALBLOCK:1|TRUNK:1|PROVIDER:5)
2024-06-12 11:47:30.414102 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [termination_rates]=[ID:245|CODE:^0803.*|DESTINATION:Nigeria|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:3.9000000000|INC:1|INITIALBLOCK:1|TRUNK:1|PROVIDER:5]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(trunk_id=1)
2024-06-12 11:47:30.414102 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [trunk_id]=[1]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(provider_id=5)
2024-06-12 11:47:30.414102 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [provider_id]=[5]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(rate_flag=0)
2024-06-12 11:47:30.414102 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [rate_flag]=[0]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(daily_call_credit_limit=0.00000)
2024-06-12 11:47:30.414102 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [daily_call_credit_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(monthly_call_credit_limit=0.00000)
2024-06-12 11:47:30.414102 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [monthly_call_credit_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(daily_call_used_limit=0.00000)
2024-06-12 11:47:30.414102 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [daily_call_used_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(monthly_call_used_limit=0.00000)
2024-06-12 11:47:30.414102 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [monthly_call_used_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(quality_trunk_seq=1)
2024-06-12 11:47:30.414102 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [quality_trunk_seq]=[1]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(force_trunk_flag=0)
2024-06-12 11:47:30.414102 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [force_trunk_flag]=[0]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 export(presence_data=trunk_id=1)
2024-06-12 11:47:30.414102 96.20% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[trunk_id=1]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(intcall=0)
2024-06-12 11:47:30.434095 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [intcall]=[0]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 export(presence_id=08032393088)
2024-06-12 11:47:30.434095 96.20% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_id]=[08032393088]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 export(presence_data=x|||Zainab(9512008074)|||^0803.* // Nigeria // 12.5500000000 |||CataleyaSBC // ^0803.* // Nigeria // 3.9000000000 // trunk_id=1|||STD|||102.221.16.146)
2024-06-12 11:47:30.434095 96.20% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[x|||Zainab(9512008074)|||^0803.* // Nigeria // 12.5500000000 |||CataleyaSBC // ^0803.* // Nigeria // 3.9000000000 // trunk_id=1|||STD|||102.221.16.146]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMU]sofia/gateway/CataleyaSBC/08032393088)
2024-06-12 11:47:30.434095 96.20% [DEBUG] switch_channel.c:1288 sofia/default/8032007428@102.221.16.146 EXPORTING[export_vars] [domain_name]=[zainab2.voice.intarvas.com] to event
2024-06-12 11:47:30.434095 96.20% [DEBUG] switch_channel.c:1288 sofia/default/8032007428@102.221.16.146 EXPORTING[export_vars] [sip_to_host]=[zainab2.voice.intarvas.com] to event
2024-06-12 11:47:30.434095 96.20% [DEBUG] switch_channel.c:1288 sofia/default/8032007428@102.221.16.146 EXPORTING[export_vars] [presence_data]=[x|||Zainab(9512008074)|||^0803.* // Nigeria // 12.5500000000 |||CataleyaSBC // ^0803.* // Nigeria // 3.9000000000 // trunk_id=1|||STD|||102.221.16.146] to event
2024-06-12 11:47:30.434095 96.20% [DEBUG] switch_channel.c:1288 sofia/default/8032007428@102.221.16.146 EXPORTING[export_vars] [call_type]=[4] to event
2024-06-12 11:47:30.434095 96.20% [DEBUG] switch_channel.c:1288 sofia/default/8032007428@102.221.16.146 EXPORTING[export_vars] [presence_data]=[x|||Zainab(9512008074)|||^0803.* // Nigeria // 12.5500000000 |||CataleyaSBC // ^0803.* // Nigeria // 3.9000000000 // trunk_id=1|||STD|||102.221.16.146] to event
2024-06-12 11:47:30.434095 96.20% [DEBUG] switch_channel.c:1288 sofia/default/8032007428@102.221.16.146 EXPORTING[export_vars] [presence_id]=[08032393088] to event
2024-06-12 11:47:30.434095 96.20% [DEBUG] switch_channel.c:1288 sofia/default/8032007428@102.221.16.146 EXPORTING[export_vars] [presence_data]=[x|||Zainab(9512008074)|||^0803.* // Nigeria // 12.5500000000 |||CataleyaSBC // ^0803.* // Nigeria // 3.9000000000 // trunk_id=1|||STD|||102.221.16.146] to event
2024-06-12 11:47:30.434095 96.20% [DEBUG] switch_ivr_originate.c:2297 Parsing global variables
2024-06-12 11:47:30.434095 96.20% [DEBUG] switch_ivr_originate.c:2859 Parsing session specific variables
2024-06-12 11:47:30.434095 96.20% [NOTICE] switch_channel.c:1142 New Channel sofia/default/08032393088 [99c8367a-3a72-4bcc-b72c-aa4bb2d9e115]
2024-06-12 11:47:30.434095 96.20% [DEBUG] mod_sofia.c:5110 (sofia/default/08032393088) State Change CS_NEW -> CS_INIT
2024-06-12 11:47:30.434095 96.20% [DEBUG] switch_ivr_originate.c:3167 sofia/default/08032393088 Setting leg timeout to 30
2024-06-12 11:47:30.434095 96.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/08032393088) Running State Change CS_INIT (Cur 2 Tot 72)
2024-06-12 11:47:30.434095 96.20% [DEBUG] switch_core_state_machine.c:624 (sofia/default/08032393088) State INIT
2024-06-12 11:47:30.434095 96.20% [DEBUG] mod_sofia.c:97 sofia/default/08032393088 SOFIA INIT
2024-06-12 11:47:30.434095 96.20% [INFO] sofia_glue.c:1659 sofia/default/08032393088 sending invite call-id: (null)
2024-06-12 11:47:30.434095 96.20% [DEBUG] sofia_glue.c:1662 sofia/default/08032393088 sending invite version: 1.10.10-release 64bit
Local SDP:
v=0
o=FreeSWITCH 1718163042 1718163043 IN IP4 34.142.50.16
s=FreeSWITCH
c=IN IP4 34.142.50.16
t=0 0
m=audio 29808 RTP/AVP 8 18 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2024-06-12 11:47:30.434095 96.20% [DEBUG] switch_core_state_machine.c:40 sofia/default/08032393088 Standard INIT
2024-06-12 11:47:30.434095 96.20% [DEBUG] switch_core_state_machine.c:48 (sofia/default/08032393088) State Change CS_INIT -> CS_ROUTING
2024-06-12 11:47:30.434095 96.20% [DEBUG] switch_core_state_machine.c:624 (sofia/default/08032393088) State INIT going to sleep
2024-06-12 11:47:30.434095 96.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/08032393088) Running State Change CS_ROUTING (Cur 2 Tot 72)
2024-06-12 11:47:30.434095 96.20% [DEBUG] sofia.c:7493 Channel sofia/default/08032393088 entering state [calling][0]
2024-06-12 11:47:30.434095 96.20% [DEBUG] switch_core_state_machine.c:640 (sofia/default/08032393088) State ROUTING
2024-06-12 11:47:30.434095 96.20% [DEBUG] mod_sofia.c:158 sofia/default/08032393088 SOFIA ROUTING
2024-06-12 11:47:30.434095 96.20% [DEBUG] switch_ivr_originate.c:67 (sofia/default/08032393088) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2024-06-12 11:47:30.434095 96.20% [DEBUG] switch_core_state_machine.c:640 (sofia/default/08032393088) State ROUTING going to sleep
2024-06-12 11:47:30.434095 96.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/08032393088) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 72)
2024-06-12 11:47:30.434095 96.20% [DEBUG] switch_core_state_machine.c:659 (sofia/default/08032393088) State CONSUME_MEDIA
2024-06-12 11:47:30.434095 96.20% [DEBUG] switch_core_state_machine.c:659 (sofia/default/08032393088) State CONSUME_MEDIA going to sleep
2024-06-12 11:47:30.694132 95.53% [DEBUG] sofia.c:6672 Remote Reason: 31
2024-06-12 11:47:30.694132 95.53% [DEBUG] sofia.c:7493 Channel sofia/default/08032393088 entering state [terminated][480]
2024-06-12 11:47:30.694132 95.53% [NOTICE] sofia.c:8735 Hangup sofia/default/08032393088 [CS_CONSUME_MEDIA] [NORMAL_UNSPECIFIED]
2024-06-12 11:47:30.694132 95.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/08032393088) Running State Change CS_HANGUP (Cur 2 Tot 72)
2024-06-12 11:47:30.694132 95.53% [DEBUG] switch_core_state_machine.c:844 (sofia/default/08032393088) Callstate Change DOWN -> HANGUP
2024-06-12 11:47:30.694132 95.53% [DEBUG] switch_core_state_machine.c:846 (sofia/default/08032393088) State HANGUP
2024-06-12 11:47:30.694132 95.53% [DEBUG] mod_sofia.c:469 Channel sofia/default/08032393088 hanging up, cause: NORMAL_UNSPECIFIED
2024-06-12 11:47:30.694132 95.53% [DEBUG] switch_core_state_machine.c:59 sofia/default/08032393088 Standard HANGUP, cause: NORMAL_UNSPECIFIED
2024-06-12 11:47:30.694132 95.53% [DEBUG] switch_core_state_machine.c:846 (sofia/default/08032393088) State HANGUP going to sleep
2024-06-12 11:47:30.694132 95.53% [DEBUG] switch_core_state_machine.c:616 (sofia/default/08032393088) State Change CS_HANGUP -> CS_REPORTING
2024-06-12 11:47:30.694132 95.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/08032393088) Running State Change CS_REPORTING (Cur 2 Tot 72)
2024-06-12 11:47:30.694132 95.53% [DEBUG] switch_core_state_machine.c:932 (sofia/default/08032393088) State REPORTING
2024-06-12 11:47:30.694132 95.53% [INFO] mod_json_cdr.c:272 Process [99c8367a-3a72-4bcc-b72c-aa4bb2d9e115.cdr.json]
2024-06-12 11:47:30.714093 95.53% [DEBUG] switch_ivr_originate.c:4052 Originate Resulted in Error Cause: 31 [NORMAL_UNSPECIFIED]
2024-06-12 11:47:30.714093 95.53% [INFO] mod_dptools.c:3635 Originate Failed. Cause: NORMAL_UNSPECIFIED
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(did_id=20001)
2024-06-12 11:47:30.714093 95.53% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [did_id]=[20001]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(destination_number=08032393088)
2024-06-12 11:47:30.714093 95.53% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [destination_number]=[08032393088]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(leg_timeout=30)
2024-06-12 11:47:30.714093 95.53% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [leg_timeout]=[30]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(call_type_vm_flag=1)
2024-06-12 11:47:30.714093 95.53% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [call_type_vm_flag]=[1]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 set(is_local_extension=0)
2024-06-12 11:47:30.714093 95.53% [DEBUG] mod_dptools.c:1671 SET sofia/default/8032007428@102.221.16.146 [is_local_extension]=[0]
EXECUTE [depth=0] sofia/default/8032007428@102.221.16.146 lua(did_call_forwarding.lua)
2024-06-12 11:47:30.714093 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2024-06-12 11:47:30.714093 95.53% [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')
2024-06-12 11:47:30.714093 95.53% [NOTICE] switch_cpp.cpp:1465 [ASTPP] SECTION
2024-06-12 11:47:30.714093 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DID_Call_Forwading] This Is Last Opensips 1 This Is DiD Id :
2024-06-12 11:47:30.714093 95.53% [DEBUG] switch_cpp.cpp:1209 sofia/default/8032007428@102.221.16.146 destroy/unlink session from object
2024-06-12 11:47:30.714093 95.53% [NOTICE] switch_core_state_machine.c:382 sofia/default/8032007428@102.221.16.146 has executed the last dialplan instruction, hanging up.
2024-06-12 11:47:30.714093 95.53% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/8032007428@102.221.16.146 [CS_EXECUTE] [NORMAL_CLEARING]
2024-06-12 11:47:30.714093 95.53% [DEBUG] mod_hash.c:293 Usage for CPS_9512008074_CPS_user_9512008074 is now 0
2024-06-12 11:47:30.714093 95.53% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8032007428@102.221.16.146) State EXECUTE going to sleep
2024-06-12 11:47:30.714093 95.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8032007428@102.221.16.146) Running State Change CS_HANGUP (Cur 2 Tot 72)
2024-06-12 11:47:30.714093 95.53% [DEBUG] switch_core_state_machine.c:844 (sofia/default/8032007428@102.221.16.146) Callstate Change RINGING -> HANGUP
2024-06-12 11:47:30.714093 95.53% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8032007428@102.221.16.146) State HANGUP
2024-06-12 11:47:30.714093 95.53% [DEBUG] mod_sofia.c:463 sofia/default/8032007428@102.221.16.146 Overriding SIP cause 480 with 480 from the other leg
2024-06-12 11:47:30.714093 95.53% [DEBUG] mod_sofia.c:469 Channel sofia/default/8032007428@102.221.16.146 hanging up, cause: NORMAL_CLEARING
2024-06-12 11:47:30.714093 95.53% [DEBUG] mod_sofia.c:614 Responding to INVITE with: 480
2024-06-12 11:47:30.714093 95.53% [DEBUG] switch_core_state_machine.c:59 sofia/default/8032007428@102.221.16.146 Standard HANGUP, cause: NORMAL_CLEARING
2024-06-12 11:47:30.714093 95.53% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8032007428@102.221.16.146) State HANGUP going to sleep
2024-06-12 11:47:30.714093 95.53% [DEBUG] switch_core_state_machine.c:616 (sofia/default/8032007428@102.221.16.146) State Change CS_HANGUP -> CS_REPORTING
2024-06-12 11:47:30.714093 95.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8032007428@102.221.16.146) Running State Change CS_REPORTING (Cur 2 Tot 72)
2024-06-12 11:47:30.714093 95.53% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8032007428@102.221.16.146) State REPORTING
2024-06-12 11:47:30.714093 95.53% [INFO] mod_json_cdr.c:272 Process [016602e6-e54c-41f8-90fe-d16e19c54464.cdr.json]
2024-06-12 11:47:30.734091 95.53% [DEBUG] switch_core_state_machine.c:168 sofia/default/08032393088 Standard REPORTING, cause: NORMAL_UNSPECIFIED
2024-06-12 11:47:30.734091 95.53% [DEBUG] switch_core_state_machine.c:932 (sofia/default/08032393088) State REPORTING going to sleep
2024-06-12 11:47:30.734091 95.53% [DEBUG] switch_core_state_machine.c:607 (sofia/default/08032393088) State Change CS_REPORTING -> CS_DESTROY
2024-06-12 11:47:30.734091 95.53% [DEBUG] switch_core_session.c:1744 Session 72 (sofia/default/08032393088) Locked, Waiting on external entities
2024-06-12 11:47:30.734091 95.53% [NOTICE] switch_core_session.c:1762 Session 72 (sofia/default/08032393088) Ended
2024-06-12 11:47:30.734091 95.53% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/08032393088 [CS_DESTROY]
2024-06-12 11:47:30.734091 95.53% [DEBUG] switch_core_state_machine.c:735 (sofia/default/08032393088) Running State Change CS_DESTROY (Cur 1 Tot 72)
2024-06-12 11:47:30.734091 95.53% [DEBUG] switch_core_state_machine.c:745 (sofia/default/08032393088) State DESTROY
2024-06-12 11:47:30.734091 95.53% [DEBUG] mod_sofia.c:380 sofia/default/08032393088 SOFIA DESTROY
2024-06-12 11:47:30.734091 95.53% [DEBUG] switch_core_state_machine.c:175 sofia/default/08032393088 Standard DESTROY
2024-06-12 11:47:30.734091 95.53% [DEBUG] switch_core_state_machine.c:745 (sofia/default/08032393088) State DESTROY going to sleep
2024-06-12 11:47:30.814097 95.53% [DEBUG] switch_core_state_machine.c:168 sofia/default/8032007428@102.221.16.146 Standard REPORTING, cause: NORMAL_CLEARING
2024-06-12 11:47:30.814097 95.53% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8032007428@102.221.16.146) State REPORTING going to sleep
2024-06-12 11:47:30.814097 95.53% [DEBUG] switch_core_state_machine.c:607 (sofia/default/8032007428@102.221.16.146) State Change CS_REPORTING -> CS_DESTROY
2024-06-12 11:47:30.814097 95.53% [DEBUG] switch_core_session.c:1744 Session 71 (sofia/default/8032007428@102.221.16.146) Locked, Waiting on external entities
2024-06-12 11:47:30.814097 95.53% [NOTICE] switch_core_session.c:1762 Session 71 (sofia/default/8032007428@102.221.16.146) Ended
2024-06-12 11:47:30.814097 95.53% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/8032007428@102.221.16.146 [CS_DESTROY]
2024-06-12 11:47:30.814097 95.53% [DEBUG] switch_core_state_machine.c:735 (sofia/default/8032007428@102.221.16.146) Running State Change CS_DESTROY (Cur 0 Tot 72)
2024-06-12 11:47:30.814097 95.53% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8032007428@102.221.16.146) State DESTROY
2024-06-12 11:47:30.814097 95.53% [DEBUG] mod_sofia.c:380 sofia/default/8032007428@102.221.16.146 SOFIA DESTROY
2024-06-12 11:47:30.814097 95.53% [DEBUG] switch_core_state_machine.c:175 sofia/default/8032007428@102.221.16.146 Standard DESTROY
2024-06-12 11:47:30.814097 95.53% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8032007428@102.221.16.146) State DESTROY going to sleep