2023-08-17 09:59:24.690944 [NOTICE] switch_channel.c:1118 New Channel sofia/default/002@hq.ubx.univasa.com:5060 [1fa57c82-0c40-4f5f-b08a-6db40acc401b] 2023-08-17 09:59:24.690944 [DEBUG] switch_core_state_machine.c:585 (sofia/default/002@hq.ubx.univasa.com:5060) Running State Change CS_NEW (Cur 1 Tot 33) 2023-08-17 09:59:24.690944 [INFO] sofia.c:10362 sofia/default/002@hq.ubx.univasa.com:5060 receiving invite from 45.222.101.176:56694 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: ZGVhNWM5ODc2Mjk0YTVkZWI4NjI3ZTg1NTQ1YThiYjU. 2023-08-17 09:59:24.690944 [DEBUG] sofia.c:10456 verifying acl "default" for ip/port 45.222.101.176:0. 2023-08-17 09:59:24.690944 [WARNING] sofia_reg.c:1795 SIP auth challenge (INVITE) on sofia profile 'default' for [2349037542994@hq.ubx.univasa.com] from ip 45.222.101.176 2023-08-17 09:59:24.690944 [DEBUG] switch_core_state_machine.c:604 (sofia/default/002@hq.ubx.univasa.com:5060) State NEW 2023-08-17 09:59:24.690944 [DEBUG] sofia.c:2447 detaching session 1fa57c82-0c40-4f5f-b08a-6db40acc401b 2023-08-17 09:59:25.070955 [DEBUG] sofia.c:2562 Re-attaching to session 1fa57c82-0c40-4f5f-b08a-6db40acc401b 2023-08-17 09:59:25.090949 [INFO] sofia.c:10362 sofia/default/002@hq.ubx.univasa.com:5060 receiving invite from 45.222.101.176:56694 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: ZGVhNWM5ODc2Mjk0YTVkZWI4NjI3ZTg1NTQ1YThiYjU. 2023-08-17 09:59:25.090949 [DEBUG] sofia.c:10456 verifying acl "default" for ip/port 45.222.101.176:0. 2023-08-17 09:59:25.090949 [DEBUG] sofia.c:11564 Setting NAT mode based on via received 2023-08-17 09:59:25.090949 [DEBUG] sofia.c:7406 Channel sofia/default/002@hq.ubx.univasa.com:5060 entering state [received][100] 2023-08-17 09:59:25.090949 [DEBUG] sofia.c:7416 Remote SDP: v=0 o=3cxVCE 117783645 40676775 IN IP4 192.168.10.15 s=3cxVCE Audio Call c=IN IP4 192.168.10.15 t=0 0 m=audio 40024 RTP/AVP 0 8 3 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:3 GSM/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 m=video 40022 RTP/AVP 34 c=IN IP4 192.168.10.15 a=rtpmap:34 H263/90000 a=fmtp:34 QCIF=1;CIF=1;SQCIF=1;CIF4=1 2023-08-17 09:59:25.090949 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2023-08-17 09:59:25.090949 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2023-08-17 09:59:25.090949 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2023-08-17 09:59:25.090949 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2023-08-17 09:59:25.090949 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2023-08-17 09:59:25.090949 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2023-08-17 09:59:25.090949 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2023-08-17 09:59:25.090949 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2023-08-17 09:59:25.090949 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] 2023-08-17 09:59:25.090949 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1] 2023-08-17 09:59:25.090949 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [GSM:3:8000:20:13200:1]/[G729:18:8000:20:8000:1] 2023-08-17 09:59:25.090949 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@8000 2023-08-17 09:59:25.090949 [DEBUG] switch_core_media.c:3847 Set Codec sofia/default/002@hq.ubx.univasa.com:5060 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2023-08-17 09:59:25.090949 [DEBUG] switch_core_codec.c:111 sofia/default/002@hq.ubx.univasa.com:5060 Original read codec set to PCMU:0 2023-08-17 09:59:25.090949 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 101@8000 2023-08-17 09:59:25.090949 [DEBUG] switch_core_media.c:5918 sofia/default/002@hq.ubx.univasa.com:5060 Set 2833 dtmf send payload to 101 recv payload to 101 2023-08-17 09:59:25.090949 [DEBUG] switch_core_media.c:6203 Video Codec Compare [H263:34]/[H264:97] 2023-08-17 09:59:25.090949 [DEBUG] switch_core_media.c:6203 Video Codec Compare [H263:34]/[VP8:99] 2023-08-17 09:59:25.090949 [DEBUG] switch_core_media.c:6246 No matches with FTMP, fallback to ignoring FMTP 2023-08-17 09:59:25.090949 [DEBUG] switch_core_media.c:6203 Video Codec Compare [H263:34]/[H264:97] 2023-08-17 09:59:25.090949 [DEBUG] switch_core_media.c:6203 Video Codec Compare [H263:34]/[VP8:99] 2023-08-17 09:59:25.090949 [DEBUG] switch_core_media.c:6254 No matches with inherit_codec, fallback to ignoring PT 2023-08-17 09:59:25.090949 [DEBUG] switch_core_media.c:6203 Video Codec Compare [H263:34]/[H264:97] 2023-08-17 09:59:25.090949 [DEBUG] switch_core_media.c:6203 Video Codec Compare [H263:34]/[VP8:99] 2023-08-17 09:59:25.090949 [DEBUG] sofia.c:7840 (sofia/default/002@hq.ubx.univasa.com:5060) State Change CS_NEW -> CS_INIT 2023-08-17 09:59:25.090949 [DEBUG] switch_core_state_machine.c:585 (sofia/default/002@hq.ubx.univasa.com:5060) Running State Change CS_INIT (Cur 1 Tot 33) 2023-08-17 09:59:25.090949 [DEBUG] switch_core_state_machine.c:628 (sofia/default/002@hq.ubx.univasa.com:5060) State INIT 2023-08-17 09:59:25.090949 [DEBUG] mod_sofia.c:93 sofia/default/002@hq.ubx.univasa.com:5060 SOFIA INIT 2023-08-17 09:59:25.090949 [DEBUG] switch_core_state_machine.c:40 sofia/default/002@hq.ubx.univasa.com:5060 Standard INIT 2023-08-17 09:59:25.090949 [DEBUG] switch_core_state_machine.c:48 (sofia/default/002@hq.ubx.univasa.com:5060) State Change CS_INIT -> CS_ROUTING 2023-08-17 09:59:25.090949 [DEBUG] switch_core_state_machine.c:628 (sofia/default/002@hq.ubx.univasa.com:5060) State INIT going to sleep 2023-08-17 09:59:25.090949 [DEBUG] switch_core_state_machine.c:585 (sofia/default/002@hq.ubx.univasa.com:5060) Running State Change CS_ROUTING (Cur 1 Tot 33) 2023-08-17 09:59:25.090949 [DEBUG] switch_channel.c:2332 (sofia/default/002@hq.ubx.univasa.com:5060) Callstate Change DOWN -> RINGING 2023-08-17 09:59:25.090949 [DEBUG] switch_core_state_machine.c:644 (sofia/default/002@hq.ubx.univasa.com:5060) State ROUTING 2023-08-17 09:59:25.090949 [DEBUG] mod_sofia.c:154 sofia/default/002@hq.ubx.univasa.com:5060 SOFIA ROUTING 2023-08-17 09:59:25.090949 [DEBUG] switch_core_state_machine.c:236 sofia/default/002@hq.ubx.univasa.com:5060 Standard ROUTING 2023-08-17 09:59:25.090949 [INFO] mod_dialplan_xml.c:637 Processing Univasa Product <002>->2349037542994 in context default 2023-08-17 09:59:25.090949 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2023-08-17 09:59:25.090949 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 2349037542994 2023-08-17 09:59:25.110940 [WARNING] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] ASH CHANGES: 2349037542994 2023-08-17 09:59:25.110940 [WARNING] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] ASH CHANGES1: 2349037542994 2023-08-17 09:59:25.110940 [WARNING] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] ASH CHANGES2: 2349037542994 2023-08-17 09:59:25.110940 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '2349037542994' limit 1 2023-08-17 09:59:25.110940 [WARNING] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] ASH CHANGES3: 2349037542994 2023-08-17 09:59:25.110940 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '2349037542994' AND status=0 limit 1 2023-08-17 09:59:25.110940 [WARNING] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] ASH CHANGES4: 2349037542994 2023-08-17 09:59:25.110940 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '2349037542994' and status=0 LIMIT 1 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : Tumi / 012522215 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] ANKIT CHANGES 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] ANKIT CHANGES DONE 2023-08-17 09:59:25.110940 [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="2349037542994" LIMIT 1 2023-08-17 09:59:25.110940 [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 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="2349037542994" AND domains.domain="hq.ubx.univasa.com" limit 1 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 2330223285] 2023-08-17 09:59:25.110940 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =2349037542994 2023-08-17 09:59:25.110940 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "2330223285" AND deleted = 0 limit 1 2023-08-17 09:59:25.110940 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^2349037542994.*' OR blocked_patterns = '^234903754299.*' OR blocked_patterns = '^23490375429.*' OR blocked_patterns = '^2349037542.*' OR blocked_patterns = '^234903754.*' OR blocked_patterns = '^23490375.*' OR blocked_patterns = '^2349037.*' OR blocked_patterns = '^234903.*' OR blocked_patterns = '^23490.*' OR blocked_patterns = '^2349.*' OR blocked_patterns = '^234.*' OR blocked_patterns = '^23.*' OR blocked_patterns = '^2.*' OR blocked_patterns ='--') AND accountid = 5 limit 1 2023-08-17 09:59:25.110940 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="2349037542994" AND (accountid = 0 OR status = 1) LIMIT 1 2023-08-17 09:59:25.110940 [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 (patterns = '^2349037542994.*' OR patterns = '^234903754299.*' OR patterns = '^23490375429.*' OR patterns = '^2349037542.*' OR patterns = '^234903754.*' OR patterns = '^23490375.*' OR patterns = '^2349037.*' OR patterns = '^234903.*' OR patterns = '^23490.*' OR patterns = '^2349.*' OR patterns = '^234.*' OR patterns = '^23.*' OR patterns = '^2.*' OR patterns ='--') AND accountid = 5 ORDER BY LENGTH(PKGPTR.patterns) DESC 2023-08-17 09:59:25.110940 [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 ="2349037542994" AND A.accountid = '5' limit 1 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 2349037542994 2023-08-17 09:59:25.110940 [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="2349037542994" LIMIT 1 2023-08-17 09:59:25.110940 [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 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="2349037542994" AND domains.domain="hq.ubx.univasa.com" limit 1 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound 2023-08-17 09:59:25.110940 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '2349037542994' OR number = '234903754299' OR number = '23490375429' OR number = '2349037542' OR number = '234903754' OR number = '23490375' OR number = '2349037' OR number = '234903' OR number = '23490' OR number = '2349' OR number = '234' OR number = '23' OR number = '2' OR number ='--') OR (number = '2349037542994*' OR number = '234903754299*' OR number = '23490375429*' OR number = '2349037542*' OR number = '234903754*' OR number = '23490375*' OR number = '2349037*' OR number = '234903*' OR number = '23490*' OR number = '2349*' OR number = '234*' OR number = '23*' OR number = '2*' OR number ='--') OR (number = '012522215' OR number = '01252221' OR number = '0125222' OR number = '012522' OR number = '01252' OR number = '0125' OR number = '012' OR number = '01' OR number = '0' OR number ='--') OR (number = '012522215*' OR number = '01252221*' OR number = '0125222*' OR number = '012522*' OR number = '01252*' OR number = '0125*' OR number = '012*' OR number = '01*' OR number = '0*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2023-08-17 09:59:25.110940 [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2023-08-17 09:59:25.110940 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '2349037542994' OR routing_prefix = '234903754299' OR routing_prefix = '23490375429' OR routing_prefix = '2349037542' OR routing_prefix = '234903754' OR routing_prefix = '23490375' OR routing_prefix = '2349037' OR routing_prefix = '234903' OR routing_prefix = '23490' OR routing_prefix = '2349' OR routing_prefix = '234' OR routing_prefix = '23' OR routing_prefix = '2' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 5 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 2330223285 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 4624.3061 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 23 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2023-08-17 09:59:25.110940 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 23 AND status = 0 2023-08-17 09:59:25.110940 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound 2023-08-17 09:59:25.110940 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 23 AND status = 0 2023-08-17 09:59:25.110940 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^2349037542994.*' OR pattern = '^234903754299.*' OR pattern = '^23490375429.*' OR pattern = '^2349037542.*' OR pattern = '^234903754.*' OR pattern = '^23490375.*' OR pattern = '^2349037.*' OR pattern = '^234903.*' OR pattern = '^23490.*' OR pattern = '^2349.*' OR pattern = '^234.*' OR pattern = '^23.*' OR pattern = '^2.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 23 OR accountid=5) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 583 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 15.00000 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : nigeria 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 5 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type: 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your4624.3061 balance Accountid 5 !!! 2023-08-17 09:59:25.110940 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins! 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE ID 5 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE RATE 15.00000 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE CONNECT COST 0.00000 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE INITIAL INC 1 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE INC 60 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes 2023-08-17 09:59:25.110940 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id : 2023-08-17 09:59:25.110940 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=23 ORDER by id asc 2023-08-17 09:59:25.110940 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,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 = '^2349037542994.*' OR pattern = '^234903754299.*' OR pattern = '^23490375429.*' OR pattern = '^2349037542.*' OR pattern = '^234903754.*' OR pattern = '^23490375.*' OR pattern = '^2349037.*' OR pattern = '^234903.*' OR pattern = '^23490.*' OR pattern = '^2349.*' OR pattern = '^234.*' OR pattern = '^23.*' OR pattern = '^2.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (26) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information =================== 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 29 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^234.* 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : nigeria 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^234.* 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Strip : 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend : 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 26 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : Trucall-012522215 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable : 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 4 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : Trucall-Trunk_012522215 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES======================= 2023-08-17 09:59:25.110940 [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 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100 2023-08-17 09:59:25.110940 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound 2023-08-17 09:59:25.110940 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 23 AND status = 0 2023-08-17 09:59:25.110940 [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 = 26) AND status=0 limit 1 2023-08-17 09:59:25.110940 [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 = 4) AND status=0 limit 1 2023-08-17 09:59:25.110940 [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="2349037542994" LIMIT 1 2023-08-17 09:59:25.110940 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 parsing [default->2349037542994] continue=false Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Regex (PASS) [2349037542994] destination_number(2349037542994) =~ /2349037542994/ break=on-false Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(effective_destination_number=2349037542994) Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(nibble_account=5) Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(nibble_rate=15.00000) Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(nibble_increment=60) Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(nibble_minimum=0.00000) Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action nibblebill(heartbeat 30) Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(callstart=2023-08-17 09:59:25) Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(hangup_after_bridge=true) Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(account_id=5) Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(parent_id=0) Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(entity_id=0) Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(call_processed=internal) Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(call_direction=outbound) Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(accountname=default) Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(origination_rates=ID:583|CODE:^234.*|DESTINATION:nigeria|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:15.00000|INC:60|INITIALBLOCK:1|RATEGROUP:23|MARKUP:0|CI:0|ACCID:5) Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(original_caller_id_name=Tumi) Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(original_caller_id_number=012522215) Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action limit(db 2330223285 user_2330223285 20 ) Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action export(is_recording=1) Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action export(media_bug_answer_req=true) Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action export(RECORD_STEREO=true) Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action export(record_sample_rate=8000) Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav) Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(effective_caller_id_name=Tumi) Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(effective_caller_id_number=012522215) Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(calltype=STANDARD) Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(termination_rates=ID:29|CODE:^234.*|DESTINATION:nigeria|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:8.00000|INC:1|INITIALBLOCK:1|TRUNK:26|PROVIDER:4) Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(trunk_id=26) Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(provider_id=4) Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(rate_flag=0) Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(force_trunk_flag=0) Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action export(presence_data=trunk_id=26) Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(intcall=0) Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action export(presence_id=2349037542994) Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action export(presence_data=x|||Tumi(2330223285)|||^234.* // nigeria // 15.00000 |||Trucall-Trunk_012522215 // ^234.* // nigeria // 8.00000 // trunk_id=26|||STD|||45.222.101.176) Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMU:PCMA:G729:G711]sofia/gateway/Trucall-012522215/2349037542994) 2023-08-17 09:59:25.110940 [DEBUG] switch_core_state_machine.c:287 (sofia/default/002@hq.ubx.univasa.com:5060) State Change CS_ROUTING -> CS_EXECUTE 2023-08-17 09:59:25.110940 [DEBUG] switch_core_state_machine.c:644 (sofia/default/002@hq.ubx.univasa.com:5060) State ROUTING going to sleep 2023-08-17 09:59:25.110940 [DEBUG] switch_core_state_machine.c:585 (sofia/default/002@hq.ubx.univasa.com:5060) Running State Change CS_EXECUTE (Cur 1 Tot 33) 2023-08-17 09:59:25.110940 [DEBUG] switch_core_state_machine.c:651 (sofia/default/002@hq.ubx.univasa.com:5060) State EXECUTE 2023-08-17 09:59:25.110940 [DEBUG] mod_sofia.c:209 sofia/default/002@hq.ubx.univasa.com:5060 SOFIA EXECUTE 2023-08-17 09:59:25.110940 [DEBUG] switch_core_state_machine.c:329 sofia/default/002@hq.ubx.univasa.com:5060 Standard EXECUTE EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(effective_destination_number=2349037542994) 2023-08-17 09:59:25.110940 [DEBUG] mod_dptools.c:1685 SET sofia/default/002@hq.ubx.univasa.com:5060 [effective_destination_number]=[2349037542994] EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(bridge_pre_execute_bleg_app=sched_hangup) 2023-08-17 09:59:25.110940 [DEBUG] mod_dptools.c:1685 SET sofia/default/002@hq.ubx.univasa.com:5060 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2023-08-17 09:59:25.110940 [DEBUG] mod_dptools.c:1685 SET sofia/default/002@hq.ubx.univasa.com:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(nibble_account=5) 2023-08-17 09:59:25.110940 [DEBUG] mod_dptools.c:1685 SET sofia/default/002@hq.ubx.univasa.com:5060 [nibble_account]=[5] EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(nibble_rate=15.00000) 2023-08-17 09:59:25.110940 [DEBUG] mod_dptools.c:1685 SET sofia/default/002@hq.ubx.univasa.com:5060 [nibble_rate]=[15.00000] EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(nibble_increment=60) 2023-08-17 09:59:25.110940 [DEBUG] mod_dptools.c:1685 SET sofia/default/002@hq.ubx.univasa.com:5060 [nibble_increment]=[60] EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(nibble_minimum=0.00000) 2023-08-17 09:59:25.110940 [DEBUG] mod_dptools.c:1685 SET sofia/default/002@hq.ubx.univasa.com:5060 [nibble_minimum]=[0.00000] EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 nibblebill(heartbeat 30) 2023-08-17 09:59:25.110940 [WARNING] switch_core_session.c:1676 sofia/default/002@hq.ubx.univasa.com:5060 using scheduler due to bypass media or media is not established. 2023-08-17 09:59:25.110940 [DEBUG] switch_scheduler.c:263 Added task 19 switch_core_session_sched_heartbeat (1fa57c82-0c40-4f5f-b08a-6db40acc401b) to run at 1692266395 EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(callstart=2023-08-17 09:59:25) 2023-08-17 09:59:25.110940 [DEBUG] mod_dptools.c:1685 SET sofia/default/002@hq.ubx.univasa.com:5060 [callstart]=[2023-08-17 09:59:25] EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(hangup_after_bridge=true) 2023-08-17 09:59:25.130941 [DEBUG] mod_dptools.c:1685 SET sofia/default/002@hq.ubx.univasa.com:5060 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(continue_on_fail=TRUE) 2023-08-17 09:59:25.130941 [DEBUG] mod_dptools.c:1685 SET sofia/default/002@hq.ubx.univasa.com:5060 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(account_id=5) 2023-08-17 09:59:25.130941 [DEBUG] mod_dptools.c:1685 SET sofia/default/002@hq.ubx.univasa.com:5060 [account_id]=[5] EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(parent_id=0) 2023-08-17 09:59:25.130941 [DEBUG] mod_dptools.c:1685 SET sofia/default/002@hq.ubx.univasa.com:5060 [parent_id]=[0] EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(entity_id=0) 2023-08-17 09:59:25.130941 [DEBUG] mod_dptools.c:1685 SET sofia/default/002@hq.ubx.univasa.com:5060 [entity_id]=[0] EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(call_processed=internal) 2023-08-17 09:59:25.130941 [DEBUG] mod_dptools.c:1685 SET sofia/default/002@hq.ubx.univasa.com:5060 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(call_direction=outbound) 2023-08-17 09:59:25.130941 [DEBUG] mod_dptools.c:1685 SET sofia/default/002@hq.ubx.univasa.com:5060 [call_direction]=[outbound] EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(accountname=default) 2023-08-17 09:59:25.130941 [DEBUG] mod_dptools.c:1685 SET sofia/default/002@hq.ubx.univasa.com:5060 [accountname]=[default] EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(origination_rates=ID:583|CODE:^234.*|DESTINATION:nigeria|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:15.00000|INC:60|INITIALBLOCK:1|RATEGROUP:23|MARKUP:0|CI:0|ACCID:5) 2023-08-17 09:59:25.130941 [DEBUG] mod_dptools.c:1685 SET sofia/default/002@hq.ubx.univasa.com:5060 [origination_rates]=[ID:583|CODE:^234.*|DESTINATION:nigeria|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:15.00000|INC:60|INITIALBLOCK:1|RATEGROUP:23|MARKUP:0|CI:0|ACCID:5] EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(original_caller_id_name=Tumi) 2023-08-17 09:59:25.130941 [DEBUG] mod_dptools.c:1685 SET sofia/default/002@hq.ubx.univasa.com:5060 [original_caller_id_name]=[Tumi] EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(original_caller_id_number=012522215) 2023-08-17 09:59:25.130941 [DEBUG] mod_dptools.c:1685 SET sofia/default/002@hq.ubx.univasa.com:5060 [original_caller_id_number]=[012522215] EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 limit(db 2330223285 user_2330223285 20 ) 2023-08-17 09:59:25.130941 [DEBUG] switch_limit.c:124 incr called: 2330223285_user_2330223285 max:20, interval:0 2023-08-17 09:59:25.130941 [DEBUG] mod_db.c:194 Usage for 2330223285_user_2330223285 is now 1/20 EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 export(is_recording=1) 2023-08-17 09:59:25.130941 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [is_recording]=[1] EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 export(media_bug_answer_req=true) 2023-08-17 09:59:25.130941 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [media_bug_answer_req]=[true] EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 export(RECORD_STEREO=true) 2023-08-17 09:59:25.130941 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [RECORD_STEREO]=[true] EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 export(record_sample_rate=8000) 2023-08-17 09:59:25.130941 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [record_sample_rate]=[8000] EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 export(execute_on_answer=record_session /var/lib/freeswitch/recordings/1fa57c82-0c40-4f5f-b08a-6db40acc401b.wav) 2023-08-17 09:59:25.130941 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/1fa57c82-0c40-4f5f-b08a-6db40acc401b.wav] EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(effective_caller_id_name=Tumi) 2023-08-17 09:59:25.130941 [DEBUG] mod_dptools.c:1685 SET sofia/default/002@hq.ubx.univasa.com:5060 [effective_caller_id_name]=[Tumi] EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(effective_caller_id_number=012522215) 2023-08-17 09:59:25.130941 [DEBUG] mod_dptools.c:1685 SET sofia/default/002@hq.ubx.univasa.com:5060 [effective_caller_id_number]=[012522215] EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(calltype=STANDARD) 2023-08-17 09:59:25.130941 [DEBUG] mod_dptools.c:1685 SET sofia/default/002@hq.ubx.univasa.com:5060 [calltype]=[STANDARD] EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(termination_rates=ID:29|CODE:^234.*|DESTINATION:nigeria|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:8.00000|INC:1|INITIALBLOCK:1|TRUNK:26|PROVIDER:4) 2023-08-17 09:59:25.130941 [DEBUG] mod_dptools.c:1685 SET sofia/default/002@hq.ubx.univasa.com:5060 [termination_rates]=[ID:29|CODE:^234.*|DESTINATION:nigeria|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:8.00000|INC:1|INITIALBLOCK:1|TRUNK:26|PROVIDER:4] EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(trunk_id=26) 2023-08-17 09:59:25.130941 [DEBUG] mod_dptools.c:1685 SET sofia/default/002@hq.ubx.univasa.com:5060 [trunk_id]=[26] EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(provider_id=4) 2023-08-17 09:59:25.130941 [DEBUG] mod_dptools.c:1685 SET sofia/default/002@hq.ubx.univasa.com:5060 [provider_id]=[4] EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(rate_flag=0) 2023-08-17 09:59:25.130941 [DEBUG] mod_dptools.c:1685 SET sofia/default/002@hq.ubx.univasa.com:5060 [rate_flag]=[0] EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(force_trunk_flag=0) 2023-08-17 09:59:25.130941 [DEBUG] mod_dptools.c:1685 SET sofia/default/002@hq.ubx.univasa.com:5060 [force_trunk_flag]=[0] EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 export(presence_data=trunk_id=26) 2023-08-17 09:59:25.130941 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=26] EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(intcall=0) 2023-08-17 09:59:25.130941 [DEBUG] mod_dptools.c:1685 SET sofia/default/002@hq.ubx.univasa.com:5060 [intcall]=[0] EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 export(presence_id=2349037542994) 2023-08-17 09:59:25.130941 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_id]=[2349037542994] EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 export(presence_data=x|||Tumi(2330223285)|||^234.* // nigeria // 15.00000 |||Trucall-Trunk_012522215 // ^234.* // nigeria // 8.00000 // trunk_id=26|||STD|||45.222.101.176) 2023-08-17 09:59:25.130941 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||Tumi(2330223285)|||^234.* // nigeria // 15.00000 |||Trucall-Trunk_012522215 // ^234.* // nigeria // 8.00000 // trunk_id=26|||STD|||45.222.101.176] EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 bridge([leg_timeout=0,absolute_codec_string=^^:PCMU:PCMA:G729:G711]sofia/gateway/Trucall-012522215/2349037542994) 2023-08-17 09:59:25.130941 [DEBUG] switch_channel.c:1264 sofia/default/002@hq.ubx.univasa.com:5060 EXPORTING[export_vars] [is_recording]=[1] to event 2023-08-17 09:59:25.130941 [DEBUG] switch_channel.c:1264 sofia/default/002@hq.ubx.univasa.com:5060 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event 2023-08-17 09:59:25.130941 [DEBUG] switch_channel.c:1264 sofia/default/002@hq.ubx.univasa.com:5060 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event 2023-08-17 09:59:25.130941 [DEBUG] switch_channel.c:1264 sofia/default/002@hq.ubx.univasa.com:5060 EXPORTING[export_vars] [record_sample_rate]=[8000] to event 2023-08-17 09:59:25.130941 [DEBUG] switch_channel.c:1264 sofia/default/002@hq.ubx.univasa.com:5060 EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/1fa57c82-0c40-4f5f-b08a-6db40acc401b.wav] to event 2023-08-17 09:59:25.130941 [DEBUG] switch_channel.c:1264 sofia/default/002@hq.ubx.univasa.com:5060 EXPORTING[export_vars] [presence_data]=[x|||Tumi(2330223285)|||^234.* // nigeria // 15.00000 |||Trucall-Trunk_012522215 // ^234.* // nigeria // 8.00000 // trunk_id=26|||STD|||45.222.101.176] to event 2023-08-17 09:59:25.130941 [DEBUG] switch_channel.c:1264 sofia/default/002@hq.ubx.univasa.com:5060 EXPORTING[export_vars] [presence_id]=[2349037542994] to event 2023-08-17 09:59:25.130941 [DEBUG] switch_channel.c:1264 sofia/default/002@hq.ubx.univasa.com:5060 EXPORTING[export_vars] [presence_data]=[x|||Tumi(2330223285)|||^234.* // nigeria // 15.00000 |||Trucall-Trunk_012522215 // ^234.* // nigeria // 8.00000 // trunk_id=26|||STD|||45.222.101.176] to event 2023-08-17 09:59:25.130941 [DEBUG] switch_ivr_originate.c:2272 Parsing global variables 2023-08-17 09:59:25.130941 [DEBUG] switch_ivr_originate.c:2834 Parsing session specific variables 2023-08-17 09:59:25.130941 [ERR] mod_sofia.c:4794 Gateway 'Trucall-012522215' is down! 2023-08-17 09:59:25.130941 [NOTICE] mod_sofia.c:5202 Close Channel N/A [CS_NEW] 2023-08-17 09:59:25.130941 [DEBUG] switch_core_state_machine.c:739 () Running State Change CS_DESTROY (Cur 1 Tot 34) 2023-08-17 09:59:25.130941 [DEBUG] switch_core_state_machine.c:749 (N/A) State DESTROY 2023-08-17 09:59:25.130941 [DEBUG] mod_sofia.c:364 N/A SOFIA DESTROY 2023-08-17 09:59:25.130941 [DEBUG] switch_core_state_machine.c:749 (N/A) State DESTROY going to sleep 2023-08-17 09:59:25.130941 [NOTICE] switch_ivr_originate.c:3030 Cannot create outgoing channel of type [sofia] cause: [GATEWAY_DOWN] 2023-08-17 09:59:25.130941 [DEBUG] switch_ivr_originate.c:4026 Originate Resulted in Error Cause: 609 [GATEWAY_DOWN] 2023-08-17 09:59:25.130941 [INFO] mod_dptools.c:3643 Originate Failed. Cause: GATEWAY_DOWN 2023-08-17 09:59:25.130941 [NOTICE] switch_core_state_machine.c:386 sofia/default/002@hq.ubx.univasa.com:5060 has executed the last dialplan instruction, hanging up. 2023-08-17 09:59:25.130941 [NOTICE] switch_core_state_machine.c:388 Hangup sofia/default/002@hq.ubx.univasa.com:5060 [CS_EXECUTE] [NORMAL_CLEARING] 2023-08-17 09:59:25.130941 [DEBUG] switch_core_state_machine.c:651 (sofia/default/002@hq.ubx.univasa.com:5060) State EXECUTE going to sleep 2023-08-17 09:59:25.130941 [DEBUG] switch_core_state_machine.c:585 (sofia/default/002@hq.ubx.univasa.com:5060) Running State Change CS_HANGUP (Cur 1 Tot 34) 2023-08-17 09:59:25.130941 [DEBUG] switch_core_state_machine.c:848 (sofia/default/002@hq.ubx.univasa.com:5060) Callstate Change RINGING -> HANGUP 2023-08-17 09:59:25.130941 [DEBUG] switch_core_state_machine.c:850 (sofia/default/002@hq.ubx.univasa.com:5060) State HANGUP 2023-08-17 09:59:25.130941 [DEBUG] mod_sofia.c:453 Channel sofia/default/002@hq.ubx.univasa.com:5060 hanging up, cause: NORMAL_CLEARING 2023-08-17 09:59:25.130941 [DEBUG] mod_sofia.c:598 Responding to INVITE with: 480 2023-08-17 09:59:25.130941 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $15.00000 per minute to account 5 2023-08-17 09:59:25.130941 [DEBUG] mod_nibblebill.c:518 Not billing 5 - call is not in answered state 2023-08-17 09:59:25.130941 [DEBUG] mod_nibblebill.c:422 Doing lookup query [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='5'] 2023-08-17 09:59:25.130941 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 5 (balance = 4624.306100) 2023-08-17 09:59:25.130941 [DEBUG] mod_nibblebill.c:523 Comparing 4624.306100 to hangup balance of 0.000000, taking into account minimum charge of 0.000000 2023-08-17 09:59:25.130941 [DEBUG] mod_nibblebill.c:422 Doing lookup query [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='5'] 2023-08-17 09:59:25.130941 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 5 (balance = 4624.306100) 2023-08-17 09:59:25.130941 [DEBUG] switch_core_state_machine.c:60 sofia/default/002@hq.ubx.univasa.com:5060 Standard HANGUP, cause: NORMAL_CLEARING 2023-08-17 09:59:25.130941 [DEBUG] switch_core_state_machine.c:850 (sofia/default/002@hq.ubx.univasa.com:5060) State HANGUP going to sleep 2023-08-17 09:59:25.130941 [DEBUG] switch_core_state_machine.c:620 (sofia/default/002@hq.ubx.univasa.com:5060) State Change CS_HANGUP -> CS_REPORTING 2023-08-17 09:59:25.130941 [DEBUG] switch_core_state_machine.c:585 (sofia/default/002@hq.ubx.univasa.com:5060) Running State Change CS_REPORTING (Cur 1 Tot 34) 2023-08-17 09:59:25.130941 [DEBUG] switch_core_state_machine.c:936 (sofia/default/002@hq.ubx.univasa.com:5060) State REPORTING 2023-08-17 09:59:25.130941 [INFO] mod_json_cdr.c:271 Process [1fa57c82-0c40-4f5f-b08a-6db40acc401b.cdr.json] 2023-08-17 09:59:25.150940 [DEBUG] switch_core_state_machine.c:174 sofia/default/002@hq.ubx.univasa.com:5060 Standard REPORTING, cause: NORMAL_CLEARING 2023-08-17 09:59:25.150940 [DEBUG] switch_core_state_machine.c:936 (sofia/default/002@hq.ubx.univasa.com:5060) State REPORTING going to sleep 2023-08-17 09:59:25.150940 [DEBUG] switch_core_state_machine.c:611 (sofia/default/002@hq.ubx.univasa.com:5060) State Change CS_REPORTING -> CS_DESTROY 2023-08-17 09:59:25.150940 [DEBUG] switch_core_session.c:1736 Session 33 (sofia/default/002@hq.ubx.univasa.com:5060) Locked, Waiting on external entities 2023-08-17 09:59:25.150940 [NOTICE] switch_core_session.c:1754 Session 33 (sofia/default/002@hq.ubx.univasa.com:5060) Ended 2023-08-17 09:59:25.150940 [NOTICE] switch_core_session.c:1758 Close Channel sofia/default/002@hq.ubx.univasa.com:5060 [CS_DESTROY]