From univasa, 1 Year ago, written in FreeSWITCH.
- go back
Embed
Viewing differences between and univasa
  1. span style="color: cornflowerblue; font-weight: bold;"> 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]
  2. 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)
  3. 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.
  4. 2023-08-17 09:59:24.690944 [DEBUG] sofia.c:10456 verifying acl "default" for ip/port 45.222.101.176:0.
  5. 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
  6. 2023-08-17 09:59:24.690944 [DEBUG] switch_core_state_machine.c:604 (sofia/default/002@hq.ubx.univasa.com:5060) State NEW
  7. 2023-08-17 09:59:24.690944 [DEBUG] sofia.c:2447 detaching session 1fa57c82-0c40-4f5f-b08a-6db40acc401b
  8. 2023-08-17 09:59:25.070955 [DEBUG] sofia.c:2562 Re-attaching to session 1fa57c82-0c40-4f5f-b08a-6db40acc401b
  9. 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.
  10. 2023-08-17 09:59:25.090949 [DEBUG] sofia.c:10456 verifying acl "default" for ip/port 45.222.101.176:0.
  11. 2023-08-17 09:59:25.090949 [DEBUG] sofia.c:11564 Setting NAT mode based on via received
  12. 2023-08-17 09:59:25.090949 [DEBUG] sofia.c:7406 Channel sofia/default/002@hq.ubx.univasa.com:5060 entering state [received][100]
  13. 2023-08-17 09:59:25.090949 [DEBUG] sofia.c:7416 Remote SDP:
  14. v=0
  15. o=3cxVCE 117783645 40676775 IN IP4 192.168.10.15
  16. s=3cxVCE Audio Call
  17. c=IN IP4 192.168.10.15
  18. t=0 0
  19. m=audio 40024 RTP/AVP 0 8 3 101
  20. a=rtpmap:0 PCMU/8000
  21. a=rtpmap:8 PCMA/8000
  22. a=rtpmap:3 GSM/8000
  23. a=rtpmap:101 telephone-event/8000
  24. a=fmtp:101 0-15
  25. a=ptime:20
  26. m=video 40022 RTP/AVP 34
  27. c=IN IP4 192.168.10.15
  28. a=rtpmap:34 H263/90000
  29. a=fmtp:34 QCIF=1;CIF=1;SQCIF=1;CIF4=1
  30.  
  31. 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]
  32. 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]
  33. 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
  34. 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]
  35. 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]
  36. 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
  37. 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]
  38. 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]
  39. 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]
  40. 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]
  41. 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]
  42. 2023-08-17 09:59:25.090949 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@8000
  43. 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
  44. 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
  45. 2023-08-17 09:59:25.090949 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 101@8000
  46. 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
  47. 2023-08-17 09:59:25.090949 [DEBUG] switch_core_media.c:6203 Video Codec Compare [H263:34]/[H264:97]
  48. 2023-08-17 09:59:25.090949 [DEBUG] switch_core_media.c:6203 Video Codec Compare [H263:34]/[VP8:99]
  49. 2023-08-17 09:59:25.090949 [DEBUG] switch_core_media.c:6246 No matches with FTMP, fallback to ignoring FMTP
  50. 2023-08-17 09:59:25.090949 [DEBUG] switch_core_media.c:6203 Video Codec Compare [H263:34]/[H264:97]
  51. 2023-08-17 09:59:25.090949 [DEBUG] switch_core_media.c:6203 Video Codec Compare [H263:34]/[VP8:99]
  52. 2023-08-17 09:59:25.090949 [DEBUG] switch_core_media.c:6254 No matches with inherit_codec, fallback to ignoring PT
  53. 2023-08-17 09:59:25.090949 [DEBUG] switch_core_media.c:6203 Video Codec Compare [H263:34]/[H264:97]
  54. 2023-08-17 09:59:25.090949 [DEBUG] switch_core_media.c:6203 Video Codec Compare [H263:34]/[VP8:99]
  55. 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
  56. 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)
  57. 2023-08-17 09:59:25.090949 [DEBUG] switch_core_state_machine.c:628 (sofia/default/002@hq.ubx.univasa.com:5060) State INIT
  58. 2023-08-17 09:59:25.090949 [DEBUG] mod_sofia.c:93 sofia/default/002@hq.ubx.univasa.com:5060 SOFIA INIT
  59. 2023-08-17 09:59:25.090949 [DEBUG] switch_core_state_machine.c:40 sofia/default/002@hq.ubx.univasa.com:5060 Standard INIT
  60. 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
  61. 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
  62. 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)
  63. 2023-08-17 09:59:25.090949 [DEBUG] switch_channel.c:2332 (sofia/default/002@hq.ubx.univasa.com:5060) Callstate Change DOWN -> RINGING
  64. 2023-08-17 09:59:25.090949 [DEBUG] switch_core_state_machine.c:644 (sofia/default/002@hq.ubx.univasa.com:5060) State ROUTING
  65. 2023-08-17 09:59:25.090949 [DEBUG] mod_sofia.c:154 sofia/default/002@hq.ubx.univasa.com:5060 SOFIA ROUTING
  66. 2023-08-17 09:59:25.090949 [DEBUG] switch_core_state_machine.c:236 sofia/default/002@hq.ubx.univasa.com:5060 Standard ROUTING
  67. 2023-08-17 09:59:25.090949 [INFO] mod_dialplan_xml.c:637 Processing Univasa Product <002>->2349037542994 in context default
  68. 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')
  69. 2023-08-17 09:59:25.090949 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  70. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  71. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 2349037542994
  72. 2023-08-17 09:59:25.110940 [WARNING] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] ASH CHANGES: 2349037542994
  73. 2023-08-17 09:59:25.110940 [WARNING] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] ASH CHANGES1: 2349037542994
  74. 2023-08-17 09:59:25.110940 [WARNING] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] ASH CHANGES2: 2349037542994
  75. 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
  76. 2023-08-17 09:59:25.110940 [WARNING] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] ASH CHANGES3: 2349037542994
  77. 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
  78. 2023-08-17 09:59:25.110940 [WARNING] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] ASH CHANGES4: 2349037542994
  79. 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
  80. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : Tumi / 012522215
  81. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] ANKIT CHANGES
  82. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] ANKIT CHANGES DONE
  83. 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
  84. 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
  85. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  86. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 2330223285]
  87. 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
  88. 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
  89. 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
  90. 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
  91. 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
  92. 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
  93. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 2349037542994
  94. 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
  95. 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
  96. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  97. 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
  98. 2023-08-17 09:59:25.110940 [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  99. 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
  100. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  101. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 5
  102. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 2330223285
  103. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 4624.3061
  104. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  105. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 23
  106. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  107. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  108. 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
  109. 2023-08-17 09:59:25.110940 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  110. 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
  111. 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
  112. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  113. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  114. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 583
  115. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  116. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  117. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 15.00000
  118. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : nigeria
  119. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  120. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 5
  121. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  122. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  123. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  124. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your4624.3061 balance Accountid 5 !!!
  125. 2023-08-17 09:59:25.110940 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  126. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE ID 5
  127. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE RATE 15.00000
  128. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE CONNECT COST 0.00000
  129. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE INITIAL INC 1
  130. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE INC 60
  131. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  132. 2023-08-17 09:59:25.110940 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id        :
  133. 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
  134. 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
  135. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  136. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 29
  137. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^234.*
  138. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : nigeria
  139. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  140. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  141. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^234.*
  142. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  143. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  144. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 26
  145. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : Trucall-012522215
  146. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  147. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  148. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 4
  149. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  150. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : Trucall-Trunk_012522215
  151. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  152. 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
  153. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  154. 2023-08-17 09:59:25.110940 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  155. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  156. 2023-08-17 09:59:25.110940 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
  157. 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
  158. 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
  159. 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
  160. 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
  161. 2023-08-17 09:59:25.110940 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  162. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  163. <document type="freeswitch/xml">
  164. <section name="dialplan" description="ASTPP Dialplan">
  165. <context name="default">
  166. <extension name="2349037542994">
  167. <condition field="destination_number" expression="2349037542994">
  168. <action application="set" data="effective_destination_number=2349037542994"/>
  169. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  170. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  171. <action application="set" data="nibble_account=5"/>
  172. <action application="set" data="nibble_rate=15.00000"/>
  173. <action application="set" data="nibble_increment=60"/>
  174. <action application="set" data="nibble_minimum=0.00000"/>
  175. <action application="nibblebill" data="heartbeat 30"/>
  176. <action application="set" data="callstart=2023-08-17 09:59:25"/>
  177. <action application="set" data="hangup_after_bridge=true"/>
  178. <action application="set" data="continue_on_fail=TRUE"/>
  179. <action application="set" data="account_id=5"/>
  180. <action application="set" data="parent_id=0"/>
  181. <action application="set" data="entity_id=0"/>
  182. <action application="set" data="call_processed=internal"/>
  183. <action application="set" data="call_direction=outbound"/>
  184. <action application="set" data="accountname=default"/>
  185. <action application="set" data="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"/>
  186. <action application="set" data="original_caller_id_name=Tumi"/>
  187. <action application="set" data="original_caller_id_number=012522215"/>
  188. <action application="limit" data="db 2330223285 user_2330223285 20 "/>
  189.  
  190. <action application="export" data="is_recording=1"/>
  191. <action application="export" data="media_bug_answer_req=true"/>
  192. <action application="export" data="RECORD_STEREO=true"/>
  193. <action application="export" data="record_sample_rate=8000"/>
  194. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
  195. <action application="set" data="effective_caller_id_name=Tumi"/>
  196. <action application="set" data="effective_caller_id_number=012522215"/>
  197. <action application="set" data="calltype=STANDARD"/>
  198. <action application="set" data="termination_rates=ID:29|CODE:^234.*|DESTINATION:nigeria|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:8.00000|INC:1|INITIALBLOCK:1|TRUNK:26|PROVIDER:4"/>
  199. <action application="set" data="trunk_id=26"/>
  200. <action application="set" data="provider_id=4"/>
  201. <action application="set" data="rate_flag=0"/>
  202. <action application="set" data="force_trunk_flag=0"/>
  203. <action application="export" data="presence_data=trunk_id=26"/>
  204. <action application="set" data="intcall=0"/>
  205. <action application="export" data="presence_id=2349037542994"/>
  206. <action application="export" data="presence_data=x|||Tumi(2330223285)|||^234.* // nigeria // 15.00000 |||Trucall-Trunk_012522215 // ^234.* // nigeria // 8.00000 // trunk_id=26|||STD|||45.222.101.176"/>
  207. <action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMU:PCMA:G729:G711]sofia/gateway/Trucall-012522215/2349037542994"/>
  208. </condition>
  209. </extension>
  210. </context>
  211. </section>
  212. </document>
  213. Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 parsing [default->2349037542994] continue=false
  214. Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Regex (PASS) [2349037542994] destination_number(2349037542994) =~ /2349037542994/ break=on-false
  215. Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(effective_destination_number=2349037542994)
  216. Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  217. Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  218. Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(nibble_account=5)
  219. Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(nibble_rate=15.00000)
  220. Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(nibble_increment=60)
  221. Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(nibble_minimum=0.00000)
  222. Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action nibblebill(heartbeat 30)
  223. Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(callstart=2023-08-17 09:59:25)
  224. Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(hangup_after_bridge=true)
  225. Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(continue_on_fail=TRUE)
  226. Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(account_id=5)
  227. Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(parent_id=0)
  228. Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(entity_id=0)
  229. Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(call_processed=internal)
  230. Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(call_direction=outbound)
  231. Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(accountname=default)
  232. 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)
  233. Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(original_caller_id_name=Tumi)
  234. Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(original_caller_id_number=012522215)
  235. Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action limit(db 2330223285 user_2330223285 20 )
  236. Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action export(is_recording=1)
  237. Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action export(media_bug_answer_req=true)
  238. Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action export(RECORD_STEREO=true)
  239. Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action export(record_sample_rate=8000)
  240. Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  241. Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(effective_caller_id_name=Tumi)
  242. Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(effective_caller_id_number=012522215)
  243. Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(calltype=STANDARD)
  244. 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)
  245. Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(trunk_id=26)
  246. Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(provider_id=4)
  247. Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(rate_flag=0)
  248. Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(force_trunk_flag=0)
  249. Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action export(presence_data=trunk_id=26)
  250. Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action set(intcall=0)
  251. Dialplan: sofia/default/002@hq.ubx.univasa.com:5060 Action export(presence_id=2349037542994)
  252. 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)
  253. 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)
  254. 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
  255. 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
  256. 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)
  257. 2023-08-17 09:59:25.110940 [DEBUG] switch_core_state_machine.c:651 (sofia/default/002@hq.ubx.univasa.com:5060) State EXECUTE
  258. 2023-08-17 09:59:25.110940 [DEBUG] mod_sofia.c:209 sofia/default/002@hq.ubx.univasa.com:5060 SOFIA EXECUTE
  259. 2023-08-17 09:59:25.110940 [DEBUG] switch_core_state_machine.c:329 sofia/default/002@hq.ubx.univasa.com:5060 Standard EXECUTE
  260. EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(effective_destination_number=2349037542994)
  261. 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]
  262. EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(bridge_pre_execute_bleg_app=sched_hangup)
  263. 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]
  264. EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  265. 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]
  266. EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(nibble_account=5)
  267. 2023-08-17 09:59:25.110940 [DEBUG] mod_dptools.c:1685 SET sofia/default/002@hq.ubx.univasa.com:5060 [nibble_account]=[5]
  268. EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(nibble_rate=15.00000)
  269. 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]
  270. EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(nibble_increment=60)
  271. 2023-08-17 09:59:25.110940 [DEBUG] mod_dptools.c:1685 SET sofia/default/002@hq.ubx.univasa.com:5060 [nibble_increment]=[60]
  272. EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(nibble_minimum=0.00000)
  273. 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]
  274. EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 nibblebill(heartbeat 30)
  275. 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.
  276. 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
  277. EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(callstart=2023-08-17 09:59:25)
  278. 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]
  279. EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(hangup_after_bridge=true)
  280. 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]
  281. EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(continue_on_fail=TRUE)
  282. 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]
  283. EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(account_id=5)
  284. 2023-08-17 09:59:25.130941 [DEBUG] mod_dptools.c:1685 SET sofia/default/002@hq.ubx.univasa.com:5060 [account_id]=[5]
  285. EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(parent_id=0)
  286. 2023-08-17 09:59:25.130941 [DEBUG] mod_dptools.c:1685 SET sofia/default/002@hq.ubx.univasa.com:5060 [parent_id]=[0]
  287. EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(entity_id=0)
  288. 2023-08-17 09:59:25.130941 [DEBUG] mod_dptools.c:1685 SET sofia/default/002@hq.ubx.univasa.com:5060 [entity_id]=[0]
  289. EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(call_processed=internal)
  290. 2023-08-17 09:59:25.130941 [DEBUG] mod_dptools.c:1685 SET sofia/default/002@hq.ubx.univasa.com:5060 [call_processed]=[internal]
  291. EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(call_direction=outbound)
  292. 2023-08-17 09:59:25.130941 [DEBUG] mod_dptools.c:1685 SET sofia/default/002@hq.ubx.univasa.com:5060 [call_direction]=[outbound]
  293. EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(accountname=default)
  294. 2023-08-17 09:59:25.130941 [DEBUG] mod_dptools.c:1685 SET sofia/default/002@hq.ubx.univasa.com:5060 [accountname]=[default]
  295. 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)
  296. 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]
  297. EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(original_caller_id_name=Tumi)
  298. 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]
  299. EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(original_caller_id_number=012522215)
  300. 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]
  301. EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 limit(db 2330223285 user_2330223285 20 )
  302. 2023-08-17 09:59:25.130941 [DEBUG] switch_limit.c:124 incr called: 2330223285_user_2330223285 max:20, interval:0
  303. 2023-08-17 09:59:25.130941 [DEBUG] mod_db.c:194 Usage for 2330223285_user_2330223285 is now 1/20
  304. EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 export(is_recording=1)
  305. 2023-08-17 09:59:25.130941 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [is_recording]=[1]
  306. EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 export(media_bug_answer_req=true)
  307. 2023-08-17 09:59:25.130941 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [media_bug_answer_req]=[true]
  308. EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 export(RECORD_STEREO=true)
  309. 2023-08-17 09:59:25.130941 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [RECORD_STEREO]=[true]
  310. EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 export(record_sample_rate=8000)
  311. 2023-08-17 09:59:25.130941 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [record_sample_rate]=[8000]
  312. 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)
  313. 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]
  314. EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(effective_caller_id_name=Tumi)
  315. 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]
  316. EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(effective_caller_id_number=012522215)
  317. 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]
  318. EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(calltype=STANDARD)
  319. 2023-08-17 09:59:25.130941 [DEBUG] mod_dptools.c:1685 SET sofia/default/002@hq.ubx.univasa.com:5060 [calltype]=[STANDARD]
  320. 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)
  321. 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]
  322. EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(trunk_id=26)
  323. 2023-08-17 09:59:25.130941 [DEBUG] mod_dptools.c:1685 SET sofia/default/002@hq.ubx.univasa.com:5060 [trunk_id]=[26]
  324. EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(provider_id=4)
  325. 2023-08-17 09:59:25.130941 [DEBUG] mod_dptools.c:1685 SET sofia/default/002@hq.ubx.univasa.com:5060 [provider_id]=[4]
  326. EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(rate_flag=0)
  327. 2023-08-17 09:59:25.130941 [DEBUG] mod_dptools.c:1685 SET sofia/default/002@hq.ubx.univasa.com:5060 [rate_flag]=[0]
  328. EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(force_trunk_flag=0)
  329. 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]
  330. EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 export(presence_data=trunk_id=26)
  331. 2023-08-17 09:59:25.130941 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=26]
  332. EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 set(intcall=0)
  333. 2023-08-17 09:59:25.130941 [DEBUG] mod_dptools.c:1685 SET sofia/default/002@hq.ubx.univasa.com:5060 [intcall]=[0]
  334. EXECUTE [depth=0] sofia/default/002@hq.ubx.univasa.com:5060 export(presence_id=2349037542994)
  335. 2023-08-17 09:59:25.130941 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_id]=[2349037542994]
  336. 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)
  337. 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]
  338. 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)
  339. 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
  340. 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
  341. 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
  342. 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
  343. 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
  344. 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
  345. 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
  346. 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
  347. 2023-08-17 09:59:25.130941 [DEBUG] switch_ivr_originate.c:2272 Parsing global variables
  348. 2023-08-17 09:59:25.130941 [DEBUG] switch_ivr_originate.c:2834 Parsing session specific variables
  349. 2023-08-17 09:59:25.130941 [ERR] mod_sofia.c:4794 Gateway 'Trucall-012522215' is down!
  350. 2023-08-17 09:59:25.130941 [NOTICE] mod_sofia.c:5202 Close Channel N/A [CS_NEW]
  351. 2023-08-17 09:59:25.130941 [DEBUG] switch_core_state_machine.c:739 () Running State Change CS_DESTROY (Cur 1 Tot 34)
  352. 2023-08-17 09:59:25.130941 [DEBUG] switch_core_state_machine.c:749 (N/A) State DESTROY
  353. 2023-08-17 09:59:25.130941 [DEBUG] mod_sofia.c:364 N/A SOFIA DESTROY
  354. 2023-08-17 09:59:25.130941 [DEBUG] switch_core_state_machine.c:749 (N/A) State DESTROY going to sleep
  355. 2023-08-17 09:59:25.130941 [NOTICE] switch_ivr_originate.c:3030 Cannot create outgoing channel of type [sofia] cause: [GATEWAY_DOWN]
  356. 2023-08-17 09:59:25.130941 [DEBUG] switch_ivr_originate.c:4026 Originate Resulted in Error Cause: 609 [GATEWAY_DOWN]
  357. 2023-08-17 09:59:25.130941 [INFO] mod_dptools.c:3643 Originate Failed.  Cause: GATEWAY_DOWN
  358. 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.
  359. 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]
  360. 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
  361. 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)
  362. 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
  363. 2023-08-17 09:59:25.130941 [DEBUG] switch_core_state_machine.c:850 (sofia/default/002@hq.ubx.univasa.com:5060) State HANGUP
  364. 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
  365. 2023-08-17 09:59:25.130941 [DEBUG] mod_sofia.c:598 Responding to INVITE with: 480
  366. 2023-08-17 09:59:25.130941 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $15.00000 per minute to account 5
  367. 2023-08-17 09:59:25.130941 [DEBUG] mod_nibblebill.c:518 Not billing 5 - call is not in answered state
  368. 2023-08-17 09:59:25.130941 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  369. [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='5']
  370. 2023-08-17 09:59:25.130941 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 5 (balance = 4624.306100)
  371. 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
  372. 2023-08-17 09:59:25.130941 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  373. [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='5']
  374. 2023-08-17 09:59:25.130941 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 5 (balance = 4624.306100)
  375. 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
  376. 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
  377. 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
  378. 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)
  379. 2023-08-17 09:59:25.130941 [DEBUG] switch_core_state_machine.c:936 (sofia/default/002@hq.ubx.univasa.com:5060) State REPORTING
  380. 2023-08-17 09:59:25.130941 [INFO] mod_json_cdr.c:271 Process [1fa57c82-0c40-4f5f-b08a-6db40acc401b.cdr.json]
  381. 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
  382. 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
  383. 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
  384. 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
  385. 2023-08-17 09:59:25.150940 [NOTICE] switch_core_session.c:1754 Session 33 (sofia/default/002@hq.ubx.univasa.com:5060) Ended
  386. 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]
  387.