From univasa, 1 Year ago, written in FreeSWITCH.
- view diff
Embed
  1. span style="color: cornflowerblue; font-weight: bold;"> 023-08-18 09:51:47.135862 [NOTICE] switch_channel.c:1118 New Channel sofia/default/2349037542994@116.203.52.230 [b427a3f8-aba1-45f1-8f4b-e5ec6985f181]
  2. 2023-08-18 09:51:47.135862 [DEBUG] switch_core_state_machine.c:585 (sofia/default/2349037542994@116.203.52.230) Running State Change CS_NEW (Cur 1 Tot 171)
  3. 2023-08-18 09:51:47.135862 [INFO] sofia.c:10362 sofia/default/2349037542994@116.203.52.230 receiving invite from 157.230.210.216:5060 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: 0801e60666ea01ec037c0edc65c51dc9@116.203.52.230
  4. 2023-08-18 09:51:47.135862 [DEBUG] sofia.c:10456 verifying acl "default" for ip/port 157.230.210.216:0.
  5. 2023-08-18 09:51:47.135862 [DEBUG] sofia.c:10485 IP 157.230.210.216 Approved by acl "default[]". Access Granted.
  6. 2023-08-18 09:51:47.135862 [DEBUG] sofia.c:7406 Channel sofia/default/2349037542994@116.203.52.230 entering state [received][100]
  7. 2023-08-18 09:51:47.135862 [DEBUG] sofia.c:7416 Remote SDP:
  8. v=0
  9. o=root 415724884 415724884 IN IP4 157.230.210.216
  10. s=Asterisk PBX 13.38.2
  11. c=IN IP4 157.230.210.216
  12. t=0 0
  13. m=audio 11252 RTP/AVP 0 8 18 101
  14. a=rtpmap:0 PCMU/8000
  15. a=rtpmap:8 PCMA/8000
  16. a=rtpmap:18 G729/8000
  17. a=fmtp:18 annexb=no
  18. a=rtpmap:101 telephone-event/8000
  19. a=fmtp:101 0-16
  20. a=maxptime:150
  21.  
  22. 2023-08-18 09:51:47.135862 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  23. 2023-08-18 09:51:47.135862 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:150:64000:1]/[PCMU:0:8000:20:64000:1]
  24. 2023-08-18 09:51:47.135862 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  25. 2023-08-18 09:51:47.135862 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:150:64000:1]/[G729:18:8000:20:8000:1]
  26. 2023-08-18 09:51:47.135862 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  27. 2023-08-18 09:51:47.135862 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  28. 2023-08-18 09:51:47.135862 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMU:0:8000:20:64000:1]
  29. 2023-08-18 09:51:47.135862 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[G729:18:8000:20:8000:1]
  30. 2023-08-18 09:51:47.135862 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [G729:18:8000:150:8000:1]/[PCMA:8:8000:20:64000:1]
  31. 2023-08-18 09:51:47.135862 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [G729:18:8000:150:8000:1]/[PCMU:0:8000:20:64000:1]
  32. 2023-08-18 09:51:47.135862 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [G729:18:8000:150:8000:1]/[G729:18:8000:20:8000:1]
  33. 2023-08-18 09:51:47.135862 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  34. 2023-08-18 09:51:47.135862 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@8000
  35. 2023-08-18 09:51:47.135862 [DEBUG] switch_core_media.c:3847 Set Codec sofia/default/2349037542994@116.203.52.230 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  36. 2023-08-18 09:51:47.135862 [DEBUG] switch_core_codec.c:111 sofia/default/2349037542994@116.203.52.230 Original read codec set to PCMU:0
  37. 2023-08-18 09:51:47.135862 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 101@8000
  38. 2023-08-18 09:51:47.135862 [DEBUG] switch_core_media.c:5918 sofia/default/2349037542994@116.203.52.230 Set 2833 dtmf send payload to 101 recv payload to 101
  39. 2023-08-18 09:51:47.135862 [DEBUG] sofia.c:7840 (sofia/default/2349037542994@116.203.52.230) State Change CS_NEW -> CS_INIT
  40. 2023-08-18 09:51:47.135862 [DEBUG] switch_core_state_machine.c:604 (sofia/default/2349037542994@116.203.52.230) State NEW
  41. 2023-08-18 09:51:47.135862 [DEBUG] switch_core_state_machine.c:585 (sofia/default/2349037542994@116.203.52.230) Running State Change CS_INIT (Cur 1 Tot 171)
  42. 2023-08-18 09:51:47.135862 [DEBUG] switch_core_state_machine.c:628 (sofia/default/2349037542994@116.203.52.230) State INIT
  43. 2023-08-18 09:51:47.135862 [DEBUG] mod_sofia.c:93 sofia/default/2349037542994@116.203.52.230 SOFIA INIT
  44. 2023-08-18 09:51:47.135862 [DEBUG] switch_core_state_machine.c:40 sofia/default/2349037542994@116.203.52.230 Standard INIT
  45. 2023-08-18 09:51:47.135862 [DEBUG] switch_core_state_machine.c:48 (sofia/default/2349037542994@116.203.52.230) State Change CS_INIT -> CS_ROUTING
  46. 2023-08-18 09:51:47.135862 [DEBUG] switch_core_state_machine.c:628 (sofia/default/2349037542994@116.203.52.230) State INIT going to sleep
  47. 2023-08-18 09:51:47.135862 [DEBUG] switch_core_state_machine.c:585 (sofia/default/2349037542994@116.203.52.230) Running State Change CS_ROUTING (Cur 1 Tot 171)
  48. 2023-08-18 09:51:47.135862 [DEBUG] switch_channel.c:2332 (sofia/default/2349037542994@116.203.52.230) Callstate Change DOWN -> RINGING
  49. 2023-08-18 09:51:47.135862 [DEBUG] switch_core_state_machine.c:644 (sofia/default/2349037542994@116.203.52.230) State ROUTING
  50. 2023-08-18 09:51:47.135862 [DEBUG] mod_sofia.c:154 sofia/default/2349037542994@116.203.52.230 SOFIA ROUTING
  51. 2023-08-18 09:51:47.135862 [DEBUG] switch_core_state_machine.c:236 sofia/default/2349037542994@116.203.52.230 Standard ROUTING
  52. 2023-08-18 09:51:47.135862 [INFO] mod_dialplan_xml.c:637 Processing 2349037542994 <2349037542994>->018887075 in context default
  53. 2023-08-18 09:51:47.135862 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  54. 2023-08-18 09:51:47.135862 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  55. 2023-08-18 09:51:47.155851 [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  56. 2023-08-18 09:51:47.155851 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 018887075
  57. 2023-08-18 09:51:47.155851 [WARNING] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] ASH CHANGES: 018887075
  58. 2023-08-18 09:51:47.155851 [WARNING] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] ASH CHANGES1: 018887075
  59. 2023-08-18 09:51:47.155851 [WARNING] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] ASH CHANGES2: 018887075
  60. 2023-08-18 09:51:47.155851 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '018887075' limit 1
  61. 2023-08-18 09:51:47.155851 [WARNING] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] ASH CHANGES3: 018887075
  62. 2023-08-18 09:51:47.155851 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '018887075' AND status=0 limit 1
  63. 2023-08-18 09:51:47.155851 [WARNING] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] ASH CHANGES4: 018887075
  64. 2023-08-18 09:51:47.155851 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '018887075' and status=0 LIMIT 1
  65. 2023-08-18 09:51:47.155851 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 2349037542994 / 2349037542994
  66. 2023-08-18 09:51:47.155851 [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] ANKIT CHANGES
  67. 2023-08-18 09:51:47.155851 [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] ANKIT CHANGES DONE
  68. 2023-08-18 09:51:47.155851 [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 ="018887075" LIMIT 1
  69. 2023-08-18 09:51:47.155851 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  70. 2023-08-18 09:51:47.155851 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("157.230.210.216") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "018887075"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  71. 2023-08-18 09:51:47.155851 [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 8612965]
  72. 2023-08-18 09:51:47.155851 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =018887075
  73. 2023-08-18 09:51:47.155851 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "8612965" AND deleted = 0 limit 1
  74. 2023-08-18 09:51:47.155851 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="018887075" AND (accountid = 0 OR status = 1) LIMIT 1
  75. 2023-08-18 09:51:47.155851 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  76. 2023-08-18 09:51:47.155851 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 5
  77. 2023-08-18 09:51:47.155851 [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 = '^018887075.*' OR patterns = '^01888707.*' OR patterns = '^0188870.*' OR patterns = '^018887.*' OR patterns = '^01888.*' OR patterns = '^0188.*' OR patterns = '^018.*' OR patterns = '^01.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 5 ORDER BY LENGTH(PKGPTR.patterns) DESC
  78. 2023-08-18 09:51:47.155851 [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 ="018887075" AND A.accountid = '12' limit 1
  79. 2023-08-18 09:51:47.155851 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 018887075
  80. 2023-08-18 09:51:47.155851 [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 ="018887075" LIMIT 1
  81. 2023-08-18 09:51:47.155851 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  82. 2023-08-18 09:51:47.155851 [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 = '018887075' OR number = '01888707' OR number = '0188870' OR number = '018887' OR number = '01888' OR number = '0188' OR number = '018' OR number = '01' OR number = '0' OR number ='--') OR (number = '018887075*' OR number = '01888707*' OR number = '0188870*' OR number = '018887*' OR number = '01888*' OR number = '0188*' OR number = '018*' OR number = '01*' OR number = '0*' 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 = '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 ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  83. 2023-08-18 09:51:47.155851 [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  84. 2023-08-18 09:51:47.155851 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '018887075' OR routing_prefix = '01888707' OR routing_prefix = '0188870' OR routing_prefix = '018887' OR routing_prefix = '01888' OR routing_prefix = '0188' OR routing_prefix = '018' OR routing_prefix = '01' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  85. 2023-08-18 09:51:47.155851 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  86. 2023-08-18 09:51:47.155851 [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 12
  87. 2023-08-18 09:51:47.155851 [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 8612965
  88. 2023-08-18 09:51:47.155851 [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 8.8704
  89. 2023-08-18 09:51:47.155851 [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  90. 2023-08-18 09:51:47.155851 [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 5
  91. 2023-08-18 09:51:47.155851 [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  92. 2023-08-18 09:51:47.155851 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  93. 2023-08-18 09:51:47.155851 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
  94. 2023-08-18 09:51:47.155851 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  95. 2023-08-18 09:51:47.155851 [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 ="018887075" LIMIT 1
  96. 2023-08-18 09:51:47.155851 [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  97. 2023-08-18 09:51:47.155851 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  98. 2023-08-18 09:51:47.155851 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 582
  99. 2023-08-18 09:51:47.155851 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  100. 2023-08-18 09:51:47.155851 [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  101. 2023-08-18 09:51:47.155851 [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  102. 2023-08-18 09:51:47.155851 [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 018887075
  103. 2023-08-18 09:51:47.155851 [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 141
  104. 2023-08-18 09:51:47.155851 [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 12
  105. 2023-08-18 09:51:47.155851 [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  106. 2023-08-18 09:51:47.155851 [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your8.8704 balance Accountid 12 !!!
  107. 2023-08-18 09:51:47.155851 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  108. 2023-08-18 09:51:47.155851 [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE ID 12
  109. 2023-08-18 09:51:47.155851 [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE RATE 0.00000
  110. 2023-08-18 09:51:47.155851 [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE CONNECT COST 0.00000
  111. 2023-08-18 09:51:47.155851 [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE INITIAL INC 0
  112. 2023-08-18 09:51:47.155851 [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE INC 0
  113. 2023-08-18 09:51:47.155851 [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  114. 2023-08-18 09:51:47.155851 [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  115. 2023-08-18 09:51:47.155851 [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  116. 2023-08-18 09:51:47.155851 [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 = 12 AND status=0 LIMIT 1
  117. 2023-08-18 09:51:47.155851 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "5" AND deleted = 0 limit 1
  118. 2023-08-18 09:51:47.155851 [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:12
  119. 2023-08-18 09:51:47.155851 [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:12
  120. 2023-08-18 09:51:47.155851 [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 12
  121. 2023-08-18 09:51:47.155851 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 5 limit 1
  122. 2023-08-18 09:51:47.155851 [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : hq.ubx.univasa.com
  123. 2023-08-18 09:51:47.155851 [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  124. 2023-08-18 09:51:47.155851 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  125. 2023-08-18 09:51:47.155851 [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  126. 2023-08-18 09:51:47.155851 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  127. 2023-08-18 09:51:47.155851 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing  WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "002" AND accounts.status = 0
  128. 2023-08-18 09:51:47.155851 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 5 limit 1
  129. 2023-08-18 09:51:47.155851 [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : hq.ubx.univasa.com
  130. 2023-08-18 09:51:47.155851 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 5  and status = 0 limit 1
  131. 2023-08-18 09:51:47.155851 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_0
  132. 2023-08-18 09:51:47.155851 [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="002"  AND domains.domain="hq.ubx.univasa.com" limit 1
  133. 2023-08-18 09:51:47.155851 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 113 limit 1
  134. 2023-08-18 09:51:47.175849 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  135. 2023-08-18 09:51:47.175849 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  136. 2023-08-18 09:51:47.175849 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  137. 2023-08-18 09:51:47.175849 [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="002"  AND domains.domain="hq.ubx.univasa.com" limit 1
  138. 2023-08-18 09:51:47.175849 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP ID : 113
  139. 2023-08-18 09:51:47.175849 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 113 limit 1
  140. 2023-08-18 09:51:47.175849 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  141. 2023-08-18 09:51:47.175849 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  142. 2023-08-18 09:51:47.175849 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] Call Forwarding Flag : 1
  143. 2023-08-18 09:51:47.175849 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP Call Forwarding Disable
  144. 2023-08-18 09:51:47.175849 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  145. 2023-08-18 09:51:47.175849 [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="002"  AND domains.domain="hq.ubx.univasa.com" limit 1
  146. 2023-08-18 09:51:47.175849 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 113 limit 1
  147. 2023-08-18 09:51:47.175849 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  148. <document type="freeswitch/xml">
  149. <section name="dialplan" description="ASTPP Dialplan">
  150. <context name="default">
  151. <extension name="018887075">
  152. <condition field="destination_number" expression="018887075">
  153. <action application="set" data="effective_destination_number=018887075"/>
  154. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  155. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  156. <action application="set" data="nibble_account=12"/>
  157. <action application="set" data="nibble_rate=0.00000"/>
  158. <action application="set" data="nibble_increment=0"/>
  159. <action application="set" data="nibble_minimum=0.00000"/>
  160. <action application="nibblebill" data="heartbeat 30"/>
  161. <action application="set" data="callstart=2023-08-18 09:51:47"/>
  162. <action application="set" data="hangup_after_bridge=true"/>
  163. <action application="set" data="continue_on_fail=TRUE"/>
  164. <action application="set" data="account_id=12"/>
  165. <action application="set" data="parent_id=0"/>
  166. <action application="set" data="entity_id=0"/>
  167. <action application="set" data="call_processed=internal"/>
  168. <action application="set" data="call_direction=inbound"/>
  169. <action application="set" data="accountname=Phresh"/>
  170. <action application="set" data="origination_rates_did=ID:582|CODE:^018887075.*|DESTINATION:018887075|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:141|ACCID:5"/>
  171. <action application="set" data="origination_rates=0"/>
  172. <action application="set" data="original_caller_id_name=2349037542994"/>
  173. <action application="set" data="original_caller_id_number=2349037542994"/>
  174. <action application="limit" data="db 8612965 user_8612965 90 "/>
  175. <action application="set" data="effective_caller_id_name=2349037542994"/>
  176. <action application="set" data="effective_caller_id_number=2349037542994"/>
  177. <action application="set" data="receiver_accid=5"/>
  178. <action application="export" data="domain_name=hq.ubx.univasa.com"/>
  179. <action application="export" data="sip_to_host=hq.ubx.univasa.com"/>
  180. <action application="export" data="presence_data=x|||Tumi(2330223285)|||||||||DID|||157.230.210.216"/>
  181. <action application="export" data="call_type=0"/>
  182. <action application="set" data="calltype=DID-LOCAL"/>
  183. <action application="db" data="insert/pickup_any_group_${callgroup}/002/${uuid}"/>
  184. <action application="set" data="dialed_extension=transfer_call"/>
  185. <action application="export" data="dialed_extension=transfer_call"/>
  186. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  187. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  188. <action application="set" data="hangup_after_bridge=true"/>
  189. <action application="export" data="did_user_domain=hq.ubx.univasa.com"/>
  190. <action application="db" data="insert/pickup_any_group_${callgroup}/002/${uuid}"/>
  191. <action application="set" data="dialed_extension=transfer_call"/>
  192. <action application="export" data="dialed_extension=transfer_call"/>
  193. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  194. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  195. <action application="set" data="transfer_ringback=$${hold_music}"/>
  196. <action application="set" data="hangup_after_bridge=true"/>
  197. <action application="bridge" data="{sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=5}[leg_timeout=60 ] user/002@hq.ubx.univasa.com"/>
  198. <action application="set" data="on_busy_flag=1"/>
  199. <action application="set" data="on_busy_destination="/>
  200. <action application="set" data="no_answer_flag=1"/>
  201. <action application="set" data="no_answer_destination="/>
  202. <action application="set" data="not_register_flag=1"/>
  203. <action application="set" data="not_register_destination="/>
  204. <action application="set" data="opensips_flag=1"/>
  205. <action application="set" data="variable_sip_to_host=hq.ubx.univasa.com"/>
  206. <action application="set" data="opensips_domain=127.0.0.1"/>
  207. <action application="set" data="leg_timeout=60"/>
  208. <action application="set" data="userinfo_id=5"/>
  209. <action application="set" data="sip_destination_number=002"/>
  210. <action application="set" data="did_number=002"/>
  211. <action application="set" data="user_domain=hq.ubx.univasa.com"/>
  212. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  213. <action application="set" data="on_busy_flag=1"/>
  214. <action application="set" data="on_busy_destination="/>
  215. <action application="set" data="no_answer_flag=1"/>
  216. <action application="set" data="no_answer_destination="/>
  217. <action application="set" data="not_register_flag=1"/>
  218. <action application="set" data="not_register_destination="/>
  219. <action application="set" data="opensips_flag=1"/>
  220. <action application="set" data="variable_sip_to_host=hq.ubx.univasa.com"/>
  221. <action application="set" data="opensips_domain=127.0.0.1"/>
  222. <action application="set" data="leg_timeout=60"/>
  223. <action application="set" data="userinfo_id=5"/>
  224. <action application="set" data="sip_destination_number=002"/>
  225. <action application="set" data="destination_number=018887075"/>
  226. <action application="set" data="did_number=018887075"/>
  227. <action application="set" data="user_domain=hq.ubx.univasa.com"/>
  228. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  229. <condition field="${cond(${user_data 002@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  230. <action application="answer"/>
  231. <action application="export" data="voicemail_alternate_greet_id=018887075"/>
  232. <action application="voicemail" data="default $${domain_name} 002"/>
  233. <anti-action application="hangup" data="${originate_disposition}"/>
  234. </condition>
  235. </condition>
  236. </extension>
  237. </context>
  238. </section>
  239. </document>
  240. Dialplan: sofia/default/2349037542994@116.203.52.230 parsing [default->018887075] continue=false
  241. Dialplan: sofia/default/2349037542994@116.203.52.230 Regex (PASS) [018887075] destination_number(018887075) =~ /018887075/ break=on-false
  242. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(effective_destination_number=018887075)
  243. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  244. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  245. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(nibble_account=12)
  246. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(nibble_rate=0.00000)
  247. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(nibble_increment=0)
  248. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(nibble_minimum=0.00000)
  249. Dialplan: sofia/default/2349037542994@116.203.52.230 Action nibblebill(heartbeat 30)
  250. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(callstart=2023-08-18 09:51:47)
  251. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(hangup_after_bridge=true)
  252. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(continue_on_fail=TRUE)
  253. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(account_id=12)
  254. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(parent_id=0)
  255. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(entity_id=0)
  256. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(call_processed=internal)
  257. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(call_direction=inbound)
  258. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(accountname=Phresh)
  259. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(origination_rates_did=ID:582|CODE:^018887075.*|DESTINATION:018887075|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:141|ACCID:5)
  260. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(origination_rates=0)
  261. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(original_caller_id_name=2349037542994)
  262. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(original_caller_id_number=2349037542994)
  263. Dialplan: sofia/default/2349037542994@116.203.52.230 Action limit(db 8612965 user_8612965 90 )
  264. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(effective_caller_id_name=2349037542994)
  265. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(effective_caller_id_number=2349037542994)
  266. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(receiver_accid=5)
  267. Dialplan: sofia/default/2349037542994@116.203.52.230 Action export(domain_name=hq.ubx.univasa.com)
  268. Dialplan: sofia/default/2349037542994@116.203.52.230 Action export(sip_to_host=hq.ubx.univasa.com)
  269. Dialplan: sofia/default/2349037542994@116.203.52.230 Action export(presence_data=x|||Tumi(2330223285)|||||||||DID|||157.230.210.216)
  270. Dialplan: sofia/default/2349037542994@116.203.52.230 Action export(call_type=0)
  271. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(calltype=DID-LOCAL)
  272. Dialplan: sofia/default/2349037542994@116.203.52.230 Action db(insert/pickup_any_group_${callgroup}/002/${uuid})
  273. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(dialed_extension=transfer_call)
  274. Dialplan: sofia/default/2349037542994@116.203.52.230 Action export(dialed_extension=transfer_call)
  275. Dialplan: sofia/default/2349037542994@116.203.52.230 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  276. Dialplan: sofia/default/2349037542994@116.203.52.230 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  277. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(hangup_after_bridge=true)
  278. Dialplan: sofia/default/2349037542994@116.203.52.230 Action export(did_user_domain=hq.ubx.univasa.com)
  279. Dialplan: sofia/default/2349037542994@116.203.52.230 Action db(insert/pickup_any_group_${callgroup}/002/${uuid})
  280. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(dialed_extension=transfer_call)
  281. Dialplan: sofia/default/2349037542994@116.203.52.230 Action export(dialed_extension=transfer_call)
  282. Dialplan: sofia/default/2349037542994@116.203.52.230 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  283. Dialplan: sofia/default/2349037542994@116.203.52.230 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  284. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(transfer_ringback=$${hold_music})
  285. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(hangup_after_bridge=true)
  286. Dialplan: sofia/default/2349037542994@116.203.52.230 Action bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=5}[leg_timeout=60 ] user/002@hq.ubx.univasa.com)
  287. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(on_busy_flag=1)
  288. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(on_busy_destination=)
  289. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(no_answer_flag=1)
  290. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(no_answer_destination=)
  291. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(not_register_flag=1)
  292. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(not_register_destination=)
  293. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(opensips_flag=1)
  294. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(variable_sip_to_host=hq.ubx.univasa.com)
  295. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(opensips_domain=127.0.0.1)
  296. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(leg_timeout=60)
  297. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(userinfo_id=5)
  298. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(sip_destination_number=002)
  299. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(did_number=002)
  300. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(user_domain=hq.ubx.univasa.com)
  301. Dialplan: sofia/default/2349037542994@116.203.52.230 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  302. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(on_busy_flag=1)
  303. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(on_busy_destination=)
  304. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(no_answer_flag=1)
  305. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(no_answer_destination=)
  306. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(not_register_flag=1)
  307. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(not_register_destination=)
  308. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(opensips_flag=1)
  309. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(variable_sip_to_host=hq.ubx.univasa.com)
  310. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(opensips_domain=127.0.0.1)
  311. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(leg_timeout=60)
  312. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(userinfo_id=5)
  313. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(sip_destination_number=002)
  314. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(destination_number=018887075)
  315. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(did_number=018887075)
  316. Dialplan: sofia/default/2349037542994@116.203.52.230 Action set(user_domain=hq.ubx.univasa.com)
  317. Dialplan: sofia/default/2349037542994@116.203.52.230 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  318. |--- Dialplan: Processing recursive conditions level:1 [018887075_recur_1] require-nested=TRUE
  319. |--- Dialplan: sofia/default/2349037542994@116.203.52.230 Regex (FAIL) [018887075_recur_1] ${cond(${user_data 002@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false
  320. |--- Dialplan: sofia/default/2349037542994@116.203.52.230 ANTI-Action hangup(${originate_disposition})
  321. 2023-08-18 09:51:47.195849 [DEBUG] switch_core_state_machine.c:287 (sofia/default/2349037542994@116.203.52.230) State Change CS_ROUTING -> CS_EXECUTE
  322. 2023-08-18 09:51:47.195849 [DEBUG] switch_core_state_machine.c:644 (sofia/default/2349037542994@116.203.52.230) State ROUTING going to sleep
  323. 2023-08-18 09:51:47.195849 [DEBUG] switch_core_state_machine.c:585 (sofia/default/2349037542994@116.203.52.230) Running State Change CS_EXECUTE (Cur 1 Tot 171)
  324. 2023-08-18 09:51:47.195849 [DEBUG] switch_core_state_machine.c:651 (sofia/default/2349037542994@116.203.52.230) State EXECUTE
  325. 2023-08-18 09:51:47.195849 [DEBUG] mod_sofia.c:209 sofia/default/2349037542994@116.203.52.230 SOFIA EXECUTE
  326. 2023-08-18 09:51:47.195849 [DEBUG] switch_core_state_machine.c:329 sofia/default/2349037542994@116.203.52.230 Standard EXECUTE
  327. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 set(effective_destination_number=018887075)
  328. 2023-08-18 09:51:47.195849 [DEBUG] mod_dptools.c:1685 SET sofia/default/2349037542994@116.203.52.230 [effective_destination_number]=[018887075]
  329. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 set(bridge_pre_execute_bleg_app=sched_hangup)
  330. 2023-08-18 09:51:47.195849 [DEBUG] mod_dptools.c:1685 SET sofia/default/2349037542994@116.203.52.230 [bridge_pre_execute_bleg_app]=[sched_hangup]
  331. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  332. 2023-08-18 09:51:47.195849 [DEBUG] mod_dptools.c:1685 SET sofia/default/2349037542994@116.203.52.230 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  333. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 set(nibble_account=12)
  334. 2023-08-18 09:51:47.195849 [DEBUG] mod_dptools.c:1685 SET sofia/default/2349037542994@116.203.52.230 [nibble_account]=[12]
  335. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 set(nibble_rate=0.00000)
  336. 2023-08-18 09:51:47.195849 [DEBUG] mod_dptools.c:1685 SET sofia/default/2349037542994@116.203.52.230 [nibble_rate]=[0.00000]
  337. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 set(nibble_increment=0)
  338. 2023-08-18 09:51:47.195849 [DEBUG] mod_dptools.c:1685 SET sofia/default/2349037542994@116.203.52.230 [nibble_increment]=[0]
  339. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 set(nibble_minimum=0.00000)
  340. 2023-08-18 09:51:47.195849 [DEBUG] mod_dptools.c:1685 SET sofia/default/2349037542994@116.203.52.230 [nibble_minimum]=[0.00000]
  341. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 nibblebill(heartbeat 30)
  342. 2023-08-18 09:51:47.195849 [WARNING] switch_core_session.c:1676 sofia/default/2349037542994@116.203.52.230 using scheduler due to bypass media or media is not established.
  343. 2023-08-18 09:51:47.195849 [DEBUG] switch_scheduler.c:263 Added task 63 switch_core_session_sched_heartbeat (b427a3f8-aba1-45f1-8f4b-e5ec6985f181) to run at 1692352337
  344. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 set(callstart=2023-08-18 09:51:47)
  345. 2023-08-18 09:51:47.195849 [DEBUG] mod_dptools.c:1685 SET sofia/default/2349037542994@116.203.52.230 [callstart]=[2023-08-18 09:51:47]
  346. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 set(hangup_after_bridge=true)
  347. 2023-08-18 09:51:47.195849 [DEBUG] mod_dptools.c:1685 SET sofia/default/2349037542994@116.203.52.230 [hangup_after_bridge]=[true]
  348. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 set(continue_on_fail=TRUE)
  349. 2023-08-18 09:51:47.195849 [DEBUG] mod_dptools.c:1685 SET sofia/default/2349037542994@116.203.52.230 [continue_on_fail]=[TRUE]
  350. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 set(account_id=12)
  351. 2023-08-18 09:51:47.195849 [DEBUG] mod_dptools.c:1685 SET sofia/default/2349037542994@116.203.52.230 [account_id]=[12]
  352. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 set(parent_id=0)
  353. 2023-08-18 09:51:47.195849 [DEBUG] mod_dptools.c:1685 SET sofia/default/2349037542994@116.203.52.230 [parent_id]=[0]
  354. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 set(entity_id=0)
  355. 2023-08-18 09:51:47.195849 [DEBUG] mod_dptools.c:1685 SET sofia/default/2349037542994@116.203.52.230 [entity_id]=[0]
  356. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 set(call_processed=internal)
  357. 2023-08-18 09:51:47.195849 [DEBUG] mod_dptools.c:1685 SET sofia/default/2349037542994@116.203.52.230 [call_processed]=[internal]
  358. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 set(call_direction=inbound)
  359. 2023-08-18 09:51:47.195849 [DEBUG] mod_dptools.c:1685 SET sofia/default/2349037542994@116.203.52.230 [call_direction]=[inbound]
  360. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 set(accountname=Phresh)
  361. 2023-08-18 09:51:47.195849 [DEBUG] mod_dptools.c:1685 SET sofia/default/2349037542994@116.203.52.230 [accountname]=[Phresh]
  362. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 set(origination_rates_did=ID:582|CODE:^018887075.*|DESTINATION:018887075|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:141|ACCID:5)
  363. 2023-08-18 09:51:47.195849 [DEBUG] mod_dptools.c:1685 SET sofia/default/2349037542994@116.203.52.230 [origination_rates_did]=[ID:582|CODE:^018887075.*|DESTINATION:018887075|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:141|ACCID:5]
  364. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 set(origination_rates=0)
  365. 2023-08-18 09:51:47.195849 [DEBUG] mod_dptools.c:1685 SET sofia/default/2349037542994@116.203.52.230 [origination_rates]=[0]
  366. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 set(original_caller_id_name=2349037542994)
  367. 2023-08-18 09:51:47.195849 [DEBUG] mod_dptools.c:1685 SET sofia/default/2349037542994@116.203.52.230 [original_caller_id_name]=[2349037542994]
  368. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 set(original_caller_id_number=2349037542994)
  369. 2023-08-18 09:51:47.195849 [DEBUG] mod_dptools.c:1685 SET sofia/default/2349037542994@116.203.52.230 [original_caller_id_number]=[2349037542994]
  370. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 limit(db 8612965 user_8612965 90 )
  371. 2023-08-18 09:51:47.195849 [DEBUG] switch_limit.c:124 incr called: 8612965_user_8612965 max:90, interval:0
  372. 2023-08-18 09:51:47.195849 [DEBUG] mod_db.c:194 Usage for 8612965_user_8612965 is now 1/90
  373. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 set(effective_caller_id_name=2349037542994)
  374. 2023-08-18 09:51:47.195849 [DEBUG] mod_dptools.c:1685 SET sofia/default/2349037542994@116.203.52.230 [effective_caller_id_name]=[2349037542994]
  375. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 set(effective_caller_id_number=2349037542994)
  376. 2023-08-18 09:51:47.195849 [DEBUG] mod_dptools.c:1685 SET sofia/default/2349037542994@116.203.52.230 [effective_caller_id_number]=[2349037542994]
  377. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 set(receiver_accid=5)
  378. 2023-08-18 09:51:47.195849 [DEBUG] mod_dptools.c:1685 SET sofia/default/2349037542994@116.203.52.230 [receiver_accid]=[5]
  379. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 export(domain_name=hq.ubx.univasa.com)
  380. 2023-08-18 09:51:47.195849 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [domain_name]=[hq.ubx.univasa.com]
  381. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 export(sip_to_host=hq.ubx.univasa.com)
  382. 2023-08-18 09:51:47.195849 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [sip_to_host]=[hq.ubx.univasa.com]
  383. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 export(presence_data=x|||Tumi(2330223285)|||||||||DID|||157.230.210.216)
  384. 2023-08-18 09:51:47.195849 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||Tumi(2330223285)|||||||||DID|||157.230.210.216]
  385. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 export(call_type=0)
  386. 2023-08-18 09:51:47.195849 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_type]=[0]
  387. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 set(calltype=DID-LOCAL)
  388. 2023-08-18 09:51:47.195849 [DEBUG] mod_dptools.c:1685 SET sofia/default/2349037542994@116.203.52.230 [calltype]=[DID-LOCAL]
  389. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 db(insert/pickup_any_group_/002/b427a3f8-aba1-45f1-8f4b-e5ec6985f181)
  390. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 set(dialed_extension=transfer_call)
  391. 2023-08-18 09:51:47.195849 [DEBUG] mod_dptools.c:1685 SET sofia/default/2349037542994@116.203.52.230 [dialed_extension]=[transfer_call]
  392. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 export(dialed_extension=transfer_call)
  393. 2023-08-18 09:51:47.195849 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  394. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  395. 2023-08-18 09:51:47.195849 [INFO] switch_ivr_async.c:4678 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  396. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  397. 2023-08-18 09:51:47.195849 [INFO] switch_ivr_async.c:4678 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  398. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 set(hangup_after_bridge=true)
  399. 2023-08-18 09:51:47.195849 [DEBUG] mod_dptools.c:1685 SET sofia/default/2349037542994@116.203.52.230 [hangup_after_bridge]=[true]
  400. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 export(did_user_domain=hq.ubx.univasa.com)
  401. 2023-08-18 09:51:47.195849 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [did_user_domain]=[hq.ubx.univasa.com]
  402. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 db(insert/pickup_any_group_/002/b427a3f8-aba1-45f1-8f4b-e5ec6985f181)
  403. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 set(dialed_extension=transfer_call)
  404. 2023-08-18 09:51:47.195849 [DEBUG] mod_dptools.c:1685 SET sofia/default/2349037542994@116.203.52.230 [dialed_extension]=[transfer_call]
  405. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 export(dialed_extension=transfer_call)
  406. 2023-08-18 09:51:47.195849 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  407. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  408. 2023-08-18 09:51:47.195849 [INFO] switch_ivr_async.c:4678 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  409. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  410. 2023-08-18 09:51:47.195849 [INFO] switch_ivr_async.c:4678 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  411. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 set(transfer_ringback=local_stream://moh)
  412. 2023-08-18 09:51:47.195849 [DEBUG] mod_dptools.c:1685 SET sofia/default/2349037542994@116.203.52.230 [transfer_ringback]=[local_stream://moh]
  413. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 set(hangup_after_bridge=true)
  414. 2023-08-18 09:51:47.195849 [DEBUG] mod_dptools.c:1685 SET sofia/default/2349037542994@116.203.52.230 [hangup_after_bridge]=[true]
  415. EXECUTE [depth=0] sofia/default/2349037542994@116.203.52.230 bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=5}[leg_timeout=60 ] user/002@hq.ubx.univasa.com)
  416. 2023-08-18 09:51:47.195849 [DEBUG] switch_channel.c:1264 sofia/default/2349037542994@116.203.52.230 EXPORTING[export_vars] [domain_name]=[hq.ubx.univasa.com] to event
  417. 2023-08-18 09:51:47.195849 [DEBUG] switch_channel.c:1264 sofia/default/2349037542994@116.203.52.230 EXPORTING[export_vars] [sip_to_host]=[hq.ubx.univasa.com] to event
  418. 2023-08-18 09:51:47.195849 [DEBUG] switch_channel.c:1264 sofia/default/2349037542994@116.203.52.230 EXPORTING[export_vars] [presence_data]=[x|||Tumi(2330223285)|||||||||DID|||157.230.210.216] to event
  419. 2023-08-18 09:51:47.195849 [DEBUG] switch_channel.c:1264 sofia/default/2349037542994@116.203.52.230 EXPORTING[export_vars] [call_type]=[0] to event
  420. 2023-08-18 09:51:47.195849 [DEBUG] switch_channel.c:1264 sofia/default/2349037542994@116.203.52.230 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  421. 2023-08-18 09:51:47.195849 [DEBUG] switch_channel.c:1264 sofia/default/2349037542994@116.203.52.230 EXPORTING[export_vars] [did_user_domain]=[hq.ubx.univasa.com] to event
  422. 2023-08-18 09:51:47.195849 [DEBUG] switch_channel.c:1264 sofia/default/2349037542994@116.203.52.230 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  423. 2023-08-18 09:51:47.195849 [DEBUG] switch_ivr_originate.c:2272 Parsing global variables
  424. 2023-08-18 09:51:47.195849 [DEBUG] switch_ivr_originate.c:2834 Parsing session specific variables
  425. 2023-08-18 09:51:47.215852 [DEBUG] switch_channel.c:1264 sofia/default/2349037542994@116.203.52.230 EXPORTING[export_vars] [domain_name]=[hq.ubx.univasa.com] to event
  426. 2023-08-18 09:51:47.215852 [DEBUG] switch_channel.c:1264 sofia/default/2349037542994@116.203.52.230 EXPORTING[export_vars] [sip_to_host]=[hq.ubx.univasa.com] to event
  427. 2023-08-18 09:51:47.215852 [DEBUG] switch_channel.c:1264 sofia/default/2349037542994@116.203.52.230 EXPORTING[export_vars] [presence_data]=[x|||Tumi(2330223285)|||||||||DID|||157.230.210.216] to event
  428. 2023-08-18 09:51:47.215852 [DEBUG] switch_channel.c:1264 sofia/default/2349037542994@116.203.52.230 EXPORTING[export_vars] [call_type]=[0] to event
  429. 2023-08-18 09:51:47.215852 [DEBUG] switch_channel.c:1264 sofia/default/2349037542994@116.203.52.230 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  430. 2023-08-18 09:51:47.215852 [DEBUG] switch_channel.c:1264 sofia/default/2349037542994@116.203.52.230 EXPORTING[export_vars] [did_user_domain]=[hq.ubx.univasa.com] to event
  431. 2023-08-18 09:51:47.215852 [DEBUG] switch_channel.c:1264 sofia/default/2349037542994@116.203.52.230 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  432. 2023-08-18 09:51:47.215852 [DEBUG] switch_ivr_originate.c:2272 Parsing global variables
  433. 2023-08-18 09:51:47.215852 [NOTICE] switch_channel.c:1118 New Channel sofia/default/002@114.31.164.97:59751 [3e85a4e7-70f2-4370-8c14-53bd56f9d5d5]
  434. 2023-08-18 09:51:47.215852 [DEBUG] mod_sofia.c:5102 (sofia/default/002@114.31.164.97:59751) State Change CS_NEW -> CS_INIT
  435. 2023-08-18 09:51:47.215852 [DEBUG] switch_ivr_originate.c:3142 sofia/default/002@114.31.164.97:59751 Setting leg timeout to 60
  436. 2023-08-18 09:51:47.215852 [DEBUG] switch_core_state_machine.c:585 (sofia/default/002@114.31.164.97:59751) Running State Change CS_INIT (Cur 2 Tot 172)
  437. 2023-08-18 09:51:47.215852 [DEBUG] switch_core_state_machine.c:628 (sofia/default/002@114.31.164.97:59751) State INIT
  438. 2023-08-18 09:51:47.215852 [DEBUG] mod_sofia.c:93 sofia/default/002@114.31.164.97:59751 SOFIA INIT
  439. 2023-08-18 09:51:47.215852 [DEBUG] sofia_glue.c:1590 sip:002@114.31.164.97:26360;rinstance=c302e02bd5d0d837;transport=TCP Setting proxy route to sofia/default/002@114.31.164.97:59751
  440. 2023-08-18 09:51:47.215852 [INFO] sofia_glue.c:1621 sofia/default/002@114.31.164.97:59751 sending invite call-id: (null)
  441. 2023-08-18 09:51:47.215852 [DEBUG] sofia_glue.c:1624 sofia/default/002@114.31.164.97:59751 sending invite version: 1.10.6 -release-18-1ff9d0a60e 64bit
  442. Local SDP:
  443. v=0
  444. o=FreeSWITCH 1692335203 1692335204 IN IP4 116.203.52.230
  445. s=FreeSWITCH
  446. c=IN IP4 116.203.52.230
  447. t=0 0
  448. m=audio 17104 RTP/AVP 0 101
  449. a=rtpmap:0 PCMU/8000
  450. a=rtpmap:101 telephone-event/8000
  451. a=fmtp:101 0-16
  452. a=ptime:20
  453. a=sendrecv
  454.  
  455. 2023-08-18 09:51:47.215852 [DEBUG] switch_core_state_machine.c:40 sofia/default/002@114.31.164.97:59751 Standard INIT
  456. 2023-08-18 09:51:47.215852 [DEBUG] switch_core_state_machine.c:48 (sofia/default/002@114.31.164.97:59751) State Change CS_INIT -> CS_ROUTING
  457. 2023-08-18 09:51:47.215852 [DEBUG] switch_core_state_machine.c:628 (sofia/default/002@114.31.164.97:59751) State INIT going to sleep
  458. 2023-08-18 09:51:47.215852 [DEBUG] switch_core_state_machine.c:585 (sofia/default/002@114.31.164.97:59751) Running State Change CS_ROUTING (Cur 2 Tot 172)
  459. 2023-08-18 09:51:47.215852 [DEBUG] sofia.c:7406 Channel sofia/default/002@114.31.164.97:59751 entering state [calling][0]
  460. 2023-08-18 09:51:47.215852 [DEBUG] switch_core_state_machine.c:644 (sofia/default/002@114.31.164.97:59751) State ROUTING
  461. 2023-08-18 09:51:47.215852 [DEBUG] mod_sofia.c:154 sofia/default/002@114.31.164.97:59751 SOFIA ROUTING
  462. 2023-08-18 09:51:47.215852 [DEBUG] switch_ivr_originate.c:67 (sofia/default/002@114.31.164.97:59751) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  463. 2023-08-18 09:51:47.215852 [DEBUG] switch_core_state_machine.c:644 (sofia/default/002@114.31.164.97:59751) State ROUTING going to sleep
  464. 2023-08-18 09:51:47.215852 [DEBUG] switch_core_state_machine.c:585 (sofia/default/002@114.31.164.97:59751) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 172)
  465. 2023-08-18 09:51:47.215852 [DEBUG] switch_core_state_machine.c:663 (sofia/default/002@114.31.164.97:59751) State CONSUME_MEDIA
  466. 2023-08-18 09:51:47.215852 [DEBUG] switch_core_state_machine.c:663 (sofia/default/002@114.31.164.97:59751) State CONSUME_MEDIA going to sleep
  467. 2023-08-18 09:51:49.055847 [WARNING] sofia_reg.c:1795 SIP auth challenge (REGISTER) on sofia profile 'default' for [6664@hq.ubx.univasa.com] from ip 50.62.182.251
  468. 2023-08-18 09:51:49.235860 [WARNING] sofia_reg.c:2932 Can't find user [6664@hq.ubx.univasa.com] from 50.62.182.251
  469. You must define a domain called 'hq.ubx.univasa.com' in your directory and add a user with the id="6664" attribute
  470. and you must configure your device to use the proper domain in its authentication credentials.
  471. 2023-08-18 09:51:49.235860 [WARNING] sofia_reg.c:1740 SIP auth failure (REGISTER) on sofia profile 'default' for [6664@hq.ubx.univasa.com] from ip 50.62.182.251
  472. 2023-08-18 09:51:50.615852 [WARNING] sofia_reg.c:1795 SIP auth challenge (REGISTER) on sofia profile 'default' for [4778@hq.ubx.univasa.com] from ip 184.168.28.1
  473. 2023-08-18 09:51:50.775852 [WARNING] sofia_reg.c:2932 Can't find user [4778@hq.ubx.univasa.com] from 184.168.28.1
  474. You must define a domain called 'hq.ubx.univasa.com' in your directory and add a user with the id="4778" attribute
  475. and you must configure your device to use the proper domain in its authentication credentials.
  476. 2023-08-18 09:51:50.775852 [WARNING] sofia_reg.c:1740 SIP auth failure (REGISTER) on sofia profile 'default' for [4778@hq.ubx.univasa.com] from ip 184.168.28.1
  477. 2023-08-18 09:51:51.735851 [WARNING] sofia_reg.c:1795 SIP auth challenge (REGISTER) on sofia profile 'default' for [9054@test.ubx.univasa.com] from ip 184.168.30.222
  478. 2023-08-18 09:51:51.875847 [WARNING] sofia_reg.c:2932 Can't find user [9054@test.ubx.univasa.com] from 184.168.30.222
  479. You must define a domain called 'test.ubx.univasa.com' in your directory and add a user with the id="9054" attribute
  480. and you must configure your device to use the proper domain in its authentication credentials.
  481. 2023-08-18 09:51:51.875847 [WARNING] sofia_reg.c:1740 SIP auth failure (REGISTER) on sofia profile 'default' for [9054@test.ubx.univasa.com] from ip 184.168.30.222
  482. 2023-08-18 09:51:52.695857 [DEBUG] sofia.c:7406 Channel sofia/default/2349037542994@116.203.52.230 entering state [terminated][487]
  483. 2023-08-18 09:51:52.695857 [NOTICE] sofia.c:8641 Hangup sofia/default/2349037542994@116.203.52.230 [CS_EXECUTE] [ORIGINATOR_CANCEL]
  484. 2023-08-18 09:51:52.715857 [NOTICE] switch_ivr_originate.c:3790 Hangup sofia/default/002@114.31.164.97:59751 [CS_CONSUME_MEDIA] [ORIGINATOR_CANCEL]
  485. 2023-08-18 09:51:52.715857 [DEBUG] switch_ivr_originate.c:4015 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL]
  486. 2023-08-18 09:51:52.715857 [DEBUG] switch_core_state_machine.c:585 (sofia/default/002@114.31.164.97:59751) Running State Change CS_HANGUP (Cur 2 Tot 172)
  487. 2023-08-18 09:51:52.715857 [DEBUG] switch_core_state_machine.c:848 (sofia/default/002@114.31.164.97:59751) Callstate Change DOWN -> HANGUP
  488. 2023-08-18 09:51:52.715857 [DEBUG] switch_core_state_machine.c:850 (sofia/default/002@114.31.164.97:59751) State HANGUP
  489. 2023-08-18 09:51:52.715857 [DEBUG] mod_sofia.c:447 sofia/default/002@114.31.164.97:59751 Overriding SIP cause 487 with 487 from the other leg
  490. 2023-08-18 09:51:52.715857 [DEBUG] mod_sofia.c:453 Channel sofia/default/002@114.31.164.97:59751 hanging up, cause: ORIGINATOR_CANCEL
  491. 2023-08-18 09:51:52.715857 [NOTICE] switch_ivr_originate.c:3030 Cannot create outgoing channel of type [user] cause: [ORIGINATOR_CANCEL]
  492. 2023-08-18 09:51:52.715857 [DEBUG] switch_ivr_originate.c:4026 Originate Resulted in Error Cause: 487 [ORIGINATOR_CANCEL]
  493. 2023-08-18 09:51:52.715857 [DEBUG] mod_sofia.c:521 Sending CANCEL to sofia/default/002@114.31.164.97:59751
  494. 2023-08-18 09:51:52.715857 [DEBUG] switch_core_state_machine.c:60 sofia/default/002@114.31.164.97:59751 Standard HANGUP, cause: ORIGINATOR_CANCEL
  495. 2023-08-18 09:51:52.715857 [DEBUG] switch_core_state_machine.c:850 (sofia/default/002@114.31.164.97:59751) State HANGUP going to sleep
  496. 2023-08-18 09:51:52.715857 [DEBUG] switch_core_state_machine.c:620 (sofia/default/002@114.31.164.97:59751) State Change CS_HANGUP -> CS_REPORTING
  497. 2023-08-18 09:51:52.715857 [DEBUG] switch_core_state_machine.c:585 (sofia/default/002@114.31.164.97:59751) Running State Change CS_REPORTING (Cur 2 Tot 172)
  498. 2023-08-18 09:51:52.715857 [INFO] mod_dptools.c:3643 Originate Failed.  Cause: ORIGINATOR_CANCEL
  499. 2023-08-18 09:51:52.715857 [DEBUG] switch_core_state_machine.c:936 (sofia/default/002@114.31.164.97:59751) State REPORTING
  500. 2023-08-18 09:51:52.715857 [DEBUG] switch_core_session.c:2914 sofia/default/2349037542994@116.203.52.230 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  501. 2023-08-18 09:51:52.715857 [DEBUG] switch_core_state_machine.c:651 (sofia/default/2349037542994@116.203.52.230) State EXECUTE going to sleep
  502. 2023-08-18 09:51:52.715857 [DEBUG] switch_core_state_machine.c:585 (sofia/default/2349037542994@116.203.52.230) Running State Change CS_HANGUP (Cur 2 Tot 172)
  503. 2023-08-18 09:51:52.715857 [INFO] mod_json_cdr.c:271 Process [3e85a4e7-70f2-4370-8c14-53bd56f9d5d5.cdr.json]
  504. 2023-08-18 09:51:52.715857 [DEBUG] switch_core_state_machine.c:848 (sofia/default/2349037542994@116.203.52.230) Callstate Change RINGING -> HANGUP
  505. 2023-08-18 09:51:52.715857 [DEBUG] switch_core_state_machine.c:850 (sofia/default/2349037542994@116.203.52.230) State HANGUP
  506. 2023-08-18 09:51:52.715857 [DEBUG] mod_sofia.c:453 Channel sofia/default/2349037542994@116.203.52.230 hanging up, cause: ORIGINATOR_CANCEL
  507. 2023-08-18 09:51:52.715857 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 12
  508. 2023-08-18 09:51:52.715857 [DEBUG] mod_nibblebill.c:518 Not billing 12 - call is not in answered state
  509. 2023-08-18 09:51:52.715857 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  510. [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='12']
  511. 2023-08-18 09:51:52.715857 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 12 (balance = 8.870400)
  512. 2023-08-18 09:51:52.715857 [DEBUG] mod_nibblebill.c:523 Comparing 8.870400 to hangup balance of 0.000000, taking into account minimum charge of 0.000000
  513. 2023-08-18 09:51:52.715857 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  514. [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='12']
  515. 2023-08-18 09:51:52.715857 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 12 (balance = 8.870400)
  516. 2023-08-18 09:51:52.715857 [DEBUG] switch_core_state_machine.c:60 sofia/default/2349037542994@116.203.52.230 Standard HANGUP, cause: ORIGINATOR_CANCEL
  517. 2023-08-18 09:51:52.715857 [DEBUG] switch_core_state_machine.c:850 (sofia/default/2349037542994@116.203.52.230) State HANGUP going to sleep
  518. 2023-08-18 09:51:52.715857 [DEBUG] switch_core_state_machine.c:620 (sofia/default/2349037542994@116.203.52.230) State Change CS_HANGUP -> CS_REPORTING
  519. 2023-08-18 09:51:52.715857 [DEBUG] switch_core_state_machine.c:585 (sofia/default/2349037542994@116.203.52.230) Running State Change CS_REPORTING (Cur 2 Tot 172)
  520. 2023-08-18 09:51:52.715857 [DEBUG] switch_core_state_machine.c:936 (sofia/default/2349037542994@116.203.52.230) State REPORTING
  521. 2023-08-18 09:51:52.715857 [INFO] mod_json_cdr.c:271 Process [b427a3f8-aba1-45f1-8f4b-e5ec6985f181.cdr.json]
  522. 2023-08-18 09:51:52.735853 [DEBUG] switch_core_state_machine.c:174 sofia/default/002@114.31.164.97:59751 Standard REPORTING, cause: ORIGINATOR_CANCEL
  523. 2023-08-18 09:51:52.735853 [DEBUG] switch_core_state_machine.c:936 (sofia/default/002@114.31.164.97:59751) State REPORTING going to sleep
  524. 2023-08-18 09:51:52.735853 [DEBUG] switch_core_state_machine.c:611 (sofia/default/002@114.31.164.97:59751) State Change CS_REPORTING -> CS_DESTROY
  525. 2023-08-18 09:51:52.735853 [DEBUG] switch_core_session.c:1736 Session 172 (sofia/default/002@114.31.164.97:59751) Locked, Waiting on external entities
  526. 2023-08-18 09:51:52.735853 [NOTICE] switch_core_session.c:1754 Session 172 (sofia/default/002@114.31.164.97:59751) Ended
  527. 2023-08-18 09:51:52.735853 [NOTICE] switch_core_session.c:1758 Close Channel sofia/default/002@114.31.164.97:59751 [CS_DESTROY]
  528. 2023-08-18 09:51:52.735853 [DEBUG] switch_core_state_machine.c:739 (sofia/default/002@114.31.164.97:59751) Running State Change CS_DESTROY (Cur 1 Tot 172)
  529. 2023-08-18 09:51:52.735853 [DEBUG] switch_core_state_machine.c:749 (sofia/default/002@114.31.164.97:59751) State DESTROY
  530. 2023-08-18 09:51:52.735853 [DEBUG] mod_sofia.c:364 sofia/default/002@114.31.164.97:59751 SOFIA DESTROY
  531. 2023-08-18 09:51:52.735853 [DEBUG] switch_core_state_machine.c:181 sofia/default/002@114.31.164.97:59751 Standard DESTROY
  532. 2023-08-18 09:51:52.735853 [DEBUG] switch_core_state_machine.c:749 (sofia/default/002@114.31.164.97:59751) State DESTROY going to sleep
  533. 2023-08-18 09:51:52.735853 [DEBUG] switch_core_state_machine.c:174 sofia/default/2349037542994@116.203.52.230 Standard REPORTING, cause: ORIGINATOR_CANCEL
  534. 2023-08-18 09:51:52.735853 [DEBUG] switch_core_state_machine.c:936 (sofia/default/2349037542994@116.203.52.230) State REPORTING going to sleep
  535. 2023-08-18 09:51:52.735853 [DEBUG] switch_core_state_machine.c:611 (sofia/default/2349037542994@116.203.52.230) State Change CS_REPORTING -> CS_DESTROY
  536. 2023-08-18 09:51:52.735853 [DEBUG] switch_core_session.c:1736 Session 171 (sofia/default/2349037542994@116.203.52.230) Locked, Waiting on external entities
  537. 2023-08-18 09:51:52.735853 [NOTICE] switch_core_session.c:1754 Session 171 (sofia/default/2349037542994@116.203.52.230) Ended
  538. 2023-08-18 09:51:52.735853 [NOTICE] switch_core_session.c:1758 Close Channel sofia/default/2349037542994@116.203.52.230 [CS_DESTROY]
  539. 2023-08-18 09:51:52.735853 [DEBUG] switch_core_state_machine.c:739 (sofia/default/2349037542994@116.203.52.230) Running State Change CS_DESTROY (Cur 0 Tot 172)
  540. 2023-08-18 09:51:52.735853 [DEBUG] switch_core_state_machine.c:749 (sofia/default/2349037542994@116.203.52.230) State DESTROY
  541. 2023-08-18 09:51:52.735853 [DEBUG] mod_sofia.c:364 sofia/default/2349037542994@116.203.52.230 SOFIA DESTROY
  542. 2023-08-18 09:51:52.735853 [DEBUG] switch_core_state_machine.c:181 sofia/default/2349037542994@116.203.52.230 Standard DESTROY
  543. 2023-08-18 09:51:52.735853 [DEBUG] switch_core_state_machine.c:749 (sofia/default/2349037542994@116.203.52.230) State DESTROY going to sleep
  544. 2023-08-18 09:51:53.195852 [DEBUG] switch_scheduler.c:147 Deleting task 63 switch_core_session_sched_heartbeat (b427a3f8-aba1-45f1-8f4b-e5ec6985f181)
  545.