+OK log level [7]
2024-07-31 16:56:33.395776 96.13% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur.
2024-07-31 16:56:37.715741 96.70% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur.
2024-07-31 16:56:39.095796 96.67% [NOTICE] switch_channel.c:1142 New Channel sofia/default/6971903849@avetium10.intarvas.com [755f06ac-48e4-4319-bcb1-8e534a349406]
2024-07-31 16:56:39.095796 96.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6971903849@avetium10.intarvas.com) Running State Change CS_NEW (Cur 1 Tot 6)
2024-07-31 16:56:39.095796 96.67% [INFO] sofia.c:10459 sofia/default/6971903849@avetium10.intarvas.com receiving invite from 157.32.77.3:33850 version: 1.10.10-release 64bit call-id: YTQwNjViMGFkNWUxYThkZGEzOTk4Y2VmOTgzMTQ2ZGY.
2024-07-31 16:56:39.095796 96.67% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 157.32.77.3:0.
2024-07-31 16:56:39.095796 96.67% [WARNING] sofia_reg.c:1842 SIP auth challenge (INVITE) on sofia profile 'default' for [07001341111@avetium10.intarvas.com] from ip 157.32.77.3
2024-07-31 16:56:39.095796 96.67% [DEBUG] sofia.c:2419 detaching session 755f06ac-48e4-4319-bcb1-8e534a349406
2024-07-31 16:56:39.095796 96.67% [DEBUG] switch_core_state_machine.c:600 (sofia/default/6971903849@avetium10.intarvas.com) State NEW
2024-07-31 16:56:39.715801 96.37% [DEBUG] sofia.c:2532 Re-attaching to session 755f06ac-48e4-4319-bcb1-8e534a349406
2024-07-31 16:56:39.735748 96.37% [WARNING] sofia_reg.c:1842 SIP auth challenge (REGISTER) on sofia profile 'default' for [6971903849@avetium10.intarvas.com] from ip 157.32.77.3
2024-07-31 16:56:39.735748 96.37% [INFO] sofia.c:10459 sofia/default/6971903849@avetium10.intarvas.com receiving invite from 157.32.77.3:33850 version: 1.10.10-release 64bit call-id: YTQwNjViMGFkNWUxYThkZGEzOTk4Y2VmOTgzMTQ2ZGY.
2024-07-31 16:56:39.735748 96.37% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 157.32.77.3:0.
2024-07-31 16:56:39.755754 96.37% [DEBUG] sofia.c:11674 Setting NAT mode based on via received
2024-07-31 16:56:39.755754 96.37% [DEBUG] sofia.c:7493 Channel sofia/default/6971903849@avetium10.intarvas.com entering state [received][100]
2024-07-31 16:56:39.755754 96.37% [DEBUG] sofia.c:7503 Remote SDP:
v=0
o=Z 0 0 IN IP4 192.168.56.241
s=Z
c=IN IP4 192.168.56.241
t=0 0
m=audio 8000 RTP/AVP 3 110 8 0 98 101
a=rtpmap:110 speex/8000
a=rtpmap:98 iLBC/8000
a=fmtp:98 mode=20
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
2024-07-31 16:56:39.755754 96.37% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
2024-07-31 16:56:39.755754 96.37% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
2024-07-31 16:56:39.755754 96.37% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
2024-07-31 16:56:39.755754 96.37% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
2024-07-31 16:56:39.755754 96.37% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2024-07-31 16:56:39.755754 96.37% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2024-07-31 16:56:39.755754 96.37% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2024-07-31 16:56:39.755754 96.37% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2024-07-31 16:56:39.755754 96.37% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2024-07-31 16:56:39.755754 96.37% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2024-07-31 16:56:39.755754 96.37% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
2024-07-31 16:56:39.755754 96.37% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
2024-07-31 16:56:39.755754 96.37% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
2024-07-31 16:56:39.755754 96.37% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/6971903849@avetium10.intarvas.com PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2024-07-31 16:56:39.755754 96.37% [DEBUG] switch_core_codec.c:111 sofia/default/6971903849@avetium10.intarvas.com Original read codec set to PCMA:8
2024-07-31 16:56:39.755754 96.37% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
2024-07-31 16:56:39.755754 96.37% [DEBUG] switch_core_media.c:5856 sofia/default/6971903849@avetium10.intarvas.com Set 2833 dtmf send payload to 101 recv payload to 101
2024-07-31 16:56:39.755754 96.37% [DEBUG] sofia.c:7927 (sofia/default/6971903849@avetium10.intarvas.com) State Change CS_NEW -> CS_INIT
2024-07-31 16:56:39.755754 96.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6971903849@avetium10.intarvas.com) Running State Change CS_INIT (Cur 1 Tot 6)
2024-07-31 16:56:39.755754 96.37% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6971903849@avetium10.intarvas.com) State INIT
2024-07-31 16:56:39.755754 96.37% [DEBUG] mod_sofia.c:97 sofia/default/6971903849@avetium10.intarvas.com SOFIA INIT
2024-07-31 16:56:39.755754 96.37% [DEBUG] switch_core_state_machine.c:40 sofia/default/6971903849@avetium10.intarvas.com Standard INIT
2024-07-31 16:56:39.755754 96.37% [DEBUG] switch_core_state_machine.c:48 (sofia/default/6971903849@avetium10.intarvas.com) State Change CS_INIT -> CS_ROUTING
2024-07-31 16:56:39.755754 96.37% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6971903849@avetium10.intarvas.com) State INIT going to sleep
2024-07-31 16:56:39.755754 96.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6971903849@avetium10.intarvas.com) Running State Change CS_ROUTING (Cur 1 Tot 6)
2024-07-31 16:56:39.755754 96.37% [DEBUG] switch_channel.c:2399 (sofia/default/6971903849@avetium10.intarvas.com) Callstate Change DOWN -> RINGING
2024-07-31 16:56:39.755754 96.37% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6971903849@avetium10.intarvas.com) State ROUTING
2024-07-31 16:56:39.755754 96.37% [DEBUG] mod_sofia.c:158 sofia/default/6971903849@avetium10.intarvas.com SOFIA ROUTING
2024-07-31 16:56:39.755754 96.37% [DEBUG] switch_core_state_machine.c:230 sofia/default/6971903849@avetium10.intarvas.com Standard ROUTING
2024-07-31 16:56:39.755754 96.37% [INFO] mod_dialplan_xml.c:639 Processing 6971903849 <6971903849>->07001341111 in context default
2024-07-31 16:56:39.755754 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
2024-07-31 16:56:39.755754 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2024-07-31 16:56:39.755754 96.37% [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-07-31 16:56:39.755754 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-07-31 16:56:39.775754 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2024-07-31 16:56:39.775754 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 07001341111
2024-07-31 16:56:39.775754 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '07001341111' limit 1
2024-07-31 16:56:39.775754 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '07001341111' AND status=0 limit 1
2024-07-31 16:56:39.775754 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '07001341111' and status=0 LIMIT 1
2024-07-31 16:56:39.775754 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER6971903849
2024-07-31 16:56:39.775754 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-07-31 16:56:39.775754 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'avetium10.intarvas.com' limit 1
2024-07-31 16:56:39.775754 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '22' and username = '07001341111' limit 1
2024-07-31 16:56:39.775754 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : Avetium / 07001341111
2024-07-31 16:56:39.775754 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 41111
2024-07-31 16:56:39.775754 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 070013 AND status=0 limit 1
2024-07-31 16:56:39.775754 96.37% [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 ="07001341111" LIMIT 1
2024-07-31 16:56:39.775754 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-07-31 16:56:39.775754 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
2024-07-31 16:56:39.775754 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 6971903849]
2024-07-31 16:56:39.775754 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "6971903849" OR id = "6971903849") AND deleted = 0 limit 1
2024-07-31 16:56:39.775754 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =22
2024-07-31 16:56:39.795757 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="07001341111" AND (accountid = 0 OR status = 1) LIMIT 1
2024-07-31 16:56:39.795757 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
2024-07-31 16:56:39.795757 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 22
2024-07-31 16:56:39.795757 96.37% [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 = '^07001341111.*' OR patterns = '^0700134111.*' OR patterns = '^070013411.*' OR patterns = '^07001341.*' 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 = 22 ORDER BY LENGTH(PKGPTR.patterns) DESC
2024-07-31 16:56:39.795757 96.37% [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 ="07001341111" AND A.accountid = '22' limit 1
2024-07-31 16:56:39.795757 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 07001341111
2024-07-31 16:56:39.795757 96.37% [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 ="07001341111" LIMIT 1
2024-07-31 16:56:39.795757 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-07-31 16:56:39.795757 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
2024-07-31 16:56:39.795757 96.37% [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 = '07001341111' OR number = '0700134111' OR number = '070013411' OR number = '07001341' 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 = '07001341111*' OR number = '0700134111*' OR number = '070013411*' OR number = '07001341*' 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 = '07001341111' OR number = '0700134111' OR number = '070013411' OR number = '07001341' 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 = '07001341111*' OR number = '0700134111*' OR number = '070013411*' OR number = '07001341*' OR number = '0700134*' OR number = '070013*' OR number = '07001*' OR number = '0700*' OR number = '070*' OR number = '07*' OR number = '0*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2024-07-31 16:56:39.795757 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2024-07-31 16:56:39.795757 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '07001341111' OR routing_prefix = '0700134111' OR routing_prefix = '070013411' OR routing_prefix = '07001341' 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-07-31 16:56:39.795757 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2024-07-31 16:56:39.795757 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 22
2024-07-31 16:56:39.795757 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 6971903849
2024-07-31 16:56:39.795757 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =22
2024-07-31 16:56:39.815755 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 10074.0633
2024-07-31 16:56:39.815755 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2024-07-31 16:56:39.815755 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 6
2024-07-31 16:56:39.815755 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2024-07-31 16:56:39.815755 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2024-07-31 16:56:39.815755 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 6 AND status = 0
2024-07-31 16:56:39.815755 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
2024-07-31 16:56:39.815755 96.37% [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 ="07001341111" LIMIT 1
2024-07-31 16:56:39.815755 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-07-31 16:56:39.815755 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound
2024-07-31 16:56:39.815755 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2024-07-31 16:56:39.815755 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 21111
2024-07-31 16:56:39.815755 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2024-07-31 16:56:39.815755 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2024-07-31 16:56:39.815755 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 12.55000
2024-07-31 16:56:39.815755 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Nigeria Nigeria
2024-07-31 16:56:39.815755 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 141
2024-07-31 16:56:39.815755 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 22
2024-07-31 16:56:39.815755 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2024-07-31 16:56:39.815755 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =22
2024-07-31 16:56:39.815755 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your10074.0633 balance Accountid 22 !!!
2024-07-31 16:56:39.815755 96.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
2024-07-31 16:56:39.815755 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
2024-07-31 16:56:39.815755 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
2024-07-31 16:56:39.815755 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
2024-07-31 16:56:39.815755 96.37% [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 = 22 AND status=0 LIMIT 1
2024-07-31 16:56:39.815755 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "22" OR number = "22") AND deleted = 0 limit 1
2024-07-31 16:56:39.835753 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =22
2024-07-31 16:56:39.835753 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:22
2024-07-31 16:56:39.835753 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:22
2024-07-31 16:56:39.835753 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 22
2024-07-31 16:56:39.835753 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 22 limit 1
2024-07-31 16:56:39.835753 96.37% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : avetium10.intarvas.com
2024-07-31 16:56:39.835753 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100
2024-07-31 16:56:39.835753 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = '6971903849' and status = 0 limit 1
2024-07-31 16:56:39.835753 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-07-31 16:56:39.835753 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2024-07-31 16:56:39.835753 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
2024-07-31 16:56:39.835753 96.37% [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 = "+2347084366035" AND accounts.status = 0
2024-07-31 16:56:39.835753 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 22 limit 1
2024-07-31 16:56:39.835753 96.37% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : avetium10.intarvas.com
2024-07-31 16:56:39.835753 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_4
2024-07-31 16:56:39.835753 96.37% [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="07001341111">
<condition field="destination_number" expression="07001341111">
<action application="set" data="effective_destination_number=07001341111"/>
<action application="set" data="execute_on_answer_1=sched_hangup +6000 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-07-31 16:56:39"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=22"/>
<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=inbound"/>
<action application="set" data="accountname=default"/>
<action application="set" data="origination_rates_did=ID:21111|CODE:^07001341111.*|DESTINATION:Nigeria Nigeria|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:12.55000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:141|ACCID:22"/>
<action application="set" data="origination_rates=0"/>
<action application="set" data="original_caller_id_name=Avetium"/>
<action application="set" data="original_caller_id_number=07001341111"/>
<action application="limit" data="db 6971903849 user_6971903849 2 "/>
<action application="limit" data="hash CPS_6971903849 CPS_user_6971903849 2/1 "/>
<action application="set" data="effective_caller_id_name=Avetium"/>
<action application="set" data="effective_caller_id_number=07001341111"/>
<action application="set" data="receiver_accid=22"/>
<action application="export" data="domain_name=avetium10.intarvas.com"/>
<action application="export" data="sip_to_host=avetium10.intarvas.com"/>
<action application="export" data="presence_data=x|||Avetium(6971903849)|||^07001341111.* // Nigeria Nigeria // 12.55000|||||||||DID|||157.32.77.3"/>
<action application="export" data="call_type=4"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="accountcode=6971903849"/>
<action application="set" data="caller_did_account_id=22"/>
<action application="set" data="did_number=07001341111"/>
<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=21111"/>
<action application="transfer" data="+2347084366035 XML default"/>
</condition>
</extension>
</context>
</document>
Dialplan: sofia/default/6971903849@avetium10.intarvas.com parsing [default->07001341111] continue=false
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Regex (PASS) [07001341111] destination_number(07001341111) =~ /07001341111/ break=on-false
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(effective_destination_number=07001341111)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(execute_on_answer_1=sched_hangup +6000 normal_clearing)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(notify_flag=0)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(notify_credit_limit=5.00000)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(type=0)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(callstart=2024-07-31 16:56:39)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(hangup_after_bridge=true)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(account_id=22)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(parent_id=0)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(entity_id=0)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(call_processed=internal)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(call_direction=inbound)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(accountname=default)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(origination_rates_did=ID:21111|CODE:^07001341111.*|DESTINATION:Nigeria Nigeria|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:12.55000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:141|ACCID:22)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(origination_rates=0)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(original_caller_id_name=Avetium)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(original_caller_id_number=07001341111)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action limit(db 6971903849 user_6971903849 2 )
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action limit(hash CPS_6971903849 CPS_user_6971903849 2/1 )
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(effective_caller_id_name=Avetium)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(effective_caller_id_number=07001341111)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(receiver_accid=22)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action export(domain_name=avetium10.intarvas.com)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action export(sip_to_host=avetium10.intarvas.com)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action export(presence_data=x|||Avetium(6971903849)|||^07001341111.* // Nigeria Nigeria // 12.55000|||||||||DID|||157.32.77.3)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action export(call_type=4)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(calltype=STANDARD)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(accountcode=6971903849)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(caller_did_account_id=22)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(did_number=07001341111)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(did_init_inc=60)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(did_inc=60)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(did_cost=12.55000)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(did_connectcost=0.00000)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(origination_rates_did=0)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(did_id=21111)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action transfer(+2347084366035 XML default)
2024-07-31 16:56:39.835753 96.37% [DEBUG] switch_core_state_machine.c:281 (sofia/default/6971903849@avetium10.intarvas.com) State Change CS_ROUTING -> CS_EXECUTE
2024-07-31 16:56:39.835753 96.37% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6971903849@avetium10.intarvas.com) State ROUTING going to sleep
2024-07-31 16:56:39.855736 96.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6971903849@avetium10.intarvas.com) Running State Change CS_EXECUTE (Cur 1 Tot 6)
2024-07-31 16:56:39.855736 96.37% [DEBUG] switch_core_state_machine.c:647 (sofia/default/6971903849@avetium10.intarvas.com) State EXECUTE
2024-07-31 16:56:39.855736 96.37% [DEBUG] mod_sofia.c:213 sofia/default/6971903849@avetium10.intarvas.com SOFIA EXECUTE
2024-07-31 16:56:39.855736 96.37% [DEBUG] switch_core_state_machine.c:323 sofia/default/6971903849@avetium10.intarvas.com Standard EXECUTE
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(effective_destination_number=07001341111)
2024-07-31 16:56:39.855736 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [effective_destination_number]=[07001341111]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(execute_on_answer_1=sched_hangup +6000 normal_clearing)
2024-07-31 16:56:39.855736 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [execute_on_answer_1]=[sched_hangup +6000 normal_clearing]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(notify_flag=0)
2024-07-31 16:56:39.855736 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [notify_flag]=[0]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(notify_credit_limit=5.00000)
2024-07-31 16:56:39.855736 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [notify_credit_limit]=[5.00000]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(type=0)
2024-07-31 16:56:39.855736 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [type]=[0]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(callstart=2024-07-31 16:56:39)
2024-07-31 16:56:39.855736 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [callstart]=[2024-07-31 16:56:39]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(hangup_after_bridge=true)
2024-07-31 16:56:39.855736 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(continue_on_fail=TRUE)
2024-07-31 16:56:39.855736 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(account_id=22)
2024-07-31 16:56:39.855736 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [account_id]=[22]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(parent_id=0)
2024-07-31 16:56:39.855736 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [parent_id]=[0]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(entity_id=0)
2024-07-31 16:56:39.855736 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [entity_id]=[0]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(call_processed=internal)
2024-07-31 16:56:39.855736 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(call_direction=inbound)
2024-07-31 16:56:39.855736 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [call_direction]=[inbound]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(accountname=default)
2024-07-31 16:56:39.855736 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [accountname]=[default]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(origination_rates_did=ID:21111|CODE:^07001341111.*|DESTINATION:Nigeria Nigeria|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:12.55000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:141|ACCID:22)
2024-07-31 16:56:39.855736 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [origination_rates_did]=[ID:21111|CODE:^07001341111.*|DESTINATION:Nigeria Nigeria|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:12.55000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:141|ACCID:22]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(origination_rates=0)
2024-07-31 16:56:39.855736 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [origination_rates]=[0]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(original_caller_id_name=Avetium)
2024-07-31 16:56:39.855736 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [original_caller_id_name]=[Avetium]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(original_caller_id_number=07001341111)
2024-07-31 16:56:39.855736 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [original_caller_id_number]=[07001341111]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com limit(db 6971903849 user_6971903849 2 )
2024-07-31 16:56:39.855736 96.37% [DEBUG] switch_limit.c:124 incr called: 6971903849_user_6971903849 max:2, interval:0
2024-07-31 16:56:39.855736 96.37% [DEBUG] mod_db.c:194 Usage for 6971903849_user_6971903849 is now 1/2
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com limit(hash CPS_6971903849 CPS_user_6971903849 2/1 )
2024-07-31 16:56:39.855736 96.37% [DEBUG] switch_limit.c:124 incr called: CPS_6971903849_CPS_user_6971903849 max:2, interval:1
2024-07-31 16:56:39.855736 96.37% [DEBUG] mod_hash.c:195 Usage for CPS_6971903849_CPS_user_6971903849 is now 1/2 for the last 1 seconds
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(effective_caller_id_name=Avetium)
2024-07-31 16:56:39.855736 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [effective_caller_id_name]=[Avetium]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(effective_caller_id_number=07001341111)
2024-07-31 16:56:39.855736 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [effective_caller_id_number]=[07001341111]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(receiver_accid=22)
2024-07-31 16:56:39.855736 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [receiver_accid]=[22]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com export(domain_name=avetium10.intarvas.com)
2024-07-31 16:56:39.855736 96.37% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [domain_name]=[avetium10.intarvas.com]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com export(sip_to_host=avetium10.intarvas.com)
2024-07-31 16:56:39.855736 96.37% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [sip_to_host]=[avetium10.intarvas.com]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com export(presence_data=x|||Avetium(6971903849)|||^07001341111.* // Nigeria Nigeria // 12.55000|||||||||DID|||157.32.77.3)
2024-07-31 16:56:39.855736 96.37% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[x|||Avetium(6971903849)|||^07001341111.* // Nigeria Nigeria // 12.55000|||||||||DID|||157.32.77.3]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com export(call_type=4)
2024-07-31 16:56:39.855736 96.37% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [call_type]=[4]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(calltype=STANDARD)
2024-07-31 16:56:39.855736 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(accountcode=6971903849)
2024-07-31 16:56:39.855736 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [accountcode]=[6971903849]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(caller_did_account_id=22)
2024-07-31 16:56:39.855736 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [caller_did_account_id]=[22]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(did_number=07001341111)
2024-07-31 16:56:39.855736 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [did_number]=[07001341111]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(did_init_inc=60)
2024-07-31 16:56:39.855736 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [did_init_inc]=[60]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(did_inc=60)
2024-07-31 16:56:39.855736 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [did_inc]=[60]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(did_cost=12.55000)
2024-07-31 16:56:39.855736 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [did_cost]=[12.55000]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(did_connectcost=0.00000)
2024-07-31 16:56:39.855736 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [did_connectcost]=[0.00000]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(origination_rates_did=0)
2024-07-31 16:56:39.855736 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [origination_rates_did]=[0]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(did_id=21111)
2024-07-31 16:56:39.855736 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [did_id]=[21111]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com transfer(+2347084366035 XML default)
2024-07-31 16:56:39.855736 96.37% [DEBUG] switch_ivr.c:2288 (sofia/default/6971903849@avetium10.intarvas.com) State Change CS_EXECUTE -> CS_ROUTING
2024-07-31 16:56:39.855736 96.37% [DEBUG] mod_hash.c:293 Usage for CPS_6971903849_CPS_user_6971903849 is now 0
2024-07-31 16:56:39.855736 96.37% [NOTICE] switch_ivr.c:2295 Transfer sofia/default/6971903849@avetium10.intarvas.com to XML[+2347084366035@default]
2024-07-31 16:56:39.855736 96.37% [DEBUG] switch_core_state_machine.c:647 (sofia/default/6971903849@avetium10.intarvas.com) State EXECUTE going to sleep
2024-07-31 16:56:39.855736 96.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6971903849@avetium10.intarvas.com) Running State Change CS_ROUTING (Cur 1 Tot 6)
2024-07-31 16:56:39.855736 96.37% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6971903849@avetium10.intarvas.com) State ROUTING
2024-07-31 16:56:39.855736 96.37% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
2024-07-31 16:56:39.855736 96.37% [DEBUG] mod_sofia.c:158 sofia/default/6971903849@avetium10.intarvas.com SOFIA ROUTING
2024-07-31 16:56:39.855736 96.37% [DEBUG] switch_core_state_machine.c:230 sofia/default/6971903849@avetium10.intarvas.com Standard ROUTING
2024-07-31 16:56:39.855736 96.37% [INFO] mod_dialplan_xml.c:639 Processing 6971903849 <6971903849>->+2347084366035 in context default
2024-07-31 16:56:39.875737 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
2024-07-31 16:56:39.875737 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2024-07-31 16:56:39.875737 96.37% [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-07-31 16:56:39.875737 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-07-31 16:56:39.895738 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2024-07-31 16:56:39.895738 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : +2347084366035
2024-07-31 16:56:39.895738 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '+2347084366035' limit 1
2024-07-31 16:56:39.895738 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '+2347084366035' AND status=0 limit 1
2024-07-31 16:56:39.895738 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '+2347084366035' and status=0 LIMIT 1
2024-07-31 16:56:39.895738 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER6971903849
2024-07-31 16:56:39.895738 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-07-31 16:56:39.895738 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'avetium10.intarvas.com' limit 1
2024-07-31 16:56:39.895738 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '22' and username = '+2347084366035' limit 1
2024-07-31 16:56:39.895738 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : Avetium / 07001341111
2024-07-31 16:56:39.895738 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 84366035
2024-07-31 16:56:39.895738 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = +23470 AND status=0 limit 1
2024-07-31 16:56:39.895738 96.37% [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 ="+2347084366035" LIMIT 1
2024-07-31 16:56:39.895738 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-07-31 16:56:39.895738 96.37% [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="+2347084366035" AND domains.domain="avetium10.intarvas.com" limit 1
2024-07-31 16:56:39.895738 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2024-07-31 16:56:39.895738 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 6971903849]
2024-07-31 16:56:39.895738 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "6971903849" OR id = "6971903849") AND deleted = 0 limit 1
2024-07-31 16:56:39.895738 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^+2347084366035.*' OR blocked_patterns = '^+234708436603.*' OR blocked_patterns = '^+23470843660.*' OR blocked_patterns = '^+2347084366.*' OR blocked_patterns = '^+234708436.*' OR blocked_patterns = '^+23470843.*' OR blocked_patterns = '^+2347084.*' OR blocked_patterns = '^+234708.*' OR blocked_patterns = '^+23470.*' OR blocked_patterns = '^+2347.*' OR blocked_patterns = '^+234.*' OR blocked_patterns = '^+23.*' OR blocked_patterns = '^+2.*' OR blocked_patterns = '^+.*' OR blocked_patterns ='--') AND accountid = 22 limit 1
2024-07-31 16:56:39.915743 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="+2347084366035" AND (accountid = 0 OR status = 1) LIMIT 1
2024-07-31 16:56:39.915743 96.37% [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 = '^+2347084366035.*' OR patterns = '^+234708436603.*' OR patterns = '^+23470843660.*' OR patterns = '^+2347084366.*' OR patterns = '^+234708436.*' OR patterns = '^+23470843.*' OR patterns = '^+2347084.*' OR patterns = '^+234708.*' OR patterns = '^+23470.*' OR patterns = '^+2347.*' OR patterns = '^+234.*' OR patterns = '^+23.*' OR patterns = '^+2.*' OR patterns = '^+.*' OR patterns ='--') AND accountid = 22 ORDER BY LENGTH(PKGPTR.patterns) DESC
2024-07-31 16:56:39.915743 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Package ID : 18
2024-07-31 16:56:39.915743 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Product ID : 40004
2024-07-31 16:56:39.915743 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from products WHERE id = 40004 AND status = 0
2024-07-31 16:56:39.915743 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Apply On Rategroups For Free Product :
2024-07-31 16:56:39.915743 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Package Type : 0 Call Direction : outbound [0:inbound,1:outbound,2:both]
2024-07-31 16:56:39.915743 96.37% [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 ="+2347084366035" AND A.accountid = '22' limit 1
2024-07-31 16:56:39.915743 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : +2347084366035
2024-07-31 16:56:39.915743 96.37% [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 ="+2347084366035" LIMIT 1
2024-07-31 16:56:39.915743 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-07-31 16:56:39.915743 96.37% [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="+2347084366035" AND domains.domain="avetium10.intarvas.com" limit 1
2024-07-31 16:56:39.915743 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
2024-07-31 16:56:39.915743 96.37% [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 = '+2347084366035' OR number = '+234708436603' OR number = '+23470843660' OR number = '+2347084366' OR number = '+234708436' OR number = '+23470843' OR number = '+2347084' OR number = '+234708' OR number = '+23470' OR number = '+2347' OR number = '+234' OR number = '+23' OR number = '+2' OR number = '+' OR number ='--') OR (number = '+2347084366035*' OR number = '+234708436603*' OR number = '+23470843660*' OR number = '+2347084366*' OR number = '+234708436*' OR number = '+23470843*' OR number = '+2347084*' OR number = '+234708*' OR number = '+23470*' OR number = '+2347*' OR number = '+234*' OR number = '+23*' OR number = '+2*' OR number = '+*' OR number ='--') OR (number = '07001341111' OR number = '0700134111' OR number = '070013411' OR number = '07001341' 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 = '07001341111*' OR number = '0700134111*' OR number = '070013411*' OR number = '07001341*' OR number = '0700134*' OR number = '070013*' OR number = '07001*' OR number = '0700*' OR number = '070*' OR number = '07*' OR number = '0*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2024-07-31 16:56:39.915743 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2024-07-31 16:56:39.915743 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '+2347084366035' OR routing_prefix = '+234708436603' OR routing_prefix = '+23470843660' OR routing_prefix = '+2347084366' OR routing_prefix = '+234708436' OR routing_prefix = '+23470843' OR routing_prefix = '+2347084' OR routing_prefix = '+234708' OR routing_prefix = '+23470' OR routing_prefix = '+2347' OR routing_prefix = '+234' OR routing_prefix = '+23' OR routing_prefix = '+2' OR routing_prefix = '+' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2024-07-31 16:56:39.915743 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2024-07-31 16:56:39.915743 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 22
2024-07-31 16:56:39.915743 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 6971903849
2024-07-31 16:56:39.915743 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 10074.0633
2024-07-31 16:56:39.915743 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2024-07-31 16:56:39.915743 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 6
2024-07-31 16:56:39.915743 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2024-07-31 16:56:39.915743 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2024-07-31 16:56:39.915743 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 6 AND status = 0
2024-07-31 16:56:39.915743 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2024-07-31 16:56:39.915743 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 6 AND status = 0
2024-07-31 16:56:39.915743 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^+2347084366035.*' OR pattern = '^+234708436603.*' OR pattern = '^+23470843660.*' OR pattern = '^+2347084366.*' OR pattern = '^+234708436.*' OR pattern = '^+23470843.*' OR pattern = '^+2347084.*' OR pattern = '^+234708.*' OR pattern = '^+23470.*' OR pattern = '^+2347.*' OR pattern = '^+234.*' OR pattern = '^+23.*' OR pattern = '^+2.*' OR pattern = '^+.*' OR pattern ='--') AND (caller_id_pattern = '^07001341111.*' OR caller_id_pattern = '^0700134111.*' OR caller_id_pattern = '^070013411.*' OR caller_id_pattern = '^07001341.*' OR caller_id_pattern = '^0700134.*' OR caller_id_pattern = '^070013.*' OR caller_id_pattern = '^07001.*' OR caller_id_pattern = '^0700.*' OR caller_id_pattern = '^070.*' OR caller_id_pattern = '^07.*' OR caller_id_pattern = '^0.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 6 OR accountid=22) ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2024-07-31 16:56:39.935737 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2024-07-31 16:56:39.935737 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2024-07-31 16:56:39.935737 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 655
2024-07-31 16:56:39.935737 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
2024-07-31 16:56:39.935737 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2024-07-31 16:56:39.935737 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 12.5500000000
2024-07-31 16:56:39.935737 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Nigeria
2024-07-31 16:56:39.935737 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 141
2024-07-31 16:56:39.935737 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 22
2024-07-31 16:56:39.935737 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
2024-07-31 16:56:39.935737 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2024-07-31 16:56:39.935737 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2024-07-31 16:56:39.935737 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your10074.0633 balance Accountid 22 !!!
2024-07-31 16:56:39.935737 96.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
2024-07-31 16:56:39.935737 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
2024-07-31 16:56:39.935737 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
2024-07-31 16:56:39.935737 96.37% [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-07-31 16:56:39.935737 96.37% [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 = '^+2347084366035.*' OR pattern = '^+234708436603.*' OR pattern = '^+23470843660.*' OR pattern = '^+2347084366.*' OR pattern = '^+234708436.*' OR pattern = '^+23470843.*' OR pattern = '^+2347084.*' OR pattern = '^+234708.*' OR pattern = '^+23470.*' OR pattern = '^+2347.*' OR pattern = '^+234.*' OR pattern = '^+23.*' OR pattern = '^+2.*' OR pattern = '^+.*' 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-07-31 16:56:39.935737 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2024-07-31 16:56:39.935737 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 324
2024-07-31 16:56:39.935737 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^+234.*
2024-07-31 16:56:39.935737 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Nigeria
2024-07-31 16:56:39.935737 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
2024-07-31 16:56:39.935737 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2024-07-31 16:56:39.935737 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^+234.*
2024-07-31 16:56:39.935737 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip : +234
2024-07-31 16:56:39.935737 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend : 0
2024-07-31 16:56:39.935737 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 1
2024-07-31 16:56:39.935737 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : CataleyaSBC
2024-07-31 16:56:39.935737 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2024-07-31 16:56:39.935737 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2024-07-31 16:56:39.935737 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 5
2024-07-31 16:56:39.935737 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2024-07-31 16:56:39.935737 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2024-07-31 16:56:39.935737 96.37% [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 = 22 AND status=0 LIMIT 1
2024-07-31 16:56:39.935737 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100
2024-07-31 16:56:39.935737 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = '6971903849' and status = 0 limit 1
2024-07-31 16:56:39.935737 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-07-31 16:56:39.935737 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2024-07-31 16:56:39.935737 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
2024-07-31 16:56:39.935737 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 6 AND status = 0
2024-07-31 16:56:39.935737 96.37% [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-07-31 16:56:39.935737 96.37% [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-07-31 16:56:39.935737 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :+234/0.....+2347084366035
2024-07-31 16:56:39.935737 96.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : +2347084366035
2024-07-31 16:56:39.935737 96.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 07084366035
2024-07-31 16:56:39.935737 96.37% [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 ="07001341111" LIMIT 1
2024-07-31 16:56:39.935737 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-07-31 16:56:39.935737 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DIDQUERY] Query :SELECT * FROM dids WHERE id ="21111" and status = 0 limit 1
2024-07-31 16:56:39.935737 96.37% [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="+2347084366035">
<condition field="destination_number" expression="\+2347084366035">
<action application="set" data="effective_destination_number=\+2347084366035"/>
<action application="set" data="execute_on_answer_1=sched_hangup +6000 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-07-31 16:56:39"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=22"/>
<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:655|CODE:^+234.*|DESTINATION:Nigeria|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:12.5500000000|INC:1|INITIALBLOCK:1|RATEGROUP:6|MARKUP:0|CI:141|ACCID:22"/>
<action application="set" data="original_caller_id_name=Avetium"/>
<action application="set" data="original_caller_id_number=07001341111"/>
<action application="limit" data="db 6971903849 user_6971903849 2 "/>
<action application="limit" data="hash CPS_6971903849 CPS_user_6971903849 2/1 "/>
<action application="set" data="effective_caller_id_name=Avetium"/>
<action application="set" data="effective_caller_id_number=07001341111"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:324|CODE:^+234.*|DESTINATION:Nigeria|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:4.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=+2347084366035"/>
<action application="export" data="presence_data=x|||Avetium(6971903849)|||^+234.* // Nigeria // 12.5500000000 |||CataleyaSBC // ^+234.* // Nigeria // 4.9000000000 // trunk_id=1|||STD|||157.32.77.3"/>
<action application="bridge" data="{sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMU]sofia/gateway/CataleyaSBC/07084366035"/>
<action application="set" data="did_id=21111"/>
<action application="set" data="destination_number=+2347084366035"/>
<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>
</document>
Dialplan: sofia/default/6971903849@avetium10.intarvas.com parsing [default->+2347084366035] continue=false
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Regex (PASS) [+2347084366035] destination_number(+2347084366035) =~ /\+2347084366035/ break=on-false
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(effective_destination_number=\+2347084366035)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(execute_on_answer_1=sched_hangup +6000 normal_clearing)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(notify_flag=0)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(notify_credit_limit=5.00000)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(type=0)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(callstart=2024-07-31 16:56:39)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(hangup_after_bridge=true)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(account_id=22)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(parent_id=0)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(entity_id=0)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(call_processed=internal)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(call_direction=outbound)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(accountname=default)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(origination_rates=ID:655|CODE:^+234.*|DESTINATION:Nigeria|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:12.5500000000|INC:1|INITIALBLOCK:1|RATEGROUP:6|MARKUP:0|CI:141|ACCID:22)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(original_caller_id_name=Avetium)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(original_caller_id_number=07001341111)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action limit(db 6971903849 user_6971903849 2 )
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action limit(hash CPS_6971903849 CPS_user_6971903849 2/1 )
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(effective_caller_id_name=Avetium)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(effective_caller_id_number=07001341111)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(calltype=STANDARD)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(termination_rates=ID:324|CODE:^+234.*|DESTINATION:Nigeria|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:4.9000000000|INC:1|INITIALBLOCK:1|TRUNK:1|PROVIDER:5)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(trunk_id=1)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(provider_id=5)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(rate_flag=0)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(daily_call_credit_limit=0.00000)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(monthly_call_credit_limit=0.00000)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(daily_call_used_limit=0.00000)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(monthly_call_used_limit=0.00000)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(quality_trunk_seq=1)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(force_trunk_flag=0)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action export(presence_data=trunk_id=1)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(intcall=0)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action export(presence_id=+2347084366035)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action export(presence_data=x|||Avetium(6971903849)|||^+234.* // Nigeria // 12.5500000000 |||CataleyaSBC // ^+234.* // Nigeria // 4.9000000000 // trunk_id=1|||STD|||157.32.77.3)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMU]sofia/gateway/CataleyaSBC/07084366035)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(did_id=21111)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(destination_number=+2347084366035)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(leg_timeout=30)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(call_type_vm_flag=1)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action set(is_local_extension=0)
Dialplan: sofia/default/6971903849@avetium10.intarvas.com Action lua(did_call_forwarding.lua)
2024-07-31 16:56:39.935737 96.37% [DEBUG] switch_core_state_machine.c:281 (sofia/default/6971903849@avetium10.intarvas.com) State Change CS_ROUTING -> CS_EXECUTE
2024-07-31 16:56:39.935737 96.37% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6971903849@avetium10.intarvas.com) State ROUTING going to sleep
2024-07-31 16:56:39.935737 96.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6971903849@avetium10.intarvas.com) Running State Change CS_EXECUTE (Cur 1 Tot 6)
2024-07-31 16:56:39.935737 96.37% [DEBUG] switch_core_state_machine.c:647 (sofia/default/6971903849@avetium10.intarvas.com) State EXECUTE
2024-07-31 16:56:39.935737 96.37% [DEBUG] mod_sofia.c:213 sofia/default/6971903849@avetium10.intarvas.com SOFIA EXECUTE
2024-07-31 16:56:39.935737 96.37% [DEBUG] switch_core_state_machine.c:323 sofia/default/6971903849@avetium10.intarvas.com Standard EXECUTE
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(effective_destination_number=\+2347084366035)
2024-07-31 16:56:39.935737 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [effective_destination_number]=[\+2347084366035]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(execute_on_answer_1=sched_hangup +6000 normal_clearing)
2024-07-31 16:56:39.935737 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [execute_on_answer_1]=[sched_hangup +6000 normal_clearing]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(notify_flag=0)
2024-07-31 16:56:39.935737 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [notify_flag]=[0]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(notify_credit_limit=5.00000)
2024-07-31 16:56:39.935737 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [notify_credit_limit]=[5.00000]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(type=0)
2024-07-31 16:56:39.935737 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [type]=[0]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(callstart=2024-07-31 16:56:39)
2024-07-31 16:56:39.935737 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [callstart]=[2024-07-31 16:56:39]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(hangup_after_bridge=true)
2024-07-31 16:56:39.935737 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(continue_on_fail=TRUE)
2024-07-31 16:56:39.935737 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(account_id=22)
2024-07-31 16:56:39.935737 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [account_id]=[22]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(parent_id=0)
2024-07-31 16:56:39.935737 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [parent_id]=[0]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(entity_id=0)
2024-07-31 16:56:39.935737 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [entity_id]=[0]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(call_processed=internal)
2024-07-31 16:56:39.955745 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(call_direction=outbound)
2024-07-31 16:56:39.955745 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(accountname=default)
2024-07-31 16:56:39.955745 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [accountname]=[default]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(origination_rates=ID:655|CODE:^+234.*|DESTINATION:Nigeria|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:12.5500000000|INC:1|INITIALBLOCK:1|RATEGROUP:6|MARKUP:0|CI:141|ACCID:22)
2024-07-31 16:56:39.955745 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [origination_rates]=[ID:655|CODE:^+234.*|DESTINATION:Nigeria|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:12.5500000000|INC:1|INITIALBLOCK:1|RATEGROUP:6|MARKUP:0|CI:141|ACCID:22]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(original_caller_id_name=Avetium)
2024-07-31 16:56:39.955745 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [original_caller_id_name]=[Avetium]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(original_caller_id_number=07001341111)
2024-07-31 16:56:39.955745 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [original_caller_id_number]=[07001341111]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com limit(db 6971903849 user_6971903849 2 )
2024-07-31 16:56:39.955745 96.37% [DEBUG] switch_limit.c:124 incr called: 6971903849_user_6971903849 max:2, interval:0
2024-07-31 16:56:39.955745 96.37% [DEBUG] mod_db.c:194 Usage for 6971903849_user_6971903849 is now 1/2
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com limit(hash CPS_6971903849 CPS_user_6971903849 2/1 )
2024-07-31 16:56:39.955745 96.37% [DEBUG] switch_limit.c:124 incr called: CPS_6971903849_CPS_user_6971903849 max:2, interval:1
2024-07-31 16:56:39.955745 96.37% [DEBUG] mod_hash.c:195 Usage for CPS_6971903849_CPS_user_6971903849 is now 2/2 for the last 1 seconds
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(effective_caller_id_name=Avetium)
2024-07-31 16:56:39.955745 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [effective_caller_id_name]=[Avetium]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(effective_caller_id_number=07001341111)
2024-07-31 16:56:39.955745 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [effective_caller_id_number]=[07001341111]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(calltype=STANDARD)
2024-07-31 16:56:39.955745 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(termination_rates=ID:324|CODE:^+234.*|DESTINATION:Nigeria|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:4.9000000000|INC:1|INITIALBLOCK:1|TRUNK:1|PROVIDER:5)
2024-07-31 16:56:39.955745 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [termination_rates]=[ID:324|CODE:^+234.*|DESTINATION:Nigeria|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:4.9000000000|INC:1|INITIALBLOCK:1|TRUNK:1|PROVIDER:5]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(trunk_id=1)
2024-07-31 16:56:39.955745 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [trunk_id]=[1]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(provider_id=5)
2024-07-31 16:56:39.955745 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [provider_id]=[5]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(rate_flag=0)
2024-07-31 16:56:39.955745 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [rate_flag]=[0]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(daily_call_credit_limit=0.00000)
2024-07-31 16:56:39.955745 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [daily_call_credit_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(monthly_call_credit_limit=0.00000)
2024-07-31 16:56:39.955745 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [monthly_call_credit_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(daily_call_used_limit=0.00000)
2024-07-31 16:56:39.955745 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [daily_call_used_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(monthly_call_used_limit=0.00000)
2024-07-31 16:56:39.955745 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [monthly_call_used_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(quality_trunk_seq=1)
2024-07-31 16:56:39.955745 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [quality_trunk_seq]=[1]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(force_trunk_flag=0)
2024-07-31 16:56:39.955745 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [force_trunk_flag]=[0]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com export(presence_data=trunk_id=1)
2024-07-31 16:56:39.955745 96.37% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[trunk_id=1]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com set(intcall=0)
2024-07-31 16:56:39.955745 96.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/6971903849@avetium10.intarvas.com [intcall]=[0]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com export(presence_id=+2347084366035)
2024-07-31 16:56:39.955745 96.37% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_id]=[+2347084366035]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com export(presence_data=x|||Avetium(6971903849)|||^+234.* // Nigeria // 12.5500000000 |||CataleyaSBC // ^+234.* // Nigeria // 4.9000000000 // trunk_id=1|||STD|||157.32.77.3)
2024-07-31 16:56:39.955745 96.37% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[x|||Avetium(6971903849)|||^+234.* // Nigeria // 12.5500000000 |||CataleyaSBC // ^+234.* // Nigeria // 4.9000000000 // trunk_id=1|||STD|||157.32.77.3]
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMU]sofia/gateway/CataleyaSBC/07084366035)
2024-07-31 16:56:39.955745 96.37% [DEBUG] switch_channel.c:1288 sofia/default/6971903849@avetium10.intarvas.com EXPORTING[export_vars] [domain_name]=[avetium10.intarvas.com] to event
2024-07-31 16:56:39.955745 96.37% [DEBUG] switch_channel.c:1288 sofia/default/6971903849@avetium10.intarvas.com EXPORTING[export_vars] [sip_to_host]=[avetium10.intarvas.com] to event
2024-07-31 16:56:39.955745 96.37% [DEBUG] switch_channel.c:1288 sofia/default/6971903849@avetium10.intarvas.com EXPORTING[export_vars] [presence_data]=[x|||Avetium(6971903849)|||^+234.* // Nigeria // 12.5500000000 |||CataleyaSBC // ^+234.* // Nigeria // 4.9000000000 // trunk_id=1|||STD|||157.32.77.3] to event
2024-07-31 16:56:39.955745 96.37% [DEBUG] switch_channel.c:1288 sofia/default/6971903849@avetium10.intarvas.com EXPORTING[export_vars] [call_type]=[4] to event
2024-07-31 16:56:39.955745 96.37% [DEBUG] switch_channel.c:1288 sofia/default/6971903849@avetium10.intarvas.com EXPORTING[export_vars] [presence_data]=[x|||Avetium(6971903849)|||^+234.* // Nigeria // 12.5500000000 |||CataleyaSBC // ^+234.* // Nigeria // 4.9000000000 // trunk_id=1|||STD|||157.32.77.3] to event
2024-07-31 16:56:39.955745 96.37% [DEBUG] switch_channel.c:1288 sofia/default/6971903849@avetium10.intarvas.com EXPORTING[export_vars] [presence_id]=[+2347084366035] to event
2024-07-31 16:56:39.955745 96.37% [DEBUG] switch_channel.c:1288 sofia/default/6971903849@avetium10.intarvas.com EXPORTING[export_vars] [presence_data]=[x|||Avetium(6971903849)|||^+234.* // Nigeria // 12.5500000000 |||CataleyaSBC // ^+234.* // Nigeria // 4.9000000000 // trunk_id=1|||STD|||157.32.77.3] to event
2024-07-31 16:56:39.955745 96.37% [DEBUG] switch_ivr_originate.c:2297 Parsing global variables
2024-07-31 16:56:39.955745 96.37% [DEBUG] switch_ivr_originate.c:2859 Parsing session specific variables
2024-07-31 16:56:39.955745 96.37% [NOTICE] switch_channel.c:1142 New Channel sofia/default/07084366035 [022f2b30-76e8-40b1-972f-3f42d9015485]
2024-07-31 16:56:39.955745 96.37% [DEBUG] mod_sofia.c:5110 (sofia/default/07084366035) State Change CS_NEW -> CS_INIT
2024-07-31 16:56:39.955745 96.37% [DEBUG] switch_ivr_originate.c:3167 sofia/default/07084366035 Setting leg timeout to 30
2024-07-31 16:56:39.955745 96.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/07084366035) Running State Change CS_INIT (Cur 2 Tot 7)
2024-07-31 16:56:39.955745 96.37% [DEBUG] switch_core_state_machine.c:624 (sofia/default/07084366035) State INIT
2024-07-31 16:56:39.955745 96.37% [DEBUG] mod_sofia.c:97 sofia/default/07084366035 SOFIA INIT
2024-07-31 16:56:39.955745 96.37% [INFO] sofia_glue.c:1659 sofia/default/07084366035 sending invite call-id: (null)
2024-07-31 16:56:39.955745 96.37% [DEBUG] sofia_glue.c:1662 sofia/default/07084366035 sending invite version: 1.10.10-release 64bit
Local SDP:
v=0
o=FreeSWITCH 1722426935 1722426936 IN IP4 34.142.50.16
s=FreeSWITCH
c=IN IP4 34.142.50.16
t=0 0
m=audio 18064 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-07-31 16:56:39.955745 96.37% [DEBUG] switch_core_state_machine.c:40 sofia/default/07084366035 Standard INIT
2024-07-31 16:56:39.955745 96.37% [DEBUG] switch_core_state_machine.c:48 (sofia/default/07084366035) State Change CS_INIT -> CS_ROUTING
2024-07-31 16:56:39.955745 96.37% [DEBUG] switch_core_state_machine.c:624 (sofia/default/07084366035) State INIT going to sleep
2024-07-31 16:56:39.955745 96.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/07084366035) Running State Change CS_ROUTING (Cur 2 Tot 7)
2024-07-31 16:56:39.955745 96.37% [DEBUG] sofia.c:7493 Channel sofia/default/07084366035 entering state [calling][0]
2024-07-31 16:56:39.955745 96.37% [DEBUG] switch_core_state_machine.c:640 (sofia/default/07084366035) State ROUTING
2024-07-31 16:56:39.955745 96.37% [DEBUG] mod_sofia.c:158 sofia/default/07084366035 SOFIA ROUTING
2024-07-31 16:56:39.955745 96.37% [DEBUG] switch_ivr_originate.c:67 (sofia/default/07084366035) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2024-07-31 16:56:39.955745 96.37% [DEBUG] switch_core_state_machine.c:640 (sofia/default/07084366035) State ROUTING going to sleep
2024-07-31 16:56:39.955745 96.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/07084366035) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 7)
2024-07-31 16:56:39.955745 96.37% [DEBUG] switch_core_state_machine.c:659 (sofia/default/07084366035) State CONSUME_MEDIA
2024-07-31 16:56:39.955745 96.37% [DEBUG] switch_core_state_machine.c:659 (sofia/default/07084366035) State CONSUME_MEDIA going to sleep
2024-07-31 16:56:40.195744 96.37% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur.
2024-07-31 16:56:40.655768 94.83% [WARNING] sofia_reg.c:1842 SIP auth challenge (INVITE) on sofia profile 'default' for [6971903849@avetium10.intarvas.com] from ip 157.32.77.3
2024-07-31 16:56:40.935778 94.83% [WARNING] sofia_reg.c:1842 SIP auth challenge (INVITE) on sofia profile 'default' for [07001341111@avetium10.intarvas.com] from ip 157.32.77.3
2024-07-31 16:56:42.475747 94.57% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur.
2024-07-31 16:56:42.475747 94.57% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur.
2024-07-31 16:56:42.475747 94.57% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur.
2024-07-31 16:56:43.655753 94.53% [DEBUG] sofia.c:7493 Channel sofia/default/07084366035 entering state [proceeding][183]
2024-07-31 16:56:43.655753 94.53% [DEBUG] sofia.c:7503 Remote SDP:
v=0
o=- 136384 36384 IN IP4 102.221.16.147
s=Cataleya
c=IN IP4 102.221.16.147
t=0 0
m=audio 61822 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2024-07-31 16:56:43.655753 94.53% [NOTICE] sofia.c:7506 Pre-Answer sofia/default/07084366035!
2024-07-31 16:56:43.655753 94.53% [DEBUG] switch_channel.c:3585 (sofia/default/07084366035) Callstate Change DOWN -> EARLY
2024-07-31 16:56:43.655753 94.53% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2024-07-31 16:56:43.655753 94.53% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2024-07-31 16:56:43.655753 94.53% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2024-07-31 16:56:43.655753 94.53% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2024-07-31 16:56:43.655753 94.53% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
2024-07-31 16:56:43.655753 94.53% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/07084366035 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2024-07-31 16:56:43.655753 94.53% [DEBUG] switch_core_codec.c:111 sofia/default/07084366035 Original read codec set to PCMA:8
2024-07-31 16:56:43.655753 94.53% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
2024-07-31 16:56:43.655753 94.53% [DEBUG] switch_core_media.c:5856 sofia/default/07084366035 Set 2833 dtmf send payload to 101 recv payload to 101
2024-07-31 16:56:43.655753 94.53% [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/default/07084366035] 10.154.0.10 port 18064 -> 102.221.16.147 port 61822 codec: 8 ms: 20
2024-07-31 16:56:43.655753 94.53% [DEBUG] switch_rtp.c:4373 Starting timer [soft] 160 bytes per 20ms
2024-07-31 16:56:43.655753 94.53% [DEBUG] switch_core_media.c:8972 sofia/default/07084366035 Set 2833 dtmf send payload to 101
2024-07-31 16:56:43.655753 94.53% [DEBUG] switch_core_media.c:8979 sofia/default/07084366035 Set 2833 dtmf receive payload to 101
2024-07-31 16:56:43.655753 94.53% [DEBUG] switch_core_media.c:9002 sofia/default/07084366035 Set rtp dtmf delay to 40
2024-07-31 16:56:43.675777 94.53% [INFO] switch_ivr_originate.c:3858 Sending early media
2024-07-31 16:56:43.675777 94.53% [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/default/6971903849@avetium10.intarvas.com] 10.154.0.10 port 22218 -> 192.168.56.241 port 8000 codec: 8 ms: 20
2024-07-31 16:56:43.675777 94.53% [DEBUG] switch_rtp.c:4373 Starting timer [soft] 160 bytes per 20ms
2024-07-31 16:56:43.675777 94.53% [DEBUG] switch_core_media.c:8972 sofia/default/6971903849@avetium10.intarvas.com Set 2833 dtmf send payload to 101
2024-07-31 16:56:43.675777 94.53% [DEBUG] switch_core_media.c:8979 sofia/default/6971903849@avetium10.intarvas.com Set 2833 dtmf receive payload to 101
2024-07-31 16:56:43.675777 94.53% [DEBUG] switch_core_media.c:9002 sofia/default/6971903849@avetium10.intarvas.com Set rtp dtmf delay to 40
2024-07-31 16:56:43.675777 94.53% [DEBUG] mod_sofia.c:2607 Ring SDP:
v=0
o=FreeSWITCH 1722422785 1722422786 IN IP4 34.142.50.16
s=FreeSWITCH
c=IN IP4 34.142.50.16
t=0 0
m=audio 22218 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
2024-07-31 16:56:43.675777 94.53% [NOTICE] mod_sofia.c:2610 Pre-Answer sofia/default/6971903849@avetium10.intarvas.com!
2024-07-31 16:56:43.675777 94.53% [DEBUG] switch_channel.c:3585 (sofia/default/6971903849@avetium10.intarvas.com) Callstate Change RINGING -> EARLY
2024-07-31 16:56:43.675777 94.53% [DEBUG] switch_ivr_originate.c:3909 Originate Resulted in Success: [sofia/default/07084366035] Peer UUID: 022f2b30-76e8-40b1-972f-3f42d9015485
2024-07-31 16:56:43.675777 94.53% [DEBUG] sofia.c:7493 Channel sofia/default/6971903849@avetium10.intarvas.com entering state [early][183]
2024-07-31 16:56:43.675777 94.53% [DEBUG] switch_ivr_bridge.c:1791 (sofia/default/07084366035) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2024-07-31 16:56:43.675777 94.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/07084366035) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 7)
2024-07-31 16:56:43.675777 94.53% [DEBUG] switch_core_state_machine.c:650 (sofia/default/07084366035) State EXCHANGE_MEDIA
2024-07-31 16:56:43.675777 94.53% [DEBUG] mod_sofia.c:672 SOFIA EXCHANGE_MEDIA
2024-07-31 16:56:44.295786 94.53% [INFO] switch_rtp.c:7463 Auto Changing audio port from 192.168.56.241:8000 to 157.32.77.3:8000
2024-07-31 16:56:44.355792 94.53% [DEBUG] sofia.c:7493 Channel sofia/default/07084366035 entering state [proceeding][180]
2024-07-31 16:56:44.355792 94.53% [NOTICE] sofia.c:7604 Ring-Ready sofia/default/07084366035!
2024-07-31 16:56:44.355792 94.53% [DEBUG] switch_channel.c:3513 (sofia/default/07084366035) Callstate Change EARLY -> RINGING
2024-07-31 16:56:44.435779 94.53% [DEBUG] switch_rtp.c:7503 Correct audio ip/port confirmed.
2024-07-31 16:56:46.295792 94.47% [WARNING] sofia_reg.c:3210 Can't find user [6971903849@avetium10.intarvas.com] from 157.32.77.3
You must define a domain called 'avetium10.intarvas.com' in your directory and add a user with the id="6971903849" attribute
and you must configure your device to use the proper domain in its authentication credentials.
2024-07-31 16:56:46.995777 94.83% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur.
2024-07-31 16:56:48.075774 94.83% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur.
2024-07-31 16:56:49.315768 94.83% [INFO] sofia.c:1348 sofia/default/07084366035 Update Callee ID to "Outbound Call" <7084366035>
2024-07-31 16:56:49.315768 94.83% [DEBUG] sofia.c:7493 Channel sofia/default/07084366035 entering state [completing][200]
2024-07-31 16:56:49.315768 94.83% [DEBUG] sofia.c:7500 Duplicate SDP
v=0
o=- 136384 36384 IN IP4 102.221.16.147
s=Cataleya
c=IN IP4 102.221.16.147
t=0 0
m=audio 61822 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2024-07-31 16:56:49.335846 94.83% [DEBUG] sofia.c:7493 Channel sofia/default/07084366035 entering state [ready][200]
2024-07-31 16:56:49.335846 94.83% [NOTICE] sofia.c:8622 Channel [sofia/default/07084366035] has been answered
2024-07-31 16:56:49.335846 94.83% [DEBUG] switch_channel.c:3912 (sofia/default/07084366035) Callstate Change RINGING -> ACTIVE
2024-07-31 16:56:49.355777 94.83% [DEBUG] switch_core_media.c:8641 Audio params are unchanged for sofia/default/6971903849@avetium10.intarvas.com.
2024-07-31 16:56:49.355777 94.83% [DEBUG] mod_sofia.c:914 Local SDP sofia/default/6971903849@avetium10.intarvas.com:
v=0
o=FreeSWITCH 1722422785 1722422787 IN IP4 34.142.50.16
s=FreeSWITCH
c=IN IP4 34.142.50.16
t=0 0
m=audio 22218 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
2024-07-31 16:56:49.355777 94.83% [NOTICE] switch_ivr_bridge.c:730 Channel [sofia/default/6971903849@avetium10.intarvas.com] has been answered
EXECUTE [depth=0] sofia/default/6971903849@avetium10.intarvas.com sched_hangup(+6000 normal_clearing)
2024-07-31 16:56:49.355777 94.83% [DEBUG] sofia.c:7493 Channel sofia/default/6971903849@avetium10.intarvas.com entering state [completed][200]
2024-07-31 16:56:49.355777 94.83% [DEBUG] switch_scheduler.c:263 Added task 5 switch_ivr_schedule_hangup (755f06ac-48e4-4319-bcb1-8e534a349406) to run at 1722451009
2024-07-31 16:56:49.355777 94.83% [DEBUG] switch_channel.c:3912 (sofia/default/6971903849@avetium10.intarvas.com) Callstate Change EARLY -> ACTIVE
2024-07-31 16:56:49.395785 94.83% [DEBUG] switch_rtp.c:7503 Correct audio ip/port confirmed.