From Prashant Kumar, 9 Months ago, written in FreeSWITCH.
- view diff
Embed
  1. Type /help <enter> to see a list of commands
  2.  
  3.  
  4.  
  5. +OK log level  [7]
  6. freeswitch@v6>
  7. freeswitch@v6>
  8. 2024-03-19 13:50:00.722152 94.40% [NOTICE] switch_channel.c:1142 New Channel sofia/default/3146612793@alpha.astppbilling.org [ab675c91-aaf1-4765-9f0a-57b77f4b9972]
  9. 2024-03-19 13:50:00.722152 94.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3146612793@alpha.astppbilling.org) Running State Change CS_NEW (Cur 1 Tot 575)
  10. 2024-03-19 13:50:00.722152 94.40% [INFO] sofia.c:10459 sofia/default/3146612793@alpha.astppbilling.org receiving invite from 95.217.238.195:5060 version: 1.10.10-release  64bit call-id: DLGCH_FiQCXB0NEWIBCi8DCR4GPgI0BhcJDRlmAiQsFx4dBSkCHTxcHSMWOAIKKEA-
  11. 2024-03-19 13:50:00.722152 94.40% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 95.217.238.195:0.
  12. 2024-03-19 13:50:00.722152 94.40% [DEBUG] sofia.c:10582 IP 95.217.238.195 Approved by acl "default[]". Access Granted.
  13. 2024-03-19 13:50:00.722152 94.40% [DEBUG] sofia.c:7493 Channel sofia/default/3146612793@alpha.astppbilling.org entering state [received][100]
  14. 2024-03-19 13:50:00.722152 94.40% [DEBUG] sofia.c:7503 Remote SDP:
  15. v=0
  16. o=Z 0 0 IN IP4 95.217.238.195
  17. s=Z
  18. c=IN IP4 95.217.238.195
  19. t=0 0
  20. m=audio 34566 RTP/AVP 3 110 8 0 98 101
  21. a=rtpmap:3 GSM/8000
  22. a=rtpmap:110 speex/8000
  23. a=rtpmap:8 PCMA/8000
  24. a=rtpmap:0 PCMU/8000
  25. a=rtpmap:98 iLBC/8000
  26. a=fmtp:98 mode=20
  27. a=rtpmap:101 telephone-event/8000
  28. a=fmtp:101 0-15
  29. a=rtcp:34567
  30.  
  31. 2024-03-19 13:50:00.722152 94.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  32. 2024-03-19 13:50:00.722152 94.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  33. 2024-03-19 13:50:00.722152 94.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  34. 2024-03-19 13:50:00.722152 94.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  35. 2024-03-19 13:50:00.722152 94.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  36. 2024-03-19 13:50:00.722152 94.40% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  37. 2024-03-19 13:50:00.722152 94.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  38. 2024-03-19 13:50:00.722152 94.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  39. 2024-03-19 13:50:00.722152 94.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  40. 2024-03-19 13:50:00.722152 94.40% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  41. 2024-03-19 13:50:00.722152 94.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  42. 2024-03-19 13:50:00.722152 94.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  43. 2024-03-19 13:50:00.722152 94.40% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
  44. 2024-03-19 13:50:00.722152 94.40% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/3146612793@alpha.astppbilling.org PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  45. 2024-03-19 13:50:00.722152 94.40% [DEBUG] switch_core_codec.c:111 sofia/default/3146612793@alpha.astppbilling.org Original read codec set to PCMA:8
  46. 2024-03-19 13:50:00.722152 94.40% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
  47. 2024-03-19 13:50:00.722152 94.40% [DEBUG] switch_core_media.c:5856 sofia/default/3146612793@alpha.astppbilling.org Set 2833 dtmf send payload to 101 recv payload to 101
  48. 2024-03-19 13:50:00.722152 94.40% [DEBUG] sofia.c:7927 (sofia/default/3146612793@alpha.astppbilling.org) State Change CS_NEW -> CS_INIT
  49. 2024-03-19 13:50:00.722152 94.40% [DEBUG] switch_core_state_machine.c:600 (sofia/default/3146612793@alpha.astppbilling.org) State NEW
  50. 2024-03-19 13:50:00.722152 94.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3146612793@alpha.astppbilling.org) Running State Change CS_INIT (Cur 1 Tot 575)
  51. 2024-03-19 13:50:00.722152 94.40% [DEBUG] switch_core_state_machine.c:624 (sofia/default/3146612793@alpha.astppbilling.org) State INIT
  52. 2024-03-19 13:50:00.722152 94.40% [DEBUG] mod_sofia.c:97 sofia/default/3146612793@alpha.astppbilling.org SOFIA INIT
  53. 2024-03-19 13:50:00.722152 94.40% [DEBUG] switch_core_state_machine.c:40 sofia/default/3146612793@alpha.astppbilling.org Standard INIT
  54. 2024-03-19 13:50:00.722152 94.40% [DEBUG] switch_core_state_machine.c:48 (sofia/default/3146612793@alpha.astppbilling.org) State Change CS_INIT -> CS_ROUTING
  55. 2024-03-19 13:50:00.722152 94.40% [DEBUG] switch_core_state_machine.c:624 (sofia/default/3146612793@alpha.astppbilling.org) State INIT going to sleep
  56. 2024-03-19 13:50:00.722152 94.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3146612793@alpha.astppbilling.org) Running State Change CS_ROUTING (Cur 1 Tot 575)
  57. 2024-03-19 13:50:00.722152 94.40% [DEBUG] switch_channel.c:2399 (sofia/default/3146612793@alpha.astppbilling.org) Callstate Change DOWN -> RINGING
  58. 2024-03-19 13:50:00.722152 94.40% [DEBUG] switch_core_state_machine.c:640 (sofia/default/3146612793@alpha.astppbilling.org) State ROUTING
  59. 2024-03-19 13:50:00.722152 94.40% [DEBUG] mod_sofia.c:158 sofia/default/3146612793@alpha.astppbilling.org SOFIA ROUTING
  60. 2024-03-19 13:50:00.722152 94.40% [DEBUG] switch_core_state_machine.c:230 sofia/default/3146612793@alpha.astppbilling.org Standard ROUTING
  61. 2024-03-19 13:50:00.722152 94.40% [INFO] mod_dialplan_xml.c:639 Processing 3146612793 <3146612793>->8803030303 in context default
  62. 2024-03-19 13:50:00.722152 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  63. 2024-03-19 13:50:00.742129 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  64. 2024-03-19 13:50:00.742129 94.40% [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')
  65. 2024-03-19 13:50:00.742129 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  66. 2024-03-19 13:50:00.742129 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 8803030303
  67. 2024-03-19 13:50:00.742129 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '8803030303' AND status=0 limit 1
  68. 2024-03-19 13:50:00.742129 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER3146612793
  69. 2024-03-19 13:50:00.742129 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  70. 2024-03-19 13:50:00.742129 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '8803030303' limit 1
  71. 2024-03-19 13:50:00.742129 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : <null> / 3146612793
  72. 2024-03-19 13:50:00.742129 94.40% [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.use_did_as_cid_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 ="8803030303" LIMIT 1
  73. 2024-03-19 13:50:00.742129 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  74. 2024-03-19 13:50:00.742129 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :3146612793
  75. 2024-03-19 13:50:00.742129 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT 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 WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="8803030303" limit 1
  76. 2024-03-19 13:50:00.762122 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  77. 2024-03-19 13:50:00.762122 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 152.58.188.194
  78. 2024-03-19 13:50:00.762122 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9904175222]
  79. 2024-03-19 13:50:00.762122 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "9904175222" OR id = "9904175222") AND deleted = 0 limit 1
  80. 2024-03-19 13:50:00.762122 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="8803030303" AND (accountid = 0 OR status = 1) LIMIT 1
  81. 2024-03-19 13:50:00.762122 94.40% [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 = '^8803030303.*' OR patterns = '^880303030.*' OR patterns = '^88030303.*' OR patterns = '^8803030.*' OR patterns = '^880303.*' OR patterns = '^88030.*' OR patterns = '^8803.*' OR patterns = '^880.*' OR patterns = '^88.*' OR patterns = '^8.*' OR patterns ='--') AND accountid = 5 ORDER BY LENGTH(PKGPTR.patterns) DESC
  82. 2024-03-19 13:50:00.762122 94.40% [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 ="8803030303" AND A.accountid = '5' limit 1
  83. 2024-03-19 13:50:00.762122 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 8803030303
  84. 2024-03-19 13:50:00.762122 94.40% [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.use_did_as_cid_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 ="8803030303" LIMIT 1
  85. 2024-03-19 13:50:00.762122 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  86. 2024-03-19 13:50:00.762122 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :3146612793
  87. 2024-03-19 13:50:00.762122 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT 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 WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="8803030303" limit 1
  88. 2024-03-19 13:50:00.762122 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  89. 2024-03-19 13:50:00.762122 94.40% [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 = '8803030303' OR number = '880303030' OR number = '88030303' OR number = '8803030' OR number = '880303' OR number = '88030' OR number = '8803' OR number = '880' OR number = '88' OR number = '8' OR number ='--') OR (number = '8803030303*' OR number = '880303030*' OR number = '88030303*' OR number = '8803030*' OR number = '880303*' OR number = '88030*' OR number = '8803*' OR number = '880*' OR number = '88*' OR number = '8*' OR number ='--') OR (number = '3146612793' OR number = '314661279' OR number = '31466127' OR number = '3146612' OR number = '314661' OR number = '31466' OR number = '3146' OR number = '314' OR number = '31' OR number = '3' OR number ='--') OR (number = '3146612793*' OR number = '314661279*' OR number = '31466127*' OR number = '3146612*' OR number = '314661*' OR number = '31466*' OR number = '3146*' OR number = '314*' OR number = '31*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  90. 2024-03-19 13:50:00.762122 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT accountid FROM dids WHERE number = '8803030303' and status = 0 limit 1
  91. 2024-03-19 13:50:00.762122 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Number: 88* : Type: 0 (0 for CLI, 1 for DST))
  92. 2024-03-19 13:50:00.762122 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Number::::WITHOUT****
  93. 2024-03-19 13:50:00.762122 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : 1
  94. 2024-03-19 13:50:00.762122 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP]  Post Cdrs : 0
  95. 2024-03-19 13:50:00.762122 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = '3146612793' and status = 0 limit 1
  96. 2024-03-19 13:50:00.762122 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 5
  97. 2024-03-19 13:50:00.762122 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
  98. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  99. <document type="freeswitch/xml">
  100. <section name="dialplan" description="ASTPP Dialplan">
  101. <context name="default">
  102. <extension name="8803030303">
  103. <condition field="destination_number" expression="8803030303">
  104. <action application="log" data="WARNING Accountcode . Dialed number (8803030303) is blocked for account!!"/>
  105. <action application="set" data="original_caller_id_number=<null>"/>
  106. <action application="set" data="error_cdr=1"/>
  107. <action application="set" data="callstart=2024-03-19 13:50:00"/>
  108. <action application="set" data="account_id=5"/>
  109. <action application="set" data="parent_id=4"/>
  110. <action application="set" data="call_direction=outbound"/>
  111. <action application="set" data="sip_ignore_remote_cause=true"/>
  112. <action application="set" data="call_processed=internal"/>
  113. <action application="set" data="effective_destination_number=8803030303"/>
  114. <action application="set" data="last_bridge_hangup_cause=DESTINATION_BLOCKED"/>
  115. <action application="hangup" data="DESTINATION_BLOCKED"/>
  116. </condition>
  117. </extension>
  118. </context>
  119. </section>
  120. </document>
  121. Dialplan: sofia/default/3146612793@alpha.astppbilling.org parsing [default->8803030303] continue=false
  122. Dialplan: sofia/default/3146612793@alpha.astppbilling.org Regex (PASS) [8803030303] destination_number(8803030303) =~ /8803030303/ break=on-false
  123. Dialplan: sofia/default/3146612793@alpha.astppbilling.org Action log(WARNING Accountcode . Dialed number (8803030303) is blocked for account!!)
  124. Dialplan: sofia/default/3146612793@alpha.astppbilling.org Action set(original_caller_id_number=<null>)
  125. Dialplan: sofia/default/3146612793@alpha.astppbilling.org Action set(error_cdr=1)
  126. Dialplan: sofia/default/3146612793@alpha.astppbilling.org Action set(callstart=2024-03-19 13:50:00)
  127. Dialplan: sofia/default/3146612793@alpha.astppbilling.org Action set(account_id=5)
  128. Dialplan: sofia/default/3146612793@alpha.astppbilling.org Action set(parent_id=4)
  129. Dialplan: sofia/default/3146612793@alpha.astppbilling.org Action set(call_direction=outbound)
  130. Dialplan: sofia/default/3146612793@alpha.astppbilling.org Action set(sip_ignore_remote_cause=true)
  131. Dialplan: sofia/default/3146612793@alpha.astppbilling.org Action set(call_processed=internal)
  132. Dialplan: sofia/default/3146612793@alpha.astppbilling.org Action set(effective_destination_number=8803030303)
  133. Dialplan: sofia/default/3146612793@alpha.astppbilling.org Action set(last_bridge_hangup_cause=DESTINATION_BLOCKED)
  134. Dialplan: sofia/default/3146612793@alpha.astppbilling.org Action hangup(DESTINATION_BLOCKED)
  135. 2024-03-19 13:50:00.762122 94.40% [DEBUG] switch_core_state_machine.c:281 (sofia/default/3146612793@alpha.astppbilling.org) State Change CS_ROUTING -> CS_EXECUTE
  136. 2024-03-19 13:50:00.762122 94.40% [DEBUG] switch_core_state_machine.c:640 (sofia/default/3146612793@alpha.astppbilling.org) State ROUTING going to sleep
  137. 2024-03-19 13:50:00.762122 94.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3146612793@alpha.astppbilling.org) Running State Change CS_EXECUTE (Cur 1 Tot 575)
  138. 2024-03-19 13:50:00.762122 94.40% [DEBUG] switch_core_state_machine.c:647 (sofia/default/3146612793@alpha.astppbilling.org) State EXECUTE
  139. 2024-03-19 13:50:00.762122 94.40% [DEBUG] mod_sofia.c:213 sofia/default/3146612793@alpha.astppbilling.org SOFIA EXECUTE
  140. 2024-03-19 13:50:00.762122 94.40% [DEBUG] switch_core_state_machine.c:323 sofia/default/3146612793@alpha.astppbilling.org Standard EXECUTE
  141. EXECUTE [depth=0] sofia/default/3146612793@alpha.astppbilling.org log(WARNING Accountcode . Dialed number (8803030303) is blocked for account!!)
  142. 2024-03-19 13:50:00.762122 94.40% [WARNING] mod_dptools.c:1865 Accountcode . Dialed number (8803030303) is blocked for account!!
  143. EXECUTE [depth=0] sofia/default/3146612793@alpha.astppbilling.org set(original_caller_id_number=<null>)
  144. 2024-03-19 13:50:00.762122 94.40% [DEBUG] mod_dptools.c:1671 SET sofia/default/3146612793@alpha.astppbilling.org [original_caller_id_number]=[<null>]
  145. EXECUTE [depth=0] sofia/default/3146612793@alpha.astppbilling.org set(error_cdr=1)
  146. 2024-03-19 13:50:00.782115 94.40% [DEBUG] mod_dptools.c:1671 SET sofia/default/3146612793@alpha.astppbilling.org [error_cdr]=[1]
  147. EXECUTE [depth=0] sofia/default/3146612793@alpha.astppbilling.org set(callstart=2024-03-19 13:50:00)
  148. 2024-03-19 13:50:00.782115 94.40% [DEBUG] mod_dptools.c:1671 SET sofia/default/3146612793@alpha.astppbilling.org [callstart]=[2024-03-19 13:50:00]
  149. EXECUTE [depth=0] sofia/default/3146612793@alpha.astppbilling.org set(account_id=5)
  150. 2024-03-19 13:50:00.782115 94.40% [DEBUG] mod_dptools.c:1671 SET sofia/default/3146612793@alpha.astppbilling.org [account_id]=[5]
  151. EXECUTE [depth=0] sofia/default/3146612793@alpha.astppbilling.org set(parent_id=4)
  152. 2024-03-19 13:50:00.782115 94.40% [DEBUG] mod_dptools.c:1671 SET sofia/default/3146612793@alpha.astppbilling.org [parent_id]=[4]
  153. EXECUTE [depth=0] sofia/default/3146612793@alpha.astppbilling.org set(call_direction=outbound)
  154. 2024-03-19 13:50:00.782115 94.40% [DEBUG] mod_dptools.c:1671 SET sofia/default/3146612793@alpha.astppbilling.org [call_direction]=[outbound]
  155. EXECUTE [depth=0] sofia/default/3146612793@alpha.astppbilling.org set(sip_ignore_remote_cause=true)
  156. 2024-03-19 13:50:00.782115 94.40% [DEBUG] mod_dptools.c:1671 SET sofia/default/3146612793@alpha.astppbilling.org [sip_ignore_remote_cause]=[true]
  157. EXECUTE [depth=0] sofia/default/3146612793@alpha.astppbilling.org set(call_processed=internal)
  158. 2024-03-19 13:50:00.782115 94.40% [DEBUG] mod_dptools.c:1671 SET sofia/default/3146612793@alpha.astppbilling.org [call_processed]=[internal]
  159. EXECUTE [depth=0] sofia/default/3146612793@alpha.astppbilling.org set(effective_destination_number=8803030303)
  160. 2024-03-19 13:50:00.782115 94.40% [DEBUG] mod_dptools.c:1671 SET sofia/default/3146612793@alpha.astppbilling.org [effective_destination_number]=[8803030303]
  161. EXECUTE [depth=0] sofia/default/3146612793@alpha.astppbilling.org set(last_bridge_hangup_cause=DESTINATION_BLOCKED)
  162. 2024-03-19 13:50:00.782115 94.40% [DEBUG] mod_dptools.c:1671 SET sofia/default/3146612793@alpha.astppbilling.org [last_bridge_hangup_cause]=[DESTINATION_BLOCKED]
  163. EXECUTE [depth=0] sofia/default/3146612793@alpha.astppbilling.org hangup(DESTINATION_BLOCKED)
  164. 2024-03-19 13:50:00.782115 94.40% [NOTICE] mod_dptools.c:1374 Hangup sofia/default/3146612793@alpha.astppbilling.org [CS_EXECUTE] [NORMAL_CLEARING]
  165. 2024-03-19 13:50:00.782115 94.40% [DEBUG] switch_core_session.c:2979 sofia/default/3146612793@alpha.astppbilling.org skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  166. 2024-03-19 13:50:00.782115 94.40% [DEBUG] switch_core_state_machine.c:647 (sofia/default/3146612793@alpha.astppbilling.org) State EXECUTE going to sleep
  167. 2024-03-19 13:50:00.782115 94.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3146612793@alpha.astppbilling.org) Running State Change CS_HANGUP (Cur 1 Tot 575)
  168. 2024-03-19 13:50:00.782115 94.40% [DEBUG] switch_core_state_machine.c:844 (sofia/default/3146612793@alpha.astppbilling.org) Callstate Change RINGING -> HANGUP
  169. 2024-03-19 13:50:00.782115 94.40% [DEBUG] switch_core_state_machine.c:846 (sofia/default/3146612793@alpha.astppbilling.org) State HANGUP
  170. 2024-03-19 13:50:00.782115 94.40% [DEBUG] mod_sofia.c:469 Channel sofia/default/3146612793@alpha.astppbilling.org hanging up, cause: NORMAL_CLEARING
  171. 2024-03-19 13:50:00.782115 94.40% [DEBUG] mod_sofia.c:614 Responding to INVITE with: 480
  172. 2024-03-19 13:50:00.782115 94.40% [DEBUG] switch_core_state_machine.c:59 sofia/default/3146612793@alpha.astppbilling.org Standard HANGUP, cause: NORMAL_CLEARING
  173. 2024-03-19 13:50:00.782115 94.40% [DEBUG] switch_core_state_machine.c:846 (sofia/default/3146612793@alpha.astppbilling.org) State HANGUP going to sleep
  174. 2024-03-19 13:50:00.782115 94.40% [DEBUG] switch_core_state_machine.c:616 (sofia/default/3146612793@alpha.astppbilling.org) State Change CS_HANGUP -> CS_REPORTING
  175. 2024-03-19 13:50:00.782115 94.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3146612793@alpha.astppbilling.org) Running State Change CS_REPORTING (Cur 1 Tot 575)
  176. 2024-03-19 13:50:00.782115 94.40% [DEBUG] switch_core_state_machine.c:932 (sofia/default/3146612793@alpha.astppbilling.org) State REPORTING
  177. 2024-03-19 13:50:00.782115 94.40% [INFO] mod_json_cdr.c:272 Process [ab675c91-aaf1-4765-9f0a-57b77f4b9972.cdr.json]
  178. 2024-03-19 13:50:00.822133 94.23% [DEBUG] switch_core_state_machine.c:168 sofia/default/3146612793@alpha.astppbilling.org Standard REPORTING, cause: NORMAL_CLEARING
  179. 2024-03-19 13:50:00.822133 94.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/3146612793@alpha.astppbilling.org) State REPORTING going to sleep
  180. 2024-03-19 13:50:00.822133 94.23% [DEBUG] switch_core_state_machine.c:607 (sofia/default/3146612793@alpha.astppbilling.org) State Change CS_REPORTING -> CS_DESTROY
  181. 2024-03-19 13:50:00.822133 94.23% [DEBUG] switch_core_session.c:1744 Session 575 (sofia/default/3146612793@alpha.astppbilling.org) Locked, Waiting on external entities
  182. 2024-03-19 13:50:00.822133 94.23% [NOTICE] switch_core_session.c:1762 Session 575 (sofia/default/3146612793@alpha.astppbilling.org) Ended
  183. 2024-03-19 13:50:00.822133 94.23% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/3146612793@alpha.astppbilling.org [CS_DESTROY]
  184. 2024-03-19 13:50:00.822133 94.23% [DEBUG] switch_core_state_machine.c:735 (sofia/default/3146612793@alpha.astppbilling.org) Running State Change CS_DESTROY (Cur 0 Tot 575)
  185. 2024-03-19 13:50:00.822133 94.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/3146612793@alpha.astppbilling.org) State DESTROY
  186. 2024-03-19 13:50:00.822133 94.23% [DEBUG] mod_sofia.c:380 sofia/default/3146612793@alpha.astppbilling.org SOFIA DESTROY
  187. 2024-03-19 13:50:00.822133 94.23% [DEBUG] switch_core_state_machine.c:175 sofia/default/3146612793@alpha.astppbilling.org Standard DESTROY
  188. 2024-03-19 13:50:00.822133 94.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/3146612793@alpha.astppbilling.org) State DESTROY going to sleep
  189. 2024-03-19 13:50:32.022148 92.90% [NOTICE] switch_channel.c:1142 New Channel sofia/default/3146612793@alpha.astppbilling.org [b0a2f882-7f41-4525-8f77-d74ec6ed7202]
  190. 2024-03-19 13:50:32.022148 92.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3146612793@alpha.astppbilling.org) Running State Change CS_NEW (Cur 1 Tot 576)
  191. 2024-03-19 13:50:32.022148 92.90% [INFO] sofia.c:10459 sofia/default/3146612793@alpha.astppbilling.org receiving invite from 95.217.238.195:5060 version: 1.10.10-release  64bit call-id: DLGCH_AiQ0Xx57BSoCNygXCSM3YwE0LwIcHRVjFgooXh0eBWECJCcEHiM8PxU0NEA-
  192. 2024-03-19 13:50:32.022148 92.90% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 95.217.238.195:0.
  193. 2024-03-19 13:50:32.022148 92.90% [DEBUG] sofia.c:10582 IP 95.217.238.195 Approved by acl "default[]". Access Granted.
  194. 2024-03-19 13:50:32.022148 92.90% [DEBUG] sofia.c:7493 Channel sofia/default/3146612793@alpha.astppbilling.org entering state [received][100]
  195. 2024-03-19 13:50:32.022148 92.90% [DEBUG] sofia.c:7503 Remote SDP:
  196. v=0
  197. o=Z 0 0 IN IP4 95.217.238.195
  198. s=Z
  199. c=IN IP4 95.217.238.195
  200. t=0 0
  201. m=audio 34592 RTP/AVP 3 110 8 0 98 101
  202. a=rtpmap:3 GSM/8000
  203. a=rtpmap:110 speex/8000
  204. a=rtpmap:8 PCMA/8000
  205. a=rtpmap:0 PCMU/8000
  206. a=rtpmap:98 iLBC/8000
  207. a=fmtp:98 mode=20
  208. a=rtpmap:101 telephone-event/8000
  209. a=fmtp:101 0-15
  210. a=rtcp:34593
  211.  
  212. 2024-03-19 13:50:32.022148 92.90% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  213. 2024-03-19 13:50:32.022148 92.90% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  214. 2024-03-19 13:50:32.022148 92.90% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  215. 2024-03-19 13:50:32.022148 92.90% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  216. 2024-03-19 13:50:32.022148 92.90% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  217. 2024-03-19 13:50:32.022148 92.90% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  218. 2024-03-19 13:50:32.022148 92.90% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  219. 2024-03-19 13:50:32.022148 92.90% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  220. 2024-03-19 13:50:32.022148 92.90% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  221. 2024-03-19 13:50:32.022148 92.90% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  222. 2024-03-19 13:50:32.022148 92.90% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  223. 2024-03-19 13:50:32.022148 92.90% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  224. 2024-03-19 13:50:32.022148 92.90% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
  225. 2024-03-19 13:50:32.022148 92.90% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/3146612793@alpha.astppbilling.org PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  226. 2024-03-19 13:50:32.022148 92.90% [DEBUG] switch_core_codec.c:111 sofia/default/3146612793@alpha.astppbilling.org Original read codec set to PCMA:8
  227. 2024-03-19 13:50:32.022148 92.90% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
  228. 2024-03-19 13:50:32.022148 92.90% [DEBUG] switch_core_media.c:5856 sofia/default/3146612793@alpha.astppbilling.org Set 2833 dtmf send payload to 101 recv payload to 101
  229. 2024-03-19 13:50:32.022148 92.90% [DEBUG] sofia.c:7927 (sofia/default/3146612793@alpha.astppbilling.org) State Change CS_NEW -> CS_INIT
  230. 2024-03-19 13:50:32.022148 92.90% [DEBUG] switch_core_state_machine.c:600 (sofia/default/3146612793@alpha.astppbilling.org) State NEW
  231. 2024-03-19 13:50:32.022148 92.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3146612793@alpha.astppbilling.org) Running State Change CS_INIT (Cur 1 Tot 576)
  232. 2024-03-19 13:50:32.022148 92.90% [DEBUG] switch_core_state_machine.c:624 (sofia/default/3146612793@alpha.astppbilling.org) State INIT
  233. 2024-03-19 13:50:32.022148 92.90% [DEBUG] mod_sofia.c:97 sofia/default/3146612793@alpha.astppbilling.org SOFIA INIT
  234. 2024-03-19 13:50:32.022148 92.90% [DEBUG] switch_core_state_machine.c:40 sofia/default/3146612793@alpha.astppbilling.org Standard INIT
  235. 2024-03-19 13:50:32.022148 92.90% [DEBUG] switch_core_state_machine.c:48 (sofia/default/3146612793@alpha.astppbilling.org) State Change CS_INIT -> CS_ROUTING
  236. 2024-03-19 13:50:32.022148 92.90% [DEBUG] switch_core_state_machine.c:624 (sofia/default/3146612793@alpha.astppbilling.org) State INIT going to sleep
  237. 2024-03-19 13:50:32.022148 92.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3146612793@alpha.astppbilling.org) Running State Change CS_ROUTING (Cur 1 Tot 576)
  238. 2024-03-19 13:50:32.022148 92.90% [DEBUG] switch_channel.c:2399 (sofia/default/3146612793@alpha.astppbilling.org) Callstate Change DOWN -> RINGING
  239. 2024-03-19 13:50:32.022148 92.90% [DEBUG] switch_core_state_machine.c:640 (sofia/default/3146612793@alpha.astppbilling.org) State ROUTING
  240. 2024-03-19 13:50:32.022148 92.90% [DEBUG] mod_sofia.c:158 sofia/default/3146612793@alpha.astppbilling.org SOFIA ROUTING
  241. 2024-03-19 13:50:32.022148 92.90% [DEBUG] switch_core_state_machine.c:230 sofia/default/3146612793@alpha.astppbilling.org Standard ROUTING
  242. 2024-03-19 13:50:32.022148 92.90% [INFO] mod_dialplan_xml.c:639 Processing 3146612793 <3146612793>->90600 in context default
  243. 2024-03-19 13:50:32.022148 92.90% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  244. 2024-03-19 13:50:32.022148 92.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  245. 2024-03-19 13:50:32.022148 92.90% [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')
  246. 2024-03-19 13:50:32.042113 92.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  247. 2024-03-19 13:50:32.042113 92.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 90600
  248. 2024-03-19 13:50:32.042113 92.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '90600' AND status=0 limit 1
  249. 2024-03-19 13:50:32.042113 92.90% [ERR] mod_lua.cpp:202 /usr/local/freeswitch/scripts/astpp/scripts/astpp.xml.lua:1266: attempt to concatenate a nil value
  250. stack traceback:
  251.         /usr/local/freeswitch/scripts/astpp/scripts/astpp.xml.lua:1266: in function 'generate_cc_dialplan'
  252.         ...ocal/freeswitch/scripts/astpp/scripts/astpp.dialplan.lua:102: in main chunk
  253.         [C]: in function 'dofile'
  254.         /usr/local/freeswitch/scripts/astpp/astpp.lua:144: in main chunk
  255. 2024-03-19 13:50:32.042113 92.90% [ERR] mod_lua.cpp:269 LUA script parse/execute error!
  256. 2024-03-19 13:50:32.042113 92.90% [WARNING] mod_dialplan_xml.c:669 Context default not found
  257. 2024-03-19 13:50:32.042113 92.90% [INFO] switch_core_state_machine.c:306 No Route, Aborting
  258. 2024-03-19 13:50:32.042113 92.90% [NOTICE] switch_core_state_machine.c:307 Hangup sofia/default/3146612793@alpha.astppbilling.org [CS_ROUTING] [NO_ROUTE_DESTINATION]
  259. 2024-03-19 13:50:32.042113 92.90% [DEBUG] switch_core_state_machine.c:640 (sofia/default/3146612793@alpha.astppbilling.org) State ROUTING going to sleep
  260. 2024-03-19 13:50:32.042113 92.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3146612793@alpha.astppbilling.org) Running State Change CS_HANGUP (Cur 1 Tot 576)
  261. 2024-03-19 13:50:32.042113 92.90% [DEBUG] switch_core_state_machine.c:844 (sofia/default/3146612793@alpha.astppbilling.org) Callstate Change RINGING -> HANGUP
  262. 2024-03-19 13:50:32.042113 92.90% [DEBUG] switch_core_state_machine.c:846 (sofia/default/3146612793@alpha.astppbilling.org) State HANGUP
  263. 2024-03-19 13:50:32.042113 92.90% [DEBUG] mod_sofia.c:469 Channel sofia/default/3146612793@alpha.astppbilling.org hanging up, cause: NO_ROUTE_DESTINATION
  264. 2024-03-19 13:50:32.042113 92.90% [DEBUG] mod_sofia.c:614 Responding to INVITE with: 404
  265. 2024-03-19 13:50:32.042113 92.90% [DEBUG] switch_core_state_machine.c:59 sofia/default/3146612793@alpha.astppbilling.org Standard HANGUP, cause: NO_ROUTE_DESTINATION
  266. 2024-03-19 13:50:32.042113 92.90% [DEBUG] switch_core_state_machine.c:846 (sofia/default/3146612793@alpha.astppbilling.org) State HANGUP going to sleep
  267. 2024-03-19 13:50:32.042113 92.90% [DEBUG] switch_core_state_machine.c:616 (sofia/default/3146612793@alpha.astppbilling.org) State Change CS_HANGUP -> CS_REPORTING
  268. 2024-03-19 13:50:32.042113 92.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3146612793@alpha.astppbilling.org) Running State Change CS_REPORTING (Cur 1 Tot 576)
  269. 2024-03-19 13:50:32.042113 92.90% [DEBUG] switch_core_state_machine.c:932 (sofia/default/3146612793@alpha.astppbilling.org) State REPORTING
  270. 2024-03-19 13:50:32.042113 92.90% [INFO] mod_json_cdr.c:272 Process [b0a2f882-7f41-4525-8f77-d74ec6ed7202.cdr.json]
  271. 2024-03-19 13:50:32.062122 92.90% [DEBUG] switch_core_state_machine.c:168 sofia/default/3146612793@alpha.astppbilling.org Standard REPORTING, cause: NO_ROUTE_DESTINATION
  272. 2024-03-19 13:50:32.062122 92.90% [DEBUG] switch_core_state_machine.c:932 (sofia/default/3146612793@alpha.astppbilling.org) State REPORTING going to sleep
  273. 2024-03-19 13:50:32.062122 92.90% [DEBUG] switch_core_state_machine.c:607 (sofia/default/3146612793@alpha.astppbilling.org) State Change CS_REPORTING -> CS_DESTROY
  274. 2024-03-19 13:50:32.062122 92.90% [DEBUG] switch_core_session.c:1744 Session 576 (sofia/default/3146612793@alpha.astppbilling.org) Locked, Waiting on external entities
  275. 2024-03-19 13:50:32.062122 92.90% [NOTICE] switch_core_session.c:1762 Session 576 (sofia/default/3146612793@alpha.astppbilling.org) Ended
  276. 2024-03-19 13:50:32.062122 92.90% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/3146612793@alpha.astppbilling.org [CS_DESTROY]
  277. 2024-03-19 13:50:32.062122 92.90% [DEBUG] switch_core_state_machine.c:735 (sofia/default/3146612793@alpha.astppbilling.org) Running State Change CS_DESTROY (Cur 0 Tot 576)
  278. 2024-03-19 13:50:32.062122 92.90% [DEBUG] switch_core_state_machine.c:745 (sofia/default/3146612793@alpha.astppbilling.org) State DESTROY
  279. 2024-03-19 13:50:32.062122 92.90% [DEBUG] mod_sofia.c:380 sofia/default/3146612793@alpha.astppbilling.org SOFIA DESTROY
  280. 2024-03-19 13:50:32.062122 92.90% [DEBUG] switch_core_state_machine.c:175 sofia/default/3146612793@alpha.astppbilling.org Standard DESTROY
  281. 2024-03-19 13:50:32.062122 92.90% [DEBUG] switch_core_state_machine.c:745 (sofia/default/3146612793@alpha.astppbilling.org) State DESTROY going to sleep
  282. freeswitch@v6>
  283. freeswitch@v6>
  284. freeswitch@v6>
  285. freeswitch@v6>