From Prashant Kumar, 6 Months ago, written in FreeSWITCH.
- view diff
Embed
  1. freeswitch@betaAlpesh>
  2. freeswitch@betaAlpesh>
  3. 2023-10-18 09:12:39.470008 91.07% [NOTICE] switch_channel.c:1123 New Channel sofia/default/4727985745@automation1betav601.astppbilling.org:5071 [2505ccca-e680-40ea-bb92-440d1260435b]
  4. 2023-10-18 09:12:39.470008 91.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4727985745@automation1betav601.astppbilling.org:5071) Running State Change CS_NEW (Cur 1 Tot 215)
  5. 2023-10-18 09:12:39.470008 91.07% [INFO] sofia.c:10453 sofia/default/4727985745@automation1betav601.astppbilling.org:5071 receiving invite from 106.206.201.177:37958 version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit call-id: YzA2ZWNmNThkYTk4MDJjMDNmODY2MThmMGEzNmE0Y2E.
  6. 2023-10-18 09:12:39.470008 91.07% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 106.206.201.177:0.
  7. 2023-10-18 09:12:39.470008 91.07% [WARNING] sofia_reg.c:1846 SIP auth challenge (INVITE) on sofia profile 'default' for [10099999@automation1betav601.astppbilling.org] from ip 106.206.201.177
  8. 2023-10-18 09:12:39.470008 91.07% [DEBUG] switch_core_state_machine.c:600 (sofia/default/4727985745@automation1betav601.astppbilling.org:5071) State NEW
  9. 2023-10-18 09:12:39.470008 91.07% [DEBUG] sofia.c:2419 detaching session 2505ccca-e680-40ea-bb92-440d1260435b
  10. 2023-10-18 09:12:40.190424 91.07% [DEBUG] sofia.c:2532 Re-attaching to session 2505ccca-e680-40ea-bb92-440d1260435b
  11. 2023-10-18 09:12:40.190424 91.07% [INFO] sofia.c:10453 sofia/default/4727985745@automation1betav601.astppbilling.org:5071 receiving invite from 106.206.201.177:37958 version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit call-id: YzA2ZWNmNThkYTk4MDJjMDNmODY2MThmMGEzNmE0Y2E.
  12. 2023-10-18 09:12:40.190424 91.07% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 106.206.201.177:0.
  13. 2023-10-18 09:12:40.209982 91.07% [DEBUG] sofia.c:11668 Setting NAT mode based on via received
  14. 2023-10-18 09:12:40.209982 91.07% [DEBUG] sofia.c:7487 Channel sofia/default/4727985745@automation1betav601.astppbilling.org:5071 entering state [received][100]
  15. 2023-10-18 09:12:40.209982 91.07% [DEBUG] sofia.c:7497 Remote SDP:
  16. v=0
  17. o=Z 0 0 IN IP4 106.206.201.177
  18. s=Z
  19. c=IN IP4 106.206.201.177
  20. t=0 0
  21. m=audio 8000 RTP/AVP 3 110 8 0 98 101
  22. a=rtpmap:110 speex/8000
  23. a=rtpmap:98 iLBC/8000
  24. a=fmtp:98 mode=20
  25. a=rtpmap:101 telephone-event/8000
  26. a=fmtp:101 0-15
  27.  
  28. 2023-10-18 09:12:40.209982 91.07% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  29. 2023-10-18 09:12:40.209982 91.07% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  30. 2023-10-18 09:12:40.209982 91.07% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  31. 2023-10-18 09:12:40.209982 91.07% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  32. 2023-10-18 09:12:40.209982 91.07% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  33. 2023-10-18 09:12:40.209982 91.07% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  34. 2023-10-18 09:12:40.209982 91.07% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  35. 2023-10-18 09:12:40.209982 91.07% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  36. 2023-10-18 09:12:40.209982 91.07% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  37. 2023-10-18 09:12:40.209982 91.07% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  38. 2023-10-18 09:12:40.209982 91.07% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  39. 2023-10-18 09:12:40.209982 91.07% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  40. 2023-10-18 09:12:40.209982 91.07% [DEBUG] switch_core_media.c:5443 Set telephone-event payload to 101@8000
  41. 2023-10-18 09:12:40.209982 91.07% [DEBUG] switch_core_media.c:3750 Set Codec sofia/default/4727985745@automation1betav601.astppbilling.org:5071 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  42. 2023-10-18 09:12:40.209982 91.07% [DEBUG] switch_core_codec.c:111 sofia/default/4727985745@automation1betav601.astppbilling.org:5071 Original read codec set to PCMA:8
  43. 2023-10-18 09:12:40.209982 91.07% [DEBUG] switch_core_media.c:5792 Set telephone-event payload to 101@8000
  44. 2023-10-18 09:12:40.209982 91.07% [DEBUG] switch_core_media.c:5850 sofia/default/4727985745@automation1betav601.astppbilling.org:5071 Set 2833 dtmf send payload to 101 recv payload to 101
  45. 2023-10-18 09:12:40.209982 91.07% [DEBUG] sofia.c:7921 (sofia/default/4727985745@automation1betav601.astppbilling.org:5071) State Change CS_NEW -> CS_INIT
  46. 2023-10-18 09:12:40.209982 91.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4727985745@automation1betav601.astppbilling.org:5071) Running State Change CS_INIT (Cur 1 Tot 215)
  47. 2023-10-18 09:12:40.209982 91.07% [DEBUG] switch_core_state_machine.c:624 (sofia/default/4727985745@automation1betav601.astppbilling.org:5071) State INIT
  48. 2023-10-18 09:12:40.209982 91.07% [DEBUG] mod_sofia.c:97 sofia/default/4727985745@automation1betav601.astppbilling.org:5071 SOFIA INIT
  49. 2023-10-18 09:12:40.209982 91.07% [DEBUG] switch_core_state_machine.c:40 sofia/default/4727985745@automation1betav601.astppbilling.org:5071 Standard INIT
  50. 2023-10-18 09:12:40.209982 91.07% [DEBUG] switch_core_state_machine.c:48 (sofia/default/4727985745@automation1betav601.astppbilling.org:5071) State Change CS_INIT -> CS_ROUTING
  51. 2023-10-18 09:12:40.209982 91.07% [DEBUG] switch_core_state_machine.c:624 (sofia/default/4727985745@automation1betav601.astppbilling.org:5071) State INIT going to sleep
  52. 2023-10-18 09:12:40.209982 91.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4727985745@automation1betav601.astppbilling.org:5071) Running State Change CS_ROUTING (Cur 1 Tot 215)
  53. 2023-10-18 09:12:40.209982 91.07% [DEBUG] switch_channel.c:2380 (sofia/default/4727985745@automation1betav601.astppbilling.org:5071) Callstate Change DOWN -> RINGING
  54. 2023-10-18 09:12:40.209982 91.07% [DEBUG] switch_core_state_machine.c:640 (sofia/default/4727985745@automation1betav601.astppbilling.org:5071) State ROUTING
  55. 2023-10-18 09:12:40.209982 91.07% [DEBUG] mod_sofia.c:158 sofia/default/4727985745@automation1betav601.astppbilling.org:5071 SOFIA ROUTING
  56. 2023-10-18 09:12:40.209982 91.07% [DEBUG] switch_core_state_machine.c:230 sofia/default/4727985745@automation1betav601.astppbilling.org:5071 Standard ROUTING
  57. 2023-10-18 09:12:40.209982 91.07% [INFO] mod_dialplan_xml.c:639 Processing 4727985745 <4727985745>->10099999 in context default
  58. 2023-10-18 09:12:40.209982 91.07% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  59. 2023-10-18 09:12:40.209982 91.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  60. 2023-10-18 09:12:40.209982 91.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  61. 2023-10-18 09:12:40.209982 91.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  62. 2023-10-18 09:12:40.229980 91.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  63. 2023-10-18 09:12:40.229980 91.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 10099999
  64. 2023-10-18 09:12:40.229980 91.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '10099999' limit 1
  65. 2023-10-18 09:12:40.229980 91.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  66. 2023-10-18 09:12:40.229980 91.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '10099999' and status=0 LIMIT 1
  67. 2023-10-18 09:12:40.229980 91.07% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER4727985745
  68. 2023-10-18 09:12:40.229980 91.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  69. 2023-10-18 09:12:40.229980 91.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'automation1betav601.astppbilling.org' limit 1
  70. 2023-10-18 09:12:40.229980 91.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '2' and username = '10099999' limit 1
  71. 2023-10-18 09:12:40.229980 91.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : ASTPP / 4810338297
  72. 2023-10-18 09:12:40.229980 91.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 99
  73. 2023-10-18 09:12:40.229980 91.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 100999 AND status=0 limit 1
  74. 2023-10-18 09:12:40.229980 91.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  75. 2023-10-18 09:12:40.229980 91.07% [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="10099999"  AND domains.domain="automation1betav601.astppbilling.org" limit 1
  76. 2023-10-18 09:12:40.229980 91.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  77. 2023-10-18 09:12:40.229980 91.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 4727985745]
  78. 2023-10-18 09:12:40.229980 91.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "4727985745" OR id = "4727985745") AND deleted = 0 limit 1
  79. 2023-10-18 09:12:40.229980 91.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^10099999.*' OR blocked_patterns = '^1009999.*' OR blocked_patterns = '^100999.*' OR blocked_patterns = '^10099.*' OR blocked_patterns = '^1009.*' OR blocked_patterns = '^100.*' OR blocked_patterns = '^10.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 2 limit 1
  80. 2023-10-18 09:12:40.229980 91.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  81. 2023-10-18 09:12:40.229980 91.07% [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 = '^10099999.*' OR patterns = '^1009999.*' OR patterns = '^100999.*' OR patterns = '^10099.*' OR patterns = '^1009.*' OR patterns = '^100.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 2 ORDER BY LENGTH(PKGPTR.patterns) DESC
  82. 2023-10-18 09:12:40.229980 91.07% [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 ="10099999" AND A.accountid = '2' limit 1
  83. 2023-10-18 09:12:40.229980 91.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 10099999
  84. 2023-10-18 09:12:40.229980 91.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  85. 2023-10-18 09:12:40.229980 91.07% [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="10099999"  AND domains.domain="automation1betav601.astppbilling.org" limit 1
  86. 2023-10-18 09:12:40.229980 91.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  87. 2023-10-18 09:12:40.229980 91.07% [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 = '10099999' OR number = '1009999' OR number = '100999' OR number = '10099' OR number = '1009' OR number = '100' OR number = '10' OR number = '1' OR number ='--') OR (number = '10099999*' OR number = '1009999*' OR number = '100999*' OR number = '10099*' OR number = '1009*' OR number = '100*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '4810338297' OR number = '481033829' OR number = '48103382' OR number = '4810338' OR number = '481033' OR number = '48103' OR number = '4810' OR number = '481' OR number = '48' OR number = '4' OR number ='--') OR (number = '4810338297*' OR number = '481033829*' OR number = '48103382*' OR number = '4810338*' OR number = '481033*' OR number = '48103*' OR number = '4810*' OR number = '481*' OR number = '48*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  88. 2023-10-18 09:12:40.229980 91.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  89. 2023-10-18 09:12:40.229980 91.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '10099999' OR routing_prefix = '1009999' OR routing_prefix = '100999' OR routing_prefix = '10099' OR routing_prefix = '1009' OR routing_prefix = '100' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  90. 2023-10-18 09:12:40.229980 91.07% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  91. 2023-10-18 09:12:40.229980 91.07% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 2
  92. 2023-10-18 09:12:40.229980 91.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 4727985745
  93. 2023-10-18 09:12:40.229980 91.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 66.7
  94. 2023-10-18 09:12:40.229980 91.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  95. 2023-10-18 09:12:40.229980 91.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  96. 2023-10-18 09:12:40.229980 91.07% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  97. 2023-10-18 09:12:40.229980 91.07% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  98. 2023-10-18 09:12:40.229980 91.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  99. 2023-10-18 09:12:40.229980 91.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
  100. 2023-10-18 09:12:40.229980 91.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  101. 2023-10-18 09:12:40.229980 91.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  102. 2023-10-18 09:12:40.229980 91.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
  103. 2023-10-18 09:12:40.229980 91.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^10099999.*' OR pattern = '^1009999.*' OR pattern = '^100999.*' OR pattern = '^10099.*' OR pattern = '^1009.*' OR pattern = '^100.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND (caller_id_pattern = '^4810338297.*' OR caller_id_pattern = '^481033829.*' OR caller_id_pattern = '^48103382.*' OR caller_id_pattern = '^4810338.*' OR caller_id_pattern = '^481033.*' OR caller_id_pattern = '^48103.*' OR caller_id_pattern = '^4810.*' OR caller_id_pattern = '^481.*' OR caller_id_pattern = '^48.*' OR caller_id_pattern = '^4.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 1 OR accountid=2)  ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  104. 2023-10-18 09:12:40.229980 91.07% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  105. 2023-10-18 09:12:40.229980 91.07% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  106. 2023-10-18 09:12:40.229980 91.07% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  107. 2023-10-18 09:12:40.229980 91.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  108. 2023-10-18 09:12:40.229980 91.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  109. 2023-10-18 09:12:40.229980 91.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.20000
  110. 2023-10-18 09:12:40.229980 91.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : USA
  111. 2023-10-18 09:12:40.229980 91.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  112. 2023-10-18 09:12:40.229980 91.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 2
  113. 2023-10-18 09:12:40.229980 91.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 3,4,5
  114. 2023-10-18 09:12:40.229980 91.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type: 3
  115. 2023-10-18 09:12:40.229980 91.07% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  116. 2023-10-18 09:12:40.229980 91.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your66.7 balance Accountid 2 !!!
  117. 2023-10-18 09:12:40.229980 91.07% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  118. 2023-10-18 09:12:40.229980 91.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Daily call credit limit : -2
  119. 2023-10-18 09:12:40.229980 91.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP]  Post Cdrs : 0
  120. 2023-10-18 09:12:40.229980 91.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 2
  121. 2023-10-18 09:12:40.229980 91.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
  122. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  123. <document type="freeswitch/xml">
  124. <section name="dialplan" description="ASTPP Dialplan">
  125. <context name="default">
  126. <extension name="10099999">
  127. <condition field="destination_number" expression="10099999">
  128. <action application="log" data="WARNING Accountcode 4727985745 doesn't have sufficiant fund!!"/>
  129. <action application="set" data="original_caller_id_name=ASTPP"/>
  130. <action application="set" data="original_caller_id_number=ASTPP"/>
  131. <action application="set" data="error_cdr=1"/>
  132. <action application="set" data="callstart=2023-10-18 09:12:40"/>
  133. <action application="set" data="account_id=2"/>
  134. <action application="set" data="parent_id=0"/>
  135. <action application="set" data="call_direction=outbound"/>
  136. <action application="set" data="sip_ignore_remote_cause=true"/>
  137. <action application="set" data="call_processed=internal"/>
  138. <action application="set" data="effective_destination_number=10099999"/>
  139. <action application="set" data="last_bridge_hangup_cause=NO_SUFFICIENT_FUND"/>
  140. <action application="hangup" data="NO_SUFFICIENT_FUND"/>
  141. </condition>
  142. </extension>
  143. </context>
  144. </section>
  145. </document>
  146. Dialplan: sofia/default/4727985745@automation1betav601.astppbilling.org:5071 parsing [default->10099999] continue=false
  147. Dialplan: sofia/default/4727985745@automation1betav601.astppbilling.org:5071 Regex (PASS) [10099999] destination_number(10099999) =~ /10099999/ break=on-false
  148. Dialplan: sofia/default/4727985745@automation1betav601.astppbilling.org:5071 Action log(WARNING Accountcode 4727985745 doesn't have sufficiant fund!!)
  149. Dialplan: sofia/default/4727985745@automation1betav601.astppbilling.org:5071 Action set(original_caller_id_name=ASTPP)
  150. Dialplan: sofia/default/4727985745@automation1betav601.astppbilling.org:5071 Action set(original_caller_id_number=ASTPP)
  151. Dialplan: sofia/default/4727985745@automation1betav601.astppbilling.org:5071 Action set(error_cdr=1)
  152. Dialplan: sofia/default/4727985745@automation1betav601.astppbilling.org:5071 Action set(callstart=2023-10-18 09:12:40)
  153. Dialplan: sofia/default/4727985745@automation1betav601.astppbilling.org:5071 Action set(account_id=2)
  154. Dialplan: sofia/default/4727985745@automation1betav601.astppbilling.org:5071 Action set(parent_id=0)
  155. Dialplan: sofia/default/4727985745@automation1betav601.astppbilling.org:5071 Action set(call_direction=outbound)
  156. Dialplan: sofia/default/4727985745@automation1betav601.astppbilling.org:5071 Action set(sip_ignore_remote_cause=true)
  157. Dialplan: sofia/default/4727985745@automation1betav601.astppbilling.org:5071 Action set(call_processed=internal)
  158. Dialplan: sofia/default/4727985745@automation1betav601.astppbilling.org:5071 Action set(effective_destination_number=10099999)
  159. Dialplan: sofia/default/4727985745@automation1betav601.astppbilling.org:5071 Action set(last_bridge_hangup_cause=NO_SUFFICIENT_FUND)
  160. Dialplan: sofia/default/4727985745@automation1betav601.astppbilling.org:5071 Action hangup(NO_SUFFICIENT_FUND)
  161. 2023-10-18 09:12:40.229980 91.07% [DEBUG] switch_core_state_machine.c:281 (sofia/default/4727985745@automation1betav601.astppbilling.org:5071) State Change CS_ROUTING -> CS_EXECUTE
  162. 2023-10-18 09:12:40.229980 91.07% [DEBUG] switch_core_state_machine.c:640 (sofia/default/4727985745@automation1betav601.astppbilling.org:5071) State ROUTING going to sleep
  163. 2023-10-18 09:12:40.229980 91.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4727985745@automation1betav601.astppbilling.org:5071) Running State Change CS_EXECUTE (Cur 1 Tot 215)
  164. 2023-10-18 09:12:40.229980 91.07% [DEBUG] switch_core_state_machine.c:647 (sofia/default/4727985745@automation1betav601.astppbilling.org:5071) State EXECUTE
  165. 2023-10-18 09:12:40.229980 91.07% [DEBUG] mod_sofia.c:213 sofia/default/4727985745@automation1betav601.astppbilling.org:5071 SOFIA EXECUTE
  166. 2023-10-18 09:12:40.229980 91.07% [DEBUG] switch_core_state_machine.c:323 sofia/default/4727985745@automation1betav601.astppbilling.org:5071 Standard EXECUTE
  167. EXECUTE [depth=0] sofia/default/4727985745@automation1betav601.astppbilling.org:5071 log(WARNING Accountcode 4727985745 doesn't have sufficiant fund!!)
  168. 2023-10-18 09:12:40.229980 91.07% [WARNING] mod_dptools.c:1867 Accountcode 4727985745 doesn't have sufficiant fund!!
  169. EXECUTE [depth=0] sofia/default/4727985745@automation1betav601.astppbilling.org:5071 set(original_caller_id_name=ASTPP)
  170. 2023-10-18 09:12:40.229980 91.07% [DEBUG] mod_dptools.c:1673 SET sofia/default/4727985745@automation1betav601.astppbilling.org:5071 [original_caller_id_name]=[ASTPP]
  171. EXECUTE [depth=0] sofia/default/4727985745@automation1betav601.astppbilling.org:5071 set(original_caller_id_number=ASTPP)
  172. 2023-10-18 09:12:40.229980 91.07% [DEBUG] mod_dptools.c:1673 SET sofia/default/4727985745@automation1betav601.astppbilling.org:5071 [original_caller_id_number]=[ASTPP]
  173. EXECUTE [depth=0] sofia/default/4727985745@automation1betav601.astppbilling.org:5071 set(error_cdr=1)
  174. 2023-10-18 09:12:40.229980 91.07% [DEBUG] mod_dptools.c:1673 SET sofia/default/4727985745@automation1betav601.astppbilling.org:5071 [error_cdr]=[1]
  175. EXECUTE [depth=0] sofia/default/4727985745@automation1betav601.astppbilling.org:5071 set(callstart=2023-10-18 09:12:40)
  176. 2023-10-18 09:12:40.229980 91.07% [DEBUG] mod_dptools.c:1673 SET sofia/default/4727985745@automation1betav601.astppbilling.org:5071 [callstart]=[2023-10-18 09:12:40]
  177. EXECUTE [depth=0] sofia/default/4727985745@automation1betav601.astppbilling.org:5071 set(account_id=2)
  178. 2023-10-18 09:12:40.229980 91.07% [DEBUG] mod_dptools.c:1673 SET sofia/default/4727985745@automation1betav601.astppbilling.org:5071 [account_id]=[2]
  179. EXECUTE [depth=0] sofia/default/4727985745@automation1betav601.astppbilling.org:5071 set(parent_id=0)
  180. 2023-10-18 09:12:40.229980 91.07% [DEBUG] mod_dptools.c:1673 SET sofia/default/4727985745@automation1betav601.astppbilling.org:5071 [parent_id]=[0]
  181. EXECUTE [depth=0] sofia/default/4727985745@automation1betav601.astppbilling.org:5071 set(call_direction=outbound)
  182. 2023-10-18 09:12:40.229980 91.07% [DEBUG] mod_dptools.c:1673 SET sofia/default/4727985745@automation1betav601.astppbilling.org:5071 [call_direction]=[outbound]
  183. EXECUTE [depth=0] sofia/default/4727985745@automation1betav601.astppbilling.org:5071 set(sip_ignore_remote_cause=true)
  184. 2023-10-18 09:12:40.229980 91.07% [DEBUG] mod_dptools.c:1673 SET sofia/default/4727985745@automation1betav601.astppbilling.org:5071 [sip_ignore_remote_cause]=[true]
  185. EXECUTE [depth=0] sofia/default/4727985745@automation1betav601.astppbilling.org:5071 set(call_processed=internal)
  186. 2023-10-18 09:12:40.229980 91.07% [DEBUG] mod_dptools.c:1673 SET sofia/default/4727985745@automation1betav601.astppbilling.org:5071 [call_processed]=[internal]
  187. EXECUTE [depth=0] sofia/default/4727985745@automation1betav601.astppbilling.org:5071 set(effective_destination_number=10099999)
  188. 2023-10-18 09:12:40.229980 91.07% [DEBUG] mod_dptools.c:1673 SET sofia/default/4727985745@automation1betav601.astppbilling.org:5071 [effective_destination_number]=[10099999]
  189. EXECUTE [depth=0] sofia/default/4727985745@automation1betav601.astppbilling.org:5071 set(last_bridge_hangup_cause=NO_SUFFICIENT_FUND)
  190. 2023-10-18 09:12:40.229980 91.07% [DEBUG] mod_dptools.c:1673 SET sofia/default/4727985745@automation1betav601.astppbilling.org:5071 [last_bridge_hangup_cause]=[NO_SUFFICIENT_FUND]
  191. EXECUTE [depth=0] sofia/default/4727985745@automation1betav601.astppbilling.org:5071 hangup(NO_SUFFICIENT_FUND)
  192. 2023-10-18 09:12:40.229980 91.07% [NOTICE] mod_dptools.c:1376 Hangup sofia/default/4727985745@automation1betav601.astppbilling.org:5071 [CS_EXECUTE] [NORMAL_CLEARING]
  193. 2023-10-18 09:12:40.229980 91.07% [DEBUG] switch_core_session.c:2973 sofia/default/4727985745@automation1betav601.astppbilling.org:5071 skip receive message [PHONE_EVENT] (channel is hungup already)
  194. 2023-10-18 09:12:40.229980 91.07% [DEBUG] switch_core_state_machine.c:647 (sofia/default/4727985745@automation1betav601.astppbilling.org:5071) State EXECUTE going to sleep
  195. 2023-10-18 09:12:40.229980 91.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4727985745@automation1betav601.astppbilling.org:5071) Running State Change CS_HANGUP (Cur 1 Tot 215)
  196. 2023-10-18 09:12:40.229980 91.07% [DEBUG] switch_core_state_machine.c:844 (sofia/default/4727985745@automation1betav601.astppbilling.org:5071) Callstate Change RINGING -> HANGUP
  197. 2023-10-18 09:12:40.229980 91.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/4727985745@automation1betav601.astppbilling.org:5071) State HANGUP
  198. 2023-10-18 09:12:40.229980 91.07% [DEBUG] mod_sofia.c:468 Channel sofia/default/4727985745@automation1betav601.astppbilling.org:5071 hanging up, cause: NORMAL_CLEARING
  199. 2023-10-18 09:12:40.229980 91.07% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 480
  200. 2023-10-18 09:12:40.229980 91.07% [DEBUG] switch_core_state_machine.c:59 sofia/default/4727985745@automation1betav601.astppbilling.org:5071 Standard HANGUP, cause: NORMAL_CLEARING
  201. 2023-10-18 09:12:40.229980 91.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/4727985745@automation1betav601.astppbilling.org:5071) State HANGUP going to sleep
  202. 2023-10-18 09:12:40.229980 91.07% [DEBUG] switch_core_state_machine.c:616 (sofia/default/4727985745@automation1betav601.astppbilling.org:5071) State Change CS_HANGUP -> CS_REPORTING
  203. 2023-10-18 09:12:40.229980 91.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4727985745@automation1betav601.astppbilling.org:5071) Running State Change CS_REPORTING (Cur 1 Tot 215)
  204. 2023-10-18 09:12:40.249978 91.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/4727985745@automation1betav601.astppbilling.org:5071) State REPORTING
  205. 2023-10-18 09:12:40.249978 91.07% [INFO] mod_json_cdr.c:272 Process [2505ccca-e680-40ea-bb92-440d1260435b.cdr.json]
  206. 2023-10-18 09:12:40.269976 91.07% [DEBUG] switch_core_state_machine.c:168 sofia/default/4727985745@automation1betav601.astppbilling.org:5071 Standard REPORTING, cause: NORMAL_CLEARING
  207. 2023-10-18 09:12:40.269976 91.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/4727985745@automation1betav601.astppbilling.org:5071) State REPORTING going to sleep
  208. 2023-10-18 09:12:40.269976 91.07% [DEBUG] switch_core_state_machine.c:607 (sofia/default/4727985745@automation1betav601.astppbilling.org:5071) State Change CS_REPORTING -> CS_DESTROY
  209. 2023-10-18 09:12:40.269976 91.07% [DEBUG] switch_core_session.c:1743 Session 215 (sofia/default/4727985745@automation1betav601.astppbilling.org:5071) Locked, Waiting on external entities
  210. 2023-10-18 09:12:40.269976 91.07% [NOTICE] switch_core_session.c:1761 Session 215 (sofia/default/4727985745@automation1betav601.astppbilling.org:5071) Ended
  211. 2023-10-18 09:12:40.269976 91.07% [NOTICE] switch_core_session.c:1765 Close Channel sofia/default/4727985745@automation1betav601.astppbilling.org:5071 [CS_DESTROY]
  212. 2023-10-18 09:12:40.269976 91.07% [DEBUG] switch_core_state_machine.c:735 (sofia/default/4727985745@automation1betav601.astppbilling.org:5071) Running State Change CS_DESTROY (Cur 0 Tot 215)
  213. 2023-10-18 09:12:40.269976 91.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/4727985745@automation1betav601.astppbilling.org:5071) State DESTROY
  214. 2023-10-18 09:12:40.269976 91.07% [DEBUG] mod_sofia.c:379 sofia/default/4727985745@automation1betav601.astppbilling.org:5071 SOFIA DESTROY
  215. 2023-10-18 09:12:40.269976 91.07% [DEBUG] switch_core_state_machine.c:175 sofia/default/4727985745@automation1betav601.astppbilling.org:5071 Standard DESTROY
  216. 2023-10-18 09:12:40.269976 91.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/4727985745@automation1betav601.astppbilling.org:5071) State DESTROY going to sleep
  217. freeswitch@betaAlpesh>