From Prashant kumar, 2 Years ago, written in FreeSWITCH.
- view diff
Embed
  1.  
  2. [This app Best viewed at 160x60 or more..]
  3. +OK log level  [7]
  4. 2022-05-26 06:14:29.101779 60.17% [NOTICE] sofia_reg.c:459 Registering jio
  5. 2022-05-26 06:14:29.261780 60.13% [ERR] sofia_reg.c:2677 jio Failed Registration with status Forbidden [403]. failure #2
  6. span style="color: cornflowerblue; font-weight: bold;"> 2022-05-26 06:14:29.561775 60.13% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9148867339@astppqa606.astppbilling.org:5064 [075116d5-fde7-4bb6-bb1e-d58e7accce46]
  7. 2022-05-26 06:14:29.561775 60.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) Running State Change CS_NEW (Cur 1 Tot 423)
  8. 2022-05-26 06:14:29.561775 60.13% [INFO] sofia.c:10462 sofia/default/9148867339@astppqa606.astppbilling.org:5064 receiving invite from 103.240.35.46:55181 version: 1.10.7 -release 64bit call-id: ig31Xc3OERux0kjGi0C78Q..
  9. 2022-05-26 06:14:29.561775 60.13% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  10. 2022-05-26 06:14:29.561775 60.13% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [11040400@astppqa606.astppbilling.org] from ip 103.240.35.46
  11. 2022-05-26 06:14:29.561775 60.13% [DEBUG] switch_core_state_machine.c:600 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) State NEW
  12. 2022-05-26 06:14:29.561775 60.13% [DEBUG] sofia.c:2419 detaching session 075116d5-fde7-4bb6-bb1e-d58e7accce46
  13. 2022-05-26 06:14:29.901780 60.13% [DEBUG] sofia.c:2532 Re-attaching to session 075116d5-fde7-4bb6-bb1e-d58e7accce46
  14. 2022-05-26 06:14:29.901780 60.13% [INFO] sofia.c:10462 sofia/default/9148867339@astppqa606.astppbilling.org:5064 receiving invite from 103.240.35.46:55181 version: 1.10.7 -release 64bit call-id: ig31Xc3OERux0kjGi0C78Q..
  15. 2022-05-26 06:14:29.901780 60.13% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  16. 2022-05-26 06:14:29.921774 60.13% [DEBUG] sofia.c:11672 Setting NAT mode based on via port
  17. 2022-05-26 06:14:29.921774 60.13% [DEBUG] sofia.c:7499 Channel sofia/default/9148867339@astppqa606.astppbilling.org:5064 entering state [received][100]
  18. 2022-05-26 06:14:29.921774 60.13% [DEBUG] sofia.c:7509 Remote SDP:
  19. v=0
  20. o=Z 0 0 IN IP4 103.240.35.46
  21. s=Z
  22. c=IN IP4 103.240.35.46
  23. t=0 0
  24. m=audio 8000 RTP/AVP 3 110 8 0 97 101
  25. a=rtpmap:110 speex/8000
  26. a=rtpmap:97 iLBC/8000
  27. a=fmtp:97 mode=30
  28. a=rtpmap:101 telephone-event/8000
  29. a=fmtp:101 0-16
  30.  
  31. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  32. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  33. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  34. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  35. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  36. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  37. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  38. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  39. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  40. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  41. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  42. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  43. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  44. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/9148867339@astppqa606.astppbilling.org:5064 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  45. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_core_codec.c:111 sofia/default/9148867339@astppqa606.astppbilling.org:5064 Original read codec set to PCMA:8
  46. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  47. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_core_media.c:5973 sofia/default/9148867339@astppqa606.astppbilling.org:5064 Set 2833 dtmf send payload to 101 recv payload to 101
  48. 2022-05-26 06:14:29.921774 60.13% [DEBUG] sofia.c:7933 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) State Change CS_NEW -> CS_INIT
  49. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) Running State Change CS_INIT (Cur 1 Tot 423)
  50. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) State INIT
  51. 2022-05-26 06:14:29.921774 60.13% [DEBUG] mod_sofia.c:97 sofia/default/9148867339@astppqa606.astppbilling.org:5064 SOFIA INIT
  52. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_core_state_machine.c:40 sofia/default/9148867339@astppqa606.astppbilling.org:5064 Standard INIT
  53. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) State Change CS_INIT -> CS_ROUTING
  54. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) State INIT going to sleep
  55. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) Running State Change CS_ROUTING (Cur 1 Tot 423)
  56. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_channel.c:2380 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) Callstate Change DOWN -> RINGING
  57. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) State ROUTING
  58. 2022-05-26 06:14:29.921774 60.13% [DEBUG] mod_sofia.c:158 sofia/default/9148867339@astppqa606.astppbilling.org:5064 SOFIA ROUTING
  59. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_core_state_machine.c:230 sofia/default/9148867339@astppqa606.astppbilling.org:5064 Standard ROUTING
  60. 2022-05-26 06:14:29.921774 60.13% [INFO] mod_dialplan_xml.c:639 Processing 9148867339 <9148867339>->11040400 in context default
  61. 2022-05-26 06:14:29.921774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  62. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  63. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  64. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  65. 2022-05-26 06:14:29.921774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 11040400
  66. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  67. 2022-05-26 06:14:29.921774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER9148867339
  68. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  69. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'astppqa606.astppbilling.org' limit 1
  70. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '8' and username = '11040400' limit 1
  71. 2022-05-26 06:14:29.921774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 9148867339 / 9148867339
  72. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  73. 2022-05-26 06:14:29.921774 60.13% [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="11040400" limit 1
  74. 2022-05-26 06:14:29.921774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  75. 2022-05-26 06:14:29.921774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9148867339]
  76. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9148867339" AND deleted = 0 limit 1
  77. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^11040400.*' OR blocked_patterns = '^1104040.*' OR blocked_patterns = '^110404.*' OR blocked_patterns = '^11040.*' OR blocked_patterns = '^1104.*' OR blocked_patterns = '^110.*' OR blocked_patterns = '^11.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 8 limit 1
  78. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  79. 2022-05-26 06:14:29.921774 60.13% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 5
  80. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 5 AND status=0 limit 1
  81. 2022-05-26 06:14:29.921774 60.13% [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 = '^11040400.*' OR patterns = '^1104040.*' OR patterns = '^110404.*' OR patterns = '^11040.*' OR patterns = '^1104.*' OR patterns = '^110.*' OR patterns = '^11.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 8 ORDER BY LENGTH(PKGPTR.patterns) DESC
  82. 2022-05-26 06:14:29.921774 60.13% [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 ="11040400" AND A.accountid = '8' limit 1
  83. 2022-05-26 06:14:29.921774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 11040400
  84. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  85. 2022-05-26 06:14:29.921774 60.13% [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="11040400" limit 1
  86. 2022-05-26 06:14:29.921774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  87. 2022-05-26 06:14:29.921774 60.13% [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 = '11040400' OR number = '1104040' OR number = '110404' OR number = '11040' OR number = '1104' OR number = '110' OR number = '11' OR number = '1' OR number ='--') OR (number = '11040400*' OR number = '1104040*' OR number = '110404*' OR number = '11040*' OR number = '1104*' OR number = '110*' OR number = '11*' OR number = '1*' OR number ='--') OR (number = '9148867339' OR number = '914886733' OR number = '91488673' OR number = '9148867' OR number = '914886' OR number = '91488' OR number = '9148' OR number = '914' OR number = '91' OR number = '9' OR number ='--') OR (number = '9148867339*' OR number = '914886733*' OR number = '91488673*' OR number = '9148867*' OR number = '914886*' OR number = '91488*' OR number = '9148*' OR number = '914*' OR number = '91*' OR number = '9*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  88. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  89. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '11040400' OR routing_prefix = '1104040' OR routing_prefix = '110404' OR routing_prefix = '11040' OR routing_prefix = '1104' OR routing_prefix = '110' OR routing_prefix = '11' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  90. 2022-05-26 06:14:29.921774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  91. 2022-05-26 06:14:29.921774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 8
  92. 2022-05-26 06:14:29.921774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9148867339
  93. 2022-05-26 06:14:29.921774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 1849.72
  94. 2022-05-26 06:14:29.921774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  95. 2022-05-26 06:14:29.921774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 7
  96. 2022-05-26 06:14:29.921774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  97. 2022-05-26 06:14:29.921774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  98. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  99. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::7
  100. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  101. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  102. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::7
  103. 2022-05-26 06:14:29.921774 60.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-7
  104. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-7
  105. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-7
  106. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-05-26 06:14:29
  107. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^667.*
  108. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
  109. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-05-26 06:14:29
  110. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^44.*
  111. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
  112. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-05-26 06:14:29
  113. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^11.*
  114. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
  115. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-05-26 06:14:29
  116. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^11.*
  117. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
  118. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  119. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  120. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:2.00000
  121. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:7
  122. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '7' and status=0
  123. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] holiday_based_routing :
  124. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Holiday Query :SELECT gmttime from timezone where id = '378'
  125. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Holiday Data :GMT-11:00
  126. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Holiday Minus Timezone
  127. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]If Holiday timezone like = -05:00 :
  128. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Converted Holiday current_time_date:25
  129. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Converted Holiday current_time_month:May
  130. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Hliday today_date :25-5
  131. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Hliday today_date :2
  132. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] demand_based_condition :
  133. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT gmttime from timezone where id = '378'
  134. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Data :GMT-11:00
  135. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Minus Timezone
  136. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]If timezone like = -05:00 :11
  137. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]If timezone like = -05:00 :00
  138. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]If timezone like = -05:00 :
  139. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Converted current_time: 19.14
  140. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]If Holiday timezone like = -05:00 :GMT-11:00
  141. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]If Holiday timezone like = -05:00 :11
  142. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]If Holiday timezone like = -05:00 :
  143. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Converted DAY current_wday:Thu
  144. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_wday :Thu
  145. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Current Day Number5
  146. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Demand based routing Match emand_based_condition_value['wday'][1] :6-7
  147. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Demand based routing Match emand_based_condition_value['wday'][1] :4-4
  148. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:2.00000
  149. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  150. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 16
  151. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  152. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  153. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 2.00000
  154. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Admin-India
  155. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 98
  156. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 8
  157. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  158. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  159. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  160. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Shadow_billing_rates]SHADOWBILLING:1|ID:16|CODE:^11.*|DESTINATION:Admin-India|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:2.00000|INC:60|INITIALBLOCK:60|RATEGROUP:7|MARKUP:0|CI:98|ACCID:8!!!
  161. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your1849.72 balance Accountid 8 !!!
  162. 2022-05-26 06:14:29.941774 60.13% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 424 mins!
  163. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 424 minutes
  164. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  165. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=7 ORDER by id asc
  166. 2022-05-26 06:14:29.941774 60.13% [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 = '^11040400.*' OR pattern = '^1104040.*' OR pattern = '^110404.*' OR pattern = '^11040.*' OR pattern = '^1104.*' OR pattern = '^110.*' OR pattern = '^11.*' OR pattern = '^1.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (5) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
  167. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  168. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 12
  169. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^11.*
  170. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Bhopal
  171. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  172. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  173. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^11.*
  174. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  175. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  176. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 5
  177. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PK_GW
  178. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  179. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : YGateway
  180. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  181. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  182. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  183. 2022-05-26 06:14:29.941774 60.13% [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 = 8 AND status=0 LIMIT 1
  184. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 424
  185. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  186. 2022-05-26 06:14:29.941774 60.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  187. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  188. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::7
  189. 2022-05-26 06:14:29.941774 60.13% [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
  190. 2022-05-26 06:14:29.941774 60.13% [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 = 5) AND status=0 limit 1
  191. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT 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="9148867339" limit 1
  192. 2022-05-26 06:14:29.941774 60.13% [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 ="11040400" LIMIT 1
  193. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  194. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  195. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  196. <document type="freeswitch/xml">
  197. <section name="dialplan" description="ASTPP Dialplan">
  198. <context name="default">
  199. <extension name="11040400">
  200. <condition field="destination_number" expression="11040400">
  201. <action application="set" data="effective_destination_number=11040400"/>
  202. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  203. <action application="set" data="bridge_pre_execute_bleg_data=+25440 normal_clearing"/>
  204. <action application="set" data="notify_flag=0"/>
  205. <action application="set" data="notify_credit_limit=5.00000"/>
  206. <action application="set" data="type=0"/>
  207. <action application="set" data="callstart=2022-05-26 06:14:29"/>
  208. <action application="set" data="hangup_after_bridge=true"/>
  209. <action application="set" data="continue_on_fail=TRUE"/>
  210. <action application="set" data="account_id=8"/>
  211. <action application="set" data="parent_id=0"/>
  212. <action application="set" data="entity_id=0"/>
  213. <action application="set" data="call_processed=internal"/>
  214. <action application="set" data="call_direction=outbound"/>
  215. <action application="set" data="accountname=default"/>
  216. <action application="set" data="origination_rates=SHADOWBILLING:1|ID:16|CODE:^11.*|DESTINATION:Admin-India|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:2.00000|INC:60|INITIALBLOCK:60|RATEGROUP:7|MARKUP:0|CI:98|ACCID:8"/>
  217. <action application="set" data="original_caller_id_name=9148867339"/>
  218. <action application="set" data="original_caller_id_number=9148867339"/>
  219.  
  220. <action application="export" data="is_recording=1"/>
  221. <action application="export" data="media_bug_answer_req=true"/>
  222. <action application="export" data="record_sample_rate=8000"/>
  223. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
  224. <action application="set" data="effective_caller_id_name=9148867339"/>
  225. <action application="set" data="effective_caller_id_number=9148867339"/>
  226. <action application="set" data="calltype=STANDARD"/>
  227. <action application="set" data="termination_rates=ID:12|CODE:^11.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:60|TRUNK:5|PROVIDER:3"/>
  228. <action application="set" data="trunk_id=5"/>
  229. <action application="set" data="provider_id=3"/>
  230. <action application="set" data="rate_flag=0"/>
  231. <action application="set" data="force_trunk_flag=0"/>
  232. <action application="export" data="presence_data=trunk_id=5"/>
  233. <action application="set" data="intcall=0"/>
  234. <action application="export" data="presence_id=11040400"/>
  235. <action application="export" data="presence_data=x|||Admin's cust(9148867339)|||^11.* // Admin-India // 2.00000 |||PK-Default-Trunk // ^11.* // Bhopal // 1.00000 // trunk_id=5|||STD|||103.240.35.46"/>
  236. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PK_GW/11040400"/>
  237. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/YGateway/11040400"/>
  238. </condition>
  239. </extension>
  240. </context>
  241. </section>
  242. </document>
  243. Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 parsing [default->11040400] continue=false
  244. Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Regex (PASS) [11040400] destination_number(11040400) =~ /11040400/ break=on-false
  245. Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(effective_destination_number=11040400)
  246. Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  247. Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(bridge_pre_execute_bleg_data=+25440 normal_clearing)
  248. Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(notify_flag=0)
  249. Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(notify_credit_limit=5.00000)
  250. Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(type=0)
  251. Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(callstart=2022-05-26 06:14:29)
  252. Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(hangup_after_bridge=true)
  253. Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(continue_on_fail=TRUE)
  254. Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(account_id=8)
  255. Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(parent_id=0)
  256. Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(entity_id=0)
  257. Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(call_processed=internal)
  258. Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(call_direction=outbound)
  259. Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(accountname=default)
  260. Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(origination_rates=SHADOWBILLING:1|ID:16|CODE:^11.*|DESTINATION:Admin-India|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:2.00000|INC:60|INITIALBLOCK:60|RATEGROUP:7|MARKUP:0|CI:98|ACCID:8)
  261. Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(original_caller_id_name=9148867339)
  262. Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(original_caller_id_number=9148867339)
  263. Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action export(is_recording=1)
  264. Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action export(media_bug_answer_req=true)
  265. Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action export(record_sample_rate=8000)
  266. Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  267. Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(effective_caller_id_name=9148867339)
  268. Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(effective_caller_id_number=9148867339)
  269. Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(calltype=STANDARD)
  270. Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(termination_rates=ID:12|CODE:^11.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:60|TRUNK:5|PROVIDER:3)
  271. Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(trunk_id=5)
  272. Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(provider_id=3)
  273. Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(rate_flag=0)
  274. Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(force_trunk_flag=0)
  275. Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action export(presence_data=trunk_id=5)
  276. Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(intcall=0)
  277. Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action export(presence_id=11040400)
  278. Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action export(presence_data=x|||Admin's cust(9148867339)|||^11.* // Admin-India // 2.00000 |||PK-Default-Trunk // ^11.* // Bhopal // 1.00000 // trunk_id=5|||STD|||103.240.35.46)
  279. Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PK_GW/11040400)
  280. Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/YGateway/11040400)
  281. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) State Change CS_ROUTING -> CS_EXECUTE
  282. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) State ROUTING going to sleep
  283. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) Running State Change CS_EXECUTE (Cur 1 Tot 423)
  284. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) State EXECUTE
  285. 2022-05-26 06:14:29.941774 60.13% [DEBUG] mod_sofia.c:213 sofia/default/9148867339@astppqa606.astppbilling.org:5064 SOFIA EXECUTE
  286. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_core_state_machine.c:323 sofia/default/9148867339@astppqa606.astppbilling.org:5064 Standard EXECUTE
  287. EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(effective_destination_number=11040400)
  288. 2022-05-26 06:14:29.941774 60.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [effective_destination_number]=[11040400]
  289. EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(bridge_pre_execute_bleg_app=sched_hangup)
  290. 2022-05-26 06:14:29.941774 60.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [bridge_pre_execute_bleg_app]=[sched_hangup]
  291. EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(bridge_pre_execute_bleg_data=+25440 normal_clearing)
  292. 2022-05-26 06:14:29.941774 60.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [bridge_pre_execute_bleg_data]=[+25440 normal_clearing]
  293. EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(notify_flag=0)
  294. 2022-05-26 06:14:29.941774 60.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [notify_flag]=[0]
  295. EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(notify_credit_limit=5.00000)
  296. 2022-05-26 06:14:29.941774 60.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [notify_credit_limit]=[5.00000]
  297. EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(type=0)
  298. 2022-05-26 06:14:29.941774 60.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [type]=[0]
  299. EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(callstart=2022-05-26 06:14:29)
  300. 2022-05-26 06:14:29.941774 60.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [callstart]=[2022-05-26 06:14:29]
  301. EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(hangup_after_bridge=true)
  302. 2022-05-26 06:14:29.941774 60.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [hangup_after_bridge]=[true]
  303. EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(continue_on_fail=TRUE)
  304. 2022-05-26 06:14:29.941774 60.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [continue_on_fail]=[TRUE]
  305. EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(account_id=8)
  306. 2022-05-26 06:14:29.941774 60.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [account_id]=[8]
  307. EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(parent_id=0)
  308. 2022-05-26 06:14:29.941774 60.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [parent_id]=[0]
  309. EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(entity_id=0)
  310. 2022-05-26 06:14:29.941774 60.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [entity_id]=[0]
  311. EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(call_processed=internal)
  312. 2022-05-26 06:14:29.941774 60.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [call_processed]=[internal]
  313. EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(call_direction=outbound)
  314. 2022-05-26 06:14:29.941774 60.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [call_direction]=[outbound]
  315. EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(accountname=default)
  316. 2022-05-26 06:14:29.941774 60.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [accountname]=[default]
  317. EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(origination_rates=SHADOWBILLING:1|ID:16|CODE:^11.*|DESTINATION:Admin-India|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:2.00000|INC:60|INITIALBLOCK:60|RATEGROUP:7|MARKUP:0|CI:98|ACCID:8)
  318. 2022-05-26 06:14:29.941774 60.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [origination_rates]=[SHADOWBILLING:1|ID:16|CODE:^11.*|DESTINATION:Admin-India|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:2.00000|INC:60|INITIALBLOCK:60|RATEGROUP:7|MARKUP:0|CI:98|ACCID:8]
  319. EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(original_caller_id_name=9148867339)
  320. 2022-05-26 06:14:29.941774 60.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [original_caller_id_name]=[9148867339]
  321. EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(original_caller_id_number=9148867339)
  322. 2022-05-26 06:14:29.941774 60.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [original_caller_id_number]=[9148867339]
  323. EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 export(is_recording=1)
  324. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  325. EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 export(media_bug_answer_req=true)
  326. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  327. EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 export(record_sample_rate=8000)
  328. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  329. EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 export(execute_on_answer=record_session /usr/local/freeswitch/recordings/075116d5-fde7-4bb6-bb1e-d58e7accce46.wav)
  330. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/075116d5-fde7-4bb6-bb1e-d58e7accce46.wav]
  331. EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(effective_caller_id_name=9148867339)
  332. 2022-05-26 06:14:29.941774 60.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [effective_caller_id_name]=[9148867339]
  333. EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(effective_caller_id_number=9148867339)
  334. 2022-05-26 06:14:29.941774 60.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [effective_caller_id_number]=[9148867339]
  335. EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(calltype=STANDARD)
  336. 2022-05-26 06:14:29.941774 60.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [calltype]=[STANDARD]
  337. EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(termination_rates=ID:12|CODE:^11.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:60|TRUNK:5|PROVIDER:3)
  338. 2022-05-26 06:14:29.941774 60.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [termination_rates]=[ID:12|CODE:^11.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:60|TRUNK:5|PROVIDER:3]
  339. EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(trunk_id=5)
  340. 2022-05-26 06:14:29.941774 60.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [trunk_id]=[5]
  341. EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(provider_id=3)
  342. 2022-05-26 06:14:29.941774 60.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [provider_id]=[3]
  343. EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(rate_flag=0)
  344. 2022-05-26 06:14:29.941774 60.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [rate_flag]=[0]
  345. EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(force_trunk_flag=0)
  346. 2022-05-26 06:14:29.941774 60.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [force_trunk_flag]=[0]
  347. EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 export(presence_data=trunk_id=5)
  348. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=5]
  349. EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(intcall=0)
  350. 2022-05-26 06:14:29.941774 60.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [intcall]=[0]
  351. EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 export(presence_id=11040400)
  352. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[11040400]
  353. EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 export(presence_data=x|||Admin's cust(9148867339)|||^11.* // Admin-India // 2.00000 |||PK-Default-Trunk // ^11.* // Bhopal // 1.00000 // trunk_id=5|||STD|||103.240.35.46)
  354. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Admin's cust(9148867339)|||^11.* // Admin-India // 2.00000 |||PK-Default-Trunk // ^11.* // Bhopal // 1.00000 // trunk_id=5|||STD|||103.240.35.46]
  355. EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PK_GW/11040400)
  356. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_channel.c:1269 sofia/default/9148867339@astppqa606.astppbilling.org:5064 EXPORTING[export_vars] [is_recording]=[1] to event
  357. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_channel.c:1269 sofia/default/9148867339@astppqa606.astppbilling.org:5064 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  358. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_channel.c:1269 sofia/default/9148867339@astppqa606.astppbilling.org:5064 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  359. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_channel.c:1269 sofia/default/9148867339@astppqa606.astppbilling.org:5064 EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/075116d5-fde7-4bb6-bb1e-d58e7accce46.wav] to event
  360. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_channel.c:1269 sofia/default/9148867339@astppqa606.astppbilling.org:5064 EXPORTING[export_vars] [presence_data]=[x|||Admin's cust(9148867339)|||^11.* // Admin-India // 2.00000 |||PK-Default-Trunk // ^11.* // Bhopal // 1.00000 // trunk_id=5|||STD|||103.240.35.46] to event
  361. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_channel.c:1269 sofia/default/9148867339@astppqa606.astppbilling.org:5064 EXPORTING[export_vars] [presence_id]=[11040400] to event
  362. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_channel.c:1269 sofia/default/9148867339@astppqa606.astppbilling.org:5064 EXPORTING[export_vars] [presence_data]=[x|||Admin's cust(9148867339)|||^11.* // Admin-India // 2.00000 |||PK-Default-Trunk // ^11.* // Bhopal // 1.00000 // trunk_id=5|||STD|||103.240.35.46] to event
  363. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  364. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  365. 2022-05-26 06:14:29.941774 60.13% [NOTICE] switch_channel.c:1123 New Channel sofia/default/11040400 [0e7f9177-fe9d-4df8-bf12-1bf8542725b2]
  366. 2022-05-26 06:14:29.941774 60.13% [DEBUG] mod_sofia.c:5121 (sofia/default/11040400) State Change CS_NEW -> CS_INIT
  367. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/11040400) Running State Change CS_INIT (Cur 2 Tot 424)
  368. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_core_state_machine.c:624 (sofia/default/11040400) State INIT
  369. 2022-05-26 06:14:29.941774 60.13% [DEBUG] mod_sofia.c:97 sofia/default/11040400 SOFIA INIT
  370. 2022-05-26 06:14:29.941774 60.13% [INFO] sofia_glue.c:1651 sofia/default/11040400 sending invite call-id: (null)
  371. 2022-05-26 06:14:29.941774 60.13% [DEBUG] sofia_glue.c:1654 sofia/default/11040400 sending invite version: 1.10.7 -release 64bit
  372. Local SDP:
  373. v=0
  374. o=FreeSWITCH 1653528173 1653528174 IN IP4 142.132.184.134
  375. s=FreeSWITCH
  376. c=IN IP4 142.132.184.134
  377. t=0 0
  378. m=audio 17496 RTP/AVP 8 101
  379. a=rtpmap:8 PCMA/8000
  380. a=rtpmap:101 telephone-event/8000
  381. a=fmtp:101 0-15
  382. a=ptime:20
  383. a=sendrecv
  384.  
  385. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_core_state_machine.c:40 sofia/default/11040400 Standard INIT
  386. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_core_state_machine.c:48 (sofia/default/11040400) State Change CS_INIT -> CS_ROUTING
  387. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_core_state_machine.c:624 (sofia/default/11040400) State INIT going to sleep
  388. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/11040400) Running State Change CS_ROUTING (Cur 2 Tot 424)
  389. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_core_state_machine.c:640 (sofia/default/11040400) State ROUTING
  390. 2022-05-26 06:14:29.941774 60.13% [DEBUG] mod_sofia.c:158 sofia/default/11040400 SOFIA ROUTING
  391. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_ivr_originate.c:67 (sofia/default/11040400) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  392. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_core_state_machine.c:640 (sofia/default/11040400) State ROUTING going to sleep
  393. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/11040400) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 424)
  394. 2022-05-26 06:14:29.941774 60.13% [DEBUG] sofia.c:7499 Channel sofia/default/11040400 entering state [calling][0]
  395. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_core_state_machine.c:659 (sofia/default/11040400) State CONSUME_MEDIA
  396. 2022-05-26 06:14:29.941774 60.13% [DEBUG] switch_core_state_machine.c:659 (sofia/default/11040400) State CONSUME_MEDIA going to sleep
  397. 2022-05-26 06:14:30.021774 60.13% [DEBUG] sofia.c:7499 Channel sofia/default/11040400 entering state [completing][200]
  398. 2022-05-26 06:14:30.021774 60.13% [DEBUG] sofia.c:7509 Remote SDP:
  399. v=0
  400. o=root 499715771 499715771 IN IP4 159.203.131.36
  401. s=Asterisk PBX 16.4.0
  402. c=IN IP4 159.203.131.36
  403. t=0 0
  404. m=audio 14760 RTP/AVP 8 101
  405. a=rtpmap:8 PCMA/8000
  406. a=rtpmap:101 telephone-event/8000
  407. a=fmtp:101 0-16
  408. a=maxptime:150
  409.  
  410. 2022-05-26 06:14:30.021774 60.13% [DEBUG] sofia.c:7499 Channel sofia/default/11040400 entering state [ready][200]
  411. 2022-05-26 06:14:30.021774 60.13% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  412. 2022-05-26 06:14:30.021774 60.13% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  413. 2022-05-26 06:14:30.021774 60.13% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  414. 2022-05-26 06:14:30.021774 60.13% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/11040400 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  415. 2022-05-26 06:14:30.021774 60.13% [DEBUG] switch_core_codec.c:111 sofia/default/11040400 Original read codec set to PCMA:8
  416. 2022-05-26 06:14:30.021774 60.13% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  417. 2022-05-26 06:14:30.021774 60.13% [DEBUG] switch_core_media.c:5973 sofia/default/11040400 Set 2833 dtmf send payload to 101 recv payload to 101
  418. 2022-05-26 06:14:30.021774 60.13% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/11040400] 142.132.184.134 port 17496 -> 159.203.131.36 port 14760 codec: 8 ms: 20
  419. 2022-05-26 06:14:30.021774 60.13% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  420. 2022-05-26 06:14:30.021774 60.13% [DEBUG] switch_core_media.c:9089 sofia/default/11040400 Set 2833 dtmf send payload to 101
  421. 2022-05-26 06:14:30.021774 60.13% [DEBUG] switch_core_media.c:9096 sofia/default/11040400 Set 2833 dtmf receive payload to 101
  422. 2022-05-26 06:14:30.021774 60.13% [DEBUG] switch_core_media.c:9119 sofia/default/11040400 Set rtp dtmf delay to 40
  423. 2022-05-26 06:14:30.021774 60.13% [NOTICE] sofia.c:8683 Channel [sofia/default/11040400] has been answered
  424. EXECUTE [depth=1] sofia/default/11040400 record_session(/usr/local/freeswitch/recordings/075116d5-fde7-4bb6-bb1e-d58e7accce46.wav)
  425. 2022-05-26 06:14:30.041780 60.13% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  426. 2022-05-26 06:14:30.041780 60.13% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/11040400
  427. 2022-05-26 06:14:30.041780 60.13% [DEBUG] switch_channel.c:3950 (sofia/default/11040400) Callstate Change DOWN -> ACTIVE
  428. 2022-05-26 06:14:30.041780 60.13% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/9148867339@astppqa606.astppbilling.org:5064] 142.132.184.134 port 24586 -> 103.240.35.46 port 8000 codec: 8 ms: 20
  429. 2022-05-26 06:14:30.041780 60.13% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  430. 2022-05-26 06:14:30.041780 60.13% [DEBUG] switch_core_media.c:9089 sofia/default/9148867339@astppqa606.astppbilling.org:5064 Set 2833 dtmf send payload to 101
  431. 2022-05-26 06:14:30.041780 60.13% [DEBUG] switch_core_media.c:9096 sofia/default/9148867339@astppqa606.astppbilling.org:5064 Set 2833 dtmf receive payload to 101
  432. 2022-05-26 06:14:30.041780 60.13% [DEBUG] switch_core_media.c:9119 sofia/default/9148867339@astppqa606.astppbilling.org:5064 Set rtp dtmf delay to 40
  433. 2022-05-26 06:14:30.041780 60.13% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/9148867339@astppqa606.astppbilling.org:5064:
  434. v=0
  435. o=FreeSWITCH 1653521084 1653521085 IN IP4 142.132.184.134
  436. s=FreeSWITCH
  437. c=IN IP4 142.132.184.134
  438. t=0 0
  439. m=audio 24586 RTP/AVP 8 101
  440. a=rtpmap:8 PCMA/8000
  441. a=rtpmap:101 telephone-event/8000
  442. a=fmtp:101 0-15
  443. a=ptime:20
  444. a=sendrecv
  445.  
  446. 2022-05-26 06:14:30.041780 60.13% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/9148867339@astppqa606.astppbilling.org:5064] has been answered
  447. 2022-05-26 06:14:30.041780 60.13% [DEBUG] sofia.c:7499 Channel sofia/default/9148867339@astppqa606.astppbilling.org:5064 entering state [completed][200]
  448. EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 record_session(/usr/local/freeswitch/recordings/075116d5-fde7-4bb6-bb1e-d58e7accce46.wav)
  449. 2022-05-26 06:14:30.061788 60.13% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  450. 2022-05-26 06:14:30.061788 60.13% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/9148867339@astppqa606.astppbilling.org:5064
  451. 2022-05-26 06:14:30.061788 60.13% [DEBUG] switch_channel.c:3950 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) Callstate Change RINGING -> ACTIVE
  452. 2022-05-26 06:14:30.061788 60.13% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/11040400] Peer UUID: 0e7f9177-fe9d-4df8-bf12-1bf8542725b2
  453. 2022-05-26 06:14:30.061788 60.13% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/11040400) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  454. 2022-05-26 06:14:30.061788 60.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/11040400) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 424)
  455. 2022-05-26 06:14:30.061788 60.13% [DEBUG] switch_core_state_machine.c:650 (sofia/default/11040400) State EXCHANGE_MEDIA
  456. 2022-05-26 06:14:30.061788 60.13% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  457. 2022-05-26 06:14:30.061788 60.13% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  458. 2022-05-26 06:14:30.061788 60.13% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  459. 2022-05-26 06:14:30.101788 60.13% [WARNING] sofia_reg.c:516 jio Failed Registration [403], setting retry to 60 seconds.
  460. 2022-05-26 06:14:30.221776 60.13% [DEBUG] sofia.c:7499 Channel sofia/default/9148867339@astppqa606.astppbilling.org:5064 entering state [ready][200]
  461. 2022-05-26 06:14:30.221776 60.13% [DEBUG] switch_ivr_bridge.c:655 sofia/default/11040400 Bridge execute app sched_hangup(+25440 normal_clearing)
  462. 2022-05-26 06:14:30.241773 60.13% [DEBUG] switch_ivr.c:632 sofia/default/11040400 Command Execute [depth=0] sched_hangup(+25440 normal_clearing)
  463. EXECUTE [depth=0] sofia/default/11040400 sched_hangup(+25440 normal_clearing)
  464. 2022-05-26 06:14:30.241773 60.13% [DEBUG] switch_scheduler.c:263 Added task 143 switch_ivr_schedule_hangup (0e7f9177-fe9d-4df8-bf12-1bf8542725b2) to run at 1653571110
  465. 2022-05-26 06:14:30.361776 60.10% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  466. 2022-05-26 06:14:30.361776 60.10% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
  467. 2022-05-26 06:14:30.481779 60.10% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  468. 2022-05-26 06:14:30.481779 60.10% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
  469. 2022-05-26 06:14:39.621781 60.23% [NOTICE] sofia.c:1065 Hangup sofia/default/9148867339@astppqa606.astppbilling.org:5064 [CS_EXECUTE] [NORMAL_CLEARING]
  470. 2022-05-26 06:14:39.621781 60.23% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/9148867339@astppqa606.astppbilling.org:5064]
  471. 2022-05-26 06:14:39.621781 60.23% [DEBUG] switch_ivr_bridge.c:820 sofia/default/9148867339@astppqa606.astppbilling.org:5064 ending bridge by request from write function
  472. 2022-05-26 06:14:39.621781 60.23% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/11040400]
  473. 2022-05-26 06:14:39.621781 60.23% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/11040400 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  474. 2022-05-26 06:14:39.621781 60.23% [DEBUG] switch_core_state_machine.c:650 (sofia/default/11040400) State EXCHANGE_MEDIA going to sleep
  475. 2022-05-26 06:14:39.621781 60.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/11040400) Running State Change CS_HANGUP (Cur 2 Tot 424)
  476. 2022-05-26 06:14:39.621781 60.23% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/075116d5-fde7-4bb6-bb1e-d58e7accce46.wav
  477. 2022-05-26 06:14:39.621781 60.23% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  478. 2022-05-26 06:14:39.621781 60.23% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/11040400
  479. 2022-05-26 06:14:39.621781 60.23% [DEBUG] switch_core_state_machine.c:844 (sofia/default/11040400) Callstate Change ACTIVE -> HANGUP
  480. 2022-05-26 06:14:39.621781 60.23% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/11040400 skip receive message [UNBRIDGE] (channel is hungup already)
  481. 2022-05-26 06:14:39.621781 60.23% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/9148867339@astppqa606.astppbilling.org:5064 skip receive message [UNBRIDGE] (channel is hungup already)
  482. 2022-05-26 06:14:39.621781 60.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/11040400) State HANGUP
  483. 2022-05-26 06:14:39.621781 60.23% [DEBUG] mod_sofia.c:462 sofia/default/11040400 Overriding SIP cause 480 with 200 from the other leg
  484. 2022-05-26 06:14:39.621781 60.23% [DEBUG] mod_sofia.c:468 Channel sofia/default/11040400 hanging up, cause: NORMAL_CLEARING
  485. 2022-05-26 06:14:39.621781 60.23% [DEBUG] switch_core_session.c:2983 sofia/default/9148867339@astppqa606.astppbilling.org:5064 skip receive message [PHONE_EVENT] (channel is hungup already)
  486. 2022-05-26 06:14:39.621781 60.23% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) State EXECUTE going to sleep
  487. 2022-05-26 06:14:39.621781 60.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) Running State Change CS_HANGUP (Cur 2 Tot 424)
  488. 2022-05-26 06:14:39.621781 60.23% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/075116d5-fde7-4bb6-bb1e-d58e7accce46.wav
  489. 2022-05-26 06:14:39.621781 60.23% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/11040400
  490. 2022-05-26 06:14:39.621781 60.23% [DEBUG] switch_core_state_machine.c:59 sofia/default/11040400 Standard HANGUP, cause: NORMAL_CLEARING
  491. 2022-05-26 06:14:39.621781 60.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/11040400) State HANGUP going to sleep
  492. 2022-05-26 06:14:39.621781 60.23% [DEBUG] switch_core_state_machine.c:616 (sofia/default/11040400) State Change CS_HANGUP -> CS_REPORTING
  493. 2022-05-26 06:14:39.621781 60.23% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  494. 2022-05-26 06:14:39.621781 60.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/11040400) Running State Change CS_REPORTING (Cur 2 Tot 424)
  495. 2022-05-26 06:14:39.621781 60.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/11040400) State REPORTING
  496. 2022-05-26 06:14:39.621781 60.23% [INFO] mod_json_cdr.c:271 Process [0e7f9177-fe9d-4df8-bf12-1bf8542725b2.cdr.json]
  497. 2022-05-26 06:14:39.621781 60.23% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/9148867339@astppqa606.astppbilling.org:5064
  498. 2022-05-26 06:14:39.621781 60.23% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) Callstate Change ACTIVE -> HANGUP
  499. 2022-05-26 06:14:39.621781 60.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) State HANGUP
  500. 2022-05-26 06:14:39.621781 60.23% [DEBUG] mod_sofia.c:468 Channel sofia/default/9148867339@astppqa606.astppbilling.org:5064 hanging up, cause: NORMAL_CLEARING
  501. 2022-05-26 06:14:39.621781 60.23% [DEBUG] switch_core_state_machine.c:59 sofia/default/9148867339@astppqa606.astppbilling.org:5064 Standard HANGUP, cause: NORMAL_CLEARING
  502. 2022-05-26 06:14:39.621781 60.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) State HANGUP going to sleep
  503. 2022-05-26 06:14:39.621781 60.23% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) State Change CS_HANGUP -> CS_REPORTING
  504. 2022-05-26 06:14:39.621781 60.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) Running State Change CS_REPORTING (Cur 2 Tot 424)
  505. 2022-05-26 06:14:39.621781 60.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) State REPORTING
  506. 2022-05-26 06:14:39.641789 60.23% [INFO] mod_json_cdr.c:271 Process [075116d5-fde7-4bb6-bb1e-d58e7accce46.cdr.json]
  507. 2022-05-26 06:14:39.641789 60.23% [ERR] mod_json_cdr.c:396 Got error [500] posting to web server [http://localhost:8735/cdr.php]
  508. 2022-05-26 06:14:39.641789 60.23% [ERR] mod_json_cdr.c:415 Unable to post to web server
  509. 2022-05-26 06:14:39.641789 60.23% [INFO] mod_json_cdr.c:208 Backup file /var/log/freeswitch/json_cdr/0e7f9177-fe9d-4df8-bf12-1bf8542725b2.cdr.json
  510. 2022-05-26 06:14:39.641789 60.23% [DEBUG] switch_core_state_machine.c:168 sofia/default/11040400 Standard REPORTING, cause: NORMAL_CLEARING
  511. 2022-05-26 06:14:39.641789 60.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/11040400) State REPORTING going to sleep
  512. 2022-05-26 06:14:39.641789 60.23% [DEBUG] switch_core_state_machine.c:607 (sofia/default/11040400) State Change CS_REPORTING -> CS_DESTROY
  513. 2022-05-26 06:14:39.641789 60.23% [DEBUG] switch_core_session.c:1753 Session 424 (sofia/default/11040400) Locked, Waiting on external entities
  514. 2022-05-26 06:14:39.641789 60.23% [NOTICE] switch_core_session.c:1771 Session 424 (sofia/default/11040400) Ended
  515. 2022-05-26 06:14:39.641789 60.23% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/11040400 [CS_DESTROY]
  516. 2022-05-26 06:14:39.641789 60.23% [DEBUG] switch_core_state_machine.c:735 (sofia/default/11040400) Running State Change CS_DESTROY (Cur 1 Tot 424)
  517. 2022-05-26 06:14:39.641789 60.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/11040400) State DESTROY
  518. 2022-05-26 06:14:39.641789 60.23% [DEBUG] mod_sofia.c:379 sofia/default/11040400 SOFIA DESTROY
  519. 2022-05-26 06:14:39.641789 60.23% [DEBUG] switch_core_state_machine.c:175 sofia/default/11040400 Standard DESTROY
  520. 2022-05-26 06:14:39.641789 60.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/11040400) State DESTROY going to sleep
  521. 2022-05-26 06:14:39.641789 60.23% [ERR] mod_json_cdr.c:396 Got error [500] posting to web server [http://localhost:8735/cdr.php]
  522. 2022-05-26 06:14:39.641789 60.23% [ERR] mod_json_cdr.c:415 Unable to post to web server
  523. 2022-05-26 06:14:39.641789 60.23% [INFO] mod_json_cdr.c:208 Backup file /var/log/freeswitch/json_cdr/075116d5-fde7-4bb6-bb1e-d58e7accce46.cdr.json
  524. 2022-05-26 06:14:39.641789 60.23% [DEBUG] switch_core_state_machine.c:168 sofia/default/9148867339@astppqa606.astppbilling.org:5064 Standard REPORTING, cause: NORMAL_CLEARING
  525. 2022-05-26 06:14:39.641789 60.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) State REPORTING going to sleep
  526. 2022-05-26 06:14:39.641789 60.23% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) State Change CS_REPORTING -> CS_DESTROY
  527. 2022-05-26 06:14:39.641789 60.23% [DEBUG] switch_core_session.c:1753 Session 423 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) Locked, Waiting on external entities
  528. 2022-05-26 06:14:39.641789 60.23% [NOTICE] switch_core_session.c:1771 Session 423 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) Ended
  529. 2022-05-26 06:14:39.641789 60.23% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9148867339@astppqa606.astppbilling.org:5064 [CS_DESTROY]
  530. 2022-05-26 06:14:39.641789 60.23% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) Running State Change CS_DESTROY (Cur 0 Tot 424)
  531. 2022-05-26 06:14:39.641789 60.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) State DESTROY
  532. 2022-05-26 06:14:39.641789 60.23% [DEBUG] mod_sofia.c:379 sofia/default/9148867339@astppqa606.astppbilling.org:5064 SOFIA DESTROY
  533. 2022-05-26 06:14:39.641789 60.23% [DEBUG] switch_core_state_machine.c:175 sofia/default/9148867339@astppqa606.astppbilling.org:5064 Standard DESTROY
  534. 2022-05-26 06:14:39.641789 60.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) State DESTROY going to sleep
  535. 2022-05-26 06:14:39.741776 60.23% [DEBUG] switch_scheduler.c:147 Deleting task 143 switch_ivr_schedule_hangup (0e7f9177-fe9d-4df8-bf12-1bf8542725b2)
  536. freeswitch@devangASTPP> /exit