From Prashant Kumar, 5 Months ago, written in FreeSWITCH.
- view diff
Embed
  1. freeswitch@FS1ClusterQA>
  2. freeswitch@FS1ClusterQA>
  3. freeswitch@FS1ClusterQA>
  4. 2023-11-09 19:30:33.814453 94.20% [NOTICE] switch_channel.c:1123 New Channel sofia/default/+9191000091@13.232.246.166 [7550ed20-1d51-4462-afb4-78d01916877a]
  5. 2023-11-09 19:30:33.814453 94.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+9191000091@13.232.246.166) Running State Change CS_NEW (Cur 1 Tot 12559)
  6. 2023-11-09 19:30:33.814453 94.20% [INFO] sofia.c:10462 sofia/default/+9191000091@13.232.246.166 receiving invite from 78.47.101.152:5073 version: 1.10.7 -release 64bit call-id: DLGCH_exEBWGctZGViFlwKamRhYXwTSF9icGN+f0IGVzB9MzUrEVRa
  7. 2023-11-09 19:30:33.814453 94.20% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 78.47.101.152:0.
  8. 2023-11-09 19:30:33.814453 94.20% [DEBUG] sofia.c:10585 IP 78.47.101.152 Approved by acl "default[]". Access Granted.
  9. 2023-11-09 19:30:33.814453 94.20% [DEBUG] sofia.c:7499 Channel sofia/default/+9191000091@13.232.246.166 entering state [received][100]
  10. 2023-11-09 19:30:33.814453 94.20% [DEBUG] sofia.c:7509 Remote SDP:
  11. v=0
  12. o=FreeSWITCH 1699540045 1699540046 IN IP4 78.47.101.152
  13. s=FreeSWITCH
  14. c=IN IP4 78.47.101.152
  15. t=0 0
  16. m=audio 34572 RTP/AVP 8 101
  17. a=rtpmap:8 PCMA/8000
  18. a=rtpmap:101 telephone-event/8000
  19. a=fmtp:101 0-15
  20. a=rtcp:34573
  21. a=ptime:20
  22.  
  23. 2023-11-09 19:30:33.814453 94.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  24. 2023-11-09 19:30:33.814453 94.20% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  25. 2023-11-09 19:30:33.814453 94.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  26. 2023-11-09 19:30:33.814453 94.20% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  27. 2023-11-09 19:30:33.814453 94.20% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/+9191000091@13.232.246.166 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  28. 2023-11-09 19:30:33.814453 94.20% [DEBUG] switch_core_codec.c:111 sofia/default/+9191000091@13.232.246.166 Original read codec set to PCMA:8
  29. 2023-11-09 19:30:33.814453 94.20% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  30. 2023-11-09 19:30:33.814453 94.20% [DEBUG] switch_core_media.c:5973 sofia/default/+9191000091@13.232.246.166 Set 2833 dtmf send payload to 101 recv payload to 101
  31. 2023-11-09 19:30:33.814453 94.20% [DEBUG] sofia.c:7933 (sofia/default/+9191000091@13.232.246.166) State Change CS_NEW -> CS_INIT
  32. 2023-11-09 19:30:33.814453 94.20% [DEBUG] switch_core_state_machine.c:600 (sofia/default/+9191000091@13.232.246.166) State NEW
  33. 2023-11-09 19:30:33.814453 94.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+9191000091@13.232.246.166) Running State Change CS_INIT (Cur 1 Tot 12559)
  34. 2023-11-09 19:30:33.814453 94.20% [DEBUG] switch_core_state_machine.c:624 (sofia/default/+9191000091@13.232.246.166) State INIT
  35. 2023-11-09 19:30:33.814453 94.20% [DEBUG] mod_sofia.c:97 sofia/default/+9191000091@13.232.246.166 SOFIA INIT
  36. 2023-11-09 19:30:33.814453 94.20% [DEBUG] switch_core_state_machine.c:40 sofia/default/+9191000091@13.232.246.166 Standard INIT
  37. 2023-11-09 19:30:33.814453 94.20% [DEBUG] switch_core_state_machine.c:48 (sofia/default/+9191000091@13.232.246.166) State Change CS_INIT -> CS_ROUTING
  38. 2023-11-09 19:30:33.814453 94.20% [DEBUG] switch_core_state_machine.c:624 (sofia/default/+9191000091@13.232.246.166) State INIT going to sleep
  39. 2023-11-09 19:30:33.814453 94.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+9191000091@13.232.246.166) Running State Change CS_ROUTING (Cur 1 Tot 12559)
  40. 2023-11-09 19:30:33.814453 94.20% [DEBUG] switch_channel.c:2380 (sofia/default/+9191000091@13.232.246.166) Callstate Change DOWN -> RINGING
  41. 2023-11-09 19:30:33.814453 94.20% [DEBUG] switch_core_state_machine.c:640 (sofia/default/+9191000091@13.232.246.166) State ROUTING
  42. 2023-11-09 19:30:33.814453 94.20% [DEBUG] mod_sofia.c:158 sofia/default/+9191000091@13.232.246.166 SOFIA ROUTING
  43. 2023-11-09 19:30:33.814453 94.20% [DEBUG] switch_core_state_machine.c:230 sofia/default/+9191000091@13.232.246.166 Standard ROUTING
  44. 2023-11-09 19:30:33.814453 94.20% [INFO] mod_dialplan_xml.c:639 Processing +9191000091 <+9191000091>->701077 in context default
  45. 2023-11-09 19:30:33.834325 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  46. 2023-11-09 19:30:33.854368 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  47. 2023-11-09 19:30:33.854368 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')
  48. 2023-11-09 19:30:33.854368 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  49. 2023-11-09 19:30:33.874339 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  50. 2023-11-09 19:30:33.874339 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 701077
  51. 2023-11-09 19:30:33.874339 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '701077' limit 1
  52. 2023-11-09 19:30:33.894341 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '701077' AND status=0 limit 1
  53. 2023-11-09 19:30:33.894341 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '701077' and status=0 LIMIT 1
  54. 2023-11-09 19:30:33.894341 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+ClusterServer
  55. 2023-11-09 19:30:33.894341 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  56. 2023-11-09 19:30:33.894341 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = '78.47.101.152' limit 1
  57. 2023-11-09 19:30:33.894341 94.17% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  58. 2023-11-09 19:30:33.894341 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : "+9191000091" / +9191000091
  59. 2023-11-09 19:30:33.894341 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number
  60. 2023-11-09 19:30:33.894341 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 701077 AND status=0 limit 1
  61. 2023-11-09 19:30:33.894341 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="701077" LIMIT 1
  62. 2023-11-09 19:30:33.894341 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="701077" LIMIT 1
  63. 2023-11-09 19:30:33.894341 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  64. 2023-11-09 19:30:33.914343 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  65. 2023-11-09 19:30:33.914343 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  66. 2023-11-09 19:30:33.914343 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 13.232.246.166
  67. 2023-11-09 19:30:33.914343 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9000100044]
  68. 2023-11-09 19:30:33.914343 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "9000100044" OR id = "9000100044") AND deleted = 0 limit 1
  69. 2023-11-09 19:30:33.934329 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =10
  70. 2023-11-09 19:30:33.954343 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="701077" AND (accountid = 0 OR status = 1) LIMIT 1
  71. 2023-11-09 19:30:33.954343 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  72. 2023-11-09 19:30:33.954343 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 10
  73. 2023-11-09 19:30:33.954343 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^701077.*' OR patterns = '^70107.*' OR patterns = '^7010.*' OR patterns = '^701.*' OR patterns = '^70.*' OR patterns = '^7.*' OR patterns ='--') AND accountid = 10 ORDER BY LENGTH(PKGPTR.patterns) DESC
  74. 2023-11-09 19:30:33.974346 94.17% [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 ="701077" AND A.accountid = '10' limit 1
  75. 2023-11-09 19:30:33.974346 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 701077
  76. 2023-11-09 19:30:33.974346 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="701077" LIMIT 1
  77. 2023-11-09 19:30:33.994394 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="701077" LIMIT 1
  78. 2023-11-09 19:30:34.014328 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  79. 2023-11-09 19:30:34.034330 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  80. 2023-11-09 19:30:34.054332 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  81. 2023-11-09 19:30:34.054332 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '701077' OR number = '70107' OR number = '7010' OR number = '701' OR number = '70' OR number = '7' OR number ='--') OR (number = '701077*' OR number = '70107*' OR number = '7010*' OR number = '701*' OR number = '70*' OR number = '7*' OR number ='--') OR (number = '+9191000091' OR number = '+919100009' OR number = '+91910000' OR number = '+9191000' OR number = '+919100' OR number = '+91910' OR number = '+9191' OR number = '+919' OR number = '+91' OR number = '+9' OR number = '+' OR number ='--') OR (number = '+9191000091*' OR number = '+919100009*' OR number = '+91910000*' OR number = '+9191000*' OR number = '+919100*' OR number = '+91910*' OR number = '+9191*' OR number = '+919*' OR number = '+91*' OR number = '+9*' OR number = '+*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  82. 2023-11-09 19:30:34.054332 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  83. 2023-11-09 19:30:34.054332 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '701077' OR routing_prefix = '70107' OR routing_prefix = '7010' OR routing_prefix = '701' OR routing_prefix = '70' OR routing_prefix = '7' OR routing_prefix ='--') AND status = 0 and reseller_id = 9 limit 1
  84. 2023-11-09 19:30:34.074319 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  85. 2023-11-09 19:30:34.074319 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 10
  86. 2023-11-09 19:30:34.074319 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9000100044
  87. 2023-11-09 19:30:34.074319 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =10
  88. 2023-11-09 19:30:34.094707 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 47696.71
  89. 2023-11-09 19:30:34.094707 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  90. 2023-11-09 19:30:34.094707 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 3
  91. 2023-11-09 19:30:34.094707 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  92. 2023-11-09 19:30:34.094707 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  93. 2023-11-09 19:30:34.094707 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 3 AND status = 0
  94. 2023-11-09 19:30:34.094707 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  95. 2023-11-09 19:30:34.094707 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :0.....701077
  96. 2023-11-09 19:30:34.094707 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_RESELLER] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.connectcost,A.includedseconds,A.cost,C.reseller_cost as reseller_cost ,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination,D.id as product_id FROM dids AS A,accounts AS B, reseller_products AS C, products AS D WHERE B.status=0 AND B.deleted=0 AND A.product_id=C.product_id AND A.parent_id=C.account_id AND B.id=A.accountid AND A.number ="701077" LIMIT 1
  97. 2023-11-09 19:30:34.114314 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  98. 2023-11-09 19:30:34.114314 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  99. 2023-11-09 19:30:34.114314 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3
  100. 2023-11-09 19:30:34.114314 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  101. 2023-11-09 19:30:34.114314 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  102. 2023-11-09 19:30:34.114314 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.22000
  103. 2023-11-09 19:30:34.114314 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 701077
  104. 2023-11-09 19:30:34.114314 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 159
  105. 2023-11-09 19:30:34.114314 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 10
  106. 2023-11-09 19:30:34.114314 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  107. 2023-11-09 19:30:34.114314 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =10
  108. 2023-11-09 19:30:34.134348 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your47696.71 balance Accountid 10 !!!
  109. 2023-11-09 19:30:34.134348 94.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  110. 2023-11-09 19:30:34.134348 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Monthly call credit limit : 4853.5327868852
  111. 2023-11-09 19:30:34.134348 94.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 9
  112. 2023-11-09 19:30:34.134348 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "9" OR number = "9") AND deleted = 0 limit 1
  113. 2023-11-09 19:30:34.154323 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =10
  114. 2023-11-09 19:30:34.174360 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
  115. 2023-11-09 19:30:34.174360 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 9
  116. 2023-11-09 19:30:34.174360 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9000100033
  117. 2023-11-09 19:30:34.174360 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =10
  118. 2023-11-09 19:30:34.194319 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 47696.71
  119. 2023-11-09 19:30:34.194319 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  120. 2023-11-09 19:30:34.194319 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 3
  121. 2023-11-09 19:30:34.194319 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 3 AND status = 0
  122. 2023-11-09 19:30:34.194319 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  123. 2023-11-09 19:30:34.194319 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="701077" LIMIT 1
  124. 2023-11-09 19:30:34.194319 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="701077" LIMIT 1
  125. 2023-11-09 19:30:34.194319 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  126. 2023-11-09 19:30:34.214323 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  127. 2023-11-09 19:30:34.234354 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  128. 2023-11-09 19:30:34.234354 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  129. 2023-11-09 19:30:34.234354 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3
  130. 2023-11-09 19:30:34.234354 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  131. 2023-11-09 19:30:34.234354 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  132. 2023-11-09 19:30:34.234354 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.22000
  133. 2023-11-09 19:30:34.234354 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 701077
  134. 2023-11-09 19:30:34.234354 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 159
  135. 2023-11-09 19:30:34.234354 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 9
  136. 2023-11-09 19:30:34.234354 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  137. 2023-11-09 19:30:34.234354 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =10
  138. 2023-11-09 19:30:34.254430 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your47696.71 balance Accountid 9 !!!
  139. 2023-11-09 19:30:34.254430 94.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  140. 2023-11-09 19:30:34.254430 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Monthly call credit limit : 4910.8032786885
  141. 2023-11-09 19:30:34.254430 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] check_routing_type for resellers origination rates  
  142. 2023-11-09 19:30:34.254430 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:3|CODE:^701077.*|DESTINATION:701077|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:1.22000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:159|ACCID:10||ID:3|CODE:^701077.*|DESTINATION:701077|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:1.22000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:159|ACCID:9
  143. 2023-11-09 19:30:34.254430 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  144. 2023-11-09 19:30:34.254430 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 1
  145. 2023-11-09 19:30:34.254430 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 4853.5327868852 minutes
  146. 2023-11-09 19:30:34.254430 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  147. 2023-11-09 19:30:34.254430 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  148. 2023-11-09 19:30:34.254430 94.17% [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 = 10 AND status=0 LIMIT 1
  149. 2023-11-09 19:30:34.254430 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "10" OR number = "10") AND deleted = 0 limit 1
  150. 2023-11-09 19:30:34.274332 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =10
  151. 2023-11-09 19:30:34.274332 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:10
  152. 2023-11-09 19:30:34.274332 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:10
  153. 2023-11-09 19:30:34.274332 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 10
  154. 2023-11-09 19:30:34.274332 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 10 limit 1
  155. 2023-11-09 19:30:34.294318 94.17% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : cluster.astppbilling.org
  156. 2023-11-09 19:30:34.294318 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 4853.5327868852
  157. 2023-11-09 19:30:34.294318 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = 'gw+ClusterServer' and status = 0 limit 1
  158. 2023-11-09 19:30:34.314352 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  159. 2023-11-09 19:30:34.314352 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  160. 2023-11-09 19:30:34.314352 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  161. 2023-11-09 19:30:34.314352 94.17% [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 = "9000100044" AND accounts.status = 0
  162. 2023-11-09 19:30:34.334374 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as redial] destination_number :701077
  163. 2023-11-09 19:30:34.334374 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as return] destination_number :701077
  164. 2023-11-09 19:30:34.334374 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 10 limit 1
  165. 2023-11-09 19:30:34.354343 94.17% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : cluster.astppbilling.org
  166. 2023-11-09 19:30:34.354343 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_0
  167. 2023-11-09 19:30:34.354343 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT music_on_hold_type FROM sip_devices WHERE username = '9000100044' and accountid = '10'LIMIT 1
  168. 2023-11-09 19:30:34.374315 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] DESTINATION : 9000100044
  169. 2023-11-09 19:30:34.374315 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] moh_name : 0
  170. 2023-11-09 19:30:34.374315 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT music_on_hold,music_on_hold_type FROM sip_devices WHERE username = '9000100044' and accountid = '10'LIMIT 1
  171. 2023-11-09 19:30:34.374315 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :0
  172. 2023-11-09 19:30:34.374315 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :0
  173. 2023-11-09 19:30:34.374315 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH for global Query :SELECT name FROM pbx_music_on_hold WHERE id = '0' LIMIT 1
  174. 2023-11-09 19:30:34.394339 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9000100044"  AND domains.domain="cluster.astppbilling.org" limit 1
  175. 2023-11-09 19:30:34.394339 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 9 limit 1
  176. 2023-11-09 19:30:34.414331 94.17% [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
  177. 2023-11-09 19:30:34.414331 94.17% [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
  178. 2023-11-09 19:30:34.434328 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_park_in' limit 1
  179. 2023-11-09 19:30:34.434328 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  180. 2023-11-09 19:30:34.434328 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC11]
  181. 2023-11-09 19:30:34.434328 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9000100044"  AND domains.domain="cluster.astppbilling.org" limit 1
  182. 2023-11-09 19:30:34.454323 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9000100044"  AND domains.domain="cluster.astppbilling.org" limit 1
  183. 2023-11-09 19:30:34.454323 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP ID : 9
  184. 2023-11-09 19:30:34.454323 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 9 limit 1
  185. 2023-11-09 19:30:34.494347 94.17% [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
  186. 2023-11-09 19:30:34.494347 94.17% [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
  187. 2023-11-09 19:30:34.514343 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_park_in' limit 1
  188. 2023-11-09 19:30:34.514343 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] Call Forwarding Flag : 1
  189. 2023-11-09 19:30:34.514343 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP Call Forwarding Disable
  190. 2023-11-09 19:30:34.514343 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC8]
  191. 2023-11-09 19:30:34.514343 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9000100044"  AND domains.domain="cluster.astppbilling.org" limit 1
  192. 2023-11-09 19:30:34.514343 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  193. 2023-11-09 19:30:34.514343 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9000100044"  AND domains.domain="cluster.astppbilling.org" limit 1
  194. 2023-11-09 19:30:34.534339 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 9 limit 1
  195. 2023-11-09 19:30:34.554367 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  196. <document type="freeswitch/xml">
  197. <section name="dialplan" description="ASTPP Dialplan">
  198. <context name="default">
  199. <extension name="701077">
  200. <condition field="destination_number" expression="701077">
  201. <action application="set" data="effective_destination_number=701077"/>
  202. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  203. <action application="set" data="bridge_pre_execute_bleg_data=+291211.96721311 normal_clearing"/>
  204. <action application="set" data="notify_flag=0"/>
  205. <action application="set" data="notify_credit_limit=5.00000"/>
  206. <action application="set" data="type=0"/>
  207. <action application="set" data="callstart=2023-11-09 19:30:34"/>
  208. <action application="set" data="hangup_after_bridge=true"/>
  209. <action application="set" data="continue_on_fail=TRUE"/>
  210. <action application="set" data="account_id=10"/>
  211. <action application="set" data="parent_id=9"/>
  212. <action application="set" data="entity_id=0"/>
  213. <action application="set" data="call_processed=internal"/>
  214. <action application="set" data="call_direction=inbound"/>
  215. <action application="set" data="accountname=default"/>
  216. <action application="set" data="filename1=astpp.pbx.lua"/>
  217. <action application="set" data="origination_rates_did=ID:3|CODE:^701077.*|DESTINATION:701077|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:1.22000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:159|ACCID:10||ID:3|CODE:^701077.*|DESTINATION:701077|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:1.22000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:159|ACCID:9"/>
  218. <action application="set" data="origination_rates=0"/>
  219. <action application="set" data="original_caller_id_name="+9191000091""/>
  220. <action application="set" data="original_caller_id_number=+9191000091"/>
  221. <action application="hash" data="insert/${domain_name}-last_dial/${caller_id_number}/${destination_number}"/>
  222. <action application="hash" data="insert/${domain_name}-call_return/${destination_number}/${caller_id_number}"/>
  223. <action application="set" data="effective_caller_id_name="+9191000091""/>
  224. <action application="set" data="effective_caller_id_number=+9191000091"/>
  225. <action application="set" data="receiver_accid=10"/>
  226. <action application="set" data="did_id=3"/>
  227. <action application="set" data="transfer_call_type=5"/>
  228. <action application="set" data="transfer_extensions=2622423679"/>
  229. <action application="set" data="busy_status=0"/>
  230. <action application="set" data="no_answer_status=1"/>
  231. <action application="set" data="always_status=1"/>
  232. <action application="set" data="transfer_status=0"/>
  233. <action application="set" data="variable_sip_to_host=${domain_name}"/>
  234. <action application="set" data="variable_sip_network_ip=78.47.101.152"/>
  235. <action application="set" data="variable_sip_network_port=5073"/>
  236. <action application="export" data="domain_name=cluster.astppbilling.org"/>
  237. <action application="export" data="sip_to_host=cluster.astppbilling.org"/>
  238. <action application="export" data="presence_data=x//9|||PK Reseller customer QA(9000100044)|||^701077.* // 701077 // 1.22000|||||||||DID|||13.232.246.166"/>
  239. <action application="export" data="call_type=0"/>
  240. <action application="set" data="calltype=DID-LOCAL"/>
  241. <action application="set" data="daily_call_credit_limit=6000.00000"/>
  242. <action application="set" data="monthly_call_credit_limit=8000.00000"/>
  243. <action application="set" data="daily_call_used_limit=1.22000"/>
  244. <action application="set" data="monthly_call_used_limit=2078.69000"/>
  245. <action application="hash" data="insert/${domain_name}-call_return/9000100044/${caller_id_number}"/>
  246. <action application="db" data="insert/pickup_any_group_${callgroup}/9000100044/${uuid}"/>
  247. <action application="set" data="dialed_extension=transfer_call"/>
  248. <action application="export" data="dialed_extension=transfer_call"/>
  249. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  250. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  251. <action application="bind_meta_app" data="8 b s execute_extension::transfer_call_8 XML default"/>
  252. <action application="set" data="hangup_after_bridge=true"/>
  253. <action application="export" data="did_user_domain=cluster.astppbilling.org"/>
  254. <action application="set" data="sip_h_X-call-type=did"/>
  255. <action application="set" data="sip_h_X-did-call-type=DID-LOCAL"/>
  256. <action application="db" data="insert/pickup_any_group_${callgroup}/9000100044/${uuid}"/>
  257. <action application="set" data="dialed_extension=transfer_call"/>
  258. <action application="export" data="dialed_extension=transfer_call"/>
  259. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  260. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  261. <action application="bind_meta_app" data="8 b s execute_extension::transfer_call_8 XML default"/>
  262. <action application="set" data="hangup_after_bridge=true"/>
  263. <action application="bridge" data="{sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=10}[leg_timeout=0 ] sofia/${sofia_profile_name}/9000100044@cluster.astppbilling.org:5073"/>
  264. <action application="set" data="on_busy_flag=1"/>
  265. <action application="set" data="on_busy_destination="/>
  266. <action application="set" data="no_answer_flag=1"/>
  267. <action application="set" data="no_answer_destination="/>
  268. <action application="set" data="not_register_flag=1"/>
  269. <action application="set" data="not_register_destination="/>
  270. <action application="set" data="opensips_flag=0"/>
  271. <action application="set" data="variable_sip_to_host=cluster.astppbilling.org"/>
  272. <action application="set" data="opensips_domain=cluster.astppbilling.org"/>
  273. <action application="set" data="leg_timeout=0"/>
  274. <action application="set" data="userinfo_id=10"/>
  275. <action application="set" data="sip_destination_number=9000100044"/>
  276. <action application="set" data="did_number=9000100044"/>
  277. <action application="set" data="user_domain=cluster.astppbilling.org"/>
  278. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  279. <action application="set" data="on_busy_flag=1"/>
  280. <action application="set" data="on_busy_destination="/>
  281. <action application="set" data="no_answer_flag=1"/>
  282. <action application="set" data="no_answer_destination="/>
  283. <action application="set" data="not_register_flag=1"/>
  284. <action application="set" data="not_register_destination="/>
  285. <action application="set" data="opensips_flag=0"/>
  286. <action application="set" data="variable_sip_to_host=cluster.astppbilling.org"/>
  287. <action application="set" data="opensips_domain=cluster.astppbilling.org"/>
  288. <action application="set" data="leg_timeout=0"/>
  289. <action application="set" data="userinfo_id=10"/>
  290. <action application="set" data="sip_destination_number=9000100044"/>
  291. <action application="set" data="destination_number=9000100044"/>
  292. <action application="set" data="did_number=701077"/>
  293. <action application="set" data="user_domain=cluster.astppbilling.org"/>
  294. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  295. <condition field="${cond(${user_data 9000100044@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  296. <action application="answer"/>
  297. <action application="export" data="voicemail_alternate_greet_id=9000100044"/>
  298. <action application="voicemail" data="default $${domain_name} 9000100044"/>
  299. <anti-action application="hangup" data="${originate_disposition}"/>
  300. </condition>
  301. </condition>
  302. </extension>
  303. </context>
  304. </section>
  305. </document>
  306. Dialplan: sofia/default/+9191000091@13.232.246.166 parsing [default->701077] continue=false
  307. Dialplan: sofia/default/+9191000091@13.232.246.166 Regex (PASS) [701077] destination_number(701077) =~ /701077/ break=on-false
  308. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(effective_destination_number=701077)
  309. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  310. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(bridge_pre_execute_bleg_data=+291211.96721311 normal_clearing)
  311. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(notify_flag=0)
  312. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(notify_credit_limit=5.00000)
  313. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(type=0)
  314. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(callstart=2023-11-09 19:30:34)
  315. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(hangup_after_bridge=true)
  316. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(continue_on_fail=TRUE)
  317. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(account_id=10)
  318. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(parent_id=9)
  319. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(entity_id=0)
  320. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(call_processed=internal)
  321. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(call_direction=inbound)
  322. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(accountname=default)
  323. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(filename1=astpp.pbx.lua)
  324. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(origination_rates_did=ID:3|CODE:^701077.*|DESTINATION:701077|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:1.22000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:159|ACCID:10||ID:3|CODE:^701077.*|DESTINATION:701077|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:1.22000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:159|ACCID:9)
  325. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(origination_rates=0)
  326. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(original_caller_id_name=)
  327. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(original_caller_id_number=+9191000091)
  328. Dialplan: sofia/default/+9191000091@13.232.246.166 Action hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number})
  329. Dialplan: sofia/default/+9191000091@13.232.246.166 Action hash(insert/${domain_name}-call_return/${destination_number}/${caller_id_number})
  330. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(effective_caller_id_name=)
  331. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(effective_caller_id_number=+9191000091)
  332. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(receiver_accid=10)
  333. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(did_id=3)
  334. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(transfer_call_type=5)
  335. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(transfer_extensions=2622423679)
  336. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(busy_status=0)
  337. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(no_answer_status=1)
  338. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(always_status=1)
  339. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(transfer_status=0)
  340. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(variable_sip_to_host=${domain_name})
  341. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(variable_sip_network_ip=78.47.101.152)
  342. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(variable_sip_network_port=5073)
  343. Dialplan: sofia/default/+9191000091@13.232.246.166 Action export(domain_name=cluster.astppbilling.org)
  344. Dialplan: sofia/default/+9191000091@13.232.246.166 Action export(sip_to_host=cluster.astppbilling.org)
  345. Dialplan: sofia/default/+9191000091@13.232.246.166 Action export(presence_data=x//9|||PK Reseller customer QA(9000100044)|||^701077.* // 701077 // 1.22000|||||||||DID|||13.232.246.166)
  346. Dialplan: sofia/default/+9191000091@13.232.246.166 Action export(call_type=0)
  347. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(calltype=DID-LOCAL)
  348. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(daily_call_credit_limit=6000.00000)
  349. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(monthly_call_credit_limit=8000.00000)
  350. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(daily_call_used_limit=1.22000)
  351. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(monthly_call_used_limit=2078.69000)
  352. Dialplan: sofia/default/+9191000091@13.232.246.166 Action hash(insert/${domain_name}-call_return/9000100044/${caller_id_number})
  353. Dialplan: sofia/default/+9191000091@13.232.246.166 Action db(insert/pickup_any_group_${callgroup}/9000100044/${uuid})
  354. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(dialed_extension=transfer_call)
  355. Dialplan: sofia/default/+9191000091@13.232.246.166 Action export(dialed_extension=transfer_call)
  356. Dialplan: sofia/default/+9191000091@13.232.246.166 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  357. Dialplan: sofia/default/+9191000091@13.232.246.166 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  358. Dialplan: sofia/default/+9191000091@13.232.246.166 Action bind_meta_app(8 b s execute_extension::transfer_call_8 XML default)
  359. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(hangup_after_bridge=true)
  360. Dialplan: sofia/default/+9191000091@13.232.246.166 Action export(did_user_domain=cluster.astppbilling.org)
  361. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(sip_h_X-call-type=did)
  362. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(sip_h_X-did-call-type=DID-LOCAL)
  363. Dialplan: sofia/default/+9191000091@13.232.246.166 Action db(insert/pickup_any_group_${callgroup}/9000100044/${uuid})
  364. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(dialed_extension=transfer_call)
  365. Dialplan: sofia/default/+9191000091@13.232.246.166 Action export(dialed_extension=transfer_call)
  366. Dialplan: sofia/default/+9191000091@13.232.246.166 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  367. Dialplan: sofia/default/+9191000091@13.232.246.166 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  368. Dialplan: sofia/default/+9191000091@13.232.246.166 Action bind_meta_app(8 b s execute_extension::transfer_call_8 XML default)
  369. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(hangup_after_bridge=true)
  370. Dialplan: sofia/default/+9191000091@13.232.246.166 Action bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=10}[leg_timeout=0 ] sofia/${sofia_profile_name}/9000100044@cluster.astppbilling.org:5073)
  371. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(on_busy_flag=1)
  372. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(on_busy_destination=)
  373. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(no_answer_flag=1)
  374. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(no_answer_destination=)
  375. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(not_register_flag=1)
  376. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(not_register_destination=)
  377. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(opensips_flag=0)
  378. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(variable_sip_to_host=cluster.astppbilling.org)
  379. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(opensips_domain=cluster.astppbilling.org)
  380. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(leg_timeout=0)
  381. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(userinfo_id=10)
  382. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(sip_destination_number=9000100044)
  383. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(did_number=9000100044)
  384. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(user_domain=cluster.astppbilling.org)
  385. Dialplan: sofia/default/+9191000091@13.232.246.166 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  386. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(on_busy_flag=1)
  387. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(on_busy_destination=)
  388. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(no_answer_flag=1)
  389. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(no_answer_destination=)
  390. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(not_register_flag=1)
  391. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(not_register_destination=)
  392. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(opensips_flag=0)
  393. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(variable_sip_to_host=cluster.astppbilling.org)
  394. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(opensips_domain=cluster.astppbilling.org)
  395. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(leg_timeout=0)
  396. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(userinfo_id=10)
  397. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(sip_destination_number=9000100044)
  398. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(destination_number=9000100044)
  399. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(did_number=701077)
  400. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(user_domain=cluster.astppbilling.org)
  401. Dialplan: sofia/default/+9191000091@13.232.246.166 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  402. |--- Dialplan: Processing recursive conditions level:1 [701077_recur_1] require-nested=TRUE
  403. |--- Dialplan: sofia/default/+9191000091@13.232.246.166 Regex (FAIL) [701077_recur_1] ${cond(${user_data 9000100044@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false
  404. |--- Dialplan: sofia/default/+9191000091@13.232.246.166 ANTI-Action hangup(${originate_disposition})
  405. 2023-11-09 19:30:34.614318 94.17% [DEBUG] switch_core_state_machine.c:281 (sofia/default/+9191000091@13.232.246.166) State Change CS_ROUTING -> CS_EXECUTE
  406. 2023-11-09 19:30:34.614318 94.17% [DEBUG] switch_core_state_machine.c:640 (sofia/default/+9191000091@13.232.246.166) State ROUTING going to sleep
  407. 2023-11-09 19:30:34.614318 94.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+9191000091@13.232.246.166) Running State Change CS_EXECUTE (Cur 1 Tot 12559)
  408. 2023-11-09 19:30:34.614318 94.17% [DEBUG] switch_core_state_machine.c:647 (sofia/default/+9191000091@13.232.246.166) State EXECUTE
  409. 2023-11-09 19:30:34.614318 94.17% [DEBUG] mod_sofia.c:213 sofia/default/+9191000091@13.232.246.166 SOFIA EXECUTE
  410. 2023-11-09 19:30:34.614318 94.17% [DEBUG] switch_core_state_machine.c:323 sofia/default/+9191000091@13.232.246.166 Standard EXECUTE
  411. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(effective_destination_number=701077)
  412. 2023-11-09 19:30:34.614318 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [effective_destination_number]=[701077]
  413. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(bridge_pre_execute_bleg_app=sched_hangup)
  414. 2023-11-09 19:30:34.614318 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [bridge_pre_execute_bleg_app]=[sched_hangup]
  415. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(bridge_pre_execute_bleg_data=+291211.96721311 normal_clearing)
  416. 2023-11-09 19:30:34.614318 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [bridge_pre_execute_bleg_data]=[+291211.96721311 normal_clearing]
  417. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(notify_flag=0)
  418. 2023-11-09 19:30:34.614318 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [notify_flag]=[0]
  419. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(notify_credit_limit=5.00000)
  420. 2023-11-09 19:30:34.614318 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [notify_credit_limit]=[5.00000]
  421. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(type=0)
  422. 2023-11-09 19:30:34.614318 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [type]=[0]
  423. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(callstart=2023-11-09 19:30:34)
  424. 2023-11-09 19:30:34.614318 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [callstart]=[2023-11-09 19:30:34]
  425. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(hangup_after_bridge=true)
  426. 2023-11-09 19:30:34.614318 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [hangup_after_bridge]=[true]
  427. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(continue_on_fail=TRUE)
  428. 2023-11-09 19:30:34.614318 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [continue_on_fail]=[TRUE]
  429. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(account_id=10)
  430. 2023-11-09 19:30:34.614318 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [account_id]=[10]
  431. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(parent_id=9)
  432. 2023-11-09 19:30:34.614318 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [parent_id]=[9]
  433. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(entity_id=0)
  434. 2023-11-09 19:30:34.614318 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [entity_id]=[0]
  435. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(call_processed=internal)
  436. 2023-11-09 19:30:34.614318 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [call_processed]=[internal]
  437. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(call_direction=inbound)
  438. 2023-11-09 19:30:34.614318 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [call_direction]=[inbound]
  439. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(accountname=default)
  440. 2023-11-09 19:30:34.614318 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [accountname]=[default]
  441. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(filename1=astpp.pbx.lua)
  442. 2023-11-09 19:30:34.614318 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [filename1]=[astpp.pbx.lua]
  443. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(origination_rates_did=ID:3|CODE:^701077.*|DESTINATION:701077|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:1.22000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:159|ACCID:10||ID:3|CODE:^701077.*|DESTINATION:701077|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:1.22000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:159|ACCID:9)
  444. 2023-11-09 19:30:34.614318 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [origination_rates_did]=[ID:3|CODE:^701077.*|DESTINATION:701077|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:1.22000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:159|ACCID:10||ID:3|CODE:^701077.*|DESTINATION:701077|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:1.22000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:159|ACCID:9]
  445. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(origination_rates=0)
  446. 2023-11-09 19:30:34.614318 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [origination_rates]=[0]
  447. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(original_caller_id_name=)
  448. 2023-11-09 19:30:34.614318 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [original_caller_id_name]=[UNDEF]
  449. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(original_caller_id_number=+9191000091)
  450. 2023-11-09 19:30:34.614318 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [original_caller_id_number]=[+9191000091]
  451. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 hash(insert/167.235.194.5-last_dial/+9191000091/701077)
  452. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 hash(insert/167.235.194.5-call_return/701077/+9191000091)
  453. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(effective_caller_id_name=)
  454. 2023-11-09 19:30:34.614318 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [effective_caller_id_name]=[UNDEF]
  455. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(effective_caller_id_number=+9191000091)
  456. 2023-11-09 19:30:34.614318 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [effective_caller_id_number]=[+9191000091]
  457. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(receiver_accid=10)
  458. 2023-11-09 19:30:34.614318 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [receiver_accid]=[10]
  459. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(did_id=3)
  460. 2023-11-09 19:30:34.614318 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [did_id]=[3]
  461. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(transfer_call_type=5)
  462. 2023-11-09 19:30:34.614318 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [transfer_call_type]=[5]
  463. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(transfer_extensions=2622423679)
  464. 2023-11-09 19:30:34.614318 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [transfer_extensions]=[2622423679]
  465. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(busy_status=0)
  466. 2023-11-09 19:30:34.614318 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [busy_status]=[0]
  467. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(no_answer_status=1)
  468. 2023-11-09 19:30:34.614318 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [no_answer_status]=[1]
  469. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(always_status=1)
  470. 2023-11-09 19:30:34.614318 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [always_status]=[1]
  471. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(transfer_status=0)
  472. 2023-11-09 19:30:34.614318 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [transfer_status]=[0]
  473. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(variable_sip_to_host=167.235.194.5)
  474. 2023-11-09 19:30:34.614318 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [variable_sip_to_host]=[167.235.194.5]
  475. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(variable_sip_network_ip=78.47.101.152)
  476. 2023-11-09 19:30:34.614318 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [variable_sip_network_ip]=[78.47.101.152]
  477. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(variable_sip_network_port=5073)
  478. 2023-11-09 19:30:34.614318 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [variable_sip_network_port]=[5073]
  479. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 export(domain_name=cluster.astppbilling.org)
  480. 2023-11-09 19:30:34.614318 94.17% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[cluster.astppbilling.org]
  481. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 export(sip_to_host=cluster.astppbilling.org)
  482. 2023-11-09 19:30:34.614318 94.17% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[cluster.astppbilling.org]
  483. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 export(presence_data=x//9|||PK Reseller customer QA(9000100044)|||^701077.* // 701077 // 1.22000|||||||||DID|||13.232.246.166)
  484. 2023-11-09 19:30:34.614318 94.17% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x//9|||PK Reseller customer QA(9000100044)|||^701077.* // 701077 // 1.22000|||||||||DID|||13.232.246.166]
  485. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 export(call_type=0)
  486. 2023-11-09 19:30:34.614318 94.17% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[0]
  487. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(calltype=DID-LOCAL)
  488. 2023-11-09 19:30:34.614318 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [calltype]=[DID-LOCAL]
  489. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(daily_call_credit_limit=6000.00000)
  490. 2023-11-09 19:30:34.614318 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [daily_call_credit_limit]=[6000.00000]
  491. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(monthly_call_credit_limit=8000.00000)
  492. 2023-11-09 19:30:34.614318 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [monthly_call_credit_limit]=[8000.00000]
  493. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(daily_call_used_limit=1.22000)
  494. 2023-11-09 19:30:34.614318 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [daily_call_used_limit]=[1.22000]
  495. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(monthly_call_used_limit=2078.69000)
  496. 2023-11-09 19:30:34.614318 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [monthly_call_used_limit]=[2078.69000]
  497. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 hash(insert/cluster.astppbilling.org-call_return/9000100044/+9191000091)
  498. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 db(insert/pickup_any_group_/9000100044/7550ed20-1d51-4462-afb4-78d01916877a)
  499. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(dialed_extension=transfer_call)
  500. 2023-11-09 19:30:34.614318 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [dialed_extension]=[transfer_call]
  501. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 export(dialed_extension=transfer_call)
  502. 2023-11-09 19:30:34.614318 94.17% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  503. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  504. 2023-11-09 19:30:34.614318 94.17% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  505. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  506. 2023-11-09 19:30:34.614318 94.17% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  507. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 bind_meta_app(8 b s execute_extension::transfer_call_8 XML default)
  508. 2023-11-09 19:30:34.614318 94.17% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *8 execute_extension::transfer_call_8 XML default
  509. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(hangup_after_bridge=true)
  510. 2023-11-09 19:30:34.614318 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [hangup_after_bridge]=[true]
  511. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 export(did_user_domain=cluster.astppbilling.org)
  512. 2023-11-09 19:30:34.614318 94.17% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [did_user_domain]=[cluster.astppbilling.org]
  513. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(sip_h_X-call-type=did)
  514. 2023-11-09 19:30:34.614318 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [sip_h_X-call-type]=[did]
  515. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(sip_h_X-did-call-type=DID-LOCAL)
  516. 2023-11-09 19:30:34.614318 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [sip_h_X-did-call-type]=[DID-LOCAL]
  517. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 db(insert/pickup_any_group_/9000100044/7550ed20-1d51-4462-afb4-78d01916877a)
  518. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(dialed_extension=transfer_call)
  519. 2023-11-09 19:30:34.634323 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [dialed_extension]=[transfer_call]
  520. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 export(dialed_extension=transfer_call)
  521. 2023-11-09 19:30:34.634323 94.17% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  522. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  523. 2023-11-09 19:30:34.634323 94.17% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  524. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  525. 2023-11-09 19:30:34.634323 94.17% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  526. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 bind_meta_app(8 b s execute_extension::transfer_call_8 XML default)
  527. 2023-11-09 19:30:34.634323 94.17% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *8 execute_extension::transfer_call_8 XML default
  528. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(hangup_after_bridge=true)
  529. 2023-11-09 19:30:34.634323 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [hangup_after_bridge]=[true]
  530. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=10}[leg_timeout=0 ] sofia/default/9000100044@cluster.astppbilling.org:5073)
  531. 2023-11-09 19:30:34.634323 94.17% [DEBUG] switch_channel.c:1269 sofia/default/+9191000091@13.232.246.166 EXPORTING[export_vars] [domain_name]=[cluster.astppbilling.org] to event
  532. 2023-11-09 19:30:34.634323 94.17% [DEBUG] switch_channel.c:1269 sofia/default/+9191000091@13.232.246.166 EXPORTING[export_vars] [sip_to_host]=[cluster.astppbilling.org] to event
  533. 2023-11-09 19:30:34.634323 94.17% [DEBUG] switch_channel.c:1269 sofia/default/+9191000091@13.232.246.166 EXPORTING[export_vars] [presence_data]=[x//9|||PK Reseller customer QA(9000100044)|||^701077.* // 701077 // 1.22000|||||||||DID|||13.232.246.166] to event
  534. 2023-11-09 19:30:34.634323 94.17% [DEBUG] switch_channel.c:1269 sofia/default/+9191000091@13.232.246.166 EXPORTING[export_vars] [call_type]=[0] to event
  535. 2023-11-09 19:30:34.634323 94.17% [DEBUG] switch_channel.c:1269 sofia/default/+9191000091@13.232.246.166 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  536. 2023-11-09 19:30:34.634323 94.17% [DEBUG] switch_channel.c:1269 sofia/default/+9191000091@13.232.246.166 EXPORTING[export_vars] [did_user_domain]=[cluster.astppbilling.org] to event
  537. 2023-11-09 19:30:34.634323 94.17% [DEBUG] switch_channel.c:1269 sofia/default/+9191000091@13.232.246.166 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  538. 2023-11-09 19:30:34.634323 94.17% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  539. 2023-11-09 19:30:34.634323 94.17% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  540. 2023-11-09 19:30:34.634323 94.17% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9000100044@cluster.astppbilling.org:5073 [c496ac6c-067c-4f1c-a2ea-88d353067fe9]
  541. 2023-11-09 19:30:34.634323 94.17% [DEBUG] mod_sofia.c:5121 (sofia/default/9000100044@cluster.astppbilling.org:5073) State Change CS_NEW -> CS_INIT
  542. 2023-11-09 19:30:34.634323 94.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9000100044@cluster.astppbilling.org:5073) Running State Change CS_INIT (Cur 2 Tot 12560)
  543. 2023-11-09 19:30:34.634323 94.17% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9000100044@cluster.astppbilling.org:5073) State INIT
  544. 2023-11-09 19:30:34.634323 94.17% [DEBUG] mod_sofia.c:97 sofia/default/9000100044@cluster.astppbilling.org:5073 SOFIA INIT
  545. 2023-11-09 19:30:34.634323 94.17% [INFO] sofia_glue.c:1651 sofia/default/9000100044@cluster.astppbilling.org:5073 sending invite call-id: (null)
  546. 2023-11-09 19:30:34.634323 94.17% [DEBUG] sofia_glue.c:1654 sofia/default/9000100044@cluster.astppbilling.org:5073 sending invite version: 1.10.7 -release 64bit
  547. Local SDP:
  548. v=0
  549. o=FreeSWITCH 1699530008 1699530009 IN IP4 167.235.194.5
  550. s=FreeSWITCH
  551. c=IN IP4 167.235.194.5
  552. t=0 0
  553. m=audio 28226 RTP/AVP 8 101
  554. a=rtpmap:8 PCMA/8000
  555. a=rtpmap:101 telephone-event/8000
  556. a=fmtp:101 0-15
  557. a=ptime:20
  558. a=sendrecv
  559.  
  560. 2023-11-09 19:30:34.634323 94.17% [DEBUG] switch_core_state_machine.c:40 sofia/default/9000100044@cluster.astppbilling.org:5073 Standard INIT
  561. 2023-11-09 19:30:34.634323 94.17% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9000100044@cluster.astppbilling.org:5073) State Change CS_INIT -> CS_ROUTING
  562. 2023-11-09 19:30:34.634323 94.17% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9000100044@cluster.astppbilling.org:5073) State INIT going to sleep
  563. 2023-11-09 19:30:34.634323 94.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9000100044@cluster.astppbilling.org:5073) Running State Change CS_ROUTING (Cur 2 Tot 12560)
  564. 2023-11-09 19:30:34.634323 94.17% [DEBUG] sofia.c:7499 Channel sofia/default/9000100044@cluster.astppbilling.org:5073 entering state [calling][0]
  565. 2023-11-09 19:30:34.634323 94.17% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9000100044@cluster.astppbilling.org:5073) State ROUTING
  566. 2023-11-09 19:30:34.634323 94.17% [DEBUG] mod_sofia.c:158 sofia/default/9000100044@cluster.astppbilling.org:5073 SOFIA ROUTING
  567. 2023-11-09 19:30:34.634323 94.17% [DEBUG] switch_ivr_originate.c:67 (sofia/default/9000100044@cluster.astppbilling.org:5073) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  568. 2023-11-09 19:30:34.634323 94.17% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9000100044@cluster.astppbilling.org:5073) State ROUTING going to sleep
  569. 2023-11-09 19:30:34.634323 94.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9000100044@cluster.astppbilling.org:5073) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 12560)
  570. 2023-11-09 19:30:34.634323 94.17% [DEBUG] switch_core_state_machine.c:659 (sofia/default/9000100044@cluster.astppbilling.org:5073) State CONSUME_MEDIA
  571. 2023-11-09 19:30:34.634323 94.17% [DEBUG] switch_core_state_machine.c:659 (sofia/default/9000100044@cluster.astppbilling.org:5073) State CONSUME_MEDIA going to sleep
  572. 2023-11-09 19:30:35.994330 93.10% [DEBUG] sofia.c:7499 Channel sofia/default/9000100044@cluster.astppbilling.org:5073 entering state [proceeding][180]
  573. 2023-11-09 19:30:35.994330 93.10% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/9000100044@cluster.astppbilling.org:5073!
  574. 2023-11-09 19:30:35.994330 93.10% [DEBUG] switch_channel.c:3494 (sofia/default/9000100044@cluster.astppbilling.org:5073) Callstate Change DOWN -> RINGING
  575. 2023-11-09 19:30:35.994330 93.10% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/+9191000091@13.232.246.166!
  576. 2023-11-09 19:30:35.994330 93.10% [DEBUG] sofia.c:7499 Channel sofia/default/+9191000091@13.232.246.166 entering state [early][180]
  577. 2023-11-09 19:30:35.994330 93.10% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/+9191000091@13.232.246.166!
  578. 2023-11-09 19:30:45.534364 92.93% [DEBUG] sofia.c:7499 Channel sofia/default/9000100044@cluster.astppbilling.org:5073 entering state [terminated][482]
  579. 2023-11-09 19:30:45.534364 92.93% [NOTICE] sofia.c:8738 Hangup sofia/default/9000100044@cluster.astppbilling.org:5073 [CS_CONSUME_MEDIA] [EXCHANGE_ROUTING_ERROR]
  580. 2023-11-09 19:30:45.534364 92.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9000100044@cluster.astppbilling.org:5073) Running State Change CS_HANGUP (Cur 2 Tot 12560)
  581. 2023-11-09 19:30:45.534364 92.93% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9000100044@cluster.astppbilling.org:5073) Callstate Change RINGING -> HANGUP
  582. 2023-11-09 19:30:45.534364 92.93% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9000100044@cluster.astppbilling.org:5073) State HANGUP
  583. 2023-11-09 19:30:45.534364 92.93% [DEBUG] mod_sofia.c:468 Channel sofia/default/9000100044@cluster.astppbilling.org:5073 hanging up, cause: EXCHANGE_ROUTING_ERROR
  584. 2023-11-09 19:30:45.534364 92.93% [DEBUG] switch_core_state_machine.c:59 sofia/default/9000100044@cluster.astppbilling.org:5073 Standard HANGUP, cause: EXCHANGE_ROUTING_ERROR
  585. 2023-11-09 19:30:45.534364 92.93% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9000100044@cluster.astppbilling.org:5073) State HANGUP going to sleep
  586. 2023-11-09 19:30:45.534364 92.93% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9000100044@cluster.astppbilling.org:5073) State Change CS_HANGUP -> CS_REPORTING
  587. 2023-11-09 19:30:45.534364 92.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9000100044@cluster.astppbilling.org:5073) Running State Change CS_REPORTING (Cur 2 Tot 12560)
  588. 2023-11-09 19:30:45.534364 92.93% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9000100044@cluster.astppbilling.org:5073) State REPORTING
  589. 2023-11-09 19:30:45.534364 92.93% [INFO] mod_json_cdr.c:271 Process [c496ac6c-067c-4f1c-a2ea-88d353067fe9.cdr.json]
  590. 2023-11-09 19:30:45.554336 92.93% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 25 [EXCHANGE_ROUTING_ERROR]
  591. 2023-11-09 19:30:45.554336 92.93% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: EXCHANGE_ROUTING_ERROR
  592. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(on_busy_flag=1)
  593. 2023-11-09 19:30:45.554336 92.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [on_busy_flag]=[1]
  594. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(on_busy_destination=)
  595. 2023-11-09 19:30:45.554336 92.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [on_busy_destination]=[UNDEF]
  596. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(no_answer_flag=1)
  597. 2023-11-09 19:30:45.554336 92.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [no_answer_flag]=[1]
  598. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(no_answer_destination=)
  599. 2023-11-09 19:30:45.554336 92.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [no_answer_destination]=[UNDEF]
  600. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(not_register_flag=1)
  601. 2023-11-09 19:30:45.554336 92.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [not_register_flag]=[1]
  602. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(not_register_destination=)
  603. 2023-11-09 19:30:45.554336 92.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [not_register_destination]=[UNDEF]
  604. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(opensips_flag=0)
  605. 2023-11-09 19:30:45.554336 92.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [opensips_flag]=[0]
  606. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(variable_sip_to_host=cluster.astppbilling.org)
  607. 2023-11-09 19:30:45.554336 92.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [variable_sip_to_host]=[cluster.astppbilling.org]
  608. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(opensips_domain=cluster.astppbilling.org)
  609. 2023-11-09 19:30:45.554336 92.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [opensips_domain]=[cluster.astppbilling.org]
  610. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(leg_timeout=0)
  611. 2023-11-09 19:30:45.554336 92.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [leg_timeout]=[0]
  612. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(userinfo_id=10)
  613. 2023-11-09 19:30:45.554336 92.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [userinfo_id]=[10]
  614. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(sip_destination_number=9000100044)
  615. 2023-11-09 19:30:45.554336 92.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [sip_destination_number]=[9000100044]
  616. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(did_number=9000100044)
  617. 2023-11-09 19:30:45.554336 92.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [did_number]=[9000100044]
  618. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(user_domain=cluster.astppbilling.org)
  619. 2023-11-09 19:30:45.554336 92.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [user_domain]=[cluster.astppbilling.org]
  620. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  621. 2023-11-09 19:30:45.574344 92.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  622. 2023-11-09 19:30:45.574344 92.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')
  623. 2023-11-09 19:30:45.574344 92.93% [NOTICE] switch_cpp.cpp:1465 [Astpp_SIP-Devices] This Is Last Dispositions EXCHANGE_ROUTING_ERROR This Is SIP Number : 9000100044
  624. 2023-11-09 19:30:45.574344 92.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_recording_id] Query :SELECT  accountid,recording_id,username,SUBSTRING(dir_params, 1, 1000) AS dir_params FROM sip_devices WHERE username = '9000100044' and accountid = '10'
  625. 2023-11-09 19:30:45.574344 92.93% [WARNING] switch_cpp.cpp:1465 [ASTPP] Check voicemail enabled :true
  626. 2023-11-09 19:30:45.574344 92.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  627. 2023-11-09 19:30:45.574344 92.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')
  628. 2023-11-09 19:30:45.594325 92.93% [NOTICE] switch_cpp.cpp:1465 [Astpp_SIP-Devices] dialed_user for voicemail::: 9000100044
  629. 2023-11-09 19:30:45.594325 92.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_sip_devices] Query :SELECT id,name_greeting,busy_greeting,temporary_greeting,unavailable_greeting from sip_devices WHERE username = 9000100044 and accountid = 10 and status=0 LIMIT 1
  630. 2023-11-09 19:30:45.594325 92.93% [NOTICE] switch_cpp.cpp:1465 [Astpp_SIP-Devices] Dialed User For Voicemail :9000100044
  631. 2023-11-09 19:30:45.594325 92.93% [DEBUG] switch_core_session.c:2795 Application voicemail Requires media! pre_answering channel sofia/default/+9191000091@13.232.246.166
  632. 2023-11-09 19:30:45.594325 92.93% [INFO] switch_core_session.c:2797 Sending early media
  633. 2023-11-09 19:30:45.594325 92.93% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/+9191000091@13.232.246.166] 167.235.194.5 port 31058 -> 78.47.101.152 port 34572 codec: 8 ms: 20
  634. 2023-11-09 19:30:45.594325 92.93% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  635. 2023-11-09 19:30:45.594325 92.93% [DEBUG] switch_core_media.c:8997 Activating RTCP PORT 34573
  636. 2023-11-09 19:30:45.594325 92.93% [DEBUG] switch_rtp.c:5017 RTCP send rate is: 1000 and packet rate is: 20000 Remote Port: 34573
  637. 2023-11-09 19:30:45.594325 92.93% [DEBUG] switch_rtp.c:2776 Setting RTCP remote addr to 78.47.101.152:34573 2
  638. 2023-11-09 19:30:45.594325 92.93% [DEBUG] switch_core_media.c:9089 sofia/default/+9191000091@13.232.246.166 Set 2833 dtmf send payload to 101
  639. 2023-11-09 19:30:45.594325 92.93% [DEBUG] switch_core_media.c:9096 sofia/default/+9191000091@13.232.246.166 Set 2833 dtmf receive payload to 101
  640. 2023-11-09 19:30:45.594325 92.93% [DEBUG] switch_core_media.c:9119 sofia/default/+9191000091@13.232.246.166 Set rtp dtmf delay to 40
  641. 2023-11-09 19:30:45.594325 92.93% [DEBUG] mod_sofia.c:2610 Ring SDP:
  642. v=0
  643. o=FreeSWITCH 1699527187 1699527188 IN IP4 167.235.194.5
  644. s=FreeSWITCH
  645. c=IN IP4 167.235.194.5
  646. t=0 0
  647. m=audio 31058 RTP/AVP 8 101
  648. a=rtpmap:8 PCMA/8000
  649. a=rtpmap:101 telephone-event/8000
  650. a=fmtp:101 0-15
  651. a=ptime:20
  652. a=sendrecv
  653. a=rtcp:31059 IN IP4 167.235.194.5
  654.  
  655. 2023-11-09 19:30:45.594325 92.93% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/+9191000091@13.232.246.166!
  656. 2023-11-09 19:30:45.594325 92.93% [DEBUG] switch_channel.c:3622 (sofia/default/+9191000091@13.232.246.166) Callstate Change RINGING -> EARLY
  657. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 voicemail(default cluster.astppbilling.org 9000100044)
  658. 2023-11-09 19:30:45.594325 92.93% [DEBUG] switch_core_state_machine.c:168 sofia/default/9000100044@cluster.astppbilling.org:5073 Standard REPORTING, cause: EXCHANGE_ROUTING_ERROR
  659. 2023-11-09 19:30:45.594325 92.93% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9000100044@cluster.astppbilling.org:5073) State REPORTING going to sleep
  660. 2023-11-09 19:30:45.594325 92.93% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9000100044@cluster.astppbilling.org:5073) State Change CS_REPORTING -> CS_DESTROY
  661. 2023-11-09 19:30:45.594325 92.93% [DEBUG] switch_core_session.c:1753 Session 12560 (sofia/default/9000100044@cluster.astppbilling.org:5073) Locked, Waiting on external entities
  662. 2023-11-09 19:30:45.594325 92.93% [NOTICE] switch_core_session.c:1771 Session 12560 (sofia/default/9000100044@cluster.astppbilling.org:5073) Ended
  663. 2023-11-09 19:30:45.594325 92.93% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9000100044@cluster.astppbilling.org:5073 [CS_DESTROY]
  664. 2023-11-09 19:30:45.594325 92.93% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9000100044@cluster.astppbilling.org:5073) Running State Change CS_DESTROY (Cur 1 Tot 12560)
  665. 2023-11-09 19:30:45.594325 92.93% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9000100044@cluster.astppbilling.org:5073) State DESTROY
  666. 2023-11-09 19:30:45.594325 92.93% [DEBUG] mod_sofia.c:379 sofia/default/9000100044@cluster.astppbilling.org:5073 SOFIA DESTROY
  667. 2023-11-09 19:30:45.594325 92.93% [DEBUG] switch_core_state_machine.c:175 sofia/default/9000100044@cluster.astppbilling.org:5073 Standard DESTROY
  668. 2023-11-09 19:30:45.594325 92.93% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9000100044@cluster.astppbilling.org:5073) State DESTROY going to sleep
  669. 2023-11-09 19:30:45.614315 92.93% [DEBUG] sofia.c:7499 Channel sofia/default/+9191000091@13.232.246.166 entering state [early][183]
  670. 2023-11-09 19:30:45.714439 92.93% [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en]
  671. 2023-11-09 19:30:45.734345 92.93% [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-person.wav] (en:en)
  672. 2023-11-09 19:30:45.734345 92.93% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  673. 2023-11-09 19:30:46.034375 92.60% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  674. 2023-11-09 19:30:46.114366 92.60% [DEBUG] switch_rtp.c:1982 rtcp_stats_init: audio ssrc[493870033] base_seq[34875]
  675. 2023-11-09 19:30:47.074361 92.57% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/voicemail/vm-person.wav
  676. 2023-11-09 19:30:47.194328 92.57% [DEBUG] switch_ivr_play_say.c:250 Handle say:[9000100044] (en:en)
  677. 2023-11-09 19:30:47.194328 92.57% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  678. 2023-11-09 19:30:49.774375 92.60% [DEBUG] switch_rtp.c:7331 Correct audio RTCP ip/port confirmed.
  679. 2023-11-09 19:30:52.374441 92.37% [DEBUG] switch_ivr_play_say.c:2001 done playing file file_string://digits/9.wav!digits/0.wav!digits/0.wav!digits/0.wav!digits/1.wav!digits/0.wav!digits/0.wav!digits/0.wav!digits/4.wav!digits/4.wav
  680. 2023-11-09 19:30:52.494335 92.37% [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-not_available.wav] (en:en)
  681. 2023-11-09 19:30:52.494335 92.37% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  682. 2023-11-09 19:30:53.474343 92.23% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/voicemail/vm-not_available.wav
  683. 2023-11-09 19:30:53.594346 92.23% [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en]
  684. 2023-11-09 19:30:53.614340 92.23% [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-record_message.wav] (en:en)
  685. 2023-11-09 19:30:53.614340 92.23% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  686. 2023-11-09 19:30:58.194395 92.27% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/voicemail/vm-record_message.wav
  687. 2023-11-09 19:30:59.334358 92.13% [DEBUG] switch_ivr_play_say.c:604 Raw Codec Activated, ready to waste resources!
  688. 2023-11-09 19:30:59.334358 92.13% [DEBUG] switch_ivr_play_say.c:716 Raw Codec Activated
  689. 2023-11-09 19:30:59.334358 92.13% [DEBUG] switch_core_codec.c:223 sofia/default/+9191000091@13.232.246.166 Push codec L16:100
  690. 2023-11-09 19:31:23.074318 92.57% [DEBUG] sofia.c:7499 Channel sofia/default/+9191000091@13.232.246.166 entering state [terminated][487]
  691. 2023-11-09 19:31:23.074318 92.57% [NOTICE] sofia.c:8738 Hangup sofia/default/+9191000091@13.232.246.166 [CS_EXECUTE] [ORIGINATOR_CANCEL]
  692. 2023-11-09 19:31:23.074318 92.57% [DEBUG] switch_core_codec.c:248 sofia/default/+9191000091@13.232.246.166 Restore previous codec PCMA:8.
  693. 2023-11-09 19:31:23.074318 92.57% [DEBUG] mod_voicemail.c:2832 Deliver VM to 9000100044@cluster.astppbilling.org
  694. 2023-11-09 19:31:23.074318 92.57% [DEBUG] mod_voicemail.c:1925 Update MWI: Processing for 9000100044@cluster.astppbilling.org in inbox
  695. 2023-11-09 19:31:23.114319 92.57% [DEBUG] mod_voicemail.c:1950 Update MWI: Messages Waiting yes
  696. 2023-11-09 19:31:23.114319 92.57% [DEBUG] mod_voicemail.c:1951 Update MWI: Update Reason NEW
  697. 2023-11-09 19:31:23.114319 92.57% [DEBUG] mod_voicemail.c:1952 Update MWI: Message Account 9000100044@cluster.astppbilling.org
  698. 2023-11-09 19:31:23.114319 92.57% [DEBUG] mod_voicemail.c:1953 Update MWI: Voice Message 1/0
  699. 2023-11-09 19:31:24.114322 91.30% [DEBUG] switch_utils.c:1319 Emailed file [/tmp/mail.1699558283eea2] to [pk440qaastpp@mailinator.com]
  700. 2023-11-09 19:31:24.114322 91.30% [DEBUG] mod_voicemail.c:3042 Sending message to pk440qaastpp@mailinator.com
  701. 2023-11-09 19:31:24.114322 91.30% [DEBUG] switch_core_session.c:2983 sofia/default/+9191000091@13.232.246.166 skip receive message [PHONE_EVENT] (channel is hungup already)
  702. 2023-11-09 19:31:24.134323 91.30% [DEBUG] switch_cpp.cpp:749 CoreSession::hangup
  703. 2023-11-09 19:31:24.134323 91.30% [DEBUG] switch_cpp.cpp:1209 sofia/default/+9191000091@13.232.246.166 destroy/unlink session from object
  704. 2023-11-09 19:31:24.134323 91.30% [DEBUG] switch_core_session.c:2983 sofia/default/+9191000091@13.232.246.166 skip receive message [PHONE_EVENT] (channel is hungup already)
  705. 2023-11-09 19:31:24.134323 91.30% [DEBUG] switch_core_state_machine.c:647 (sofia/default/+9191000091@13.232.246.166) State EXECUTE going to sleep
  706. 2023-11-09 19:31:24.134323 91.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+9191000091@13.232.246.166) Running State Change CS_HANGUP (Cur 1 Tot 12560)
  707. 2023-11-09 19:31:24.134323 91.30% [DEBUG] switch_core_state_machine.c:844 (sofia/default/+9191000091@13.232.246.166) Callstate Change EARLY -> HANGUP
  708. 2023-11-09 19:31:24.134323 91.30% [DEBUG] switch_core_state_machine.c:846 (sofia/default/+9191000091@13.232.246.166) State HANGUP
  709. 2023-11-09 19:31:24.134323 91.30% [DEBUG] mod_sofia.c:462 sofia/default/+9191000091@13.232.246.166 Overriding SIP cause 487 with 482 from the other leg
  710. 2023-11-09 19:31:24.134323 91.30% [DEBUG] mod_sofia.c:468 Channel sofia/default/+9191000091@13.232.246.166 hanging up, cause: ORIGINATOR_CANCEL
  711. 2023-11-09 19:31:24.134323 91.30% [DEBUG] switch_core_state_machine.c:59 sofia/default/+9191000091@13.232.246.166 Standard HANGUP, cause: ORIGINATOR_CANCEL
  712. 2023-11-09 19:31:24.134323 91.30% [DEBUG] switch_core_state_machine.c:846 (sofia/default/+9191000091@13.232.246.166) State HANGUP going to sleep
  713. 2023-11-09 19:31:24.134323 91.30% [DEBUG] switch_core_state_machine.c:616 (sofia/default/+9191000091@13.232.246.166) State Change CS_HANGUP -> CS_REPORTING
  714. 2023-11-09 19:31:24.134323 91.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+9191000091@13.232.246.166) Running State Change CS_REPORTING (Cur 1 Tot 12560)
  715. 2023-11-09 19:31:24.134323 91.30% [DEBUG] switch_core_state_machine.c:932 (sofia/default/+9191000091@13.232.246.166) State REPORTING
  716. 2023-11-09 19:31:24.134323 91.30% [INFO] mod_json_cdr.c:271 Process [7550ed20-1d51-4462-afb4-78d01916877a.cdr.json]
  717. 2023-11-09 19:31:24.354331 91.30% [DEBUG] switch_core_state_machine.c:168 sofia/default/+9191000091@13.232.246.166 Standard REPORTING, cause: ORIGINATOR_CANCEL
  718. 2023-11-09 19:31:24.354331 91.30% [DEBUG] switch_core_state_machine.c:932 (sofia/default/+9191000091@13.232.246.166) State REPORTING going to sleep
  719. 2023-11-09 19:31:24.354331 91.30% [DEBUG] switch_core_state_machine.c:607 (sofia/default/+9191000091@13.232.246.166) State Change CS_REPORTING -> CS_DESTROY
  720. 2023-11-09 19:31:24.354331 91.30% [DEBUG] switch_core_session.c:1753 Session 12559 (sofia/default/+9191000091@13.232.246.166) Locked, Waiting on external entities
  721. 2023-11-09 19:31:24.354331 91.30% [NOTICE] switch_core_session.c:1771 Session 12559 (sofia/default/+9191000091@13.232.246.166) Ended
  722. 2023-11-09 19:31:24.354331 91.30% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/+9191000091@13.232.246.166 [CS_DESTROY]
  723. 2023-11-09 19:31:24.354331 91.30% [DEBUG] switch_core_state_machine.c:735 (sofia/default/+9191000091@13.232.246.166) Running State Change CS_DESTROY (Cur 0 Tot 12560)
  724. 2023-11-09 19:31:24.354331 91.30% [DEBUG] switch_core_state_machine.c:745 (sofia/default/+9191000091@13.232.246.166) State DESTROY
  725. 2023-11-09 19:31:24.354331 91.30% [DEBUG] mod_sofia.c:379 sofia/default/+9191000091@13.232.246.166 SOFIA DESTROY
  726. 2023-11-09 19:31:24.354331 91.30% [DEBUG] switch_core_state_machine.c:175 sofia/default/+9191000091@13.232.246.166 Standard DESTROY
  727. 2023-11-09 19:31:24.354331 91.30% [DEBUG] switch_core_state_machine.c:745 (sofia/default/+9191000091@13.232.246.166) State DESTROY going to sleep
  728. freeswitch@FS1ClusterQA>
  729. freeswitch@FS1ClusterQA>
  730. freeswitch@FS1ClusterQA>
  731. freeswitch@FS1ClusterQA>
  732. freeswitch@FS1ClusterQA> /exit