From Prashant Kumar, 2 Years ago, written in FreeSWITCH.
- view diff
Embed
  1. freeswitch@devangASTPP>
  2. freeswitch@devangASTPP>
  3. freeswitch@devangASTPP>
  4. 2022-09-28 08:33:33.122406 76.10% [NOTICE] switch_channel.c:1123 New Channel sofia/default/990006@astppqa601.astppbilling.org:5072 [79eba639-a6de-4e3f-9ce9-db8798407bc5]
  5. 2022-09-28 08:33:33.122406 76.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990006@astppqa601.astppbilling.org:5072) Running State Change CS_NEW (Cur 1 Tot 13)
  6. 2022-09-28 08:33:33.122406 76.10% [INFO] sofia.c:10462 sofia/default/990006@astppqa601.astppbilling.org:5072 receiving invite from 103.240.35.46:58370 version: 1.10.7 -release 64bit call-id: Y2JiZjRiNGZlYjJhNTcyMjRjMzFhN2VhZDYxOWIzYWQ.
  7. 2022-09-28 08:33:33.122406 76.10% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  8. 2022-09-28 08:33:33.122406 76.10% [DEBUG] sofia.c:10585 IP 103.240.35.46 Approved by acl "default[]". Access Granted.
  9. 2022-09-28 08:33:33.122406 76.10% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  10. 2022-09-28 08:33:33.122406 76.10% [DEBUG] sofia.c:7499 Channel sofia/default/990006@astppqa601.astppbilling.org:5072 entering state [received][100]
  11. 2022-09-28 08:33:33.122406 76.10% [DEBUG] sofia.c:7509 Remote SDP:
  12. v=0
  13. o=Z 0 0 IN IP4 103.240.35.46
  14. s=Z
  15. c=IN IP4 103.240.35.46
  16. t=0 0
  17. m=audio 6453 RTP/AVP 3 110 8 0 98 101
  18. a=rtpmap:110 speex/8000
  19. a=rtpmap:98 iLBC/8000
  20. a=fmtp:98 mode=20
  21. a=rtpmap:101 telephone-event/8000
  22. a=fmtp:101 0-15
  23.  
  24. 2022-09-28 08:33:33.122406 76.10% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  25. 2022-09-28 08:33:33.122406 76.10% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  26. 2022-09-28 08:33:33.122406 76.10% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  27. 2022-09-28 08:33:33.122406 76.10% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  28. 2022-09-28 08:33:33.122406 76.10% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  29. 2022-09-28 08:33:33.122406 76.10% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  30. 2022-09-28 08:33:33.122406 76.10% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  31. 2022-09-28 08:33:33.122406 76.10% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  32. 2022-09-28 08:33:33.122406 76.10% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  33. 2022-09-28 08:33:33.122406 76.10% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  34. 2022-09-28 08:33:33.122406 76.10% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  35. 2022-09-28 08:33:33.122406 76.10% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  36. 2022-09-28 08:33:33.122406 76.10% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  37. 2022-09-28 08:33:33.122406 76.10% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/990006@astppqa601.astppbilling.org:5072 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  38. 2022-09-28 08:33:33.122406 76.10% [DEBUG] switch_core_codec.c:111 sofia/default/990006@astppqa601.astppbilling.org:5072 Original read codec set to PCMA:8
  39. 2022-09-28 08:33:33.122406 76.10% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  40. 2022-09-28 08:33:33.122406 76.10% [DEBUG] switch_core_media.c:5973 sofia/default/990006@astppqa601.astppbilling.org:5072 Set 2833 dtmf send payload to 101 recv payload to 101
  41. 2022-09-28 08:33:33.122406 76.10% [DEBUG] sofia.c:7933 (sofia/default/990006@astppqa601.astppbilling.org:5072) State Change CS_NEW -> CS_INIT
  42. 2022-09-28 08:33:33.122406 76.10% [DEBUG] switch_core_state_machine.c:600 (sofia/default/990006@astppqa601.astppbilling.org:5072) State NEW
  43. 2022-09-28 08:33:33.122406 76.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990006@astppqa601.astppbilling.org:5072) Running State Change CS_INIT (Cur 1 Tot 13)
  44. 2022-09-28 08:33:33.122406 76.10% [DEBUG] switch_core_state_machine.c:624 (sofia/default/990006@astppqa601.astppbilling.org:5072) State INIT
  45. 2022-09-28 08:33:33.122406 76.10% [DEBUG] mod_sofia.c:97 sofia/default/990006@astppqa601.astppbilling.org:5072 SOFIA INIT
  46. 2022-09-28 08:33:33.122406 76.10% [DEBUG] switch_core_state_machine.c:40 sofia/default/990006@astppqa601.astppbilling.org:5072 Standard INIT
  47. 2022-09-28 08:33:33.122406 76.10% [DEBUG] switch_core_state_machine.c:48 (sofia/default/990006@astppqa601.astppbilling.org:5072) State Change CS_INIT -> CS_ROUTING
  48. 2022-09-28 08:33:33.122406 76.10% [DEBUG] switch_core_state_machine.c:624 (sofia/default/990006@astppqa601.astppbilling.org:5072) State INIT going to sleep
  49. 2022-09-28 08:33:33.122406 76.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990006@astppqa601.astppbilling.org:5072) Running State Change CS_ROUTING (Cur 1 Tot 13)
  50. 2022-09-28 08:33:33.122406 76.10% [DEBUG] switch_channel.c:2380 (sofia/default/990006@astppqa601.astppbilling.org:5072) Callstate Change DOWN -> RINGING
  51. 2022-09-28 08:33:33.122406 76.10% [DEBUG] switch_core_state_machine.c:640 (sofia/default/990006@astppqa601.astppbilling.org:5072) State ROUTING
  52. 2022-09-28 08:33:33.122406 76.10% [DEBUG] mod_sofia.c:158 sofia/default/990006@astppqa601.astppbilling.org:5072 SOFIA ROUTING
  53. 2022-09-28 08:33:33.122406 76.10% [DEBUG] switch_core_state_machine.c:230 sofia/default/990006@astppqa601.astppbilling.org:5072 Standard ROUTING
  54. 2022-09-28 08:33:33.122406 76.10% [INFO] mod_dialplan_xml.c:639 Processing 990006 <990006>->10303030 in context default
  55. 2022-09-28 08:33:33.142370 76.10% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  56. 2022-09-28 08:33:33.142370 76.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  57. 2022-09-28 08:33:33.142370 76.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  58. 2022-09-28 08:33:33.142370 76.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  59. 2022-09-28 08:33:33.142370 76.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  60. 2022-09-28 08:33:33.142370 76.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 10303030
  61. 2022-09-28 08:33:33.142370 76.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '10303030' limit 1
  62. 2022-09-28 08:33:33.142370 76.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  63. 2022-09-28 08:33:33.142370 76.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '10303030' and status=0 LIMIT 1
  64. 2022-09-28 08:33:33.142370 76.10% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER990006
  65. 2022-09-28 08:33:33.142370 76.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  66. 2022-09-28 08:33:33.142370 76.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '10303030' limit 1
  67. 2022-09-28 08:33:33.142370 76.10% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  68. 2022-09-28 08:33:33.142370 76.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 990006 / 990006
  69. 2022-09-28 08:33:33.142370 76.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 30
  70. 2022-09-28 08:33:33.142370 76.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 103030 AND status=0 limit 1
  71. 2022-09-28 08:33:33.142370 76.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  72. 2022-09-28 08:33:33.142370 76.10% [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="10303030"  AND domains.domain="astppqa601.astppbilling.org" limit 1
  73. 2022-09-28 08:33:33.142370 76.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  74. 2022-09-28 08:33:33.142370 76.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("103.240.35.46") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "10303030"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  75. 2022-09-28 08:33:33.142370 76.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 752033]
  76. 2022-09-28 08:33:33.142370 76.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =10303030
  77. 2022-09-28 08:33:33.142370 76.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "752033" AND deleted = 0 limit 1
  78. 2022-09-28 08:33:33.142370 76.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^10303030.*' OR blocked_patterns = '^1030303.*' OR blocked_patterns = '^103030.*' OR blocked_patterns = '^10303.*' OR blocked_patterns = '^1030.*' OR blocked_patterns = '^103.*' OR blocked_patterns = '^10.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 17 limit 1
  79. 2022-09-28 08:33:33.142370 76.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  80. 2022-09-28 08:33:33.142370 76.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 69
  81. 2022-09-28 08:33:33.142370 76.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 69 AND status=0 limit 1
  82. 2022-09-28 08:33:33.162359 76.10% [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 = '^10303030.*' OR patterns = '^1030303.*' OR patterns = '^103030.*' OR patterns = '^10303.*' OR patterns = '^1030.*' OR patterns = '^103.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 17 ORDER BY LENGTH(PKGPTR.patterns) DESC
  83. 2022-09-28 08:33:33.162359 76.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Package ID : 243
  84. 2022-09-28 08:33:33.162359 76.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Product ID : 153
  85. 2022-09-28 08:33:33.162359 76.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from products WHERE id = 153 AND status = 0
  86. 2022-09-28 08:33:33.162359 76.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Apply On Rategroups For Free Product :
  87. 2022-09-28 08:33:33.162359 76.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Package Type : 2 Call Direction : outbound [0:inbound,1:outbound,2:both]
  88. 2022-09-28 08:33:33.162359 76.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_COUNTER_INFO] Query :SELECT used_seconds FROM counters  WHERE  accountid = 17 AND package_id = 243 AND status=1 LIMIT 1
  89. 2022-09-28 08:33:33.162359 76.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Remaining Minutes : 13
  90. 2022-09-28 08:33:33.162359 76.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Package Id : 243
  91. 2022-09-28 08:33:33.162359 76.10% [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 ="10303030" AND A.accountid = '17' limit 1
  92. 2022-09-28 08:33:33.162359 76.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 10303030
  93. 2022-09-28 08:33:33.162359 76.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  94. 2022-09-28 08:33:33.162359 76.10% [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="10303030"  AND domains.domain="astppqa601.astppbilling.org" limit 1
  95. 2022-09-28 08:33:33.162359 76.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  96. 2022-09-28 08:33:33.162359 76.10% [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 = '10303030' OR number = '1030303' OR number = '103030' OR number = '10303' OR number = '1030' OR number = '103' OR number = '10' OR number = '1' OR number ='--') OR (number = '10303030*' OR number = '1030303*' OR number = '103030*' OR number = '10303*' OR number = '1030*' OR number = '103*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '990006' OR number = '99000' OR number = '9900' OR number = '990' OR number = '99' OR number = '9' OR number ='--') OR (number = '990006*' OR number = '99000*' OR number = '9900*' OR number = '990*' OR number = '99*' OR number = '9*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  97. 2022-09-28 08:33:33.162359 76.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  98. 2022-09-28 08:33:33.162359 76.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '10303030' OR routing_prefix = '1030303' OR routing_prefix = '103030' OR routing_prefix = '10303' OR routing_prefix = '1030' OR routing_prefix = '103' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  99. 2022-09-28 08:33:33.162359 76.10% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  100. 2022-09-28 08:33:33.162359 76.10% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 17
  101. 2022-09-28 08:33:33.162359 76.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 752033
  102. 2022-09-28 08:33:33.162359 76.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 4743.9166
  103. 2022-09-28 08:33:33.162359 76.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  104. 2022-09-28 08:33:33.162359 76.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 81
  105. 2022-09-28 08:33:33.162359 76.10% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  106. 2022-09-28 08:33:33.162359 76.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  107. 2022-09-28 08:33:33.162359 76.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  108. 2022-09-28 08:33:33.162359 76.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::81
  109. 2022-09-28 08:33:33.162359 76.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  110. 2022-09-28 08:33:33.162359 76.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  111. 2022-09-28 08:33:33.162359 76.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::81
  112. 2022-09-28 08:33:33.162359 76.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^10303030.*' OR pattern = '^1030303.*' OR pattern = '^103030.*' OR pattern = '^10303.*' OR pattern = '^1030.*' OR pattern = '^103.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND (caller_id_pattern = '^990006.*' OR caller_id_pattern = '^99000.*' OR caller_id_pattern = '^9900.*' OR caller_id_pattern = '^990.*' OR caller_id_pattern = '^99.*' OR caller_id_pattern = '^9.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 81 OR accountid=17)  ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  113. 2022-09-28 08:33:33.162359 76.10% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  114. 2022-09-28 08:33:33.162359 76.10% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Rates Not Found :
  115. 2022-09-28 08:33:33.162359 76.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP]  Post Cdrs : 0
  116. 2022-09-28 08:33:33.162359 76.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 17
  117. 2022-09-28 08:33:33.162359 76.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
  118. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  119. <document type="freeswitch/xml">
  120. <section name="dialplan" description="ASTPP Dialplan">
  121. <context name="default">
  122. <extension name="10303030">
  123. <condition field="destination_number" expression="10303030">
  124. <action application="log" data="WARNING Accountcode . Dialed number (10303030)  origination rates not found!!"/>
  125. <action application="set" data="original_caller_id_name=990006"/>
  126. <action application="set" data="original_caller_id_number=990006"/>
  127. <action application="set" data="error_cdr=1"/>
  128. <action application="set" data="callstart=2022-09-28 08:33:33"/>
  129. <action application="set" data="account_id=17"/>
  130. <action application="set" data="parent_id=0"/>
  131. <action application="set" data="call_direction=outbound"/>
  132. <action application="set" data="sip_ignore_remote_cause=true"/>
  133. <action application="set" data="call_processed=internal"/>
  134. <action application="set" data="effective_destination_number=10303030"/>
  135. <action application="set" data="last_bridge_hangup_cause=ORIGINATION_RATE_NOT_FOUND"/>
  136. <action application="hangup" data="ORIGINATION_RATE_NOT_FOUND"/>
  137. </condition>
  138. </extension>
  139. </context>
  140. </section>
  141. </document>
  142. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 parsing [default->10303030] continue=false
  143. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Regex (PASS) [10303030] destination_number(10303030) =~ /10303030/ break=on-false
  144. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action log(WARNING Accountcode . Dialed number (10303030)  origination rates not found!!)
  145. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(original_caller_id_name=990006)
  146. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(original_caller_id_number=990006)
  147. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(error_cdr=1)
  148. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(callstart=2022-09-28 08:33:33)
  149. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(account_id=17)
  150. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(parent_id=0)
  151. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(call_direction=outbound)
  152. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(sip_ignore_remote_cause=true)
  153. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(call_processed=internal)
  154. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(effective_destination_number=10303030)
  155. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(last_bridge_hangup_cause=ORIGINATION_RATE_NOT_FOUND)
  156. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action hangup(ORIGINATION_RATE_NOT_FOUND)
  157. 2022-09-28 08:33:33.162359 76.10% [DEBUG] switch_core_state_machine.c:281 (sofia/default/990006@astppqa601.astppbilling.org:5072) State Change CS_ROUTING -> CS_EXECUTE
  158. 2022-09-28 08:33:33.162359 76.10% [DEBUG] switch_core_state_machine.c:640 (sofia/default/990006@astppqa601.astppbilling.org:5072) State ROUTING going to sleep
  159. 2022-09-28 08:33:33.162359 76.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990006@astppqa601.astppbilling.org:5072) Running State Change CS_EXECUTE (Cur 1 Tot 13)
  160. 2022-09-28 08:33:33.162359 76.10% [DEBUG] switch_core_state_machine.c:647 (sofia/default/990006@astppqa601.astppbilling.org:5072) State EXECUTE
  161. 2022-09-28 08:33:33.162359 76.10% [DEBUG] mod_sofia.c:213 sofia/default/990006@astppqa601.astppbilling.org:5072 SOFIA EXECUTE
  162. 2022-09-28 08:33:33.162359 76.10% [DEBUG] switch_core_state_machine.c:323 sofia/default/990006@astppqa601.astppbilling.org:5072 Standard EXECUTE
  163. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 log(WARNING Accountcode . Dialed number (10303030)  origination rates not found!!)
  164. 2022-09-28 08:33:33.162359 76.10% [WARNING] mod_dptools.c:1879 Accountcode . Dialed number (10303030)  origination rates not found!!
  165. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(original_caller_id_name=990006)
  166. 2022-09-28 08:33:33.162359 76.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [original_caller_id_name]=[990006]
  167. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(original_caller_id_number=990006)
  168. 2022-09-28 08:33:33.162359 76.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [original_caller_id_number]=[990006]
  169. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(error_cdr=1)
  170. 2022-09-28 08:33:33.162359 76.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [error_cdr]=[1]
  171. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(callstart=2022-09-28 08:33:33)
  172. 2022-09-28 08:33:33.162359 76.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [callstart]=[2022-09-28 08:33:33]
  173. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(account_id=17)
  174. 2022-09-28 08:33:33.162359 76.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [account_id]=[17]
  175. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(parent_id=0)
  176. 2022-09-28 08:33:33.162359 76.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [parent_id]=[0]
  177. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(call_direction=outbound)
  178. 2022-09-28 08:33:33.162359 76.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [call_direction]=[outbound]
  179. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(sip_ignore_remote_cause=true)
  180. 2022-09-28 08:33:33.162359 76.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [sip_ignore_remote_cause]=[true]
  181. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(call_processed=internal)
  182. 2022-09-28 08:33:33.162359 76.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [call_processed]=[internal]
  183. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(effective_destination_number=10303030)
  184. 2022-09-28 08:33:33.162359 76.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [effective_destination_number]=[10303030]
  185. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(last_bridge_hangup_cause=ORIGINATION_RATE_NOT_FOUND)
  186. 2022-09-28 08:33:33.162359 76.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [last_bridge_hangup_cause]=[ORIGINATION_RATE_NOT_FOUND]
  187. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 hangup(ORIGINATION_RATE_NOT_FOUND)
  188. 2022-09-28 08:33:33.162359 76.10% [NOTICE] mod_dptools.c:1387 Hangup sofia/default/990006@astppqa601.astppbilling.org:5072 [CS_EXECUTE] [NORMAL_CLEARING]
  189. 2022-09-28 08:33:33.162359 76.10% [DEBUG] switch_core_session.c:2983 sofia/default/990006@astppqa601.astppbilling.org:5072 skip receive message [PHONE_EVENT] (channel is hungup already)
  190. 2022-09-28 08:33:33.162359 76.10% [DEBUG] switch_core_state_machine.c:647 (sofia/default/990006@astppqa601.astppbilling.org:5072) State EXECUTE going to sleep
  191. 2022-09-28 08:33:33.162359 76.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990006@astppqa601.astppbilling.org:5072) Running State Change CS_HANGUP (Cur 1 Tot 13)
  192. 2022-09-28 08:33:33.162359 76.10% [DEBUG] switch_core_state_machine.c:844 (sofia/default/990006@astppqa601.astppbilling.org:5072) Callstate Change RINGING -> HANGUP
  193. 2022-09-28 08:33:33.162359 76.10% [DEBUG] switch_core_state_machine.c:846 (sofia/default/990006@astppqa601.astppbilling.org:5072) State HANGUP
  194. 2022-09-28 08:33:33.162359 76.10% [DEBUG] mod_sofia.c:468 Channel sofia/default/990006@astppqa601.astppbilling.org:5072 hanging up, cause: NORMAL_CLEARING
  195. 2022-09-28 08:33:33.162359 76.10% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 480
  196. 2022-09-28 08:33:33.162359 76.10% [DEBUG] switch_core_state_machine.c:59 sofia/default/990006@astppqa601.astppbilling.org:5072 Standard HANGUP, cause: NORMAL_CLEARING
  197. 2022-09-28 08:33:33.162359 76.10% [DEBUG] switch_core_state_machine.c:846 (sofia/default/990006@astppqa601.astppbilling.org:5072) State HANGUP going to sleep
  198. 2022-09-28 08:33:33.162359 76.10% [DEBUG] switch_core_state_machine.c:616 (sofia/default/990006@astppqa601.astppbilling.org:5072) State Change CS_HANGUP -> CS_REPORTING
  199. 2022-09-28 08:33:33.162359 76.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990006@astppqa601.astppbilling.org:5072) Running State Change CS_REPORTING (Cur 1 Tot 13)
  200. 2022-09-28 08:33:33.162359 76.10% [DEBUG] switch_core_state_machine.c:932 (sofia/default/990006@astppqa601.astppbilling.org:5072) State REPORTING
  201. 2022-09-28 08:33:33.162359 76.10% [INFO] mod_json_cdr.c:271 Process [79eba639-a6de-4e3f-9ce9-db8798407bc5.cdr.json]
  202. 2022-09-28 08:33:33.182354 76.10% [DEBUG] switch_core_state_machine.c:168 sofia/default/990006@astppqa601.astppbilling.org:5072 Standard REPORTING, cause: NORMAL_CLEARING
  203. 2022-09-28 08:33:33.182354 76.10% [DEBUG] switch_core_state_machine.c:932 (sofia/default/990006@astppqa601.astppbilling.org:5072) State REPORTING going to sleep
  204. 2022-09-28 08:33:33.182354 76.10% [DEBUG] switch_core_state_machine.c:607 (sofia/default/990006@astppqa601.astppbilling.org:5072) State Change CS_REPORTING -> CS_DESTROY
  205. 2022-09-28 08:33:33.182354 76.10% [DEBUG] switch_core_session.c:1753 Session 13 (sofia/default/990006@astppqa601.astppbilling.org:5072) Locked, Waiting on external entities
  206. 2022-09-28 08:33:33.182354 76.10% [NOTICE] switch_core_session.c:1771 Session 13 (sofia/default/990006@astppqa601.astppbilling.org:5072) Ended
  207. 2022-09-28 08:33:33.182354 76.10% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/990006@astppqa601.astppbilling.org:5072 [CS_DESTROY]
  208. 2022-09-28 08:33:33.182354 76.10% [DEBUG] switch_core_state_machine.c:735 (sofia/default/990006@astppqa601.astppbilling.org:5072) Running State Change CS_DESTROY (Cur 0 Tot 13)
  209. 2022-09-28 08:33:33.182354 76.10% [DEBUG] switch_core_state_machine.c:745 (sofia/default/990006@astppqa601.astppbilling.org:5072) State DESTROY
  210. 2022-09-28 08:33:33.182354 76.10% [DEBUG] mod_sofia.c:379 sofia/default/990006@astppqa601.astppbilling.org:5072 SOFIA DESTROY
  211. 2022-09-28 08:33:33.182354 76.10% [DEBUG] switch_core_state_machine.c:175 sofia/default/990006@astppqa601.astppbilling.org:5072 Standard DESTROY
  212. 2022-09-28 08:33:33.182354 76.10% [DEBUG] switch_core_state_machine.c:745 (sofia/default/990006@astppqa601.astppbilling.org:5072) State DESTROY going to sleep
  213. 2022-09-28 08:33:45.582393 90.27% [NOTICE] sofia_reg.c:459 Registering KNIN
  214. freeswitch@devangASTPP>