From Prashant Kumar, 11 Months ago, written in FreeSWITCH.
- view diff
Embed
  1. [This app Best viewed at 160x60 or more..]
  2. +OK log level  [7]
  3. freeswitch@AlphaQaAlpesh>
  4. freeswitch@AlphaQaAlpesh>
  5. freeswitch@AlphaQaAlpesh>
  6. 2023-05-17 09:29:17.720363 78.53% [NOTICE] switch_channel.c:1123 New Channel sofia/default/71@alpha2.astppbilling.org:5072 [d753c4e2-57a7-4cd7-aa17-0a20e9166106]
  7. 2023-05-17 09:29:17.720363 78.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/71@alpha2.astppbilling.org:5072) Running State Change CS_NEW (Cur 1 Tot 86)
  8. 2023-05-17 09:29:17.720363 78.53% [INFO] sofia.c:10453 sofia/default/71@alpha2.astppbilling.org:5072 receiving invite from 103.240.35.46:51782 version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit call-id: MGVjMzQyZGMwZjk0MDBjNDMyNDdlZjEyMDg5NTNjNmI.
  9. 2023-05-17 09:29:17.720363 78.53% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 103.240.35.46:0.
  10. 2023-05-17 09:29:17.720363 78.53% [WARNING] sofia_reg.c:1846 SIP auth challenge (INVITE) on sofia profile 'default' for [10065@alpha2.astppbilling.org] from ip 103.240.35.46
  11. 2023-05-17 09:29:17.720363 78.53% [DEBUG] switch_core_state_machine.c:600 (sofia/default/71@alpha2.astppbilling.org:5072) State NEW
  12. 2023-05-17 09:29:17.720363 78.53% [DEBUG] sofia.c:2419 detaching session d753c4e2-57a7-4cd7-aa17-0a20e9166106
  13. 2023-05-17 09:29:18.340367 79.13% [DEBUG] sofia.c:2532 Re-attaching to session d753c4e2-57a7-4cd7-aa17-0a20e9166106
  14. 2023-05-17 09:29:18.360351 79.13% [INFO] sofia.c:10453 sofia/default/71@alpha2.astppbilling.org:5072 receiving invite from 103.240.35.46:51782 version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit call-id: MGVjMzQyZGMwZjk0MDBjNDMyNDdlZjEyMDg5NTNjNmI.
  15. 2023-05-17 09:29:18.360351 79.13% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 103.240.35.46:0.
  16. 2023-05-17 09:29:18.380347 79.13% [DEBUG] sofia.c:11668 Setting NAT mode based on via received
  17. 2023-05-17 09:29:18.380347 79.13% [DEBUG] sofia.c:7487 Channel sofia/default/71@alpha2.astppbilling.org:5072 entering state [received][100]
  18. 2023-05-17 09:29:18.380347 79.13% [DEBUG] sofia.c:7497 Remote SDP:
  19. v=0
  20. o=Z 0 0 IN IP4 103.240.35.46
  21. s=Z
  22. c=IN IP4 103.240.35.46
  23. t=0 0
  24. m=audio 9535 RTP/AVP 3 110 8 0 98 101
  25. a=rtpmap:110 speex/8000
  26. a=rtpmap:98 iLBC/8000
  27. a=fmtp:98 mode=20
  28. a=rtpmap:101 telephone-event/8000
  29. a=fmtp:101 0-15
  30.  
  31. 2023-05-17 09:29:18.380347 79.13% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  32. 2023-05-17 09:29:18.380347 79.13% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  33. 2023-05-17 09:29:18.380347 79.13% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  34. 2023-05-17 09:29:18.380347 79.13% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  35. 2023-05-17 09:29:18.380347 79.13% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  36. 2023-05-17 09:29:18.380347 79.13% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  37. 2023-05-17 09:29:18.380347 79.13% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  38. 2023-05-17 09:29:18.380347 79.13% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  39. 2023-05-17 09:29:18.380347 79.13% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  40. 2023-05-17 09:29:18.380347 79.13% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  41. 2023-05-17 09:29:18.380347 79.13% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  42. 2023-05-17 09:29:18.380347 79.13% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  43. 2023-05-17 09:29:18.380347 79.13% [DEBUG] switch_core_media.c:5443 Set telephone-event payload to 101@8000
  44. 2023-05-17 09:29:18.380347 79.13% [DEBUG] switch_core_media.c:3750 Set Codec sofia/default/71@alpha2.astppbilling.org:5072 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  45. 2023-05-17 09:29:18.380347 79.13% [DEBUG] switch_core_codec.c:111 sofia/default/71@alpha2.astppbilling.org:5072 Original read codec set to PCMA:8
  46. 2023-05-17 09:29:18.380347 79.13% [DEBUG] switch_core_media.c:5792 Set telephone-event payload to 101@8000
  47. 2023-05-17 09:29:18.380347 79.13% [DEBUG] switch_core_media.c:5850 sofia/default/71@alpha2.astppbilling.org:5072 Set 2833 dtmf send payload to 101 recv payload to 101
  48. 2023-05-17 09:29:18.380347 79.13% [DEBUG] sofia.c:7921 (sofia/default/71@alpha2.astppbilling.org:5072) State Change CS_NEW -> CS_INIT
  49. 2023-05-17 09:29:18.380347 79.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/71@alpha2.astppbilling.org:5072) Running State Change CS_INIT (Cur 1 Tot 86)
  50. 2023-05-17 09:29:18.380347 79.13% [DEBUG] switch_core_state_machine.c:624 (sofia/default/71@alpha2.astppbilling.org:5072) State INIT
  51. 2023-05-17 09:29:18.380347 79.13% [DEBUG] mod_sofia.c:97 sofia/default/71@alpha2.astppbilling.org:5072 SOFIA INIT
  52. 2023-05-17 09:29:18.380347 79.13% [DEBUG] switch_core_state_machine.c:40 sofia/default/71@alpha2.astppbilling.org:5072 Standard INIT
  53. 2023-05-17 09:29:18.380347 79.13% [DEBUG] switch_core_state_machine.c:48 (sofia/default/71@alpha2.astppbilling.org:5072) State Change CS_INIT -> CS_ROUTING
  54. 2023-05-17 09:29:18.380347 79.13% [DEBUG] switch_core_state_machine.c:624 (sofia/default/71@alpha2.astppbilling.org:5072) State INIT going to sleep
  55. 2023-05-17 09:29:18.380347 79.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/71@alpha2.astppbilling.org:5072) Running State Change CS_ROUTING (Cur 1 Tot 86)
  56. 2023-05-17 09:29:18.380347 79.13% [DEBUG] switch_channel.c:2380 (sofia/default/71@alpha2.astppbilling.org:5072) Callstate Change DOWN -> RINGING
  57. 2023-05-17 09:29:18.380347 79.13% [DEBUG] switch_core_state_machine.c:640 (sofia/default/71@alpha2.astppbilling.org:5072) State ROUTING
  58. 2023-05-17 09:29:18.380347 79.13% [DEBUG] mod_sofia.c:158 sofia/default/71@alpha2.astppbilling.org:5072 SOFIA ROUTING
  59. 2023-05-17 09:29:18.380347 79.13% [DEBUG] switch_core_state_machine.c:230 sofia/default/71@alpha2.astppbilling.org:5072 Standard ROUTING
  60. 2023-05-17 09:29:18.380347 79.13% [INFO] mod_dialplan_xml.c:639 Processing 71 <71>->10065 in context default
  61. 2023-05-17 09:29:18.420369 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  62. 2023-05-17 09:29:18.420369 79.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  63. 2023-05-17 09:29:18.420369 79.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  64. 2023-05-17 09:29:18.420369 79.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  65. 2023-05-17 09:29:18.420369 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  66. 2023-05-17 09:29:18.420369 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 10065
  67. 2023-05-17 09:29:18.420369 79.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '10065' limit 1
  68. 2023-05-17 09:29:18.420369 79.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  69. 2023-05-17 09:29:18.420369 79.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 = '10065' and status=0 LIMIT 1
  70. 2023-05-17 09:29:18.420369 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER71
  71. 2023-05-17 09:29:18.420369 79.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  72. 2023-05-17 09:29:18.420369 79.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '10065' limit 1
  73. 2023-05-17 09:29:18.420369 79.13% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  74. 2023-05-17 09:29:18.420369 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 71 / 71
  75. 2023-05-17 09:29:18.420369 79.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number
  76. 2023-05-17 09:29:18.420369 79.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 10065 AND status=0 limit 1
  77. 2023-05-17 09:29:18.420369 79.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  78. 2023-05-17 09:29:18.420369 79.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  79. 2023-05-17 09:29:18.420369 79.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  80. 2023-05-17 09:29:18.420369 79.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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10065" LIMIT 1
  81. 2023-05-17 09:29:18.420369 79.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  82. 2023-05-17 09:29:18.420369 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  83. 2023-05-17 09:29:18.420369 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 4062931825]
  84. 2023-05-17 09:29:18.420369 79.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "4062931825" AND deleted = 0 limit 1
  85. 2023-05-17 09:29:18.440347 79.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =4
  86. 2023-05-17 09:29:18.440347 79.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  87. 2023-05-17 09:29:18.440347 79.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1
  88. 2023-05-17 09:29:18.440347 79.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  89. 2023-05-17 09:29:18.440347 79.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 4
  90. 2023-05-17 09:29:18.440347 79.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 = '^10065.*' OR patterns = '^1006.*' OR patterns = '^100.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 4 ORDER BY LENGTH(PKGPTR.patterns) DESC
  91. 2023-05-17 09:29:18.440347 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Package ID : 562
  92. 2023-05-17 09:29:18.440347 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Product ID : 34
  93. 2023-05-17 09:29:18.440347 79.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from products WHERE id = 34 AND status = 0
  94. 2023-05-17 09:29:18.440347 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Apply On Rategroups For Free Product :
  95. 2023-05-17 09:29:18.440347 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Package Type : 0 Call Direction : inbound [0:inbound,1:outbound,2:both]
  96. 2023-05-17 09:29:18.440347 79.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_COUNTER_INFO] Query :SELECT used_seconds FROM counters  WHERE  accountid = 4 AND package_id = 562 AND status=1 LIMIT 1
  97. 2023-05-17 09:29:18.440347 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Remaining Minutes : 5
  98. 2023-05-17 09:29:18.440347 79.13% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Package Id : 562
  99. 2023-05-17 09:29:18.440347 79.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 ="10065" AND A.accountid = '4' limit 1
  100. 2023-05-17 09:29:18.440347 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 10065
  101. 2023-05-17 09:29:18.440347 79.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  102. 2023-05-17 09:29:18.440347 79.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  103. 2023-05-17 09:29:18.440347 79.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  104. 2023-05-17 09:29:18.440347 79.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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10065" LIMIT 1
  105. 2023-05-17 09:29:18.440347 79.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  106. 2023-05-17 09:29:18.440347 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  107. 2023-05-17 09:29:18.440347 79.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 = '10065' OR number = '1006' OR number = '100' OR number = '10' OR number = '1' OR number ='--') OR (number = '10065*' OR number = '1006*' OR number = '100*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '71' OR number = '7' OR number ='--') OR (number = '71*' OR number = '7*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  108. 2023-05-17 09:29:18.440347 79.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  109. 2023-05-17 09:29:18.440347 79.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '10065' OR routing_prefix = '1006' OR routing_prefix = '100' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  110. 2023-05-17 09:29:18.460359 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  111. 2023-05-17 09:29:18.460359 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 4
  112. 2023-05-17 09:29:18.460359 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 4062931825
  113. 2023-05-17 09:29:18.460359 79.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =4
  114. 2023-05-17 09:29:18.460359 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 153
  115. 2023-05-17 09:29:18.460359 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  116. 2023-05-17 09:29:18.460359 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  117. 2023-05-17 09:29:18.460359 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  118. 2023-05-17 09:29:18.460359 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  119. 2023-05-17 09:29:18.460359 79.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  120. 2023-05-17 09:29:18.460359 79.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
  121. 2023-05-17 09:29:18.460359 79.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  122. 2023-05-17 09:29:18.460359 79.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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10065" LIMIT 1
  123. 2023-05-17 09:29:18.460359 79.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  124. 2023-05-17 09:29:18.460359 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  125. 2023-05-17 09:29:18.460359 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  126. 2023-05-17 09:29:18.460359 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.00000
  127. 2023-05-17 09:29:18.460359 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:1
  128. 2023-05-17 09:29:18.460359 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '1' and status=0
  129. 2023-05-17 09:29:18.460359 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0.00000
  130. 2023-05-17 09:29:18.460359 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  131. 2023-05-17 09:29:18.460359 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 119
  132. 2023-05-17 09:29:18.460359 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  133. 2023-05-17 09:29:18.460359 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  134. 2023-05-17 09:29:18.460359 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  135. 2023-05-17 09:29:18.460359 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 10065
  136. 2023-05-17 09:29:18.460359 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  137. 2023-05-17 09:29:18.460359 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 4
  138. 2023-05-17 09:29:18.460359 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  139. 2023-05-17 09:29:18.460359 79.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =4
  140. 2023-05-17 09:29:18.460359 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your153 balance Accountid 4 !!!
  141. 2023-05-17 09:29:18.460359 79.13% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 4
  142. 2023-05-17 09:29:18.460359 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 5 minutes
  143. 2023-05-17 09:29:18.460359 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  144. 2023-05-17 09:29:18.460359 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  145. 2023-05-17 09:29:18.460359 79.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 = 4 AND status=0 LIMIT 1
  146. 2023-05-17 09:29:18.460359 79.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "4" AND deleted = 0 limit 1
  147. 2023-05-17 09:29:18.460359 79.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =4
  148. 2023-05-17 09:29:18.460359 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:4
  149. 2023-05-17 09:29:18.460359 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:4
  150. 2023-05-17 09:29:18.460359 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 4
  151. 2023-05-17 09:29:18.460359 79.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 4 limit 1
  152. 2023-05-17 09:29:18.460359 79.13% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : alpha2.astppbilling.org
  153. 2023-05-17 09:29:18.460359 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 5
  154. 2023-05-17 09:29:18.460359 79.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  155. 2023-05-17 09:29:18.460359 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  156. 2023-05-17 09:29:18.460359 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  157. 2023-05-17 09:29:18.460359 79.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 = "2" AND accounts.status = 0
  158. 2023-05-17 09:29:18.460359 79.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 4 limit 1
  159. 2023-05-17 09:29:18.460359 79.13% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : alpha2.astppbilling.org
  160. 2023-05-17 09:29:18.460359 79.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_10
  161. 2023-05-17 09:29:18.460359 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : 10
  162. 2023-05-17 09:29:18.460359 79.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : IVR
  163. 2023-05-17 09:29:18.460359 79.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_IVR_INFO] Query :SELECT * from pbx_ivr_specification WHERE id = 2 and status=0 LIMIT 1
  164. 2023-05-17 09:29:18.460359 79.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '${au-ring}' LIMIT 1
  165. 2023-05-17 09:29:18.460359 79.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  166. <document type="freeswitch/xml">
  167. <section name="dialplan" description="ASTPP Dialplan">
  168. <context name="default">
  169. <extension name="10065">
  170. <condition field="destination_number" expression="10065">
  171. <action application="set" data="effective_destination_number=10065"/>
  172. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  173. <action application="set" data="bridge_pre_execute_bleg_data=+300 normal_clearing"/>
  174. <action application="set" data="type=0"/>
  175. <action application="set" data="callstart=2023-05-17 09:29:18"/>
  176. <action application="set" data="hangup_after_bridge=true"/>
  177. <action application="set" data="continue_on_fail=TRUE"/>
  178. <action application="set" data="account_id=4"/>
  179. <action application="set" data="parent_id=0"/>
  180. <action application="set" data="entity_id=0"/>
  181. <action application="set" data="call_processed=internal"/>
  182. <action application="set" data="call_direction=inbound"/>
  183. <action application="set" data="accountname=default"/>
  184. <action application="set" data="package_id=562"/>
  185. <action application="set" data="filename1=astpp.pbx.lua"/>
  186. <action application="set" data="origination_rates_did=ID:119|CODE:^10065.*|DESTINATION:10065|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:4"/>
  187. <action application="set" data="origination_rates=0"/>
  188. <action application="set" data="original_caller_id_name=71"/>
  189. <action application="set" data="original_caller_id_number=71"/>
  190. <action application="set" data="effective_caller_id_name=71"/>
  191. <action application="set" data="effective_caller_id_number=71"/>
  192. <action application="set" data="receiver_accid=4"/>
  193. <action application="export" data="domain_name=alpha2.astppbilling.org"/>
  194. <action application="export" data="sip_to_host=alpha2.astppbilling.org"/>
  195. <action application="export" data="presence_data=x|||Aska(4062931825)|||^10065.* // 10065 // 0.00000|||||||||DID|||103.240.35.46"/>
  196. <action application="export" data="call_type=10"/>
  197. <action application="set" data="did_calltype=10"/>
  198. <action application="set" data="did_extensions=2"/>
  199. <action application="set" data="daily_call_credit_limit=0.00000"/>
  200. <action application="set" data="monthly_call_credit_limit=0.00000"/>
  201. <action application="set" data="daily_call_used_limit=0.00000"/>
  202. <action application="set" data="monthly_call_used_limit=0.00000"/>
  203. <action application="set" data="ringback=${au-ring}"/>
  204. <action application="set" data="module_name=pbx"/>
  205. <action application="set" data="sip_h_P-call_type=custom_forward"/>
  206. <action application="set" data="sip_h_P-Accountcode=4"/>
  207. <action application="set" data="variable_sip_to_host=alpha2.astppbilling.org"/>
  208. <action application="set" data="userinfo_id=4"/>
  209. <action application="set" data="variable_sip_to_host=alpha2.astppbilling.org"/>
  210. <action application="set" data="original_did_number=10065"/>
  211.     <action application="answer"/>
  212. <action application="ivr" data="AskaIVR0"/>
  213. <action application="lua" data="astpp/lib/pbx/astpp-failover_ivr_destination.lua"/>
  214. </condition>
  215. </extension>
  216. </context>
  217. </section>
  218. </document>
  219. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 parsing [default->10065] continue=false
  220. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 Regex (PASS) [10065] destination_number(10065) =~ /10065/ break=on-false
  221. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 Action set(effective_destination_number=10065)
  222. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  223. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 Action set(bridge_pre_execute_bleg_data=+300 normal_clearing)
  224. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 Action set(type=0)
  225. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 Action set(callstart=2023-05-17 09:29:18)
  226. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 Action set(hangup_after_bridge=true)
  227. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 Action set(continue_on_fail=TRUE)
  228. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 Action set(account_id=4)
  229. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 Action set(parent_id=0)
  230. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 Action set(entity_id=0)
  231. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 Action set(call_processed=internal)
  232. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 Action set(call_direction=inbound)
  233. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 Action set(accountname=default)
  234. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 Action set(package_id=562)
  235. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 Action set(filename1=astpp.pbx.lua)
  236. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 Action set(origination_rates_did=ID:119|CODE:^10065.*|DESTINATION:10065|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:4)
  237. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 Action set(origination_rates=0)
  238. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 Action set(original_caller_id_name=71)
  239. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 Action set(original_caller_id_number=71)
  240. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 Action set(effective_caller_id_name=71)
  241. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 Action set(effective_caller_id_number=71)
  242. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 Action set(receiver_accid=4)
  243. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 Action export(domain_name=alpha2.astppbilling.org)
  244. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 Action export(sip_to_host=alpha2.astppbilling.org)
  245. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 Action export(presence_data=x|||Aska(4062931825)|||^10065.* // 10065 // 0.00000|||||||||DID|||103.240.35.46)
  246. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 Action export(call_type=10)
  247. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 Action set(did_calltype=10)
  248. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 Action set(did_extensions=2)
  249. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 Action set(daily_call_credit_limit=0.00000)
  250. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 Action set(monthly_call_credit_limit=0.00000)
  251. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 Action set(daily_call_used_limit=0.00000)
  252. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 Action set(monthly_call_used_limit=0.00000)
  253. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 Action set(ringback=${au-ring})
  254. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 Action set(module_name=pbx)
  255. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 Action set(sip_h_P-call_type=custom_forward)
  256. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 Action set(sip_h_P-Accountcode=4)
  257. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 Action set(variable_sip_to_host=alpha2.astppbilling.org)
  258. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 Action set(userinfo_id=4)
  259. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 Action set(variable_sip_to_host=alpha2.astppbilling.org)
  260. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 Action set(original_did_number=10065)
  261. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 Action answer()
  262. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 Action ivr(AskaIVR0)
  263. Dialplan: sofia/default/71@alpha2.astppbilling.org:5072 Action lua(astpp/lib/pbx/astpp-failover_ivr_destination.lua)
  264. 2023-05-17 09:29:18.460359 79.13% [DEBUG] switch_core_state_machine.c:281 (sofia/default/71@alpha2.astppbilling.org:5072) State Change CS_ROUTING -> CS_EXECUTE
  265. 2023-05-17 09:29:18.460359 79.13% [DEBUG] switch_core_state_machine.c:640 (sofia/default/71@alpha2.astppbilling.org:5072) State ROUTING going to sleep
  266. 2023-05-17 09:29:18.460359 79.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/71@alpha2.astppbilling.org:5072) Running State Change CS_EXECUTE (Cur 1 Tot 86)
  267. 2023-05-17 09:29:18.460359 79.13% [DEBUG] switch_core_state_machine.c:647 (sofia/default/71@alpha2.astppbilling.org:5072) State EXECUTE
  268. 2023-05-17 09:29:18.460359 79.13% [DEBUG] mod_sofia.c:213 sofia/default/71@alpha2.astppbilling.org:5072 SOFIA EXECUTE
  269. 2023-05-17 09:29:18.460359 79.13% [DEBUG] switch_core_state_machine.c:323 sofia/default/71@alpha2.astppbilling.org:5072 Standard EXECUTE
  270. EXECUTE [depth=0] sofia/default/71@alpha2.astppbilling.org:5072 set(effective_destination_number=10065)
  271. 2023-05-17 09:29:18.460359 79.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/71@alpha2.astppbilling.org:5072 [effective_destination_number]=[10065]
  272. EXECUTE [depth=0] sofia/default/71@alpha2.astppbilling.org:5072 set(bridge_pre_execute_bleg_app=sched_hangup)
  273. 2023-05-17 09:29:18.460359 79.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/71@alpha2.astppbilling.org:5072 [bridge_pre_execute_bleg_app]=[sched_hangup]
  274. EXECUTE [depth=0] sofia/default/71@alpha2.astppbilling.org:5072 set(bridge_pre_execute_bleg_data=+300 normal_clearing)
  275. 2023-05-17 09:29:18.460359 79.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/71@alpha2.astppbilling.org:5072 [bridge_pre_execute_bleg_data]=[+300 normal_clearing]
  276. EXECUTE [depth=0] sofia/default/71@alpha2.astppbilling.org:5072 set(type=0)
  277. 2023-05-17 09:29:18.460359 79.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/71@alpha2.astppbilling.org:5072 [type]=[0]
  278. EXECUTE [depth=0] sofia/default/71@alpha2.astppbilling.org:5072 set(callstart=2023-05-17 09:29:18)
  279. 2023-05-17 09:29:18.460359 79.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/71@alpha2.astppbilling.org:5072 [callstart]=[2023-05-17 09:29:18]
  280. EXECUTE [depth=0] sofia/default/71@alpha2.astppbilling.org:5072 set(hangup_after_bridge=true)
  281. 2023-05-17 09:29:18.460359 79.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/71@alpha2.astppbilling.org:5072 [hangup_after_bridge]=[true]
  282. EXECUTE [depth=0] sofia/default/71@alpha2.astppbilling.org:5072 set(continue_on_fail=TRUE)
  283. 2023-05-17 09:29:18.460359 79.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/71@alpha2.astppbilling.org:5072 [continue_on_fail]=[TRUE]
  284. EXECUTE [depth=0] sofia/default/71@alpha2.astppbilling.org:5072 set(account_id=4)
  285. 2023-05-17 09:29:18.460359 79.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/71@alpha2.astppbilling.org:5072 [account_id]=[4]
  286. EXECUTE [depth=0] sofia/default/71@alpha2.astppbilling.org:5072 set(parent_id=0)
  287. 2023-05-17 09:29:18.460359 79.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/71@alpha2.astppbilling.org:5072 [parent_id]=[0]
  288. EXECUTE [depth=0] sofia/default/71@alpha2.astppbilling.org:5072 set(entity_id=0)
  289. 2023-05-17 09:29:18.460359 79.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/71@alpha2.astppbilling.org:5072 [entity_id]=[0]
  290. EXECUTE [depth=0] sofia/default/71@alpha2.astppbilling.org:5072 set(call_processed=internal)
  291. 2023-05-17 09:29:18.460359 79.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/71@alpha2.astppbilling.org:5072 [call_processed]=[internal]
  292. EXECUTE [depth=0] sofia/default/71@alpha2.astppbilling.org:5072 set(call_direction=inbound)
  293. 2023-05-17 09:29:18.460359 79.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/71@alpha2.astppbilling.org:5072 [call_direction]=[inbound]
  294. EXECUTE [depth=0] sofia/default/71@alpha2.astppbilling.org:5072 set(accountname=default)
  295. 2023-05-17 09:29:18.460359 79.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/71@alpha2.astppbilling.org:5072 [accountname]=[default]
  296. EXECUTE [depth=0] sofia/default/71@alpha2.astppbilling.org:5072 set(package_id=562)
  297. 2023-05-17 09:29:18.460359 79.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/71@alpha2.astppbilling.org:5072 [package_id]=[562]
  298. EXECUTE [depth=0] sofia/default/71@alpha2.astppbilling.org:5072 set(filename1=astpp.pbx.lua)
  299. 2023-05-17 09:29:18.460359 79.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/71@alpha2.astppbilling.org:5072 [filename1]=[astpp.pbx.lua]
  300. EXECUTE [depth=0] sofia/default/71@alpha2.astppbilling.org:5072 set(origination_rates_did=ID:119|CODE:^10065.*|DESTINATION:10065|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:4)
  301. 2023-05-17 09:29:18.460359 79.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/71@alpha2.astppbilling.org:5072 [origination_rates_did]=[ID:119|CODE:^10065.*|DESTINATION:10065|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:4]
  302. EXECUTE [depth=0] sofia/default/71@alpha2.astppbilling.org:5072 set(origination_rates=0)
  303. 2023-05-17 09:29:18.460359 79.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/71@alpha2.astppbilling.org:5072 [origination_rates]=[0]
  304. EXECUTE [depth=0] sofia/default/71@alpha2.astppbilling.org:5072 set(original_caller_id_name=71)
  305. 2023-05-17 09:29:18.460359 79.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/71@alpha2.astppbilling.org:5072 [original_caller_id_name]=[71]
  306. EXECUTE [depth=0] sofia/default/71@alpha2.astppbilling.org:5072 set(original_caller_id_number=71)
  307. 2023-05-17 09:29:18.460359 79.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/71@alpha2.astppbilling.org:5072 [original_caller_id_number]=[71]
  308. EXECUTE [depth=0] sofia/default/71@alpha2.astppbilling.org:5072 set(effective_caller_id_name=71)
  309. 2023-05-17 09:29:18.500336 79.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/71@alpha2.astppbilling.org:5072 [effective_caller_id_name]=[71]
  310. EXECUTE [depth=0] sofia/default/71@alpha2.astppbilling.org:5072 set(effective_caller_id_number=71)
  311. 2023-05-17 09:29:18.500336 79.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/71@alpha2.astppbilling.org:5072 [effective_caller_id_number]=[71]
  312. EXECUTE [depth=0] sofia/default/71@alpha2.astppbilling.org:5072 set(receiver_accid=4)
  313. 2023-05-17 09:29:18.500336 79.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/71@alpha2.astppbilling.org:5072 [receiver_accid]=[4]
  314. EXECUTE [depth=0] sofia/default/71@alpha2.astppbilling.org:5072 export(domain_name=alpha2.astppbilling.org)
  315. 2023-05-17 09:29:18.500336 79.13% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[alpha2.astppbilling.org]
  316. EXECUTE [depth=0] sofia/default/71@alpha2.astppbilling.org:5072 export(sip_to_host=alpha2.astppbilling.org)
  317. 2023-05-17 09:29:18.500336 79.13% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[alpha2.astppbilling.org]
  318. EXECUTE [depth=0] sofia/default/71@alpha2.astppbilling.org:5072 export(presence_data=x|||Aska(4062931825)|||^10065.* // 10065 // 0.00000|||||||||DID|||103.240.35.46)
  319. 2023-05-17 09:29:18.500336 79.13% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Aska(4062931825)|||^10065.* // 10065 // 0.00000|||||||||DID|||103.240.35.46]
  320. EXECUTE [depth=0] sofia/default/71@alpha2.astppbilling.org:5072 export(call_type=10)
  321. 2023-05-17 09:29:18.500336 79.13% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[10]
  322. EXECUTE [depth=0] sofia/default/71@alpha2.astppbilling.org:5072 set(did_calltype=10)
  323. 2023-05-17 09:29:18.500336 79.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/71@alpha2.astppbilling.org:5072 [did_calltype]=[10]
  324. EXECUTE [depth=0] sofia/default/71@alpha2.astppbilling.org:5072 set(did_extensions=2)
  325. 2023-05-17 09:29:18.500336 79.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/71@alpha2.astppbilling.org:5072 [did_extensions]=[2]
  326. EXECUTE [depth=0] sofia/default/71@alpha2.astppbilling.org:5072 set(daily_call_credit_limit=0.00000)
  327. 2023-05-17 09:29:18.500336 79.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/71@alpha2.astppbilling.org:5072 [daily_call_credit_limit]=[0.00000]
  328. EXECUTE [depth=0] sofia/default/71@alpha2.astppbilling.org:5072 set(monthly_call_credit_limit=0.00000)
  329. 2023-05-17 09:29:18.500336 79.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/71@alpha2.astppbilling.org:5072 [monthly_call_credit_limit]=[0.00000]
  330. EXECUTE [depth=0] sofia/default/71@alpha2.astppbilling.org:5072 set(daily_call_used_limit=0.00000)
  331. 2023-05-17 09:29:18.500336 79.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/71@alpha2.astppbilling.org:5072 [daily_call_used_limit]=[0.00000]
  332. EXECUTE [depth=0] sofia/default/71@alpha2.astppbilling.org:5072 set(monthly_call_used_limit=0.00000)
  333. 2023-05-17 09:29:18.500336 79.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/71@alpha2.astppbilling.org:5072 [monthly_call_used_limit]=[0.00000]
  334. EXECUTE [depth=0] sofia/default/71@alpha2.astppbilling.org:5072 set(ringback=%(400,200,383,417);%(400,2000,383,417))
  335. 2023-05-17 09:29:18.500336 79.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/71@alpha2.astppbilling.org:5072 [ringback]=[%(400,200,383,417);%(400,2000,383,417)]
  336. EXECUTE [depth=0] sofia/default/71@alpha2.astppbilling.org:5072 set(module_name=pbx)
  337. 2023-05-17 09:29:18.500336 79.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/71@alpha2.astppbilling.org:5072 [module_name]=[pbx]
  338. EXECUTE [depth=0] sofia/default/71@alpha2.astppbilling.org:5072 set(sip_h_P-call_type=custom_forward)
  339. 2023-05-17 09:29:18.500336 79.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/71@alpha2.astppbilling.org:5072 [sip_h_P-call_type]=[custom_forward]
  340. EXECUTE [depth=0] sofia/default/71@alpha2.astppbilling.org:5072 set(sip_h_P-Accountcode=4)
  341. 2023-05-17 09:29:18.500336 79.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/71@alpha2.astppbilling.org:5072 [sip_h_P-Accountcode]=[4]
  342. EXECUTE [depth=0] sofia/default/71@alpha2.astppbilling.org:5072 set(variable_sip_to_host=alpha2.astppbilling.org)
  343. 2023-05-17 09:29:18.500336 79.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/71@alpha2.astppbilling.org:5072 [variable_sip_to_host]=[alpha2.astppbilling.org]
  344. EXECUTE [depth=0] sofia/default/71@alpha2.astppbilling.org:5072 set(userinfo_id=4)
  345. 2023-05-17 09:29:18.500336 79.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/71@alpha2.astppbilling.org:5072 [userinfo_id]=[4]
  346. EXECUTE [depth=0] sofia/default/71@alpha2.astppbilling.org:5072 set(variable_sip_to_host=alpha2.astppbilling.org)
  347. 2023-05-17 09:29:18.500336 79.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/71@alpha2.astppbilling.org:5072 [variable_sip_to_host]=[alpha2.astppbilling.org]
  348. EXECUTE [depth=0] sofia/default/71@alpha2.astppbilling.org:5072 set(original_did_number=10065)
  349. 2023-05-17 09:29:18.500336 79.13% [DEBUG] mod_dptools.c:1673 SET sofia/default/71@alpha2.astppbilling.org:5072 [original_did_number]=[10065]
  350. EXECUTE [depth=0] sofia/default/71@alpha2.astppbilling.org:5072 answer()
  351. 2023-05-17 09:29:18.500336 79.13% [DEBUG] switch_core_media.c:8651 AUDIO RTP [sofia/default/71@alpha2.astppbilling.org:5072] 95.217.238.195 port 19200 -> 103.240.35.46 port 9535 codec: 8 ms: 20
  352. 2023-05-17 09:29:18.500336 79.13% [DEBUG] switch_rtp.c:4377 Starting timer [soft] 160 bytes per 20ms
  353. 2023-05-17 09:29:18.500336 79.13% [DEBUG] switch_core_media.c:8963 sofia/default/71@alpha2.astppbilling.org:5072 Set 2833 dtmf send payload to 101
  354. 2023-05-17 09:29:18.500336 79.13% [DEBUG] switch_core_media.c:8970 sofia/default/71@alpha2.astppbilling.org:5072 Set 2833 dtmf receive payload to 101
  355. 2023-05-17 09:29:18.500336 79.13% [DEBUG] switch_core_media.c:8993 sofia/default/71@alpha2.astppbilling.org:5072 Set rtp dtmf delay to 40
  356. 2023-05-17 09:29:18.500336 79.13% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/71@alpha2.astppbilling.org:5072:
  357. v=0
  358. o=FreeSWITCH 1684296558 1684296559 IN IP4 95.217.238.195
  359. s=FreeSWITCH
  360. c=IN IP4 95.217.238.195
  361. t=0 0
  362. m=audio 19200 RTP/AVP 8 101
  363. a=rtpmap:8 PCMA/8000
  364. a=rtpmap:101 telephone-event/8000
  365. a=fmtp:101 0-15
  366. a=ptime:20
  367. a=sendrecv
  368.  
  369. 2023-05-17 09:29:18.500336 79.13% [NOTICE] mod_dptools.c:1408 Channel [sofia/default/71@alpha2.astppbilling.org:5072] has been answered
  370. 2023-05-17 09:29:18.500336 79.13% [DEBUG] switch_channel.c:3893 (sofia/default/71@alpha2.astppbilling.org:5072) Callstate Change RINGING -> ACTIVE
  371. 2023-05-17 09:29:18.500336 79.13% [DEBUG] sofia.c:7487 Channel sofia/default/71@alpha2.astppbilling.org:5072 entering state [completed][200]
  372. EXECUTE [depth=0] sofia/default/71@alpha2.astppbilling.org:5072 ivr(AskaIVR0)
  373. 2023-05-17 09:29:18.520346 79.13% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-exit'
  374. 2023-05-17 09:29:18.520346 79.13% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-sub'
  375. 2023-05-17 09:29:18.520346 79.13% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-exec-app'
  376. 2023-05-17 09:29:18.520346 79.13% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-play-sound'
  377. 2023-05-17 09:29:18.520346 79.13% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-back'
  378. 2023-05-17 09:29:18.520346 79.13% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-top'
  379. 2023-05-17 09:29:18.520346 79.13% [DEBUG] switch_ivr_menu.c:883 building menu 'AskaIVR0'
  380. 2023-05-17 09:29:18.520346 79.13% [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '1'
  381. 2023-05-17 09:29:18.520346 79.13% [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '2'
  382. 2023-05-17 09:29:18.520346 79.13% [ERR] switch_ivr_menu.c:981 Unable to build xml menu
  383. 2023-05-17 09:29:18.520346 79.13% [ERR] mod_dptools.c:2193 Unable to create menu
  384. EXECUTE [depth=0] sofia/default/71@alpha2.astppbilling.org:5072 lua(astpp/lib/pbx/astpp-failover_ivr_destination.lua)
  385. 2023-05-17 09:29:18.520346 79.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  386. 2023-05-17 09:29:18.520346 79.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')
  387. 2023-05-17 09:29:18.540343 79.13% [DEBUG] switch_cpp.cpp:1209 sofia/default/71@alpha2.astppbilling.org:5072 destroy/unlink session from object
  388. 2023-05-17 09:29:18.540343 79.13% [NOTICE] switch_core_state_machine.c:382 sofia/default/71@alpha2.astppbilling.org:5072 has executed the last dialplan instruction, hanging up.
  389. 2023-05-17 09:29:18.540343 79.13% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/71@alpha2.astppbilling.org:5072 [CS_EXECUTE] [NORMAL_CLEARING]
  390. 2023-05-17 09:29:18.540343 79.13% [DEBUG] switch_core_state_machine.c:647 (sofia/default/71@alpha2.astppbilling.org:5072) State EXECUTE going to sleep
  391. 2023-05-17 09:29:18.540343 79.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/71@alpha2.astppbilling.org:5072) Running State Change CS_HANGUP (Cur 1 Tot 86)
  392. 2023-05-17 09:29:18.540343 79.13% [DEBUG] switch_channel.c:3933 sofia/default/71@alpha2.astppbilling.org:5072 skip receive message [VIDEO_SYNC] (channel is hungup already)
  393. 2023-05-17 09:29:18.540343 79.13% [DEBUG] switch_core_state_machine.c:844 (sofia/default/71@alpha2.astppbilling.org:5072) Callstate Change ACTIVE -> HANGUP
  394. 2023-05-17 09:29:18.540343 79.13% [DEBUG] switch_core_state_machine.c:846 (sofia/default/71@alpha2.astppbilling.org:5072) State HANGUP
  395. 2023-05-17 09:29:18.540343 79.13% [DEBUG] mod_sofia.c:468 Channel sofia/default/71@alpha2.astppbilling.org:5072 hanging up, cause: NORMAL_CLEARING
  396. 2023-05-17 09:29:18.540343 79.13% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/71@alpha2.astppbilling.org:5072
  397. 2023-05-17 09:29:18.540343 79.13% [DEBUG] switch_core_state_machine.c:59 sofia/default/71@alpha2.astppbilling.org:5072 Standard HANGUP, cause: NORMAL_CLEARING
  398. 2023-05-17 09:29:18.540343 79.13% [DEBUG] switch_core_state_machine.c:846 (sofia/default/71@alpha2.astppbilling.org:5072) State HANGUP going to sleep
  399. 2023-05-17 09:29:18.540343 79.13% [DEBUG] switch_core_state_machine.c:616 (sofia/default/71@alpha2.astppbilling.org:5072) State Change CS_HANGUP -> CS_REPORTING
  400. 2023-05-17 09:29:18.540343 79.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/71@alpha2.astppbilling.org:5072) Running State Change CS_REPORTING (Cur 1 Tot 86)
  401. 2023-05-17 09:29:18.540343 79.13% [DEBUG] switch_core_state_machine.c:932 (sofia/default/71@alpha2.astppbilling.org:5072) State REPORTING
  402. 2023-05-17 09:29:18.540343 79.13% [INFO] mod_json_cdr.c:272 Process [d753c4e2-57a7-4cd7-aa17-0a20e9166106.cdr.json]
  403. 2023-05-17 09:29:18.600347 79.13% [DEBUG] switch_core_state_machine.c:168 sofia/default/71@alpha2.astppbilling.org:5072 Standard REPORTING, cause: NORMAL_CLEARING
  404. 2023-05-17 09:29:18.600347 79.13% [DEBUG] switch_core_state_machine.c:932 (sofia/default/71@alpha2.astppbilling.org:5072) State REPORTING going to sleep
  405. 2023-05-17 09:29:18.600347 79.13% [DEBUG] switch_core_state_machine.c:607 (sofia/default/71@alpha2.astppbilling.org:5072) State Change CS_REPORTING -> CS_DESTROY
  406. 2023-05-17 09:29:18.600347 79.13% [DEBUG] switch_core_session.c:1743 Session 86 (sofia/default/71@alpha2.astppbilling.org:5072) Locked, Waiting on external entities
  407. 2023-05-17 09:29:18.600347 79.13% [NOTICE] switch_core_session.c:1761 Session 86 (sofia/default/71@alpha2.astppbilling.org:5072) Ended
  408. 2023-05-17 09:29:18.600347 79.13% [NOTICE] switch_core_session.c:1765 Close Channel sofia/default/71@alpha2.astppbilling.org:5072 [CS_DESTROY]
  409. 2023-05-17 09:29:18.600347 79.13% [DEBUG] switch_core_state_machine.c:735 (sofia/default/71@alpha2.astppbilling.org:5072) Running State Change CS_DESTROY (Cur 0 Tot 86)
  410. 2023-05-17 09:29:18.600347 79.13% [DEBUG] switch_core_state_machine.c:745 (sofia/default/71@alpha2.astppbilling.org:5072) State DESTROY
  411. 2023-05-17 09:29:18.600347 79.13% [DEBUG] mod_sofia.c:379 sofia/default/71@alpha2.astppbilling.org:5072 SOFIA DESTROY
  412. 2023-05-17 09:29:18.600347 79.13% [DEBUG] switch_core_state_machine.c:175 sofia/default/71@alpha2.astppbilling.org:5072 Standard DESTROY
  413. 2023-05-17 09:29:18.600347 79.13% [DEBUG] switch_core_state_machine.c:745 (sofia/default/71@alpha2.astppbilling.org:5072) State DESTROY going to sleep
  414. 2023-05-17 09:30:07.160338 85.47% [WARNING] sofia_reg.c:1846 SIP auth challenge (INVITE) on sofia profile 'default' for [20818@alpha4.astppbilling.org] from ip 103.240.35.46
  415. 2023-05-17 09:30:07.500329 85.47% [WARNING] sofia_reg.c:3211 Can't find user [20818@alpha4.astppbilling.org] from 103.240.35.46
  416. You must define a domain called 'alpha4.astppbilling.org' in your directory and add a user with the id="20818" attribute
  417. and you must configure your device to use the proper domain in its authentication credentials.
  418. 2023-05-17 09:30:07.760340 85.47% [WARNING] sofia_reg.c:1846 SIP auth challenge (INVITE) on sofia profile 'default' for [857552@alpha4.astppbilling.org] from ip 103.240.35.46
  419. 2023-05-17 09:30:08.100337 83.90% [WARNING] sofia_reg.c:3211 Can't find user [857552@alpha4.astppbilling.org] from 103.240.35.46
  420. You must define a domain called 'alpha4.astppbilling.org' in your directory and add a user with the id="857552" attribute
  421. and you must configure your device to use the proper domain in its authentication credentials.
  422. 2023-05-17 09:31:07.840356 73.97% [WARNING] sofia_reg.c:1846 SIP auth challenge (INVITE) on sofia profile 'default' for [20818@alpha4.astppbilling.org] from ip 103.240.35.46
  423. freeswitch@AlphaQaAlpesh>
  424. freeswitch@AlphaQaAlpesh>
  425. 2023-05-17 09:31:08.120369 73.37% [WARNING] sofia_reg.c:3211 Can't find user [20818@alpha4.astppbilling.org] from 103.240.35.46
  426. You must define a domain called 'alpha4.astppbilling.org' in your directory and add a user with the id="20818" attribute
  427. and you must configure your device to use the proper domain in its authentication credentials.
  428. freeswitch@AlphaQaAlpesh>
  429. 2023-05-17 09:31:08.440365 73.37% [WARNING] sofia_reg.c:1846 SIP auth challenge (INVITE) on sofia profile 'default' for [857552@alpha4.astppbilling.org] from ip 103.240.35.46
  430. freeswitch@AlphaQaAlpesh>
  431. freeswitch@AlphaQaAlpesh>
  432. 2023-05-17 09:31:08.740359 73.37% [WARNING] sofia_reg.c:3211 Can't find user [857552@alpha4.astppbilling.org] from 103.240.35.46
  433. You must define a domain called 'alpha4.astppbilling.org' in your directory and add a user with the id="857552" attribute
  434. and you must configure your device to use the proper domain in its authentication credentials.
  435. freeswitch@AlphaQaAlpesh> /exit
  436.  
  437. root@AlphaQaAlpesh:~#
  438. root@AlphaQaAlpesh:~#
  439. root@AlphaQaAlpesh:~# ping centrex.monline.it
  440. PING centrex.monline.it (77.93.255.198) 56(84) bytes of data.
  441. ^C
  442. --- centrex.monline.it ping statistics ---
  443. 5 packets transmitted, 0 received, 100% packet loss, time 4073ms
  444.  
  445. root@AlphaQaAlpesh:~#