From Prashant Kumar, 1 Year ago, written in FreeSWITCH.
- view diff
Embed
  1. ype /help <enter> to see a list of commands
  2.  
  3.  
  4.  
  5.  
  6. [This app Best viewed at 160x60 or more..]
  7. +OK log level  [7]
  8. 2023-03-31 10:24:01.309535 83.93% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [3730220675@alpha1.astppbilling.org] from ip 103.240.35.46
  9. 2023-03-31 10:24:01.569779 83.27% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [5532608016@alpha1.astppbilling.org] from ip 103.240.35.46
  10. 2023-03-31 10:24:01.569779 83.27% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [6112128315@alpha.astppbilling.org] from ip 103.240.35.46
  11. 2023-03-31 10:24:01.609501 83.27% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [2515143673@alpha1.astppbilling.org] from ip 103.240.35.46
  12. 2023-03-31 10:24:02.249527 83.27% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [3730220675@alpha1.astppbilling.org] from ip 103.240.35.46
  13. 2023-03-31 10:24:02.249527 83.27% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [5532608016@alpha1.astppbilling.org] from ip 103.240.35.46
  14. 2023-03-31 10:24:02.449586 83.27% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [6112128315@alpha.astppbilling.org] from ip 103.240.35.46
  15. 2023-03-31 10:24:02.569544 82.90% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [2515143673@alpha1.astppbilling.org] from ip 103.240.35.46
  16. 2023-03-31 10:24:07.809539 83.07% [NOTICE] switch_channel.c:1123 New Channel sofia/default/1299948902@alpha5.astppbilling.org:5078 [8e30a910-38a2-4f74-acd3-42202d2e72df]
  17. 2023-03-31 10:24:07.809539 83.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1299948902@alpha5.astppbilling.org:5078) Running State Change CS_NEW (Cur 1 Tot 82)
  18. 2023-03-31 10:24:07.809539 83.07% [INFO] sofia.c:10462 sofia/default/1299948902@alpha5.astppbilling.org:5078 receiving invite from 103.240.35.46:33550 version: 1.10.7 -release 64bit call-id: N2FmMjdjMzRiODM5NmQwYjljNDI1OTljMTdiMjg1NWY.
  19. 2023-03-31 10:24:07.809539 83.07% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  20. 2023-03-31 10:24:07.809539 83.07% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [103003030@alpha5.astppbilling.org] from ip 103.240.35.46
  21. 2023-03-31 10:24:07.809539 83.07% [DEBUG] switch_core_state_machine.c:600 (sofia/default/1299948902@alpha5.astppbilling.org:5078) State NEW
  22. 2023-03-31 10:24:07.809539 83.07% [DEBUG] sofia.c:2419 detaching session 8e30a910-38a2-4f74-acd3-42202d2e72df
  23. 2023-03-31 10:24:08.509545 83.07% [DEBUG] sofia.c:2532 Re-attaching to session 8e30a910-38a2-4f74-acd3-42202d2e72df
  24. 2023-03-31 10:24:08.549522 83.77% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [3730220675@alpha1.astppbilling.org] from ip 103.240.35.46
  25. 2023-03-31 10:24:08.549522 83.77% [INFO] sofia.c:10462 sofia/default/1299948902@alpha5.astppbilling.org:5078 receiving invite from 103.240.35.46:33550 version: 1.10.7 -release 64bit call-id: N2FmMjdjMzRiODM5NmQwYjljNDI1OTljMTdiMjg1NWY.
  26. 2023-03-31 10:24:08.549522 83.77% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  27. 2023-03-31 10:24:08.549522 83.77% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  28. 2023-03-31 10:24:08.549522 83.77% [DEBUG] sofia.c:7499 Channel sofia/default/1299948902@alpha5.astppbilling.org:5078 entering state [received][100]
  29. 2023-03-31 10:24:08.549522 83.77% [DEBUG] sofia.c:7509 Remote SDP:
  30. v=0
  31. o=Z 0 0 IN IP4 103.240.35.46
  32. s=Z
  33. c=IN IP4 103.240.35.46
  34. t=0 0
  35. m=audio 8000 RTP/AVP 3 110 8 0 98 101
  36. a=rtpmap:110 speex/8000
  37. a=rtpmap:98 iLBC/8000
  38. a=fmtp:98 mode=20
  39. a=rtpmap:101 telephone-event/8000
  40. a=fmtp:101 0-15
  41.  
  42. 2023-03-31 10:24:08.549522 83.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  43. 2023-03-31 10:24:08.549522 83.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  44. 2023-03-31 10:24:08.549522 83.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  45. 2023-03-31 10:24:08.549522 83.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  46. 2023-03-31 10:24:08.549522 83.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  47. 2023-03-31 10:24:08.549522 83.77% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  48. 2023-03-31 10:24:08.549522 83.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  49. 2023-03-31 10:24:08.549522 83.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  50. 2023-03-31 10:24:08.549522 83.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  51. 2023-03-31 10:24:08.549522 83.77% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  52. 2023-03-31 10:24:08.549522 83.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  53. 2023-03-31 10:24:08.549522 83.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  54. 2023-03-31 10:24:08.549522 83.77% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  55. 2023-03-31 10:24:08.549522 83.77% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/1299948902@alpha5.astppbilling.org:5078 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  56. 2023-03-31 10:24:08.549522 83.77% [DEBUG] switch_core_codec.c:111 sofia/default/1299948902@alpha5.astppbilling.org:5078 Original read codec set to PCMA:8
  57. 2023-03-31 10:24:08.549522 83.77% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  58. 2023-03-31 10:24:08.549522 83.77% [DEBUG] switch_core_media.c:5973 sofia/default/1299948902@alpha5.astppbilling.org:5078 Set 2833 dtmf send payload to 101 recv payload to 101
  59. 2023-03-31 10:24:08.549522 83.77% [DEBUG] sofia.c:7933 (sofia/default/1299948902@alpha5.astppbilling.org:5078) State Change CS_NEW -> CS_INIT
  60. 2023-03-31 10:24:08.549522 83.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1299948902@alpha5.astppbilling.org:5078) Running State Change CS_INIT (Cur 1 Tot 82)
  61. 2023-03-31 10:24:08.549522 83.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1299948902@alpha5.astppbilling.org:5078) State INIT
  62. 2023-03-31 10:24:08.549522 83.77% [DEBUG] mod_sofia.c:97 sofia/default/1299948902@alpha5.astppbilling.org:5078 SOFIA INIT
  63. 2023-03-31 10:24:08.549522 83.77% [DEBUG] switch_core_state_machine.c:40 sofia/default/1299948902@alpha5.astppbilling.org:5078 Standard INIT
  64. 2023-03-31 10:24:08.549522 83.77% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1299948902@alpha5.astppbilling.org:5078) State Change CS_INIT -> CS_ROUTING
  65. 2023-03-31 10:24:08.549522 83.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1299948902@alpha5.astppbilling.org:5078) State INIT going to sleep
  66. 2023-03-31 10:24:08.549522 83.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1299948902@alpha5.astppbilling.org:5078) Running State Change CS_ROUTING (Cur 1 Tot 82)
  67. 2023-03-31 10:24:08.549522 83.77% [DEBUG] switch_channel.c:2380 (sofia/default/1299948902@alpha5.astppbilling.org:5078) Callstate Change DOWN -> RINGING
  68. 2023-03-31 10:24:08.549522 83.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1299948902@alpha5.astppbilling.org:5078) State ROUTING
  69. 2023-03-31 10:24:08.549522 83.77% [DEBUG] mod_sofia.c:158 sofia/default/1299948902@alpha5.astppbilling.org:5078 SOFIA ROUTING
  70. 2023-03-31 10:24:08.549522 83.77% [DEBUG] switch_core_state_machine.c:230 sofia/default/1299948902@alpha5.astppbilling.org:5078 Standard ROUTING
  71. 2023-03-31 10:24:08.549522 83.77% [INFO] mod_dialplan_xml.c:639 Processing 1299948902 <1299948902>->103003030 in context default
  72. 2023-03-31 10:24:08.549522 83.77% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  73. 2023-03-31 10:24:08.549522 83.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  74. 2023-03-31 10:24:08.549522 83.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  75. 2023-03-31 10:24:08.549522 83.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  76. 2023-03-31 10:24:08.549522 83.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 103003030
  77. 2023-03-31 10:24:08.549522 83.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  78. 2023-03-31 10:24:08.549522 83.77% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER1299948902
  79. 2023-03-31 10:24:08.549522 83.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  80. 2023-03-31 10:24:08.549522 83.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '103003030' limit 1
  81. 2023-03-31 10:24:08.549522 83.77% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  82. 2023-03-31 10:24:08.549522 83.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 1299948902 / 1299948902
  83. 2023-03-31 10:24:08.549522 83.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  84. 2023-03-31 10:24:08.549522 83.77% [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="103003030" limit 1
  85. 2023-03-31 10:24:08.549522 83.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  86. 2023-03-31 10:24:08.549522 83.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 2086278794]
  87. 2023-03-31 10:24:08.549522 83.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =103003030
  88. 2023-03-31 10:24:08.549522 83.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "2086278794" AND deleted = 0 limit 1
  89. 2023-03-31 10:24:08.549522 83.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^103003030.*' OR blocked_patterns = '^10300303.*' OR blocked_patterns = '^1030030.*' OR blocked_patterns = '^103003.*' OR blocked_patterns = '^10300.*' OR blocked_patterns = '^1030.*' OR blocked_patterns = '^103.*' OR blocked_patterns = '^10.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 170 limit 1
  90. 2023-03-31 10:24:08.549522 83.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  91. 2023-03-31 10:24:08.549522 83.77% [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 = '^103003030.*' OR patterns = '^10300303.*' OR patterns = '^1030030.*' OR patterns = '^103003.*' OR patterns = '^10300.*' OR patterns = '^1030.*' OR patterns = '^103.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 170 ORDER BY LENGTH(PKGPTR.patterns) DESC
  92. 2023-03-31 10:24:08.589492 83.77% [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 ="103003030" AND A.accountid = '170' limit 1
  93. 2023-03-31 10:24:08.589492 83.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 103003030
  94. 2023-03-31 10:24:08.589492 83.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  95. 2023-03-31 10:24:08.589492 83.77% [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="103003030" limit 1
  96. 2023-03-31 10:24:08.589492 83.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  97. 2023-03-31 10:24:08.589492 83.77% [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 = '103003030' OR number = '10300303' OR number = '1030030' OR number = '103003' OR number = '10300' OR number = '1030' OR number = '103' OR number = '10' OR number = '1' OR number ='--') OR (number = '103003030*' OR number = '10300303*' OR number = '1030030*' OR number = '103003*' OR number = '10300*' OR number = '1030*' OR number = '103*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '1299948902' OR number = '129994890' OR number = '12999489' OR number = '1299948' OR number = '129994' OR number = '12999' OR number = '1299' OR number = '129' OR number = '12' OR number = '1' OR number ='--') OR (number = '1299948902*' OR number = '129994890*' OR number = '12999489*' OR number = '1299948*' OR number = '129994*' OR number = '12999*' OR number = '1299*' OR number = '129*' OR number = '12*' OR number = '1*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  98. 2023-03-31 10:24:08.589492 83.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  99. 2023-03-31 10:24:08.589492 83.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '103003030' OR routing_prefix = '10300303' OR routing_prefix = '1030030' OR routing_prefix = '103003' OR routing_prefix = '10300' 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
  100. 2023-03-31 10:24:08.589492 83.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] Get Destination Number (103003030)!!!!
  101. 2023-03-31 10:24:08.589492 83.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] After Append Ported Number : (103003030)!!!!
  102. 2023-03-31 10:24:08.589492 83.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  103. 2023-03-31 10:24:08.589492 83.77% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 170
  104. 2023-03-31 10:24:08.589492 83.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 2086278794
  105. 2023-03-31 10:24:08.589492 83.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 4.60999
  106. 2023-03-31 10:24:08.589492 83.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  107. 2023-03-31 10:24:08.589492 83.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  108. 2023-03-31 10:24:08.589492 83.77% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  109. 2023-03-31 10:24:08.589492 83.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  110. 2023-03-31 10:24:08.589492 83.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  111. 2023-03-31 10:24:08.589492 83.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
  112. 2023-03-31 10:24:08.589492 83.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  113. 2023-03-31 10:24:08.589492 83.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  114. 2023-03-31 10:24:08.589492 83.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
  115. 2023-03-31 10:24:08.589492 83.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^103003030.*' OR pattern = '^10300303.*' OR pattern = '^1030030.*' OR pattern = '^103003.*' OR pattern = '^10300.*' OR pattern = '^1030.*' OR pattern = '^103.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND (caller_id_pattern = '^1299948902.*' OR caller_id_pattern = '^129994890.*' OR caller_id_pattern = '^12999489.*' OR caller_id_pattern = '^1299948.*' OR caller_id_pattern = '^129994.*' OR caller_id_pattern = '^12999.*' OR caller_id_pattern = '^1299.*' OR caller_id_pattern = '^129.*' OR caller_id_pattern = '^12.*' OR caller_id_pattern = '^1.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 1 OR accountid=170)  ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  116. 2023-03-31 10:24:08.589492 83.77% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  117. 2023-03-31 10:24:08.589492 83.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  118. 2023-03-31 10:24:08.589492 83.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.00000
  119. 2023-03-31 10:24:08.589492 83.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:1
  120. 2023-03-31 10:24:08.589492 83.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '1' and status=0
  121. 2023-03-31 10:24:08.589492 83.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0.00000
  122. 2023-03-31 10:24:08.589492 83.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  123. 2023-03-31 10:24:08.589492 83.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 29
  124. 2023-03-31 10:24:08.589492 83.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  125. 2023-03-31 10:24:08.589492 83.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  126. 2023-03-31 10:24:08.589492 83.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  127. 2023-03-31 10:24:08.589492 83.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : koria
  128. 2023-03-31 10:24:08.589492 83.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  129. 2023-03-31 10:24:08.589492 83.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 170
  130. 2023-03-31 10:24:08.589492 83.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  131. 2023-03-31 10:24:08.589492 83.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  132. 2023-03-31 10:24:08.589492 83.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  133. 2023-03-31 10:24:08.589492 83.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Shadow_billing_rates]SHADOWBILLING:|ID:29|CODE:^103.*|DESTINATION:koria|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00000|INC:12|INITIALBLOCK:12|RATEGROUP:1|MARKUP:0|CI:0|ACCID:170!!!
  134. 2023-03-31 10:24:08.589492 83.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your4.60999 balance Accountid 170 !!!
  135. 2023-03-31 10:24:08.589492 83.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  136. 2023-03-31 10:24:08.589492 83.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  137. 2023-03-31 10:24:08.589492 83.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  138. 2023-03-31 10:24:08.589492 83.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=1 ORDER by id asc
  139. 2023-03-31 10:24:08.589492 83.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^103003030.*' OR pattern = '^10300303.*' OR pattern = '^1030030.*' OR pattern = '^103003.*' OR pattern = '^10300.*' OR pattern = '^1030.*' OR pattern = '^103.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (1) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
  140. 2023-03-31 10:24:08.589492 83.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] YourProvider: 0.00510 > 0.00000, skipping for loss less routing
  141. 2023-03-31 10:24:08.589492 83.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 170 AND status=0 LIMIT 1
  142. 2023-03-31 10:24:08.589492 83.77% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  143. 2023-03-31 10:24:08.589492 83.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  144. 2023-03-31 10:24:08.589492 83.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  145. 2023-03-31 10:24:08.589492 83.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  146. 2023-03-31 10:24:08.589492 83.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
  147. 2023-03-31 10:24:08.589492 83.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Loss Less Table Value :: 1
  148. 2023-03-31 10:24:08.589492 83.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 3) AND status=0 limit 1
  149. 2023-03-31 10:24:08.589492 83.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 1) AND status=0 limit 1
  150. 2023-03-31 10:24:08.589492 83.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="103003030" LIMIT 1
  151. 2023-03-31 10:24:08.589492 83.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="103003030" LIMIT 1
  152. 2023-03-31 10:24:08.609499 83.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  153. 2023-03-31 10:24:08.609499 83.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  154. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  155. <document type="freeswitch/xml">
  156. <section name="dialplan" description="ASTPP Dialplan">
  157. <context name="default">
  158. <extension name="103003030">
  159. <condition field="destination_number" expression="103003030">
  160. <action application="set" data="effective_destination_number=103003030"/>
  161. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  162. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  163. <action application="set" data="type=0"/>
  164. <action application="set" data="callstart=2023-03-31 10:24:08"/>
  165. <action application="set" data="hangup_after_bridge=true"/>
  166. <action application="set" data="continue_on_fail=TRUE"/>
  167. <action application="set" data="account_id=170"/>
  168. <action application="set" data="parent_id=0"/>
  169. <action application="set" data="entity_id=0"/>
  170. <action application="set" data="call_processed=internal"/>
  171. <action application="set" data="call_direction=outbound"/>
  172. <action application="set" data="accountname=default"/>
  173. <action application="export" data="t38_passthru=true"/>
  174. <action application="set" data="fax_enable_t38=true"/>
  175. <action application="set" data="fax_enable_t38_request=true"/>
  176. <action application="set" data="filename1=astpp.pbx.lua"/>
  177. <action application="sleep" data="1000"/>
  178. <action application="playback" data="/usr/local/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav"/>
  179. <action application="set" data="ringback=%(2000,4000,440.0,480.0)"/>
  180. <action application="say" data="en CURRENCY PRONOUNCED 4.60999"/>
  181. <action application="set" data="origination_rates=SHADOWBILLING:|ID:29|CODE:^103.*|DESTINATION:koria|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00000|INC:12|INITIALBLOCK:12|RATEGROUP:1|MARKUP:0|CI:0|ACCID:170"/>
  182. <action application="set" data="original_caller_id_name=1299948902"/>
  183. <action application="set" data="original_caller_id_number=1299948902"/>
  184.  
  185. <action application="set" data="effective_caller_id_name=1299948902"/>
  186. <action application="set" data="effective_caller_id_number=1299948902"/>
  187. <action application="set" data="calltype=STANDARD"/>
  188. <action application="set" data="termination_rates=ID:129|CODE:^1.*|DESTINATION:QAAA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00510|INC:60|INITIALBLOCK:60|TRUNK:1|PROVIDER:3"/>
  189. <action application="set" data="trunk_id=1"/>
  190. <action application="set" data="provider_id=3"/>
  191. <action application="set" data="rate_flag=0"/>
  192. <action application="set" data="daily_call_credit_limit=0.00000"/>
  193. <action application="set" data="monthly_call_credit_limit=0.00000"/>
  194. <action application="set" data="daily_call_used_limit=0.00000"/>
  195. <action application="set" data="monthly_call_used_limit=0.00000"/>
  196. <action application="set" data="quality_trunk_seq="/>
  197. <action application="set" data="force_trunk_flag=0"/>
  198. <action application="export" data="presence_data=trunk_id=1"/>
  199. <action application="set" data="intcall=0"/>
  200. <action application="export" data="presence_id=103003030"/>
  201. <action application="export" data="presence_data=x|||Nirali(2086278794)|||^103.* // koria // 0.00000 |||YourTrunk // ^1.* // QAAA // 0.00510 // trunk_id=1|||STD|||103.240.35.46"/>
  202. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/103003030"/>
  203. </condition>
  204. </extension>
  205. </context>
  206. </section>
  207. </document>
  208. Dialplan: sofia/default/1299948902@alpha5.astppbilling.org:5078 parsing [default->103003030] continue=false
  209. Dialplan: sofia/default/1299948902@alpha5.astppbilling.org:5078 Regex (PASS) [103003030] destination_number(103003030) =~ /103003030/ break=on-false
  210. Dialplan: sofia/default/1299948902@alpha5.astppbilling.org:5078 Action set(effective_destination_number=103003030)
  211. Dialplan: sofia/default/1299948902@alpha5.astppbilling.org:5078 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  212. Dialplan: sofia/default/1299948902@alpha5.astppbilling.org:5078 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  213. Dialplan: sofia/default/1299948902@alpha5.astppbilling.org:5078 Action set(type=0)
  214. Dialplan: sofia/default/1299948902@alpha5.astppbilling.org:5078 Action set(callstart=2023-03-31 10:24:08)
  215. Dialplan: sofia/default/1299948902@alpha5.astppbilling.org:5078 Action set(hangup_after_bridge=true)
  216. Dialplan: sofia/default/1299948902@alpha5.astppbilling.org:5078 Action set(continue_on_fail=TRUE)
  217. Dialplan: sofia/default/1299948902@alpha5.astppbilling.org:5078 Action set(account_id=170)
  218. Dialplan: sofia/default/1299948902@alpha5.astppbilling.org:5078 Action set(parent_id=0)
  219. Dialplan: sofia/default/1299948902@alpha5.astppbilling.org:5078 Action set(entity_id=0)
  220. Dialplan: sofia/default/1299948902@alpha5.astppbilling.org:5078 Action set(call_processed=internal)
  221. Dialplan: sofia/default/1299948902@alpha5.astppbilling.org:5078 Action set(call_direction=outbound)
  222. Dialplan: sofia/default/1299948902@alpha5.astppbilling.org:5078 Action set(accountname=default)
  223. Dialplan: sofia/default/1299948902@alpha5.astppbilling.org:5078 Action export(t38_passthru=true)
  224. Dialplan: sofia/default/1299948902@alpha5.astppbilling.org:5078 Action set(fax_enable_t38=true)
  225. Dialplan: sofia/default/1299948902@alpha5.astppbilling.org:5078 Action set(fax_enable_t38_request=true)
  226. Dialplan: sofia/default/1299948902@alpha5.astppbilling.org:5078 Action set(filename1=astpp.pbx.lua)
  227. Dialplan: sofia/default/1299948902@alpha5.astppbilling.org:5078 Action sleep(1000)
  228. Dialplan: sofia/default/1299948902@alpha5.astppbilling.org:5078 Action playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav)
  229. Dialplan: sofia/default/1299948902@alpha5.astppbilling.org:5078 Action set(ringback=%(2000,4000,440.0,480.0))
  230. Dialplan: sofia/default/1299948902@alpha5.astppbilling.org:5078 Action say(en CURRENCY PRONOUNCED 4.60999)
  231. Dialplan: sofia/default/1299948902@alpha5.astppbilling.org:5078 Action set(origination_rates=SHADOWBILLING:|ID:29|CODE:^103.*|DESTINATION:koria|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00000|INC:12|INITIALBLOCK:12|RATEGROUP:1|MARKUP:0|CI:0|ACCID:170)
  232. Dialplan: sofia/default/1299948902@alpha5.astppbilling.org:5078 Action set(original_caller_id_name=1299948902)
  233. Dialplan: sofia/default/1299948902@alpha5.astppbilling.org:5078 Action set(original_caller_id_number=1299948902)
  234. Dialplan: sofia/default/1299948902@alpha5.astppbilling.org:5078 Action set(effective_caller_id_name=1299948902)
  235. Dialplan: sofia/default/1299948902@alpha5.astppbilling.org:5078 Action set(effective_caller_id_number=1299948902)
  236. Dialplan: sofia/default/1299948902@alpha5.astppbilling.org:5078 Action set(calltype=STANDARD)
  237. Dialplan: sofia/default/1299948902@alpha5.astppbilling.org:5078 Action set(termination_rates=ID:129|CODE:^1.*|DESTINATION:QAAA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00510|INC:60|INITIALBLOCK:60|TRUNK:1|PROVIDER:3)
  238. Dialplan: sofia/default/1299948902@alpha5.astppbilling.org:5078 Action set(trunk_id=1)
  239. Dialplan: sofia/default/1299948902@alpha5.astppbilling.org:5078 Action set(provider_id=3)
  240. Dialplan: sofia/default/1299948902@alpha5.astppbilling.org:5078 Action set(rate_flag=0)
  241. Dialplan: sofia/default/1299948902@alpha5.astppbilling.org:5078 Action set(daily_call_credit_limit=0.00000)
  242. Dialplan: sofia/default/1299948902@alpha5.astppbilling.org:5078 Action set(monthly_call_credit_limit=0.00000)
  243. Dialplan: sofia/default/1299948902@alpha5.astppbilling.org:5078 Action set(daily_call_used_limit=0.00000)
  244. Dialplan: sofia/default/1299948902@alpha5.astppbilling.org:5078 Action set(monthly_call_used_limit=0.00000)
  245. Dialplan: sofia/default/1299948902@alpha5.astppbilling.org:5078 Action set(quality_trunk_seq=)
  246. Dialplan: sofia/default/1299948902@alpha5.astppbilling.org:5078 Action set(force_trunk_flag=0)
  247. Dialplan: sofia/default/1299948902@alpha5.astppbilling.org:5078 Action export(presence_data=trunk_id=1)
  248. Dialplan: sofia/default/1299948902@alpha5.astppbilling.org:5078 Action set(intcall=0)
  249. Dialplan: sofia/default/1299948902@alpha5.astppbilling.org:5078 Action export(presence_id=103003030)
  250. Dialplan: sofia/default/1299948902@alpha5.astppbilling.org:5078 Action export(presence_data=x|||Nirali(2086278794)|||^103.* // koria // 0.00000 |||YourTrunk // ^1.* // QAAA // 0.00510 // trunk_id=1|||STD|||103.240.35.46)
  251. Dialplan: sofia/default/1299948902@alpha5.astppbilling.org:5078 Action bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/103003030)
  252. 2023-03-31 10:24:08.609499 83.77% [DEBUG] switch_core_state_machine.c:281 (sofia/default/1299948902@alpha5.astppbilling.org:5078) State Change CS_ROUTING -> CS_EXECUTE
  253. 2023-03-31 10:24:08.609499 83.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1299948902@alpha5.astppbilling.org:5078) State ROUTING going to sleep
  254. 2023-03-31 10:24:08.609499 83.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1299948902@alpha5.astppbilling.org:5078) Running State Change CS_EXECUTE (Cur 1 Tot 82)
  255. 2023-03-31 10:24:08.609499 83.77% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1299948902@alpha5.astppbilling.org:5078) State EXECUTE
  256. 2023-03-31 10:24:08.609499 83.77% [DEBUG] mod_sofia.c:213 sofia/default/1299948902@alpha5.astppbilling.org:5078 SOFIA EXECUTE
  257. 2023-03-31 10:24:08.609499 83.77% [DEBUG] switch_core_state_machine.c:323 sofia/default/1299948902@alpha5.astppbilling.org:5078 Standard EXECUTE
  258. EXECUTE [depth=0] sofia/default/1299948902@alpha5.astppbilling.org:5078 set(effective_destination_number=103003030)
  259. 2023-03-31 10:24:08.609499 83.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/1299948902@alpha5.astppbilling.org:5078 [effective_destination_number]=[103003030]
  260. EXECUTE [depth=0] sofia/default/1299948902@alpha5.astppbilling.org:5078 set(bridge_pre_execute_bleg_app=sched_hangup)
  261. 2023-03-31 10:24:08.609499 83.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/1299948902@alpha5.astppbilling.org:5078 [bridge_pre_execute_bleg_app]=[sched_hangup]
  262. EXECUTE [depth=0] sofia/default/1299948902@alpha5.astppbilling.org:5078 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  263. 2023-03-31 10:24:08.609499 83.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/1299948902@alpha5.astppbilling.org:5078 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  264. EXECUTE [depth=0] sofia/default/1299948902@alpha5.astppbilling.org:5078 set(type=0)
  265. 2023-03-31 10:24:08.609499 83.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/1299948902@alpha5.astppbilling.org:5078 [type]=[0]
  266. EXECUTE [depth=0] sofia/default/1299948902@alpha5.astppbilling.org:5078 set(callstart=2023-03-31 10:24:08)
  267. 2023-03-31 10:24:08.609499 83.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/1299948902@alpha5.astppbilling.org:5078 [callstart]=[2023-03-31 10:24:08]
  268. EXECUTE [depth=0] sofia/default/1299948902@alpha5.astppbilling.org:5078 set(hangup_after_bridge=true)
  269. 2023-03-31 10:24:08.609499 83.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/1299948902@alpha5.astppbilling.org:5078 [hangup_after_bridge]=[true]
  270. EXECUTE [depth=0] sofia/default/1299948902@alpha5.astppbilling.org:5078 set(continue_on_fail=TRUE)
  271. 2023-03-31 10:24:08.609499 83.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/1299948902@alpha5.astppbilling.org:5078 [continue_on_fail]=[TRUE]
  272. EXECUTE [depth=0] sofia/default/1299948902@alpha5.astppbilling.org:5078 set(account_id=170)
  273. 2023-03-31 10:24:08.609499 83.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/1299948902@alpha5.astppbilling.org:5078 [account_id]=[170]
  274. EXECUTE [depth=0] sofia/default/1299948902@alpha5.astppbilling.org:5078 set(parent_id=0)
  275. 2023-03-31 10:24:08.609499 83.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/1299948902@alpha5.astppbilling.org:5078 [parent_id]=[0]
  276. EXECUTE [depth=0] sofia/default/1299948902@alpha5.astppbilling.org:5078 set(entity_id=0)
  277. 2023-03-31 10:24:08.609499 83.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/1299948902@alpha5.astppbilling.org:5078 [entity_id]=[0]
  278. EXECUTE [depth=0] sofia/default/1299948902@alpha5.astppbilling.org:5078 set(call_processed=internal)
  279. 2023-03-31 10:24:08.609499 83.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/1299948902@alpha5.astppbilling.org:5078 [call_processed]=[internal]
  280. EXECUTE [depth=0] sofia/default/1299948902@alpha5.astppbilling.org:5078 set(call_direction=outbound)
  281. 2023-03-31 10:24:08.609499 83.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/1299948902@alpha5.astppbilling.org:5078 [call_direction]=[outbound]
  282. EXECUTE [depth=0] sofia/default/1299948902@alpha5.astppbilling.org:5078 set(accountname=default)
  283. 2023-03-31 10:24:08.609499 83.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/1299948902@alpha5.astppbilling.org:5078 [accountname]=[default]
  284. EXECUTE [depth=0] sofia/default/1299948902@alpha5.astppbilling.org:5078 export(t38_passthru=true)
  285. 2023-03-31 10:24:08.609499 83.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true]
  286. EXECUTE [depth=0] sofia/default/1299948902@alpha5.astppbilling.org:5078 set(fax_enable_t38=true)
  287. 2023-03-31 10:24:08.609499 83.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/1299948902@alpha5.astppbilling.org:5078 [fax_enable_t38]=[true]
  288. EXECUTE [depth=0] sofia/default/1299948902@alpha5.astppbilling.org:5078 set(fax_enable_t38_request=true)
  289. 2023-03-31 10:24:08.609499 83.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/1299948902@alpha5.astppbilling.org:5078 [fax_enable_t38_request]=[true]
  290. EXECUTE [depth=0] sofia/default/1299948902@alpha5.astppbilling.org:5078 set(filename1=astpp.pbx.lua)
  291. 2023-03-31 10:24:08.609499 83.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/1299948902@alpha5.astppbilling.org:5078 [filename1]=[astpp.pbx.lua]
  292. EXECUTE [depth=0] sofia/default/1299948902@alpha5.astppbilling.org:5078 sleep(1000)
  293. 2023-03-31 10:24:08.829524 83.77% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [5532608016@alpha1.astppbilling.org] from ip 103.240.35.46
  294. 2023-03-31 10:24:08.829524 83.77% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [6112128315@alpha.astppbilling.org] from ip 103.240.35.46
  295. 2023-03-31 10:24:08.829524 83.77% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [2515143673@alpha1.astppbilling.org] from ip 103.240.35.46
  296. 2023-03-31 10:24:09.589595 83.67% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [3730220675@alpha1.astppbilling.org] from ip 103.240.35.46
  297. 2023-03-31 10:24:09.589595 83.67% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [5532608016@alpha1.astppbilling.org] from ip 103.240.35.46
  298. 2023-03-31 10:24:09.629524 83.67% [DEBUG] switch_core_session.c:2795 Application playback Requires media! pre_answering channel sofia/default/1299948902@alpha5.astppbilling.org:5078
  299. 2023-03-31 10:24:09.629524 83.67% [INFO] switch_core_session.c:2797 Sending early media
  300. 2023-03-31 10:24:09.629524 83.67% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/1299948902@alpha5.astppbilling.org:5078] 95.217.238.195 port 20500 -> 103.240.35.46 port 8000 codec: 8 ms: 20
  301. 2023-03-31 10:24:09.629524 83.67% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  302. 2023-03-31 10:24:09.629524 83.67% [DEBUG] switch_core_media.c:9089 sofia/default/1299948902@alpha5.astppbilling.org:5078 Set 2833 dtmf send payload to 101
  303. 2023-03-31 10:24:09.629524 83.67% [DEBUG] switch_core_media.c:9096 sofia/default/1299948902@alpha5.astppbilling.org:5078 Set 2833 dtmf receive payload to 101
  304. 2023-03-31 10:24:09.629524 83.67% [DEBUG] switch_core_media.c:9119 sofia/default/1299948902@alpha5.astppbilling.org:5078 Set rtp dtmf delay to 40
  305. 2023-03-31 10:24:09.629524 83.67% [DEBUG] mod_sofia.c:2610 Ring SDP:
  306. v=0
  307. o=FreeSWITCH 1680237749 1680237750 IN IP4 95.217.238.195
  308. s=FreeSWITCH
  309. c=IN IP4 95.217.238.195
  310. t=0 0
  311. m=audio 20500 RTP/AVP 8 101
  312. a=rtpmap:8 PCMA/8000
  313. a=rtpmap:101 telephone-event/8000
  314. a=fmtp:101 0-15
  315. a=ptime:20
  316. a=sendrecv
  317.  
  318. 2023-03-31 10:24:09.629524 83.67% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/1299948902@alpha5.astppbilling.org:5078!
  319. 2023-03-31 10:24:09.629524 83.67% [DEBUG] switch_channel.c:3622 (sofia/default/1299948902@alpha5.astppbilling.org:5078) Callstate Change RINGING -> EARLY
  320. EXECUTE [depth=0] sofia/default/1299948902@alpha5.astppbilling.org:5078 playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav)
  321. 2023-03-31 10:24:09.629524 83.67% [DEBUG] switch_core_file.c:444 File /usr/local/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav sample rate 16000 doesn't match requested rate 8000
  322. 2023-03-31 10:24:09.629524 83.67% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  323. 2023-03-31 10:24:09.629524 83.67% [DEBUG] sofia.c:7499 Channel sofia/default/1299948902@alpha5.astppbilling.org:5078 entering state [early][183]
  324. 2023-03-31 10:24:09.689548 83.67% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [6112128315@alpha.astppbilling.org] from ip 103.240.35.46
  325. 2023-03-31 10:24:09.889549 83.67% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [2515143673@alpha1.astppbilling.org] from ip 103.240.35.46
  326. 2023-03-31 10:24:09.989503 83.67% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  327. 2023-03-31 10:24:10.949557 83.13% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav
  328. EXECUTE [depth=0] sofia/default/1299948902@alpha5.astppbilling.org:5078 set(ringback=%(2000,4000,440.0,480.0))
  329. 2023-03-31 10:24:10.949557 83.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/1299948902@alpha5.astppbilling.org:5078 [ringback]=[%(2000,4000,440.0,480.0)]
  330. EXECUTE [depth=0] sofia/default/1299948902@alpha5.astppbilling.org:5078 say(en CURRENCY PRONOUNCED 4.60999)
  331. 2023-03-31 10:24:10.949557 83.13% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  332. 2023-03-31 10:24:13.569550 81.03% [DEBUG] switch_ivr_play_say.c:2001 done playing file file_string://digits/4.wav!currency/dollars.wav!currency/and.wav!digits/60.wav!currency/cents.wav
  333. EXECUTE [depth=0] sofia/default/1299948902@alpha5.astppbilling.org:5078 set(origination_rates=SHADOWBILLING:|ID:29|CODE:^103.*|DESTINATION:koria|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00000|INC:12|INITIALBLOCK:12|RATEGROUP:1|MARKUP:0|CI:0|ACCID:170)
  334. 2023-03-31 10:24:13.569550 81.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/1299948902@alpha5.astppbilling.org:5078 [origination_rates]=[SHADOWBILLING:|ID:29|CODE:^103.*|DESTINATION:koria|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00000|INC:12|INITIALBLOCK:12|RATEGROUP:1|MARKUP:0|CI:0|ACCID:170]
  335. EXECUTE [depth=0] sofia/default/1299948902@alpha5.astppbilling.org:5078 set(original_caller_id_name=1299948902)
  336. 2023-03-31 10:24:13.569550 81.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/1299948902@alpha5.astppbilling.org:5078 [original_caller_id_name]=[1299948902]
  337. EXECUTE [depth=0] sofia/default/1299948902@alpha5.astppbilling.org:5078 set(original_caller_id_number=1299948902)
  338. 2023-03-31 10:24:13.569550 81.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/1299948902@alpha5.astppbilling.org:5078 [original_caller_id_number]=[1299948902]
  339. EXECUTE [depth=0] sofia/default/1299948902@alpha5.astppbilling.org:5078 set(effective_caller_id_name=1299948902)
  340. 2023-03-31 10:24:13.569550 81.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/1299948902@alpha5.astppbilling.org:5078 [effective_caller_id_name]=[1299948902]
  341. EXECUTE [depth=0] sofia/default/1299948902@alpha5.astppbilling.org:5078 set(effective_caller_id_number=1299948902)
  342. 2023-03-31 10:24:13.569550 81.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/1299948902@alpha5.astppbilling.org:5078 [effective_caller_id_number]=[1299948902]
  343. EXECUTE [depth=0] sofia/default/1299948902@alpha5.astppbilling.org:5078 set(calltype=STANDARD)
  344. 2023-03-31 10:24:13.569550 81.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/1299948902@alpha5.astppbilling.org:5078 [calltype]=[STANDARD]
  345. EXECUTE [depth=0] sofia/default/1299948902@alpha5.astppbilling.org:5078 set(termination_rates=ID:129|CODE:^1.*|DESTINATION:QAAA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00510|INC:60|INITIALBLOCK:60|TRUNK:1|PROVIDER:3)
  346. 2023-03-31 10:24:13.569550 81.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/1299948902@alpha5.astppbilling.org:5078 [termination_rates]=[ID:129|CODE:^1.*|DESTINATION:QAAA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00510|INC:60|INITIALBLOCK:60|TRUNK:1|PROVIDER:3]
  347. EXECUTE [depth=0] sofia/default/1299948902@alpha5.astppbilling.org:5078 set(trunk_id=1)
  348. 2023-03-31 10:24:13.569550 81.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/1299948902@alpha5.astppbilling.org:5078 [trunk_id]=[1]
  349. EXECUTE [depth=0] sofia/default/1299948902@alpha5.astppbilling.org:5078 set(provider_id=3)
  350. 2023-03-31 10:24:13.569550 81.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/1299948902@alpha5.astppbilling.org:5078 [provider_id]=[3]
  351. EXECUTE [depth=0] sofia/default/1299948902@alpha5.astppbilling.org:5078 set(rate_flag=0)
  352. 2023-03-31 10:24:13.569550 81.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/1299948902@alpha5.astppbilling.org:5078 [rate_flag]=[0]
  353. EXECUTE [depth=0] sofia/default/1299948902@alpha5.astppbilling.org:5078 set(daily_call_credit_limit=0.00000)
  354. 2023-03-31 10:24:13.569550 81.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/1299948902@alpha5.astppbilling.org:5078 [daily_call_credit_limit]=[0.00000]
  355. EXECUTE [depth=0] sofia/default/1299948902@alpha5.astppbilling.org:5078 set(monthly_call_credit_limit=0.00000)
  356. 2023-03-31 10:24:13.569550 81.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/1299948902@alpha5.astppbilling.org:5078 [monthly_call_credit_limit]=[0.00000]
  357. EXECUTE [depth=0] sofia/default/1299948902@alpha5.astppbilling.org:5078 set(daily_call_used_limit=0.00000)
  358. 2023-03-31 10:24:13.569550 81.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/1299948902@alpha5.astppbilling.org:5078 [daily_call_used_limit]=[0.00000]
  359. EXECUTE [depth=0] sofia/default/1299948902@alpha5.astppbilling.org:5078 set(monthly_call_used_limit=0.00000)
  360. 2023-03-31 10:24:13.569550 81.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/1299948902@alpha5.astppbilling.org:5078 [monthly_call_used_limit]=[0.00000]
  361. EXECUTE [depth=0] sofia/default/1299948902@alpha5.astppbilling.org:5078 set(quality_trunk_seq=)
  362. 2023-03-31 10:24:13.569550 81.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/1299948902@alpha5.astppbilling.org:5078 [quality_trunk_seq]=[UNDEF]
  363. EXECUTE [depth=0] sofia/default/1299948902@alpha5.astppbilling.org:5078 set(force_trunk_flag=0)
  364. 2023-03-31 10:24:13.569550 81.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/1299948902@alpha5.astppbilling.org:5078 [force_trunk_flag]=[0]
  365. EXECUTE [depth=0] sofia/default/1299948902@alpha5.astppbilling.org:5078 export(presence_data=trunk_id=1)
  366. 2023-03-31 10:24:13.569550 81.03% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=1]
  367. EXECUTE [depth=0] sofia/default/1299948902@alpha5.astppbilling.org:5078 set(intcall=0)
  368. 2023-03-31 10:24:13.569550 81.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/1299948902@alpha5.astppbilling.org:5078 [intcall]=[0]
  369. EXECUTE [depth=0] sofia/default/1299948902@alpha5.astppbilling.org:5078 export(presence_id=103003030)
  370. 2023-03-31 10:24:13.569550 81.03% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[103003030]
  371. EXECUTE [depth=0] sofia/default/1299948902@alpha5.astppbilling.org:5078 export(presence_data=x|||Nirali(2086278794)|||^103.* // koria // 0.00000 |||YourTrunk // ^1.* // QAAA // 0.00510 // trunk_id=1|||STD|||103.240.35.46)
  372. 2023-03-31 10:24:13.569550 81.03% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Nirali(2086278794)|||^103.* // koria // 0.00000 |||YourTrunk // ^1.* // QAAA // 0.00510 // trunk_id=1|||STD|||103.240.35.46]
  373. EXECUTE [depth=0] sofia/default/1299948902@alpha5.astppbilling.org:5078 bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/103003030)
  374. 2023-03-31 10:24:13.569550 81.03% [DEBUG] switch_channel.c:1269 sofia/default/1299948902@alpha5.astppbilling.org:5078 EXPORTING[export_vars] [t38_passthru]=[true] to event
  375. 2023-03-31 10:24:13.569550 81.03% [DEBUG] switch_channel.c:1269 sofia/default/1299948902@alpha5.astppbilling.org:5078 EXPORTING[export_vars] [presence_data]=[x|||Nirali(2086278794)|||^103.* // koria // 0.00000 |||YourTrunk // ^1.* // QAAA // 0.00510 // trunk_id=1|||STD|||103.240.35.46] to event
  376. 2023-03-31 10:24:13.569550 81.03% [DEBUG] switch_channel.c:1269 sofia/default/1299948902@alpha5.astppbilling.org:5078 EXPORTING[export_vars] [presence_id]=[103003030] to event
  377. 2023-03-31 10:24:13.569550 81.03% [DEBUG] switch_channel.c:1269 sofia/default/1299948902@alpha5.astppbilling.org:5078 EXPORTING[export_vars] [presence_data]=[x|||Nirali(2086278794)|||^103.* // koria // 0.00000 |||YourTrunk // ^1.* // QAAA // 0.00510 // trunk_id=1|||STD|||103.240.35.46] to event
  378. 2023-03-31 10:24:13.569550 81.03% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  379. 2023-03-31 10:24:13.569550 81.03% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  380. 2023-03-31 10:24:13.569550 81.03% [NOTICE] switch_channel.c:1123 New Channel sofia/default/103003030 [3974d469-130b-4a87-a25b-cdcf9618d383]
  381. 2023-03-31 10:24:13.569550 81.03% [DEBUG] mod_sofia.c:5121 (sofia/default/103003030) State Change CS_NEW -> CS_INIT
  382. 2023-03-31 10:24:13.569550 81.03% [DEBUG] switch_ivr_originate.c:3151 sofia/default/103003030 Setting leg timeout to 30
  383. 2023-03-31 10:24:13.569550 81.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/103003030) Running State Change CS_INIT (Cur 2 Tot 83)
  384. 2023-03-31 10:24:13.569550 81.03% [DEBUG] switch_core_state_machine.c:624 (sofia/default/103003030) State INIT
  385. 2023-03-31 10:24:13.569550 81.03% [DEBUG] mod_sofia.c:97 sofia/default/103003030 SOFIA INIT
  386. 2023-03-31 10:24:13.569550 81.03% [INFO] sofia_glue.c:1651 sofia/default/103003030 sending invite call-id: (null)
  387. 2023-03-31 10:24:13.569550 81.03% [DEBUG] sofia_glue.c:1654 sofia/default/103003030 sending invite version: 1.10.7 -release 64bit
  388. Local SDP:
  389. v=0
  390. o=FreeSWITCH 1680230407 1680230408 IN IP4 95.217.238.195
  391. s=FreeSWITCH
  392. c=IN IP4 95.217.238.195
  393. t=0 0
  394. m=audio 27846 RTP/AVP 8 18 101
  395. a=rtpmap:8 PCMA/8000
  396. a=rtpmap:18 G729/8000
  397. a=rtpmap:101 telephone-event/8000
  398. a=fmtp:101 0-15
  399. a=ptime:20
  400. a=sendrecv
  401.  
  402. 2023-03-31 10:24:13.569550 81.03% [DEBUG] switch_core_state_machine.c:40 sofia/default/103003030 Standard INIT
  403. 2023-03-31 10:24:13.569550 81.03% [DEBUG] switch_core_state_machine.c:48 (sofia/default/103003030) State Change CS_INIT -> CS_ROUTING
  404. 2023-03-31 10:24:13.569550 81.03% [DEBUG] switch_core_state_machine.c:624 (sofia/default/103003030) State INIT going to sleep
  405. 2023-03-31 10:24:13.569550 81.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/103003030) Running State Change CS_ROUTING (Cur 2 Tot 83)
  406. 2023-03-31 10:24:13.569550 81.03% [DEBUG] switch_core_state_machine.c:640 (sofia/default/103003030) State ROUTING
  407. 2023-03-31 10:24:13.569550 81.03% [DEBUG] mod_sofia.c:158 sofia/default/103003030 SOFIA ROUTING
  408. 2023-03-31 10:24:13.569550 81.03% [DEBUG] switch_ivr_originate.c:67 (sofia/default/103003030) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  409. 2023-03-31 10:24:13.569550 81.03% [DEBUG] switch_core_state_machine.c:640 (sofia/default/103003030) State ROUTING going to sleep
  410. 2023-03-31 10:24:13.569550 81.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/103003030) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 83)
  411. 2023-03-31 10:24:13.569550 81.03% [DEBUG] sofia.c:7499 Channel sofia/default/103003030 entering state [calling][0]
  412. 2023-03-31 10:24:13.569550 81.03% [DEBUG] switch_core_state_machine.c:659 (sofia/default/103003030) State CONSUME_MEDIA
  413. 2023-03-31 10:24:13.569550 81.03% [DEBUG] switch_core_state_machine.c:659 (sofia/default/103003030) State CONSUME_MEDIA going to sleep
  414. 2023-03-31 10:24:13.689526 81.03% [DEBUG] sofia.c:7499 Channel sofia/default/103003030 entering state [completing][200]
  415. 2023-03-31 10:24:13.689526 81.03% [DEBUG] sofia.c:7509 Remote SDP:
  416. v=0
  417. o=root 1851714981 1851714981 IN IP4 159.203.131.36
  418. s=Asterisk PBX 16.4.0
  419. c=IN IP4 159.203.131.36
  420. t=0 0
  421. m=audio 18268 RTP/AVP 8 101
  422. a=rtpmap:8 PCMA/8000
  423. a=rtpmap:101 telephone-event/8000
  424. a=fmtp:101 0-16
  425. a=maxptime:150
  426.  
  427. 2023-03-31 10:24:13.689526 81.03% [DEBUG] sofia.c:7499 Channel sofia/default/103003030 entering state [ready][200]
  428. 2023-03-31 10:24:13.689526 81.03% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  429. 2023-03-31 10:24:13.689526 81.03% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  430. 2023-03-31 10:24:13.689526 81.03% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[G729:18:8000:20:8000:1]
  431. 2023-03-31 10:24:13.689526 81.03% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  432. 2023-03-31 10:24:13.689526 81.03% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/103003030 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  433. 2023-03-31 10:24:13.689526 81.03% [DEBUG] switch_core_codec.c:111 sofia/default/103003030 Original read codec set to PCMA:8
  434. 2023-03-31 10:24:13.689526 81.03% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  435. 2023-03-31 10:24:13.689526 81.03% [DEBUG] switch_core_media.c:5973 sofia/default/103003030 Set 2833 dtmf send payload to 101 recv payload to 101
  436. 2023-03-31 10:24:13.689526 81.03% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/103003030] 95.217.238.195 port 27846 -> 159.203.131.36 port 18268 codec: 8 ms: 20
  437. 2023-03-31 10:24:13.689526 81.03% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  438. 2023-03-31 10:24:13.689526 81.03% [DEBUG] switch_core_media.c:9089 sofia/default/103003030 Set 2833 dtmf send payload to 101
  439. 2023-03-31 10:24:13.689526 81.03% [DEBUG] switch_core_media.c:9096 sofia/default/103003030 Set 2833 dtmf receive payload to 101
  440. 2023-03-31 10:24:13.689526 81.03% [DEBUG] switch_core_media.c:9119 sofia/default/103003030 Set rtp dtmf delay to 40
  441. 2023-03-31 10:24:13.689526 81.03% [NOTICE] sofia.c:8683 Channel [sofia/default/103003030] has been answered
  442. 2023-03-31 10:24:13.689526 81.03% [DEBUG] switch_channel.c:3950 (sofia/default/103003030) Callstate Change DOWN -> ACTIVE
  443. 2023-03-31 10:24:13.689526 81.03% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/1299948902@alpha5.astppbilling.org:5078.
  444. 2023-03-31 10:24:13.689526 81.03% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/1299948902@alpha5.astppbilling.org:5078:
  445. v=0
  446. o=FreeSWITCH 1680237749 1680237751 IN IP4 95.217.238.195
  447. s=FreeSWITCH
  448. c=IN IP4 95.217.238.195
  449. t=0 0
  450. m=audio 20500 RTP/AVP 8 101
  451. a=rtpmap:8 PCMA/8000
  452. a=rtpmap:101 telephone-event/8000
  453. a=fmtp:101 0-15
  454. a=ptime:20
  455. a=sendrecv
  456.  
  457. 2023-03-31 10:24:13.689526 81.03% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/1299948902@alpha5.astppbilling.org:5078] has been answered
  458. 2023-03-31 10:24:13.689526 81.03% [DEBUG] switch_channel.c:3950 (sofia/default/1299948902@alpha5.astppbilling.org:5078) Callstate Change EARLY -> ACTIVE
  459. 2023-03-31 10:24:13.689526 81.03% [DEBUG] sofia.c:7499 Channel sofia/default/1299948902@alpha5.astppbilling.org:5078 entering state [completed][200]
  460. 2023-03-31 10:24:13.689526 81.03% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/103003030] Peer UUID: 3974d469-130b-4a87-a25b-cdcf9618d383
  461. 2023-03-31 10:24:13.689526 81.03% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/103003030) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  462. 2023-03-31 10:24:13.689526 81.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/103003030) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 83)
  463. 2023-03-31 10:24:13.689526 81.03% [DEBUG] switch_core_state_machine.c:650 (sofia/default/103003030) State EXCHANGE_MEDIA
  464. 2023-03-31 10:24:13.689526 81.03% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  465. 2023-03-31 10:24:13.729501 81.03% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  466. 2023-03-31 10:24:13.869505 81.03% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  467. 2023-03-31 10:24:13.889490 81.03% [DEBUG] switch_ivr_bridge.c:655 sofia/default/103003030 Bridge execute app sched_hangup(+6000 normal_clearing)
  468. 2023-03-31 10:24:13.909490 81.03% [DEBUG] switch_ivr.c:632 sofia/default/103003030 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  469. EXECUTE [depth=0] sofia/default/103003030 sched_hangup(+6000 normal_clearing)
  470. 2023-03-31 10:24:13.909490 81.03% [DEBUG] switch_scheduler.c:263 Added task 30 switch_ivr_schedule_hangup (3974d469-130b-4a87-a25b-cdcf9618d383) to run at 1680264253
  471. 2023-03-31 10:24:14.009532 81.03% [DEBUG] sofia.c:7499 Channel sofia/default/1299948902@alpha5.astppbilling.org:5078 entering state [ready][200]
  472. 2023-03-31 10:24:27.489523 78.30% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [6429939906@alpha.astppbilling.org] from ip 103.240.35.46
  473. 2023-03-31 10:24:27.769736 78.27% [WARNING] sofia_reg.c:3223 Can't find user [6429939906@alpha.astppbilling.org] from 103.240.35.46
  474. You must define a domain called 'alpha.astppbilling.org' in your directory and add a user with the id="6429939906" attribute
  475. and you must configure your device to use the proper domain in its authentication credentials.
  476. 2023-03-31 10:24:29.069534 78.30% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [234010@alpha3.astppbilling.org] from ip 103.240.35.46
  477. 2023-03-31 10:24:29.389521 78.30% [WARNING] sofia_reg.c:3223 Can't find user [234010@alpha3.astppbilling.org] from 103.240.35.46
  478. You must define a domain called 'alpha3.astppbilling.org' in your directory and add a user with the id="234010" attribute
  479. and you must configure your device to use the proper domain in its authentication credentials.
  480. 2023-03-31 10:24:32.289536 79.07% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [8749231066@alpha.astppbilling.org] from ip 103.240.35.46
  481. 2023-03-31 10:24:32.569539 79.63% [WARNING] sofia_reg.c:3223 Can't find user [8749231066@alpha.astppbilling.org] from 103.240.35.46
  482. You must define a domain called 'alpha.astppbilling.org' in your directory and add a user with the id="8749231066" attribute
  483. and you must configure your device to use the proper domain in its authentication credentials.
  484. 2023-03-31 10:24:32.869543 79.63% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [1234@alpha1.astppbilling.org] from ip 103.240.35.46
  485. 2023-03-31 10:24:33.429494 79.63% [WARNING] sofia_reg.c:3223 Can't find user [1234@alpha1.astppbilling.org] from 103.240.35.46
  486. You must define a domain called 'alpha1.astppbilling.org' in your directory and add a user with the id="1234" attribute
  487. and you must configure your device to use the proper domain in its authentication credentials.
  488. 2023-03-31 10:24:33.449780 79.63% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [3730220675@alpha1.astppbilling.org] from ip 103.240.35.46
  489. 2023-03-31 10:24:33.449780 79.63% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [5532608016@alpha1.astppbilling.org] from ip 103.240.35.46
  490. 2023-03-31 10:24:33.449780 79.63% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [6112128315@alpha.astppbilling.org] from ip 103.240.35.46
  491. 2023-03-31 10:24:33.749521 79.63% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [2515143673@alpha1.astppbilling.org] from ip 103.240.35.46
  492. 2023-03-31 10:24:34.169498 79.63% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [3730220675@alpha1.astppbilling.org] from ip 103.240.35.46
  493. 2023-03-31 10:24:34.169498 79.63% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [5532608016@alpha1.astppbilling.org] from ip 103.240.35.46
  494. 2023-03-31 10:24:34.449539 79.63% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [6112128315@alpha.astppbilling.org] from ip 103.240.35.46
  495. 2023-03-31 10:24:34.649499 79.27% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [2515143673@alpha1.astppbilling.org] from ip 103.240.35.46
  496. 2023-03-31 10:24:49.669521 84.60% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [1523@alpha2.astppbilling.org] from ip 49.14.123.23
  497. 2023-03-31 10:24:49.849955 84.60% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [764326@alpha3.astppbilling.org] from ip 49.14.123.23
  498. 2023-03-31 10:24:49.849955 84.60% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [123@alpha3.astppbilling.org] from ip 49.14.123.23
  499. 2023-03-31 10:24:49.949522 84.60% [WARNING] sofia_reg.c:3223 Can't find user [1523@alpha2.astppbilling.org] from 49.14.123.23
  500. You must define a domain called 'alpha2.astppbilling.org' in your directory and add a user with the id="1523" attribute
  501. and you must configure your device to use the proper domain in its authentication credentials.
  502. 2023-03-31 10:24:49.949522 84.60% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [1523@alpha2.astppbilling.org] from ip 49.14.123.23
  503. 2023-03-31 10:24:50.149754 84.60% [WARNING] sofia_reg.c:3223 Can't find user [764326@alpha3.astppbilling.org] from 49.14.123.23
  504. You must define a domain called 'alpha3.astppbilling.org' in your directory and add a user with the id="764326" attribute
  505. and you must configure your device to use the proper domain in its authentication credentials.
  506. 2023-03-31 10:24:50.149754 84.60% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [764326@alpha3.astppbilling.org] from ip 49.14.123.23
  507. 2023-03-31 10:24:50.309529 84.60% [WARNING] sofia_reg.c:3223 Can't find user [123@alpha3.astppbilling.org] from 49.14.123.23
  508. You must define a domain called 'alpha3.astppbilling.org' in your directory and add a user with the id="123" attribute
  509. and you must configure your device to use the proper domain in its authentication credentials.
  510. 2023-03-31 10:24:50.309529 84.60% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [123@alpha3.astppbilling.org] from ip 49.14.123.23
  511. 2023-03-31 10:24:50.709541 84.37% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [2086278794@alpha2.astppbilling.org] from ip 49.14.123.23
  512. 2023-03-31 10:24:52.309564 84.27% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [2086278794@alpha2.astppbilling.org] from ip 49.14.123.23
  513. 2023-03-31 10:24:56.789551 83.87% [NOTICE] sofia.c:1065 Hangup sofia/default/1299948902@alpha5.astppbilling.org:5078 [CS_EXECUTE] [NORMAL_CLEARING]
  514. 2023-03-31 10:24:56.789551 83.87% [DEBUG] switch_ivr_bridge.c:820 sofia/default/1299948902@alpha5.astppbilling.org:5078 ending bridge by request from write function
  515. 2023-03-31 10:24:56.789551 83.87% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/103003030]
  516. 2023-03-31 10:24:56.789551 83.87% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/103003030 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  517. 2023-03-31 10:24:56.789551 83.87% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/1299948902@alpha5.astppbilling.org:5078]
  518. 2023-03-31 10:24:56.789551 83.87% [DEBUG] switch_core_state_machine.c:650 (sofia/default/103003030) State EXCHANGE_MEDIA going to sleep
  519. 2023-03-31 10:24:56.789551 83.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/103003030) Running State Change CS_HANGUP (Cur 2 Tot 83)
  520. 2023-03-31 10:24:56.789551 83.87% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/103003030 skip receive message [UNBRIDGE] (channel is hungup already)
  521. 2023-03-31 10:24:56.789551 83.87% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/1299948902@alpha5.astppbilling.org:5078 skip receive message [UNBRIDGE] (channel is hungup already)
  522. 2023-03-31 10:24:56.789551 83.87% [DEBUG] switch_core_session.c:2983 sofia/default/1299948902@alpha5.astppbilling.org:5078 skip receive message [PHONE_EVENT] (channel is hungup already)
  523. 2023-03-31 10:24:56.789551 83.87% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1299948902@alpha5.astppbilling.org:5078) State EXECUTE going to sleep
  524. 2023-03-31 10:24:56.789551 83.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1299948902@alpha5.astppbilling.org:5078) Running State Change CS_HANGUP (Cur 2 Tot 83)
  525. 2023-03-31 10:24:56.789551 83.87% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1299948902@alpha5.astppbilling.org:5078) Callstate Change ACTIVE -> HANGUP
  526. 2023-03-31 10:24:56.789551 83.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1299948902@alpha5.astppbilling.org:5078) State HANGUP
  527. 2023-03-31 10:24:56.789551 83.87% [DEBUG] mod_sofia.c:468 Channel sofia/default/1299948902@alpha5.astppbilling.org:5078 hanging up, cause: NORMAL_CLEARING
  528. 2023-03-31 10:24:56.789551 83.87% [DEBUG] switch_core_state_machine.c:844 (sofia/default/103003030) Callstate Change ACTIVE -> HANGUP
  529. 2023-03-31 10:24:56.789551 83.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/103003030) State HANGUP
  530. 2023-03-31 10:24:56.789551 83.87% [DEBUG] mod_sofia.c:462 sofia/default/103003030 Overriding SIP cause 480 with 200 from the other leg
  531. 2023-03-31 10:24:56.789551 83.87% [DEBUG] mod_sofia.c:468 Channel sofia/default/103003030 hanging up, cause: NORMAL_CLEARING
  532. 2023-03-31 10:24:56.789551 83.87% [DEBUG] switch_core_state_machine.c:59 sofia/default/1299948902@alpha5.astppbilling.org:5078 Standard HANGUP, cause: NORMAL_CLEARING
  533. 2023-03-31 10:24:56.789551 83.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1299948902@alpha5.astppbilling.org:5078) State HANGUP going to sleep
  534. 2023-03-31 10:24:56.789551 83.87% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1299948902@alpha5.astppbilling.org:5078) State Change CS_HANGUP -> CS_REPORTING
  535. 2023-03-31 10:24:56.789551 83.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1299948902@alpha5.astppbilling.org:5078) Running State Change CS_REPORTING (Cur 2 Tot 83)
  536. 2023-03-31 10:24:56.789551 83.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1299948902@alpha5.astppbilling.org:5078) State REPORTING
  537. 2023-03-31 10:24:56.789551 83.87% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/103003030
  538. 2023-03-31 10:24:56.789551 83.87% [DEBUG] switch_core_state_machine.c:59 sofia/default/103003030 Standard HANGUP, cause: NORMAL_CLEARING
  539. 2023-03-31 10:24:56.789551 83.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/103003030) State HANGUP going to sleep
  540. 2023-03-31 10:24:56.789551 83.87% [DEBUG] switch_core_state_machine.c:616 (sofia/default/103003030) State Change CS_HANGUP -> CS_REPORTING
  541. 2023-03-31 10:24:56.789551 83.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/103003030) Running State Change CS_REPORTING (Cur 2 Tot 83)
  542. 2023-03-31 10:24:56.789551 83.87% [INFO] mod_json_cdr.c:271 Process [8e30a910-38a2-4f74-acd3-42202d2e72df.cdr.json]
  543. 2023-03-31 10:24:56.789551 83.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/103003030) State REPORTING
  544. 2023-03-31 10:24:56.789551 83.87% [INFO] mod_json_cdr.c:271 Process [3974d469-130b-4a87-a25b-cdcf9618d383.cdr.json]
  545. 2023-03-31 10:24:56.789551 83.87% [DEBUG] switch_core_state_machine.c:168 sofia/default/103003030 Standard REPORTING, cause: NORMAL_CLEARING
  546. 2023-03-31 10:24:56.789551 83.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/103003030) State REPORTING going to sleep
  547. 2023-03-31 10:24:56.829493 83.87% [DEBUG] switch_core_state_machine.c:607 (sofia/default/103003030) State Change CS_REPORTING -> CS_DESTROY
  548. 2023-03-31 10:24:56.829493 83.87% [DEBUG] switch_core_session.c:1753 Session 83 (sofia/default/103003030) Locked, Waiting on external entities
  549. 2023-03-31 10:24:56.829493 83.87% [NOTICE] switch_core_session.c:1771 Session 83 (sofia/default/103003030) Ended
  550. 2023-03-31 10:24:56.829493 83.87% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/103003030 [CS_DESTROY]
  551. 2023-03-31 10:24:56.829493 83.87% [DEBUG] switch_core_state_machine.c:735 (sofia/default/103003030) Running State Change CS_DESTROY (Cur 1 Tot 83)
  552. 2023-03-31 10:24:56.829493 83.87% [DEBUG] switch_core_state_machine.c:745 (sofia/default/103003030) State DESTROY
  553. 2023-03-31 10:24:56.829493 83.87% [DEBUG] mod_sofia.c:379 sofia/default/103003030 SOFIA DESTROY
  554. 2023-03-31 10:24:56.829493 83.87% [DEBUG] switch_core_state_machine.c:175 sofia/default/103003030 Standard DESTROY
  555. 2023-03-31 10:24:56.829493 83.87% [DEBUG] switch_core_state_machine.c:745 (sofia/default/103003030) State DESTROY going to sleep
  556. 2023-03-31 10:24:56.829493 83.87% [DEBUG] switch_core_state_machine.c:168 sofia/default/1299948902@alpha5.astppbilling.org:5078 Standard REPORTING, cause: NORMAL_CLEARING
  557. 2023-03-31 10:24:56.829493 83.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1299948902@alpha5.astppbilling.org:5078) State REPORTING going to sleep
  558. 2023-03-31 10:24:56.829493 83.87% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1299948902@alpha5.astppbilling.org:5078) State Change CS_REPORTING -> CS_DESTROY
  559. 2023-03-31 10:24:56.829493 83.87% [DEBUG] switch_core_session.c:1753 Session 82 (sofia/default/1299948902@alpha5.astppbilling.org:5078) Locked, Waiting on external entities
  560. 2023-03-31 10:24:56.829493 83.87% [NOTICE] switch_core_session.c:1771 Session 82 (sofia/default/1299948902@alpha5.astppbilling.org:5078) Ended
  561. 2023-03-31 10:24:56.829493 83.87% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/1299948902@alpha5.astppbilling.org:5078 [CS_DESTROY]
  562. 2023-03-31 10:24:56.829493 83.87% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1299948902@alpha5.astppbilling.org:5078) Running State Change CS_DESTROY (Cur 0 Tot 83)
  563. 2023-03-31 10:24:56.829493 83.87% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1299948902@alpha5.astppbilling.org:5078) State DESTROY
  564. 2023-03-31 10:24:56.829493 83.87% [DEBUG] mod_sofia.c:379 sofia/default/1299948902@alpha5.astppbilling.org:5078 SOFIA DESTROY
  565. 2023-03-31 10:24:56.829493 83.87% [DEBUG] switch_core_state_machine.c:175 sofia/default/1299948902@alpha5.astppbilling.org:5078 Standard DESTROY
  566. 2023-03-31 10:24:56.829493 83.87% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1299948902@alpha5.astppbilling.org:5078) State DESTROY going to sleep
  567. 2023-03-31 10:24:56.929548 83.87% [DEBUG] switch_scheduler.c:147 Deleting task 30 switch_ivr_schedule_hangup (3974d469-130b-4a87-a25b-cdcf9618d383)
  568. freeswitch@AlphaQA>
  569. freeswitch@AlphaQA>
  570. freeswitch@AlphaQA>
  571. freeswitch@AlphaQA> /exit
  572.