From Prashant Kumar, 2 Years ago, written in FreeSWITCH.
- go back
Embed
Viewing differences between and redis_cli issue during DID localization
  1. +OK log level  [7]
  2. freeswitch@devangASTPP>
  3. freeswitch@devangASTPP>
  4. 2022-09-27 09:07:17.761271 90.23% [NOTICE] switch_channel.c:1123 New Channel sofia/default/990006@astppqa601.astppbilling.org:5072 [08614ed7-f7c0-4d2d-bfd7-8e6b7ea5a1e7]
  5. 2022-09-27 09:07:17.761271 90.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990006@astppqa601.astppbilling.org:5072) Running State Change CS_NEW (Cur 1 Tot 20)
  6. 2022-09-27 09:07:17.761271 90.23% [INFO] sofia.c:10462 sofia/default/990006@astppqa601.astppbilling.org:5072 receiving invite from 103.240.35.46:5078 version: 1.10.7 -release 64bit call-id: kydrfyuixrbbrea@pk-qa
  7. 2022-09-27 09:07:17.761271 90.23% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  8. 2022-09-27 09:07:17.761271 90.23% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [9667000@astppqa601.astppbilling.org] from ip 103.240.35.46
  9. 2022-09-27 09:07:17.761271 90.23% [DEBUG] switch_core_state_machine.c:600 (sofia/default/990006@astppqa601.astppbilling.org:5072) State NEW
  10. 2022-09-27 09:07:17.761271 90.23% [DEBUG] sofia.c:2419 detaching session 08614ed7-f7c0-4d2d-bfd7-8e6b7ea5a1e7
  11. 2022-09-27 09:07:17.901272 90.23% [DEBUG] sofia.c:2532 Re-attaching to session 08614ed7-f7c0-4d2d-bfd7-8e6b7ea5a1e7
  12. 2022-09-27 09:07:17.921256 90.23% [INFO] sofia.c:10462 sofia/default/990006@astppqa601.astppbilling.org:5072 receiving invite from 103.240.35.46:5078 version: 1.10.7 -release 64bit call-id: kydrfyuixrbbrea@pk-qa
  13. 2022-09-27 09:07:17.921256 90.23% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  14. 2022-09-27 09:07:17.941260 90.23% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  15. 2022-09-27 09:07:17.941260 90.23% [DEBUG] sofia.c:7499 Channel sofia/default/990006@astppqa601.astppbilling.org:5072 entering state [received][100]
  16. 2022-09-27 09:07:17.941260 90.23% [DEBUG] sofia.c:7509 Remote SDP:
  17. v=0
  18. o=twinkle 741217609 1016883257 IN IP4 192.168.1.51
  19. s=-
  20. c=IN IP4 192.168.1.51
  21. t=0 0
  22. m=audio 8000 RTP/AVP 98 97 8 0 3 101
  23. a=rtpmap:98 speex/16000
  24. a=rtpmap:97 speex/8000
  25. a=rtpmap:8 PCMA/8000
  26. a=rtpmap:0 PCMU/8000
  27. a=rtpmap:3 GSM/8000
  28. a=rtpmap:101 telephone-event/8000
  29. a=fmtp:101 0-15
  30. a=ptime:20
  31.  
  32. 2022-09-27 09:07:17.941260 90.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:98:16000:20:0:1]/[PCMA:8:8000:20:64000:1]
  33. 2022-09-27 09:07:17.941260 90.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:98:16000:20:0:1]/[PCMU:0:8000:20:64000:1]
  34. 2022-09-27 09:07:17.941260 90.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:97:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  35. 2022-09-27 09:07:17.941260 90.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:97:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  36. 2022-09-27 09:07:17.941260 90.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  37. 2022-09-27 09:07:17.941260 90.23% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  38. 2022-09-27 09:07:17.941260 90.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  39. 2022-09-27 09:07:17.941260 90.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  40. 2022-09-27 09:07:17.941260 90.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  41. 2022-09-27 09:07:17.941260 90.23% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  42. 2022-09-27 09:07:17.941260 90.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  43. 2022-09-27 09:07:17.941260 90.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  44. 2022-09-27 09:07:17.941260 90.23% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  45. 2022-09-27 09:07:17.941260 90.23% [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
  46. 2022-09-27 09:07:17.941260 90.23% [DEBUG] switch_core_codec.c:111 sofia/default/990006@astppqa601.astppbilling.org:5072 Original read codec set to PCMA:8
  47. 2022-09-27 09:07:17.941260 90.23% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  48. 2022-09-27 09:07:17.941260 90.23% [DEBUG] switch_core_media.c:5973 sofia/default/990006@astppqa601.astppbilling.org:5072 Set 2833 dtmf send payload to 101 recv payload to 101
  49. 2022-09-27 09:07:17.941260 90.23% [DEBUG] sofia.c:7933 (sofia/default/990006@astppqa601.astppbilling.org:5072) State Change CS_NEW -> CS_INIT
  50. 2022-09-27 09:07:17.941260 90.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990006@astppqa601.astppbilling.org:5072) Running State Change CS_INIT (Cur 1 Tot 20)
  51. 2022-09-27 09:07:17.941260 90.23% [DEBUG] switch_core_state_machine.c:624 (sofia/default/990006@astppqa601.astppbilling.org:5072) State INIT
  52. 2022-09-27 09:07:17.941260 90.23% [DEBUG] mod_sofia.c:97 sofia/default/990006@astppqa601.astppbilling.org:5072 SOFIA INIT
  53. 2022-09-27 09:07:17.941260 90.23% [DEBUG] switch_core_state_machine.c:40 sofia/default/990006@astppqa601.astppbilling.org:5072 Standard INIT
  54. 2022-09-27 09:07:17.941260 90.23% [DEBUG] switch_core_state_machine.c:48 (sofia/default/990006@astppqa601.astppbilling.org:5072) State Change CS_INIT -> CS_ROUTING
  55. 2022-09-27 09:07:17.941260 90.23% [DEBUG] switch_core_state_machine.c:624 (sofia/default/990006@astppqa601.astppbilling.org:5072) State INIT going to sleep
  56. 2022-09-27 09:07:17.941260 90.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990006@astppqa601.astppbilling.org:5072) Running State Change CS_ROUTING (Cur 1 Tot 20)
  57. 2022-09-27 09:07:17.941260 90.23% [DEBUG] switch_channel.c:2380 (sofia/default/990006@astppqa601.astppbilling.org:5072) Callstate Change DOWN -> RINGING
  58. 2022-09-27 09:07:17.941260 90.23% [DEBUG] switch_core_state_machine.c:640 (sofia/default/990006@astppqa601.astppbilling.org:5072) State ROUTING
  59. 2022-09-27 09:07:17.941260 90.23% [DEBUG] mod_sofia.c:158 sofia/default/990006@astppqa601.astppbilling.org:5072 SOFIA ROUTING
  60. 2022-09-27 09:07:17.941260 90.23% [DEBUG] switch_core_state_machine.c:230 sofia/default/990006@astppqa601.astppbilling.org:5072 Standard ROUTING
  61. 2022-09-27 09:07:17.941260 90.23% [INFO] mod_dialplan_xml.c:639 Processing 990006 <990006>->9667000 in context default
  62. 2022-09-27 09:07:17.941260 90.23% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  63. 2022-09-27 09:07:17.961260 90.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  64. 2022-09-27 09:07:17.961260 90.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  65. 2022-09-27 09:07:17.961260 90.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  66. 2022-09-27 09:07:17.961260 90.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  67. 2022-09-27 09:07:17.961260 90.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 9667000
  68. 2022-09-27 09:07:17.961260 90.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '9667000' limit 1
  69. 2022-09-27 09:07:17.961260 90.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  70. 2022-09-27 09:07:17.961260 90.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '9667000' and status=0 LIMIT 1
  71. 2022-09-27 09:07:17.961260 90.23% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER990006
  72. 2022-09-27 09:07:17.961260 90.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  73. 2022-09-27 09:07:17.961260 90.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '9667000' limit 1
  74. 2022-09-27 09:07:17.961260 90.23% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  75. 2022-09-27 09:07:17.961260 90.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 990006 / 990006
  76. 2022-09-27 09:07:17.961260 90.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 0
  77. 2022-09-27 09:07:17.961260 90.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 966700 AND status=0 limit 1
  78. 2022-09-27 09:07:17.961260 90.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  79. 2022-09-27 09:07:17.961260 90.23% [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="9667000"  AND domains.domain="astppqa601.astppbilling.org" limit 1
  80. 2022-09-27 09:07:17.961260 90.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  81. 2022-09-27 09:07:17.961260 90.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 990006]
  82. 2022-09-27 09:07:17.961260 90.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =9667000
  83. 2022-09-27 09:07:17.961260 90.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "990006" AND deleted = 0 limit 1
  84. 2022-09-27 09:07:17.961260 90.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^9667000.*' OR blocked_patterns = '^966700.*' OR blocked_patterns = '^96670.*' OR blocked_patterns = '^9667.*' OR blocked_patterns = '^966.*' OR blocked_patterns = '^96.*' OR blocked_patterns = '^9.*' OR blocked_patterns ='--') AND accountid = 199 limit 1
  85. 2022-09-27 09:07:17.961260 90.23% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 107
  86. 2022-09-27 09:07:17.961260 90.23% [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 = 107 AND status=0 limit 1
  87. 2022-09-27 09:07:17.961260 90.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"9/1/*/*".....9667000
  88. 2022-09-27 09:07:17.961260 90.23% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 9667000
  89. 2022-09-27 09:07:17.961260 90.23% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 1667000
  90. 2022-09-27 09:07:17.961260 90.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  91. 2022-09-27 09:07:17.961260 90.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1
  92. 2022-09-27 09:07:17.961260 90.23% [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 = '^9667000.*' OR patterns = '^966700.*' OR patterns = '^96670.*' OR patterns = '^9667.*' OR patterns = '^966.*' OR patterns = '^96.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 199 ORDER BY LENGTH(PKGPTR.patterns) DESC
  93. 2022-09-27 09:07:17.961260 90.23% [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 ="9667000" AND A.accountid = '199' limit 1
  94. 2022-09-27 09:07:17.981249 90.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 9667000
  95. 2022-09-27 09:07:17.981249 90.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  96. 2022-09-27 09:07:17.981249 90.23% [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="9667000"  AND domains.domain="astppqa601.astppbilling.org" limit 1
  97. 2022-09-27 09:07:17.981249 90.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  98. 2022-09-27 09:07:17.981249 90.23% [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 = '9667000' OR number = '966700' OR number = '96670' OR number = '9667' OR number = '966' OR number = '96' OR number = '9' OR number ='--') OR (number = '9667000*' OR number = '966700*' OR number = '96670*' OR number = '9667*' OR number = '966*' OR number = '96*' 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 ='--') 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
  99. 2022-09-27 09:07:17.981249 90.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  100. 2022-09-27 09:07:17.981249 90.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '9667000' OR routing_prefix = '966700' OR routing_prefix = '96670' OR routing_prefix = '9667' OR routing_prefix = '966' OR routing_prefix = '96' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  101. 2022-09-27 09:07:17.981249 90.23% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  102. 2022-09-27 09:07:17.981249 90.23% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 199
  103. 2022-09-27 09:07:17.981249 90.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 990006
  104. 2022-09-27 09:07:17.981249 90.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 11941.56
  105. 2022-09-27 09:07:17.981249 90.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  106. 2022-09-27 09:07:17.981249 90.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 57
  107. 2022-09-27 09:07:17.981249 90.23% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  108. 2022-09-27 09:07:17.981249 90.23% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  109. 2022-09-27 09:07:17.981249 90.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  110. 2022-09-27 09:07:17.981249 90.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::57
  111. 2022-09-27 09:07:17.981249 90.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  112. 2022-09-27 09:07:17.981249 90.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  113. 2022-09-27 09:07:17.981249 90.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::57
  114. 2022-09-27 09:07:17.981249 90.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^9667000.*' OR pattern = '^966700.*' OR pattern = '^96670.*' OR pattern = '^9667.*' OR pattern = '^966.*' OR pattern = '^96.*' OR pattern = '^9.*' 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 = 57 OR accountid=199)  ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  115. 2022-09-27 09:07:17.981249 90.23% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  116. 2022-09-27 09:07:17.981249 90.23% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Rates Not Found :
  117. 2022-09-27 09:07:17.981249 90.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP]  Post Cdrs : 0
  118. 2022-09-27 09:07:17.981249 90.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 199
  119. 2022-09-27 09:07:17.981249 90.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
  120. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  121. <document type="freeswitch/xml">
  122. <section name="dialplan" description="ASTPP Dialplan">
  123. <context name="default">
  124. <extension name="9667000">
  125. <condition field="destination_number" expression="9667000">
  126. <action application="log" data="WARNING Accountcode 990006. Dialed number (9667000)  origination rates not found!!"/>
  127. <action application="set" data="original_caller_id_name=990006"/>
  128. <action application="set" data="original_caller_id_number=990006"/>
  129. <action application="set" data="error_cdr=1"/>
  130. <action application="set" data="callstart=2022-09-27 09:07:17"/>
  131. <action application="set" data="account_id=199"/>
  132. <action application="set" data="parent_id=0"/>
  133. <action application="set" data="call_direction=outbound"/>
  134. <action application="set" data="sip_ignore_remote_cause=true"/>
  135. <action application="set" data="call_processed=internal"/>
  136. <action application="set" data="effective_destination_number=9667000"/>
  137. <action application="set" data="last_bridge_hangup_cause=ORIGINATION_RATE_NOT_FOUND"/>
  138. <action application="hangup" data="ORIGINATION_RATE_NOT_FOUND"/>
  139. </condition>
  140. </extension>
  141. </context>
  142. </section>
  143. </document>
  144. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 parsing [default->9667000] continue=false
  145. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Regex (PASS) [9667000] destination_number(9667000) =~ /9667000/ break=on-false
  146. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action log(WARNING Accountcode 990006. Dialed number (9667000)  origination rates not found!!)
  147. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(original_caller_id_name=990006)
  148. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(original_caller_id_number=990006)
  149. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(error_cdr=1)
  150. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(callstart=2022-09-27 09:07:17)
  151. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(account_id=199)
  152. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(parent_id=0)
  153. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(call_direction=outbound)
  154. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(sip_ignore_remote_cause=true)
  155. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(call_processed=internal)
  156. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(effective_destination_number=9667000)
  157. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(last_bridge_hangup_cause=ORIGINATION_RATE_NOT_FOUND)
  158. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action hangup(ORIGINATION_RATE_NOT_FOUND)
  159. 2022-09-27 09:07:17.981249 90.23% [DEBUG] switch_core_state_machine.c:281 (sofia/default/990006@astppqa601.astppbilling.org:5072) State Change CS_ROUTING -> CS_EXECUTE
  160. 2022-09-27 09:07:17.981249 90.23% [DEBUG] switch_core_state_machine.c:640 (sofia/default/990006@astppqa601.astppbilling.org:5072) State ROUTING going to sleep
  161. 2022-09-27 09:07:17.981249 90.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990006@astppqa601.astppbilling.org:5072) Running State Change CS_EXECUTE (Cur 1 Tot 20)
  162. 2022-09-27 09:07:17.981249 90.23% [DEBUG] switch_core_state_machine.c:647 (sofia/default/990006@astppqa601.astppbilling.org:5072) State EXECUTE
  163. 2022-09-27 09:07:17.981249 90.23% [DEBUG] mod_sofia.c:213 sofia/default/990006@astppqa601.astppbilling.org:5072 SOFIA EXECUTE
  164. 2022-09-27 09:07:17.981249 90.23% [DEBUG] switch_core_state_machine.c:323 sofia/default/990006@astppqa601.astppbilling.org:5072 Standard EXECUTE
  165. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 log(WARNING Accountcode 990006. Dialed number (9667000)  origination rates not found!!)
  166. 2022-09-27 09:07:17.981249 90.23% [WARNING] mod_dptools.c:1879 Accountcode 990006. Dialed number (9667000)  origination rates not found!!
  167. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(original_caller_id_name=990006)
  168. 2022-09-27 09:07:17.981249 90.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [original_caller_id_name]=[990006]
  169. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(original_caller_id_number=990006)
  170. 2022-09-27 09:07:17.981249 90.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [original_caller_id_number]=[990006]
  171. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(error_cdr=1)
  172. 2022-09-27 09:07:17.981249 90.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [error_cdr]=[1]
  173. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(callstart=2022-09-27 09:07:17)
  174. 2022-09-27 09:07:17.981249 90.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [callstart]=[2022-09-27 09:07:17]
  175. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(account_id=199)
  176. 2022-09-27 09:07:17.981249 90.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [account_id]=[199]
  177. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(parent_id=0)
  178. 2022-09-27 09:07:17.981249 90.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [parent_id]=[0]
  179. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(call_direction=outbound)
  180. 2022-09-27 09:07:17.981249 90.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [call_direction]=[outbound]
  181. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(sip_ignore_remote_cause=true)
  182. 2022-09-27 09:07:17.981249 90.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [sip_ignore_remote_cause]=[true]
  183. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(call_processed=internal)
  184. 2022-09-27 09:07:17.981249 90.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [call_processed]=[internal]
  185. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(effective_destination_number=9667000)
  186. 2022-09-27 09:07:17.981249 90.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [effective_destination_number]=[9667000]
  187. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(last_bridge_hangup_cause=ORIGINATION_RATE_NOT_FOUND)
  188. 2022-09-27 09:07:17.981249 90.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [last_bridge_hangup_cause]=[ORIGINATION_RATE_NOT_FOUND]
  189. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 hangup(ORIGINATION_RATE_NOT_FOUND)
  190. 2022-09-27 09:07:17.981249 90.23% [NOTICE] mod_dptools.c:1387 Hangup sofia/default/990006@astppqa601.astppbilling.org:5072 [CS_EXECUTE] [NORMAL_CLEARING]
  191. 2022-09-27 09:07:17.981249 90.23% [DEBUG] switch_core_session.c:2983 sofia/default/990006@astppqa601.astppbilling.org:5072 skip receive message [PHONE_EVENT] (channel is hungup already)
  192. 2022-09-27 09:07:17.981249 90.23% [DEBUG] switch_core_state_machine.c:647 (sofia/default/990006@astppqa601.astppbilling.org:5072) State EXECUTE going to sleep
  193. 2022-09-27 09:07:17.981249 90.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990006@astppqa601.astppbilling.org:5072) Running State Change CS_HANGUP (Cur 1 Tot 20)
  194. 2022-09-27 09:07:17.981249 90.23% [DEBUG] switch_core_state_machine.c:844 (sofia/default/990006@astppqa601.astppbilling.org:5072) Callstate Change RINGING -> HANGUP
  195. 2022-09-27 09:07:17.981249 90.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/990006@astppqa601.astppbilling.org:5072) State HANGUP
  196. 2022-09-27 09:07:17.981249 90.23% [DEBUG] mod_sofia.c:468 Channel sofia/default/990006@astppqa601.astppbilling.org:5072 hanging up, cause: NORMAL_CLEARING
  197. 2022-09-27 09:07:17.981249 90.23% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 480
  198. 2022-09-27 09:07:17.981249 90.23% [DEBUG] switch_core_state_machine.c:59 sofia/default/990006@astppqa601.astppbilling.org:5072 Standard HANGUP, cause: NORMAL_CLEARING
  199. 2022-09-27 09:07:17.981249 90.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/990006@astppqa601.astppbilling.org:5072) State HANGUP going to sleep
  200. 2022-09-27 09:07:17.981249 90.23% [DEBUG] switch_core_state_machine.c:616 (sofia/default/990006@astppqa601.astppbilling.org:5072) State Change CS_HANGUP -> CS_REPORTING
  201. 2022-09-27 09:07:17.981249 90.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990006@astppqa601.astppbilling.org:5072) Running State Change CS_REPORTING (Cur 1 Tot 20)
  202. 2022-09-27 09:07:17.981249 90.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/990006@astppqa601.astppbilling.org:5072) State REPORTING
  203. 2022-09-27 09:07:17.981249 90.23% [INFO] mod_json_cdr.c:271 Process [08614ed7-f7c0-4d2d-bfd7-8e6b7ea5a1e7.cdr.json]
  204. 2022-09-27 09:07:18.001237 90.23% [DEBUG] switch_core_state_machine.c:168 sofia/default/990006@astppqa601.astppbilling.org:5072 Standard REPORTING, cause: NORMAL_CLEARING
  205. 2022-09-27 09:07:18.001237 90.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/990006@astppqa601.astppbilling.org:5072) State REPORTING going to sleep
  206. 2022-09-27 09:07:18.001237 90.23% [DEBUG] switch_core_state_machine.c:607 (sofia/default/990006@astppqa601.astppbilling.org:5072) State Change CS_REPORTING -> CS_DESTROY
  207. 2022-09-27 09:07:18.001237 90.23% [DEBUG] switch_core_session.c:1753 Session 20 (sofia/default/990006@astppqa601.astppbilling.org:5072) Locked, Waiting on external entities
  208. 2022-09-27 09:07:18.001237 90.23% [NOTICE] switch_core_session.c:1771 Session 20 (sofia/default/990006@astppqa601.astppbilling.org:5072) Ended
  209. 2022-09-27 09:07:18.001237 90.23% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/990006@astppqa601.astppbilling.org:5072 [CS_DESTROY]
  210. 2022-09-27 09:07:18.001237 90.23% [DEBUG] switch_core_state_machine.c:735 (sofia/default/990006@astppqa601.astppbilling.org:5072) Running State Change CS_DESTROY (Cur 0 Tot 20)
  211. 2022-09-27 09:07:18.001237 90.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/990006@astppqa601.astppbilling.org:5072) State DESTROY
  212. 2022-09-27 09:07:18.001237 90.23% [DEBUG] mod_sofia.c:379 sofia/default/990006@astppqa601.astppbilling.org:5072 SOFIA DESTROY
  213. 2022-09-27 09:07:18.001237 90.23% [DEBUG] switch_core_state_machine.c:175 sofia/default/990006@astppqa601.astppbilling.org:5072 Standard DESTROY
  214. 2022-09-27 09:07:18.001237 90.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/990006@astppqa601.astppbilling.org:5072) State DESTROY going to sleep
  215. 2022-09-27 09:07:27.381264 89.67% [ERR] sofia_reg.c:2677 KNIN Failed Registration with status Request Timeout [408]. failure #16
  216. 2022-09-27 09:07:28.261291 89.73% [WARNING] sofia_reg.c:516 KNIN Failed Registration [408], setting retry to 480 seconds.
  217. 2022-09-27 09:07:29.541237 89.67% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [6602928605@astppqa601.astppbilling.org] from ip 103.240.35.46
  218. 2022-09-27 09:07:30.021297 89.67% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [6602928605@astppqa601.astppbilling.org] from ip 103.240.35.46
  219. 2022-09-27 09:07:30.101273 89.67% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [6602928605@astppqa601.astppbilling.org] from ip 103.240.35.46
  220. freeswitch@devangASTPP>
  221. freeswitch@devangASTPP>
  222. freeswitch@devangASTPP>