From Prashant Kumar, 1 Month ago, written in FreeSWITCH.
- view diff
Embed
  1. span style="color: cornflowerblue; font-weight: bold;"> 2024-10-08 13:03:55.232868 92.70% [NOTICE] switch_channel.c:1142 New Channel sofia/default/9744084992@astpp66.astppbilling.org [c8415840-da31-4678-a342-51f6a3902560]
  2. 2024-10-08 13:03:55.232868 92.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9744084992@astpp66.astppbilling.org) Running State Change CS_NEW (Cur 1 Tot 1)
  3. 2024-10-08 13:03:55.232868 92.70% [INFO] sofia.c:10459 sofia/default/9744084992@astpp66.astppbilling.org receiving invite from 152.58.190.51:36152 version: 1.10.10-release  64bit call-id: YmZlNmYyZGI2NDIyYTI3OTAxZTZkNjY0ZjkwZWQzYmI.
  4. 2024-10-08 13:03:55.232868 92.70% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 152.58.190.51:0.
  5. 2024-10-08 13:03:55.232868 92.70% [WARNING] sofia_reg.c:1842 SIP auth challenge (INVITE) on sofia profile 'default' for [180044@astpp66.astppbilling.org] from ip 152.58.190.51
  6. 2024-10-08 13:03:55.232868 92.70% [DEBUG] switch_core_state_machine.c:600 (sofia/default/9744084992@astpp66.astppbilling.org) State NEW
  7. 2024-10-08 13:03:55.232868 92.70% [DEBUG] sofia.c:2419 detaching session c8415840-da31-4678-a342-51f6a3902560
  8. 2024-10-08 13:03:56.121264 92.20% [DEBUG] sofia.c:2532 Re-attaching to session c8415840-da31-4678-a342-51f6a3902560
  9. 2024-10-08 13:03:56.132874 92.20% [INFO] sofia.c:10459 sofia/default/9744084992@astpp66.astppbilling.org receiving invite from 152.58.190.51:36152 version: 1.10.10-release  64bit call-id: YmZlNmYyZGI2NDIyYTI3OTAxZTZkNjY0ZjkwZWQzYmI.
  10. 2024-10-08 13:03:56.132874 92.20% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 152.58.190.51:0.
  11. 2024-10-08 13:03:56.437289 92.20% [DEBUG] sofia.c:11674 Setting NAT mode based on via port
  12. 2024-10-08 13:03:56.437289 92.20% [DEBUG] sofia.c:7493 Channel sofia/default/9744084992@astpp66.astppbilling.org entering state [received][100]
  13. 2024-10-08 13:03:56.437289 92.20% [DEBUG] sofia.c:7503 Remote SDP:
  14. v=0
  15. o=Z 0 0 IN IP4 152.58.190.51
  16. s=Z
  17. c=IN IP4 152.58.190.51
  18. t=0 0
  19. m=audio 8000 RTP/AVP 3 110 8 0 98 101
  20. a=rtpmap:110 speex/8000
  21. a=rtpmap:98 iLBC/8000
  22. a=fmtp:98 mode=20
  23. a=rtpmap:101 telephone-event/8000
  24. a=fmtp:101 0-15
  25.  
  26. 2024-10-08 13:03:56.437289 92.20% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  27. 2024-10-08 13:03:56.437289 92.20% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  28. 2024-10-08 13:03:56.437289 92.20% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  29. 2024-10-08 13:03:56.437289 92.20% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  30. 2024-10-08 13:03:56.437289 92.20% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  31. 2024-10-08 13:03:56.437289 92.20% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  32. 2024-10-08 13:03:56.437289 92.20% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  33. 2024-10-08 13:03:56.437289 92.20% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  34. 2024-10-08 13:03:56.437289 92.20% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  35. 2024-10-08 13:03:56.437289 92.20% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  36. 2024-10-08 13:03:56.437289 92.20% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  37. 2024-10-08 13:03:56.437289 92.20% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  38. 2024-10-08 13:03:56.437289 92.20% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
  39. 2024-10-08 13:03:56.437289 92.20% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/9744084992@astpp66.astppbilling.org PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  40. 2024-10-08 13:03:56.437289 92.20% [DEBUG] switch_core_codec.c:111 sofia/default/9744084992@astpp66.astppbilling.org Original read codec set to PCMA:8
  41. 2024-10-08 13:03:56.437289 92.20% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
  42. 2024-10-08 13:03:56.437289 92.20% [DEBUG] switch_core_media.c:5856 sofia/default/9744084992@astpp66.astppbilling.org Set 2833 dtmf send payload to 101 recv payload to 101
  43. 2024-10-08 13:03:56.437289 92.20% [DEBUG] sofia.c:7927 (sofia/default/9744084992@astpp66.astppbilling.org) State Change CS_NEW -> CS_INIT
  44. 2024-10-08 13:03:56.437289 92.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9744084992@astpp66.astppbilling.org) Running State Change CS_INIT (Cur 1 Tot 1)
  45. 2024-10-08 13:03:56.452865 92.20% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9744084992@astpp66.astppbilling.org) State INIT
  46. 2024-10-08 13:03:56.452865 92.20% [DEBUG] mod_sofia.c:97 sofia/default/9744084992@astpp66.astppbilling.org SOFIA INIT
  47. 2024-10-08 13:03:56.452865 92.20% [DEBUG] switch_core_state_machine.c:40 sofia/default/9744084992@astpp66.astppbilling.org Standard INIT
  48. 2024-10-08 13:03:56.452865 92.20% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9744084992@astpp66.astppbilling.org) State Change CS_INIT -> CS_ROUTING
  49. 2024-10-08 13:03:56.452865 92.20% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9744084992@astpp66.astppbilling.org) State INIT going to sleep
  50. 2024-10-08 13:03:56.452865 92.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9744084992@astpp66.astppbilling.org) Running State Change CS_ROUTING (Cur 1 Tot 1)
  51. 2024-10-08 13:03:56.452865 92.20% [DEBUG] switch_channel.c:2399 (sofia/default/9744084992@astpp66.astppbilling.org) Callstate Change DOWN -> RINGING
  52. 2024-10-08 13:03:56.452865 92.20% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9744084992@astpp66.astppbilling.org) State ROUTING
  53. 2024-10-08 13:03:56.452865 92.20% [DEBUG] mod_sofia.c:158 sofia/default/9744084992@astpp66.astppbilling.org SOFIA ROUTING
  54. 2024-10-08 13:03:56.452865 92.20% [DEBUG] switch_core_state_machine.c:230 sofia/default/9744084992@astpp66.astppbilling.org Standard ROUTING
  55. 2024-10-08 13:03:56.452865 92.20% [INFO] mod_dialplan_xml.c:639 Processing 9744084992 <9744084992>->180044 in context default
  56. 2024-10-08 13:03:56.591867 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  57. 2024-10-08 13:03:56.620707 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  58. 2024-10-08 13:03:56.620707 91.13% [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','vanity_number')
  59. 2024-10-08 13:03:56.620707 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  60. 2024-10-08 13:03:56.632864 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  61. 2024-10-08 13:03:56.632864 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 180044
  62. 2024-10-08 13:03:56.632864 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '180044' limit 1
  63. 2024-10-08 13:03:56.632864 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '180044' AND status=0 limit 1
  64. 2024-10-08 13:03:56.632864 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '180044' and status=0 LIMIT 1
  65. 2024-10-08 13:03:56.632864 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER9744084992
  66. 2024-10-08 13:03:56.632864 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  67. 2024-10-08 13:03:56.632864 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'astpp66.astppbilling.org' limit 1
  68. 2024-10-08 13:03:56.632864 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '9' and username = '180044' limit 1
  69. 2024-10-08 13:03:56.632864 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 9744084992 / 9744084992
  70. 2024-10-08 13:03:56.632864 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number
  71. 2024-10-08 13:03:56.632864 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 180044 AND status=0 limit 1
  72. 2024-10-08 13:03:56.632864 91.13% [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 = 180044 ORDER BY LENGTH(A.number) DESC LIMIT 1
  73. 2024-10-08 13:03:56.632864 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  74. 2024-10-08 13:03:56.632864 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  75. 2024-10-08 13:03:56.632864 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9744084992]
  76. 2024-10-08 13:03:56.632864 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "9744084992" OR id = "9744084992") AND deleted = 0 limit 1
  77. 2024-10-08 13:03:56.632864 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =5
  78. 2024-10-08 13:03:56.632864 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number = 180044 AND (accountid = 0 OR status = 1) LIMIT 1
  79. 2024-10-08 13:03:56.632864 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  80. 2024-10-08 13:03:56.632864 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 5
  81. 2024-10-08 13:03:56.632864 91.13% [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 = '^180044.*' OR patterns = '^18004.*' OR patterns = '^1800.*' OR patterns = '^180.*' OR patterns = '^18.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 5 ORDER BY LENGTH(PKGPTR.patterns) DESC
  82. 2024-10-08 13:03:56.632864 91.13% [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 ="180044" AND A.accountid = '9' limit 1
  83. 2024-10-08 13:03:56.632864 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 180044
  84. 2024-10-08 13:03:56.632864 91.13% [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 = 180044 ORDER BY LENGTH(A.number) DESC LIMIT 1
  85. 2024-10-08 13:03:56.632864 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  86. 2024-10-08 13:03:56.632864 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  87. 2024-10-08 13:03:56.632864 91.13% [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 = '180044' OR number = '18004' OR number = '1800' OR number = '180' OR number = '18' OR number = '1' OR number ='--') OR (number = '180044*' OR number = '18004*' OR number = '1800*' OR number = '180*' OR number = '18*' OR number = '1*' OR number ='--') OR (number = '9744084992' OR number = '974408499' OR number = '97440849' OR number = '9744084' OR number = '974408' OR number = '97440' OR number = '9744' OR number = '974' OR number = '97' OR number = '9' OR number ='--') OR (number = '9744084992*' OR number = '974408499*' OR number = '97440849*' OR number = '9744084*' OR number = '974408*' OR number = '97440*' OR number = '9744*' OR number = '974*' OR number = '97*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  88. 2024-10-08 13:03:56.632864 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  89. 2024-10-08 13:03:56.632864 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '180044' OR routing_prefix = '18004' OR routing_prefix = '1800' OR routing_prefix = '180' OR routing_prefix = '18' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 8 limit 1
  90. 2024-10-08 13:03:56.632864 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  91. 2024-10-08 13:03:56.632864 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 9
  92. 2024-10-08 13:03:56.632864 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9744084992
  93. 2024-10-08 13:03:56.632864 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =5
  94. 2024-10-08 13:03:56.653198 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 49997
  95. 2024-10-08 13:03:56.653198 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  96. 2024-10-08 13:03:56.653198 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 2
  97. 2024-10-08 13:03:56.653198 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  98. 2024-10-08 13:03:56.653198 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  99. 2024-10-08 13:03:56.653198 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  100. 2024-10-08 13:03:56.678494 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  101. 2024-10-08 13:03:56.678494 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :0.....180044
  102. 2024-10-08 13:03:56.678494 91.13% [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 ="180044" LIMIT 1
  103. 2024-10-08 13:03:56.678494 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  104. 2024-10-08 13:03:56.678494 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  105. 2024-10-08 13:03:56.678494 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3
  106. 2024-10-08 13:03:56.678494 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  107. 2024-10-08 13:03:56.678494 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  108. 2024-10-08 13:03:56.678494 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.20000
  109. 2024-10-08 13:03:56.678494 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 180044
  110. 2024-10-08 13:03:56.678494 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  111. 2024-10-08 13:03:56.678494 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 9
  112. 2024-10-08 13:03:56.678494 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  113. 2024-10-08 13:03:56.678494 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =5
  114. 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your49997 balance Accountid 9 !!!
  115. 2024-10-08 13:03:56.692865 91.13% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  116. 2024-10-08 13:03:56.692865 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 5  and status = 0 limit 1
  117. 2024-10-08 13:03:56.692865 91.13% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 8
  118. 2024-10-08 13:03:56.692865 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "8" OR number = "8") AND deleted = 0 limit 1
  119. 2024-10-08 13:03:56.692865 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =5
  120. 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
  121. 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 8
  122. 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9408080148
  123. 2024-10-08 13:03:56.692865 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =5
  124. 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 49997
  125. 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  126. 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  127. 2024-10-08 13:03:56.692865 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  128. 2024-10-08 13:03:56.692865 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  129. 2024-10-08 13:03:56.692865 91.13% [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 = 180044 ORDER BY LENGTH(A.number) DESC LIMIT 1
  130. 2024-10-08 13:03:56.692865 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  131. 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  132. 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  133. 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3
  134. 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  135. 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  136. 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.20000
  137. 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 180044
  138. 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  139. 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 8
  140. 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  141. 2024-10-08 13:03:56.692865 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =5
  142. 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your49997 balance Accountid 8 !!!
  143. 2024-10-08 13:03:56.692865 91.13% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  144. 2024-10-08 13:03:56.692865 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] check_routing_type for resellers origination rates  
  145. 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:3|CODE:^180044.*|DESTINATION:180044|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:1.20000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5||ID:3|CODE:^180044.*|DESTINATION:180044|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:1.20000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:8
  146. 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  147. 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 1
  148. 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  149. 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  150. 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  151. 2024-10-08 13:03:56.692865 91.13% [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 = 9 AND status=0 LIMIT 1
  152. 2024-10-08 13:03:56.692865 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "5" OR number = "5") AND deleted = 0 limit 1
  153. 2024-10-08 13:03:56.712859 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =5
  154. 2024-10-08 13:03:56.712859 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [update_first_used_account] Query :update accounts SET first_used = '2024-10-08 13:03:56' where id = '5'
  155. 2024-10-08 13:03:56.876842 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:9
  156. 2024-10-08 13:03:56.876842 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:9
  157. 2024-10-08 13:03:56.876842 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 9
  158. 2024-10-08 13:03:56.876842 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 5 limit 1
  159. 2024-10-08 13:03:56.876842 91.13% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : astpp661.astppbilling.org
  160. 2024-10-08 13:03:56.876842 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  161. 2024-10-08 13:03:56.876842 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = '9744084992' and status = 0 limit 1
  162. 2024-10-08 13:03:56.876842 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  163. 2024-10-08 13:03:56.876842 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  164. 2024-10-08 13:03:56.876842 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  165. 2024-10-08 13:03:56.876842 91.13% [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 = "8153907175" AND accounts.status = 0
  166. 2024-10-08 13:03:56.876842 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 5 limit 1
  167. 2024-10-08 13:03:56.876842 91.13% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : astpp661.astppbilling.org
  168. 2024-10-08 13:03:56.876842 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_0
  169. 2024-10-08 13:03:56.876842 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT daily_call_credit_limit,daily_call_used_limit,monthly_call_credit_limit,monthly_call_used_limit FROM accounts WHERE (number = 5 or id = 5 ) and status = 0 limit 1
  170. 2024-10-08 13:03:56.876842 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT music_on_hold_type FROM sip_devices WHERE username = '8153907175' and accountid = '5'LIMIT 1
  171. 2024-10-08 13:03:56.876842 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] DESTINATION : 8153907175
  172. 2024-10-08 13:03:56.876842 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] moh_name : 0
  173. 2024-10-08 13:03:56.876842 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT music_on_hold,music_on_hold_type FROM sip_devices WHERE username = '8153907175' and accountid = '5'LIMIT 1
  174. 2024-10-08 13:03:56.876842 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :0
  175. 2024-10-08 13:03:56.876842 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :0
  176. 2024-10-08 13:03:56.876842 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH for global Query :SELECT name FROM pbx_music_on_hold WHERE id = '0' LIMIT 1
  177. 2024-10-08 13:03:56.876842 91.13% [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="8153907175"  AND domains.domain="astpp661.astppbilling.org" limit 1
  178. 2024-10-08 13:03:56.876842 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 2 limit 1
  179. 2024-10-08 13:03:56.876842 91.13% [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
  180. 2024-10-08 13:03:56.892856 91.13% [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
  181. 2024-10-08 13:03:56.892856 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  182. 2024-10-08 13:03:56.892856 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC10]
  183. 2024-10-08 13:03:56.892856 91.13% [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="8153907175"  AND domains.domain="astpp661.astppbilling.org" limit 1
  184. 2024-10-08 13:03:56.892856 91.13% [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="8153907175"  AND domains.domain="astpp661.astppbilling.org" limit 1
  185. 2024-10-08 13:03:56.892856 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP ID : 2
  186. 2024-10-08 13:03:56.892856 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 2 limit 1
  187. 2024-10-08 13:03:56.918537 91.13% [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
  188. 2024-10-08 13:03:56.918537 91.13% [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
  189. 2024-10-08 13:03:56.918537 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] Call Forwarding Flag : 0
  190. 2024-10-08 13:03:56.918537 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP Call Forwarding Enable
  191. 2024-10-08 13:03:56.918537 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  192. 2024-10-08 13:03:56.918537 91.13% [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="8153907175"  AND domains.domain="astpp661.astppbilling.org" limit 1
  193. 2024-10-08 13:03:56.918537 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 2 limit 1
  194. 2024-10-08 13:03:56.918537 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  195. <document type="freeswitch/xml">
  196. <section name="dialplan" description="ASTPP Dialplan">
  197. <context name="default">
  198. <extension name="180044">
  199. <condition field="destination_number" expression="180044">
  200. <action application="set" data="effective_destination_number=180044"/>
  201. <action application="set" data="execute_on_answer_1=sched_hangup +6000 normal_clearing"/>
  202. <action application="set" data="notify_flag=0"/>
  203. <action application="set" data="notify_credit_limit=5.00000"/>
  204. <action application="set" data="type=0"/>
  205. <action application="set" data="callstart=2024-10-08 13:03:56"/>
  206. <action application="set" data="hangup_after_bridge=true"/>
  207. <action application="set" data="continue_on_fail=TRUE"/>
  208. <action application="set" data="account_id=9"/>
  209. <action application="set" data="parent_id=8"/>
  210. <action application="set" data="entity_id=0"/>
  211. <action application="set" data="call_processed=internal"/>
  212. <action application="set" data="call_direction=inbound"/>
  213. <action application="set" data="accountname=default"/>
  214. <action application="set" data="origination_rates_did=ID:3|CODE:^180044.*|DESTINATION:180044|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:1.20000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5||ID:3|CODE:^180044.*|DESTINATION:180044|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:1.20000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:8"/>
  215. <action application="set" data="origination_rates=0"/>
  216. <action application="set" data="original_caller_id_name=9744084992"/>
  217. <action application="set" data="original_caller_id_number=9744084992"/>
  218. <action application="set" data="effective_caller_id_name=9744084992"/>
  219. <action application="set" data="effective_caller_id_number=9744084992"/>
  220. <action application="set" data="receiver_accid=5"/>
  221. <action application="export" data="domain_name=astpp661.astppbilling.org"/>
  222. <action application="export" data="sip_to_host=astpp661.astppbilling.org"/>
  223. <action application="export" data="presence_data=x//8|||Nirali(8153907175)|||^180044.* // 180044 // 1.20000|||||||||DID|||152.58.190.51"/>
  224. <action application="export" data="call_type=0"/>
  225. <action application="set" data="calltype=DID-LOCAL"/>
  226. <action application="set" data="daily_call_credit_limit=0.00000"/>
  227. <action application="set" data="monthly_call_credit_limit=0.00000"/>
  228. <action application="set" data="daily_call_used_limit=0.00000"/>
  229. <action application="set" data="monthly_call_used_limit=0.00000"/>
  230. <action application="db" data="insert/pickup_any_group_${callgroup}/8153907175/${uuid}"/>
  231. <action application="set" data="dialed_extension=transfer_call"/>
  232. <action application="export" data="dialed_extension=transfer_call"/>
  233. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  234. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  235. <action application="set" data="hangup_after_bridge=true"/>
  236. <action application="export" data="did_user_domain=astpp661.astppbilling.org"/>
  237. <action application="db" data="insert/pickup_any_group_${callgroup}/210000044444#/${uuid}"/>
  238. <action application="set" data="dialed_extension=transfer_call"/>
  239. <action application="export" data="dialed_extension=transfer_call"/>
  240. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  241. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  242. <action application="set" data="hangup_after_bridge=true"/>
  243. <action application="export" data="sip_to_host=astpp661.astppbilling.org"/>
  244. <action application="export" data="domain_name=astpp661.astppbilling.org"/>
  245. <action application="set" data="sip_h_p-diversion_flag=0"/>
  246. <action application="set" data="sip_h_p-diversion_did_number=180044"/>
  247. <action application="transfer" data=210000044444 XML default"/>
  248. <action application="set" data="on_busy_flag=1"/>
  249. <action application="set" data="on_busy_destination=0"/>
  250. <action application="set" data="no_answer_flag=1"/>
  251. <action application="set" data="no_answer_destination=0"/>
  252. <action application="set" data="not_register_flag=0"/>
  253. <action application="set" data="not_register_destination=910000555555#"/>
  254. <action application="set" data="opensips_flag=1"/>
  255. <action application="set" data="variable_sip_to_host=astpp661.astppbilling.org"/>
  256. <action application="set" data="opensips_domain=127.0.0.1"/>
  257. <action application="set" data="leg_timeout=0"/>
  258. <action application="set" data="userinfo_id=5"/>
  259. <action application="set" data="sip_destination_number=210000044444#"/>
  260. <action application="set" data="did_number=210000044444#"/>
  261. <action application="set" data="user_domain=astpp661.astppbilling.org"/>
  262. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  263. <action application="set" data="on_busy_flag=1"/>
  264. <action application="set" data="on_busy_destination=0"/>
  265. <action application="set" data="no_answer_flag=1"/>
  266. <action application="set" data="no_answer_destination=0"/>
  267. <action application="set" data="not_register_flag=0"/>
  268. <action application="set" data="not_register_destination=910000555555#"/>
  269. <action application="set" data="opensips_flag=1"/>
  270. <action application="set" data="variable_sip_to_host=astpp661.astppbilling.org"/>
  271. <action application="set" data="opensips_domain=127.0.0.1"/>
  272. <action application="set" data="leg_timeout=0"/>
  273. <action application="set" data="userinfo_id=5"/>
  274. <action application="set" data="sip_destination_number=8153907175"/>
  275. <action application="set" data="destination_number=8153907175"/>
  276. <action application="set" data="did_number=180044"/>
  277. <action application="set" data="user_domain=astpp661.astppbilling.org"/>
  278. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  279. <condition field="${cond(${user_data 8153907175@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  280. <action application="answer"/>
  281. <action application="export" data="voicemail_alternate_greet_id=8153907175"/>
  282. <action application="voicemail" data="default $${domain_name} 8153907175"/>
  283. <anti-action application="hangup" data="${originate_disposition}"/>
  284. </condition>
  285. </condition>
  286. </extension>
  287. </context>
  288. </section>
  289. </document>
  290. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org parsing [default->180044] continue=false
  291. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Regex (PASS) [180044] destination_number(180044) =~ /180044/ break=on-false
  292. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(effective_destination_number=180044)
  293. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(execute_on_answer_1=sched_hangup +6000 normal_clearing)
  294. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(notify_flag=0)
  295. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(notify_credit_limit=5.00000)
  296. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(type=0)
  297. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(callstart=2024-10-08 13:03:56)
  298. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(hangup_after_bridge=true)
  299. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(continue_on_fail=TRUE)
  300. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(account_id=9)
  301. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(parent_id=8)
  302. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(entity_id=0)
  303. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(call_processed=internal)
  304. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(call_direction=inbound)
  305. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(accountname=default)
  306. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(origination_rates_did=ID:3|CODE:^180044.*|DESTINATION:180044|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:1.20000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5||ID:3|CODE:^180044.*|DESTINATION:180044|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:1.20000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:8)
  307. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(origination_rates=0)
  308. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(original_caller_id_name=9744084992)
  309. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(original_caller_id_number=9744084992)
  310. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(effective_caller_id_name=9744084992)
  311. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(effective_caller_id_number=9744084992)
  312. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(receiver_accid=5)
  313. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action export(domain_name=astpp661.astppbilling.org)
  314. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action export(sip_to_host=astpp661.astppbilling.org)
  315. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action export(presence_data=x//8|||Nirali(8153907175)|||^180044.* // 180044 // 1.20000|||||||||DID|||152.58.190.51)
  316. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action export(call_type=0)
  317. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(calltype=DID-LOCAL)
  318. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(daily_call_credit_limit=0.00000)
  319. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(monthly_call_credit_limit=0.00000)
  320. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(daily_call_used_limit=0.00000)
  321. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(monthly_call_used_limit=0.00000)
  322. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action db(insert/pickup_any_group_${callgroup}/8153907175/${uuid})
  323. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(dialed_extension=transfer_call)
  324. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action export(dialed_extension=transfer_call)
  325. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  326. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  327. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(hangup_after_bridge=true)
  328. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action export(did_user_domain=astpp661.astppbilling.org)
  329. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action db(insert/pickup_any_group_${callgroup}/210000044444#/${uuid})
  330. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(dialed_extension=transfer_call)
  331. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action export(dialed_extension=transfer_call)
  332. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  333. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  334. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(hangup_after_bridge=true)
  335. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action export(sip_to_host=astpp661.astppbilling.org)
  336. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action export(domain_name=astpp661.astppbilling.org)
  337. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(sip_h_p-diversion_flag=0)
  338. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(sip_h_p-diversion_did_number=180044)
  339. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action transfer()
  340. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(on_busy_flag=1)
  341. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(on_busy_destination=0)
  342. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(no_answer_flag=1)
  343. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(no_answer_destination=0)
  344. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(not_register_flag=0)
  345. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(not_register_destination=910000555555#)
  346. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(opensips_flag=1)
  347. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(variable_sip_to_host=astpp661.astppbilling.org)
  348. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(opensips_domain=127.0.0.1)
  349. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(leg_timeout=0)
  350. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(userinfo_id=5)
  351. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(sip_destination_number=210000044444#)
  352. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(did_number=210000044444#)
  353. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(user_domain=astpp661.astppbilling.org)
  354. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  355. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(on_busy_flag=1)
  356. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(on_busy_destination=0)
  357. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(no_answer_flag=1)
  358. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(no_answer_destination=0)
  359. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(not_register_flag=0)
  360. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(not_register_destination=910000555555#)
  361. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(opensips_flag=1)
  362. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(variable_sip_to_host=astpp661.astppbilling.org)
  363. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(opensips_domain=127.0.0.1)
  364. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(leg_timeout=0)
  365. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(userinfo_id=5)
  366. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(sip_destination_number=8153907175)
  367. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(destination_number=8153907175)
  368. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(did_number=180044)
  369. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(user_domain=astpp661.astppbilling.org)
  370. Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  371. |--- Dialplan: Processing recursive conditions level:1 [180044_recur_1] require-nested=TRUE
  372. |--- Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Regex (FAIL) [180044_recur_1] ${cond(${user_data 8153907175@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false
  373. |--- Dialplan: sofia/default/9744084992@astpp66.astppbilling.org ANTI-Action hangup(${originate_disposition})
  374. 2024-10-08 13:03:57.672301 87.97% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9744084992@astpp66.astppbilling.org) State Change CS_ROUTING -> CS_EXECUTE
  375. 2024-10-08 13:03:57.672301 87.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9744084992@astpp66.astppbilling.org) State ROUTING going to sleep
  376. 2024-10-08 13:03:57.672301 87.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9744084992@astpp66.astppbilling.org) Running State Change CS_EXECUTE (Cur 1 Tot 1)
  377. 2024-10-08 13:03:57.672301 87.97% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9744084992@astpp66.astppbilling.org) State EXECUTE
  378. 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_sofia.c:213 sofia/default/9744084992@astpp66.astppbilling.org SOFIA EXECUTE
  379. 2024-10-08 13:03:57.672301 87.97% [DEBUG] switch_core_state_machine.c:323 sofia/default/9744084992@astpp66.astppbilling.org Standard EXECUTE
  380. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(effective_destination_number=180044)
  381. 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [effective_destination_number]=[180044]
  382. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(execute_on_answer_1=sched_hangup +6000 normal_clearing)
  383. 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [execute_on_answer_1]=[sched_hangup +6000 normal_clearing]
  384. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(notify_flag=0)
  385. 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [notify_flag]=[0]
  386. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(notify_credit_limit=5.00000)
  387. 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [notify_credit_limit]=[5.00000]
  388. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(type=0)
  389. 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [type]=[0]
  390. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(callstart=2024-10-08 13:03:56)
  391. 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [callstart]=[2024-10-08 13:03:56]
  392. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(hangup_after_bridge=true)
  393. 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [hangup_after_bridge]=[true]
  394. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(continue_on_fail=TRUE)
  395. 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [continue_on_fail]=[TRUE]
  396. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(account_id=9)
  397. 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [account_id]=[9]
  398. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(parent_id=8)
  399. 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [parent_id]=[8]
  400. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(entity_id=0)
  401. 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [entity_id]=[0]
  402. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(call_processed=internal)
  403. 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [call_processed]=[internal]
  404. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(call_direction=inbound)
  405. 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [call_direction]=[inbound]
  406. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(accountname=default)
  407. 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [accountname]=[default]
  408. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(origination_rates_did=ID:3|CODE:^180044.*|DESTINATION:180044|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:1.20000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5||ID:3|CODE:^180044.*|DESTINATION:180044|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:1.20000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:8)
  409. 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [origination_rates_did]=[ID:3|CODE:^180044.*|DESTINATION:180044|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:1.20000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5||ID:3|CODE:^180044.*|DESTINATION:180044|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:1.20000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:8]
  410. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(origination_rates=0)
  411. 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [origination_rates]=[0]
  412. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(original_caller_id_name=9744084992)
  413. 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [original_caller_id_name]=[9744084992]
  414. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(original_caller_id_number=9744084992)
  415. 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [original_caller_id_number]=[9744084992]
  416. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(effective_caller_id_name=9744084992)
  417. 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [effective_caller_id_name]=[9744084992]
  418. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(effective_caller_id_number=9744084992)
  419. 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [effective_caller_id_number]=[9744084992]
  420. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(receiver_accid=5)
  421. 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [receiver_accid]=[5]
  422. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org export(domain_name=astpp661.astppbilling.org)
  423. 2024-10-08 13:03:57.672301 87.97% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [domain_name]=[astpp661.astppbilling.org]
  424. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org export(sip_to_host=astpp661.astppbilling.org)
  425. 2024-10-08 13:03:57.672301 87.97% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [sip_to_host]=[astpp661.astppbilling.org]
  426. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org export(presence_data=x//8|||Nirali(8153907175)|||^180044.* // 180044 // 1.20000|||||||||DID|||152.58.190.51)
  427. 2024-10-08 13:03:57.672301 87.97% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[x//8|||Nirali(8153907175)|||^180044.* // 180044 // 1.20000|||||||||DID|||152.58.190.51]
  428. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org export(call_type=0)
  429. 2024-10-08 13:03:57.672301 87.97% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [call_type]=[0]
  430. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(calltype=DID-LOCAL)
  431. 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [calltype]=[DID-LOCAL]
  432. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(daily_call_credit_limit=0.00000)
  433. 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [daily_call_credit_limit]=[0.00000]
  434. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(monthly_call_credit_limit=0.00000)
  435. 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [monthly_call_credit_limit]=[0.00000]
  436. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(daily_call_used_limit=0.00000)
  437. 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [daily_call_used_limit]=[0.00000]
  438. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(monthly_call_used_limit=0.00000)
  439. 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [monthly_call_used_limit]=[0.00000]
  440. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org db(insert/pickup_any_group_/8153907175/c8415840-da31-4678-a342-51f6a3902560)
  441. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(dialed_extension=transfer_call)
  442. 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [dialed_extension]=[transfer_call]
  443. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org export(dialed_extension=transfer_call)
  444. 2024-10-08 13:03:57.672301 87.97% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  445. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  446. 2024-10-08 13:03:57.672301 87.97% [INFO] switch_ivr_async.c:4782 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  447. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  448. 2024-10-08 13:03:57.672301 87.97% [INFO] switch_ivr_async.c:4782 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  449. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(hangup_after_bridge=true)
  450. 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [hangup_after_bridge]=[true]
  451. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org export(did_user_domain=astpp661.astppbilling.org)
  452. 2024-10-08 13:03:57.672301 87.97% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [did_user_domain]=[astpp661.astppbilling.org]
  453. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org db(insert/pickup_any_group_/210000044444#/c8415840-da31-4678-a342-51f6a3902560)
  454. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(dialed_extension=transfer_call)
  455. 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [dialed_extension]=[transfer_call]
  456. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org export(dialed_extension=transfer_call)
  457. 2024-10-08 13:03:57.672301 87.97% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  458. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  459. 2024-10-08 13:03:57.672301 87.97% [INFO] switch_ivr_async.c:4782 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  460. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  461. 2024-10-08 13:03:57.672301 87.97% [INFO] switch_ivr_async.c:4782 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  462. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(hangup_after_bridge=true)
  463. 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [hangup_after_bridge]=[true]
  464. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org export(sip_to_host=astpp661.astppbilling.org)
  465. 2024-10-08 13:03:57.672301 87.97% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [sip_to_host]=[astpp661.astppbilling.org]
  466. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org export(domain_name=astpp661.astppbilling.org)
  467. 2024-10-08 13:03:57.672301 87.97% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [domain_name]=[astpp661.astppbilling.org]
  468. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(sip_h_p-diversion_flag=0)
  469. 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [sip_h_p-diversion_flag]=[0]
  470. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(sip_h_p-diversion_did_number=180044)
  471. 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [sip_h_p-diversion_did_number]=[180044]
  472. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org transfer()
  473. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(on_busy_flag=1)
  474. 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [on_busy_flag]=[1]
  475. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(on_busy_destination=0)
  476. 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [on_busy_destination]=[0]
  477. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(no_answer_flag=1)
  478. 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [no_answer_flag]=[1]
  479. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(no_answer_destination=0)
  480. 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [no_answer_destination]=[0]
  481. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(not_register_flag=0)
  482. 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [not_register_flag]=[0]
  483. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(not_register_destination=910000555555#)
  484. span style="color: goldenrod; font-weight: bold;"> 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [not_register_destination]=[910000555555#]
  485. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(opensips_flag=1)
  486. 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [opensips_flag]=[1]
  487. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(variable_sip_to_host=astpp661.astppbilling.org)
  488. 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [variable_sip_to_host]=[astpp661.astppbilling.org]
  489. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(opensips_domain=127.0.0.1)
  490. 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [opensips_domain]=[127.0.0.1]
  491. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(leg_timeout=0)
  492. 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [leg_timeout]=[0]
  493. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(userinfo_id=5)
  494. 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [userinfo_id]=[5]
  495. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(sip_destination_number=210000044444#)
  496. span style="color: goldenrod; font-weight: bold;"> 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [sip_destination_number]=[210000044444#]
  497. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(did_number=210000044444#)
  498. span style="color: goldenrod; font-weight: bold;"> 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [did_number]=[210000044444#]
  499. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(user_domain=astpp661.astppbilling.org)
  500. 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [user_domain]=[astpp661.astppbilling.org]
  501. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  502. 2024-10-08 13:03:57.692861 87.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  503. 2024-10-08 13:03:57.692861 87.97% [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','vanity_number')
  504. 2024-10-08 13:03:57.692861 87.97% [ERR] mod_lua.cpp:202 ...switch/scripts/astpp/lib/pbx/astpp-sipdevice-routing.lua:90: attempt to concatenate global 'last_disposition' (a nil value)
  505. stack traceback:
  506.         ...switch/scripts/astpp/lib/pbx/astpp-sipdevice-routing.lua:90: in main chunk
  507. 2024-10-08 13:03:57.692861 87.97% [DEBUG] switch_cpp.cpp:1209 sofia/default/9744084992@astpp66.astppbilling.org destroy/unlink session from object
  508. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(on_busy_flag=1)
  509. 2024-10-08 13:03:57.692861 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [on_busy_flag]=[1]
  510. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(on_busy_destination=0)
  511. 2024-10-08 13:03:57.692861 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [on_busy_destination]=[0]
  512. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(no_answer_flag=1)
  513. 2024-10-08 13:03:57.692861 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [no_answer_flag]=[1]
  514. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(no_answer_destination=0)
  515. 2024-10-08 13:03:57.692861 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [no_answer_destination]=[0]
  516. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(not_register_flag=0)
  517. 2024-10-08 13:03:57.692861 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [not_register_flag]=[0]
  518. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(not_register_destination=910000555555#)
  519. span style="color: goldenrod; font-weight: bold;"> 2024-10-08 13:03:57.692861 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [not_register_destination]=[910000555555#]
  520. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(opensips_flag=1)
  521. 2024-10-08 13:03:57.692861 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [opensips_flag]=[1]
  522. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(variable_sip_to_host=astpp661.astppbilling.org)
  523. 2024-10-08 13:03:57.692861 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [variable_sip_to_host]=[astpp661.astppbilling.org]
  524. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(opensips_domain=127.0.0.1)
  525. 2024-10-08 13:03:57.692861 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [opensips_domain]=[127.0.0.1]
  526. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(leg_timeout=0)
  527. 2024-10-08 13:03:57.692861 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [leg_timeout]=[0]
  528. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(userinfo_id=5)
  529. 2024-10-08 13:03:57.692861 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [userinfo_id]=[5]
  530. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(sip_destination_number=8153907175)
  531. 2024-10-08 13:03:57.692861 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [sip_destination_number]=[8153907175]
  532. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(destination_number=8153907175)
  533. 2024-10-08 13:03:57.692861 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [destination_number]=[8153907175]
  534. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(did_number=180044)
  535. 2024-10-08 13:03:57.692861 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [did_number]=[180044]
  536. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(user_domain=astpp661.astppbilling.org)
  537. 2024-10-08 13:03:57.692861 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [user_domain]=[astpp661.astppbilling.org]
  538. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  539. 2024-10-08 13:03:57.712865 87.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  540. 2024-10-08 13:03:57.712865 87.97% [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','vanity_number')
  541. 2024-10-08 13:03:57.712865 87.97% [ERR] mod_lua.cpp:202 ...switch/scripts/astpp/lib/pbx/astpp-sipdevice-routing.lua:90: attempt to concatenate global 'last_disposition' (a nil value)
  542. stack traceback:
  543.         ...switch/scripts/astpp/lib/pbx/astpp-sipdevice-routing.lua:90: in main chunk
  544. 2024-10-08 13:03:57.712865 87.97% [DEBUG] switch_cpp.cpp:1209 sofia/default/9744084992@astpp66.astppbilling.org destroy/unlink session from object
  545. EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org hangup()
  546. 2024-10-08 13:03:57.712865 87.97% [NOTICE] mod_dptools.c:1374 Hangup sofia/default/9744084992@astpp66.astppbilling.org [CS_EXECUTE] [NORMAL_CLEARING]
  547. 2024-10-08 13:03:57.712865 87.97% [DEBUG] switch_core_session.c:2979 sofia/default/9744084992@astpp66.astppbilling.org skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  548. 2024-10-08 13:03:57.712865 87.97% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9744084992@astpp66.astppbilling.org) State EXECUTE going to sleep
  549. 2024-10-08 13:03:57.712865 87.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9744084992@astpp66.astppbilling.org) Running State Change CS_HANGUP (Cur 1 Tot 1)
  550. 2024-10-08 13:03:57.712865 87.97% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9744084992@astpp66.astppbilling.org) Callstate Change RINGING -> HANGUP
  551. 2024-10-08 13:03:57.712865 87.97% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9744084992@astpp66.astppbilling.org) State HANGUP
  552. 2024-10-08 13:03:57.712865 87.97% [DEBUG] mod_sofia.c:469 Channel sofia/default/9744084992@astpp66.astppbilling.org hanging up, cause: NORMAL_CLEARING
  553. 2024-10-08 13:03:57.712865 87.97% [DEBUG] mod_sofia.c:614 Responding to INVITE with: 480
  554. 2024-10-08 13:03:57.712865 87.97% [DEBUG] switch_core_state_machine.c:59 sofia/default/9744084992@astpp66.astppbilling.org Standard HANGUP, cause: NORMAL_CLEARING
  555. 2024-10-08 13:03:57.712865 87.97% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9744084992@astpp66.astppbilling.org) State HANGUP going to sleep
  556. 2024-10-08 13:03:57.712865 87.97% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9744084992@astpp66.astppbilling.org) State Change CS_HANGUP -> CS_REPORTING
  557. 2024-10-08 13:03:57.712865 87.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9744084992@astpp66.astppbilling.org) Running State Change CS_REPORTING (Cur 1 Tot 1)
  558. 2024-10-08 13:03:57.712865 87.97% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9744084992@astpp66.astppbilling.org) State REPORTING
  559. 2024-10-08 13:03:57.712865 87.97% [INFO] mod_json_cdr.c:272 Process [c8415840-da31-4678-a342-51f6a3902560.cdr.json]
  560. 2024-10-08 13:03:59.785571 83.40% [DEBUG] switch_core_state_machine.c:168 sofia/default/9744084992@astpp66.astppbilling.org Standard REPORTING, cause: NORMAL_CLEARING
  561. 2024-10-08 13:03:59.785571 83.40% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9744084992@astpp66.astppbilling.org) State REPORTING going to sleep
  562. 2024-10-08 13:03:59.785571 83.40% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9744084992@astpp66.astppbilling.org) State Change CS_REPORTING -> CS_DESTROY
  563. 2024-10-08 13:03:59.785571 83.40% [DEBUG] switch_core_session.c:1744 Session 1 (sofia/default/9744084992@astpp66.astppbilling.org) Locked, Waiting on external entities
  564. 2024-10-08 13:03:59.785571 83.40% [NOTICE] switch_core_session.c:1762 Session 1 (sofia/default/9744084992@astpp66.astppbilling.org) Ended
  565. 2024-10-08 13:03:59.785571 83.40% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/9744084992@astpp66.astppbilling.org [CS_DESTROY]
  566. 2024-10-08 13:03:59.785571 83.40% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9744084992@astpp66.astppbilling.org) Running State Change CS_DESTROY (Cur 0 Tot 1)
  567. 2024-10-08 13:03:59.785571 83.40% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9744084992@astpp66.astppbilling.org) State DESTROY
  568. 2024-10-08 13:03:59.785571 83.40% [DEBUG] mod_sofia.c:380 sofia/default/9744084992@astpp66.astppbilling.org SOFIA DESTROY
  569. 2024-10-08 13:03:59.785571 83.40% [DEBUG] switch_core_state_machine.c:175 sofia/default/9744084992@astpp66.astppbilling.org Standard DESTROY
  570. 2024-10-08 13:03:59.785571 83.40% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9744084992@astpp66.astppbilling.org) State DESTROY going to sleep
  571. 2024-10-08 13:04:02.351267 80.83% [WARNING] sofia_reg.c:1842 SIP auth challenge (INVITE) on sofia profile 'default' for [100005@astpp66.astppbilling.org] from ip 103.240.35.46
  572.