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