From Prashant kumar, 2 Years ago, written in FreeSWITCH.
- view diff
Embed
  1. freeswitch@ip-172-31-14-218>
  2. freeswitch@ip-172-31-14-218>
  3. freeswitch@ip-172-31-14-218>
  4. 2022-03-30 13:13:10.631559 95.73% [NOTICE] switch_channel.c:1123 New Channel sofia/default/4579806873@w07version60.astppbilling.org:5074 [d6d9795f-2df3-4739-b675-563a03ec9ed9]
  5. 2022-03-30 13:13:10.631559 95.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4579806873@w07version60.astppbilling.org:5074) Running State Change CS_NEW (Cur 1 Tot 3)
  6. 2022-03-30 13:13:10.631559 95.73% [INFO] sofia.c:10462 sofia/default/4579806873@w07version60.astppbilling.org:5074 receiving invite from 117.247.91.162:60244 version: 1.10.7 -release-19-883d2cb662 64bit call-id: Xeq2In7lqcbFPl-PxTCFOg..
  7. 2022-03-30 13:13:10.631559 95.73% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 117.247.91.162:0.
  8. 2022-03-30 13:13:10.631559 95.73% [DEBUG] sofia.c:2419 detaching session d6d9795f-2df3-4739-b675-563a03ec9ed9
  9. 2022-03-30 13:13:10.631559 95.73% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [7700407676@w07version60.astppbilling.org] from ip 117.247.91.162
  10. 2022-03-30 13:13:10.631559 95.73% [DEBUG] switch_core_state_machine.c:600 (sofia/default/4579806873@w07version60.astppbilling.org:5074) State NEW
  11. 2022-03-30 13:13:10.691556 95.73% [DEBUG] sofia.c:2532 Re-attaching to session d6d9795f-2df3-4739-b675-563a03ec9ed9
  12. 2022-03-30 13:13:10.711569 95.73% [INFO] sofia.c:10462 sofia/default/4579806873@w07version60.astppbilling.org:5074 receiving invite from 117.247.91.162:60244 version: 1.10.7 -release-19-883d2cb662 64bit call-id: Xeq2In7lqcbFPl-PxTCFOg..
  13. 2022-03-30 13:13:10.711569 95.73% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 117.247.91.162:0.
  14. 2022-03-30 13:13:10.711569 95.73% [DEBUG] sofia.c:11672 Setting NAT mode based on via port
  15. 2022-03-30 13:13:10.711569 95.73% [DEBUG] sofia.c:7499 Channel sofia/default/4579806873@w07version60.astppbilling.org:5074 entering state [received][100]
  16. 2022-03-30 13:13:10.711569 95.73% [DEBUG] sofia.c:7509 Remote SDP:
  17. v=0
  18. o=Z 0 0 IN IP4 117.247.91.162
  19. s=Z
  20. c=IN IP4 117.247.91.162
  21. t=0 0
  22. m=audio 8000 RTP/AVP 3 110 8 0 97 101
  23. a=rtpmap:110 speex/8000
  24. a=rtpmap:97 iLBC/8000
  25. a=fmtp:97 mode=30
  26. a=rtpmap:101 telephone-event/8000
  27. a=fmtp:101 0-16
  28.  
  29. 2022-03-30 13:13:10.711569 95.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  30. 2022-03-30 13:13:10.711569 95.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  31. 2022-03-30 13:13:10.711569 95.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  32. 2022-03-30 13:13:10.711569 95.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  33. 2022-03-30 13:13:10.711569 95.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  34. 2022-03-30 13:13:10.711569 95.73% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  35. 2022-03-30 13:13:10.711569 95.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  36. 2022-03-30 13:13:10.711569 95.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  37. 2022-03-30 13:13:10.711569 95.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  38. 2022-03-30 13:13:10.711569 95.73% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  39. 2022-03-30 13:13:10.711569 95.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  40. 2022-03-30 13:13:10.711569 95.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  41. 2022-03-30 13:13:10.711569 95.73% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  42. 2022-03-30 13:13:10.711569 95.73% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/4579806873@w07version60.astppbilling.org:5074 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  43. 2022-03-30 13:13:10.711569 95.73% [DEBUG] switch_core_codec.c:111 sofia/default/4579806873@w07version60.astppbilling.org:5074 Original read codec set to PCMA:8
  44. 2022-03-30 13:13:10.711569 95.73% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  45. 2022-03-30 13:13:10.711569 95.73% [DEBUG] switch_core_media.c:5973 sofia/default/4579806873@w07version60.astppbilling.org:5074 Set 2833 dtmf send payload to 101 recv payload to 101
  46. 2022-03-30 13:13:10.711569 95.73% [DEBUG] sofia.c:7933 (sofia/default/4579806873@w07version60.astppbilling.org:5074) State Change CS_NEW -> CS_INIT
  47. 2022-03-30 13:13:10.711569 95.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4579806873@w07version60.astppbilling.org:5074) Running State Change CS_INIT (Cur 1 Tot 3)
  48. 2022-03-30 13:13:10.711569 95.73% [DEBUG] switch_core_state_machine.c:624 (sofia/default/4579806873@w07version60.astppbilling.org:5074) State INIT
  49. 2022-03-30 13:13:10.711569 95.73% [DEBUG] mod_sofia.c:97 sofia/default/4579806873@w07version60.astppbilling.org:5074 SOFIA INIT
  50. 2022-03-30 13:13:10.711569 95.73% [DEBUG] switch_core_state_machine.c:40 sofia/default/4579806873@w07version60.astppbilling.org:5074 Standard INIT
  51. 2022-03-30 13:13:10.711569 95.73% [DEBUG] switch_core_state_machine.c:48 (sofia/default/4579806873@w07version60.astppbilling.org:5074) State Change CS_INIT -> CS_ROUTING
  52. 2022-03-30 13:13:10.711569 95.73% [DEBUG] switch_core_state_machine.c:624 (sofia/default/4579806873@w07version60.astppbilling.org:5074) State INIT going to sleep
  53. 2022-03-30 13:13:10.711569 95.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4579806873@w07version60.astppbilling.org:5074) Running State Change CS_ROUTING (Cur 1 Tot 3)
  54. 2022-03-30 13:13:10.711569 95.73% [DEBUG] switch_channel.c:2380 (sofia/default/4579806873@w07version60.astppbilling.org:5074) Callstate Change DOWN -> RINGING
  55. 2022-03-30 13:13:10.711569 95.73% [DEBUG] switch_core_state_machine.c:640 (sofia/default/4579806873@w07version60.astppbilling.org:5074) State ROUTING
  56. 2022-03-30 13:13:10.711569 95.73% [DEBUG] mod_sofia.c:158 sofia/default/4579806873@w07version60.astppbilling.org:5074 SOFIA ROUTING
  57. 2022-03-30 13:13:10.711569 95.73% [DEBUG] switch_core_state_machine.c:230 sofia/default/4579806873@w07version60.astppbilling.org:5074 Standard ROUTING
  58. 2022-03-30 13:13:10.711569 95.73% [INFO] mod_dialplan_xml.c:639 Processing 4579806873 <4579806873>->7700407676 in context default
  59. 2022-03-30 13:13:10.731608 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')
  60. 2022-03-30 13:13:10.731608 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  61. 2022-03-30 13:13:10.751559 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  62. 2022-03-30 13:13:10.751559 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 7700407676
  63. 2022-03-30 13:13:10.751559 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '7700407676' limit 1
  64. 2022-03-30 13:13:10.751559 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '7700407676' AND status=0 limit 1
  65. 2022-03-30 13:13:10.751559 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '7700407676' and status=0 LIMIT 1
  66. 2022-03-30 13:13:10.751559 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER4579806873
  67. 2022-03-30 13:13:10.751559 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  68. 2022-03-30 13:13:10.751559 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'w07version60.astppbilling.org' limit 1
  69. 2022-03-30 13:13:10.751559 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '8' and username = '7700407676' limit 1
  70. 2022-03-30 13:13:10.751559 95.73% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  71. 2022-03-30 13:13:10.751559 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 4579806873 / 4579806873
  72. 2022-03-30 13:13:10.751559 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 7676
  73. 2022-03-30 13:13:10.751559 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 770040 AND status=0 limit 1
  74. 2022-03-30 13:13:10.751559 95.73% [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 ="7700407676" LIMIT 1
  75. 2022-03-30 13:13:10.751559 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  76. 2022-03-30 13:13:10.751559 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="7700407676"  AND domains.domain="w07version60.astppbilling.org" limit 1
  77. 2022-03-30 13:13:10.751559 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  78. 2022-03-30 13:13:10.751559 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 4579806873]
  79. 2022-03-30 13:13:10.751559 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "4579806873" AND deleted = 0 limit 1
  80. 2022-03-30 13:13:10.751559 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^7700407676.*' OR blocked_patterns = '^770040767.*' OR blocked_patterns = '^77004076.*' OR blocked_patterns = '^7700407.*' OR blocked_patterns = '^770040.*' OR blocked_patterns = '^77004.*' OR blocked_patterns = '^7700.*' OR blocked_patterns = '^770.*' OR blocked_patterns = '^77.*' OR blocked_patterns = '^7.*' OR blocked_patterns ='--') AND accountid = 8 limit 1
  81. 2022-03-30 13:13:10.751559 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="7700407676" AND (accountid = 0 OR status = 1) LIMIT 1
  82. 2022-03-30 13:13:10.751559 95.73% [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 = '^7700407676.*' OR patterns = '^770040767.*' OR patterns = '^77004076.*' OR patterns = '^7700407.*' OR patterns = '^770040.*' OR patterns = '^77004.*' OR patterns = '^7700.*' OR patterns = '^770.*' OR patterns = '^77.*' OR patterns = '^7.*' OR patterns ='--') AND accountid = 8 ORDER BY LENGTH(PKGPTR.patterns) DESC
  83. 2022-03-30 13:13:10.751559 95.73% [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 ="7700407676" AND A.accountid = '8' limit 1
  84. 2022-03-30 13:13:10.751559 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 7700407676
  85. 2022-03-30 13:13:10.751559 95.73% [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 ="7700407676" LIMIT 1
  86. 2022-03-30 13:13:10.751559 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  87. 2022-03-30 13:13:10.751559 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="7700407676"  AND domains.domain="w07version60.astppbilling.org" limit 1
  88. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  89. 2022-03-30 13:13:10.771560 95.73% [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 = '7700407676' OR number = '770040767' OR number = '77004076' OR number = '7700407' OR number = '770040' OR number = '77004' OR number = '7700' OR number = '770' OR number = '77' OR number = '7' OR number ='--') OR (number = '7700407676*' OR number = '770040767*' OR number = '77004076*' OR number = '7700407*' OR number = '770040*' OR number = '77004*' OR number = '7700*' OR number = '770*' OR number = '77*' OR number = '7*' OR number ='--') OR (number = '4579806873' OR number = '457980687' OR number = '45798068' OR number = '4579806' OR number = '457980' OR number = '45798' OR number = '4579' OR number = '457' OR number = '45' OR number = '4' OR number ='--') OR (number = '4579806873*' OR number = '457980687*' OR number = '45798068*' OR number = '4579806*' OR number = '457980*' OR number = '45798*' OR number = '4579*' OR number = '457*' OR number = '45*' OR number = '4*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  90. 2022-03-30 13:13:10.771560 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  91. 2022-03-30 13:13:10.771560 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '7700407676' OR routing_prefix = '770040767' OR routing_prefix = '77004076' OR routing_prefix = '7700407' OR routing_prefix = '770040' OR routing_prefix = '77004' OR routing_prefix = '7700' OR routing_prefix = '770' OR routing_prefix = '77' OR routing_prefix = '7' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  92. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  93. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 8
  94. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 4579806873
  95. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 19854.9
  96. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  97. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 26
  98. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  99. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  100. 2022-03-30 13:13:10.771560 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 26 AND status = 0
  101. 2022-03-30 13:13:10.771560 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  102. 2022-03-30 13:13:10.771560 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 26 AND status = 0
  103. 2022-03-30 13:13:10.771560 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^7700407676.*' OR pattern = '^770040767.*' OR pattern = '^77004076.*' OR pattern = '^7700407.*' OR pattern = '^770040.*' OR pattern = '^77004.*' OR pattern = '^7700.*' OR pattern = '^770.*' OR pattern = '^77.*' OR pattern = '^7.*' OR pattern ='--') AND (caller_id_pattern = '^4579806873.*' OR caller_id_pattern = '^457980687.*' OR caller_id_pattern = '^45798068.*' OR caller_id_pattern = '^4579806.*' OR caller_id_pattern = '^457980.*' OR caller_id_pattern = '^45798.*' OR caller_id_pattern = '^4579.*' OR caller_id_pattern = '^457.*' OR caller_id_pattern = '^45.*' OR caller_id_pattern = '^4.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 26 OR accountid=8)  ORDER BY accountid DESC,LENGTH(pattern),LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  104. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  105. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  106. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:1.00000
  107. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:26
  108. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday from demand_based_routing where pricelist_id = '26' and status=0
  109. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] holiday_based_routing :
  110. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] today_date :30-3
  111. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] demand_based_condition :
  112. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_time :13.13
  113. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_wday :4
  114. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Demand based routing Match for priority :1
  115. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:1.2
  116. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  117. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 40
  118. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  119. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  120. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.2
  121. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : india
  122. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  123. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 8
  124. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  125. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  126. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  127. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your19854.9 balance Accountid 8 !!!
  128. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 16545.75 minutes
  129. 2022-03-30 13:13:10.771560 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  130. 2022-03-30 13:13:10.771560 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=26 ORDER by id asc
  131. 2022-03-30 13:13:10.771560 95.73% [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 = '^7700407676.*' OR pattern = '^770040767.*' OR pattern = '^77004076.*' OR pattern = '^7700407.*' OR pattern = '^770040.*' OR pattern = '^77004.*' OR pattern = '^7700.*' OR pattern = '^770.*' OR pattern = '^77.*' OR pattern = '^7.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (3) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
  132. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  133. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2
  134. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^77.*
  135. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Entdemo
  136. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  137. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  138. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^77.*
  139. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  140. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  141. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 3
  142. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : EntDemo
  143. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  144. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  145. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 20
  146. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  147. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : EntDemo
  148. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  149. 2022-03-30 13:13:10.771560 95.73% [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
  150. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 16545.75
  151. 2022-03-30 13:13:10.771560 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  152. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  153. 2022-03-30 13:13:10.771560 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
  154. 2022-03-30 13:13:10.771560 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 26 AND status = 0
  155. 2022-03-30 13:13:10.771560 95.73% [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 = 20) AND status=0 limit 1
  156. 2022-03-30 13:13:10.771560 95.73% [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 = 3) AND status=0 limit 1
  157. 2022-03-30 13:13:10.771560 95.73% [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 ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="4579806873"  AND domains.domain="w07version60.astppbilling.org" limit 1
  158. 2022-03-30 13:13:10.771560 95.73% [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 ="7700407676" LIMIT 1
  159. 2022-03-30 13:13:10.771560 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  160. 2022-03-30 13:13:10.771560 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  161. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  162. <document type="freeswitch/xml">
  163. <section name="dialplan" description="ASTPP Dialplan">
  164. <context name="default">
  165. <extension name="7700407676">
  166. <condition field="destination_number" expression="7700407676">
  167. <action application="set" data="effective_destination_number=7700407676"/>
  168. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  169. <action application="set" data="bridge_pre_execute_bleg_data=+992745 normal_clearing"/>
  170. <action application="set" data="callstart=2022-03-30 13:13:10"/>
  171. <action application="set" data="hangup_after_bridge=true"/>
  172. <action application="set" data="continue_on_fail=TRUE"/>
  173. <action application="set" data="account_id=8"/>
  174. <action application="set" data="parent_id=0"/>
  175. <action application="set" data="entity_id=0"/>
  176. <action application="set" data="call_processed=internal"/>
  177. <action application="set" data="call_direction=outbound"/>
  178. <action application="set" data="accountname=default"/>
  179. <action application="set" data="filename1=astpp.pbx.lua"/>
  180. <action application="sleep" data="1000"/>
  181. <action application="playback" data="/usr/share/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav"/>
  182. <action application="set" data="ringback=%(2000,4000,440.0,480.0)"/>
  183. <action application="say" data="en CURRENCY PRONOUNCED 19854.9"/>
  184. <action application="sleep" data="500"/>
  185. <action application="playback" data="/usr/share/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav"/>
  186. <action application="say" data="en NUMBER PRONOUNCED 16545"/>
  187. <action application="playback" data="/usr/share/freeswitch/sounds/en/us/callie/astpp-minute.wav"/>
  188. <action application="set" data="ringback=%(2000,4000,440.0,480.0)"/>
  189. <action application="set" data="origination_rates=ID:40|CODE:^77.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.2|INC:60|INITIALBLOCK:60|RATEGROUP:26|MARKUP:0|CI:0|ACCID:8"/>
  190. <action application="set" data="original_caller_id_name=4579806873"/>
  191. <action application="set" data="original_caller_id_number=4579806873"/>
  192.  
  193. <action application="export" data="is_recording=1"/>
  194. <action application="export" data="media_bug_answer_req=true"/>
  195. <action application="export" data="RECORD_STEREO=true"/>
  196. <action application="export" data="record_sample_rate=8000"/>
  197. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
  198. <action application="set" data="effective_caller_id_name=4579806873"/>
  199. <action application="set" data="effective_caller_id_number=4579806873"/>
  200. <action application="set" data="calltype=STANDARD"/>
  201. <action application="set" data="termination_rates=ID:2|CODE:^77.*|DESTINATION:Entdemo|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.60000|INC:60|INITIALBLOCK:60|TRUNK:3|PROVIDER:20"/>
  202. <action application="set" data="trunk_id=3"/>
  203. <action application="set" data="provider_id=20"/>
  204. <action application="set" data="rate_flag=0"/>
  205. <action application="set" data="force_trunk_flag=0"/>
  206. <action application="export" data="presence_data=trunk_id=3"/>
  207. <action application="set" data="intcall=0"/>
  208. <action application="export" data="presence_id=7700407676"/>
  209. <action application="export" data="presence_data=x|||Admin's Client - PK(4579806873)|||^77.* // india // 1.2 |||EntDemo  // ^77.* // Entdemo // 0.60000 // trunk_id=3|||STD|||117.247.91.162"/>
  210. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=30]sofia/gateway/EntDemo/7700407676"/>
  211. </condition>
  212. </extension>
  213. </context>
  214. </section>
  215. </document>
  216. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 parsing [default->7700407676] continue=false
  217. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 Regex (PASS) [7700407676] destination_number(7700407676) =~ /7700407676/ break=on-false
  218. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 Action set(effective_destination_number=7700407676)
  219. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  220. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 Action set(bridge_pre_execute_bleg_data=+992745 normal_clearing)
  221. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 Action set(callstart=2022-03-30 13:13:10)
  222. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 Action set(hangup_after_bridge=true)
  223. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 Action set(continue_on_fail=TRUE)
  224. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 Action set(account_id=8)
  225. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 Action set(parent_id=0)
  226. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 Action set(entity_id=0)
  227. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 Action set(call_processed=internal)
  228. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 Action set(call_direction=outbound)
  229. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 Action set(accountname=default)
  230. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 Action set(filename1=astpp.pbx.lua)
  231. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 Action sleep(1000)
  232. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 Action playback(/usr/share/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav)
  233. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 Action set(ringback=%(2000,4000,440.0,480.0))
  234. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 Action say(en CURRENCY PRONOUNCED 19854.9)
  235. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 Action sleep(500)
  236. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 Action playback(/usr/share/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav)
  237. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 Action say(en NUMBER PRONOUNCED 16545)
  238. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 Action playback(/usr/share/freeswitch/sounds/en/us/callie/astpp-minute.wav)
  239. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 Action set(ringback=%(2000,4000,440.0,480.0))
  240. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 Action set(origination_rates=ID:40|CODE:^77.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.2|INC:60|INITIALBLOCK:60|RATEGROUP:26|MARKUP:0|CI:0|ACCID:8)
  241. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 Action set(original_caller_id_name=4579806873)
  242. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 Action set(original_caller_id_number=4579806873)
  243. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 Action export(is_recording=1)
  244. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 Action export(media_bug_answer_req=true)
  245. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 Action export(RECORD_STEREO=true)
  246. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 Action export(record_sample_rate=8000)
  247. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  248. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 Action set(effective_caller_id_name=4579806873)
  249. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 Action set(effective_caller_id_number=4579806873)
  250. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 Action set(calltype=STANDARD)
  251. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 Action set(termination_rates=ID:2|CODE:^77.*|DESTINATION:Entdemo|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.60000|INC:60|INITIALBLOCK:60|TRUNK:3|PROVIDER:20)
  252. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 Action set(trunk_id=3)
  253. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 Action set(provider_id=20)
  254. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 Action set(rate_flag=0)
  255. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 Action set(force_trunk_flag=0)
  256. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 Action export(presence_data=trunk_id=3)
  257. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 Action set(intcall=0)
  258. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 Action export(presence_id=7700407676)
  259. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 Action export(presence_data=x|||Admin's Client - PK(4579806873)|||^77.* // india // 1.2 |||EntDemo  // ^77.* // Entdemo // 0.60000 // trunk_id=3|||STD|||117.247.91.162)
  260. Dialplan: sofia/default/4579806873@w07version60.astppbilling.org:5074 Action bridge({sip_cid_type=none}[leg_timeout=30]sofia/gateway/EntDemo/7700407676)
  261. 2022-03-30 13:13:10.771560 95.73% [DEBUG] switch_core_state_machine.c:281 (sofia/default/4579806873@w07version60.astppbilling.org:5074) State Change CS_ROUTING -> CS_EXECUTE
  262. 2022-03-30 13:13:10.771560 95.73% [DEBUG] switch_core_state_machine.c:640 (sofia/default/4579806873@w07version60.astppbilling.org:5074) State ROUTING going to sleep
  263. 2022-03-30 13:13:10.771560 95.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4579806873@w07version60.astppbilling.org:5074) Running State Change CS_EXECUTE (Cur 1 Tot 3)
  264. 2022-03-30 13:13:10.771560 95.73% [DEBUG] switch_core_state_machine.c:647 (sofia/default/4579806873@w07version60.astppbilling.org:5074) State EXECUTE
  265. 2022-03-30 13:13:10.771560 95.73% [DEBUG] mod_sofia.c:213 sofia/default/4579806873@w07version60.astppbilling.org:5074 SOFIA EXECUTE
  266. 2022-03-30 13:13:10.771560 95.73% [DEBUG] switch_core_state_machine.c:323 sofia/default/4579806873@w07version60.astppbilling.org:5074 Standard EXECUTE
  267. EXECUTE [depth=0] sofia/default/4579806873@w07version60.astppbilling.org:5074 set(effective_destination_number=7700407676)
  268. 2022-03-30 13:13:10.771560 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/4579806873@w07version60.astppbilling.org:5074 [effective_destination_number]=[7700407676]
  269. EXECUTE [depth=0] sofia/default/4579806873@w07version60.astppbilling.org:5074 set(bridge_pre_execute_bleg_app=sched_hangup)
  270. 2022-03-30 13:13:10.771560 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/4579806873@w07version60.astppbilling.org:5074 [bridge_pre_execute_bleg_app]=[sched_hangup]
  271. EXECUTE [depth=0] sofia/default/4579806873@w07version60.astppbilling.org:5074 set(bridge_pre_execute_bleg_data=+992745 normal_clearing)
  272. 2022-03-30 13:13:10.771560 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/4579806873@w07version60.astppbilling.org:5074 [bridge_pre_execute_bleg_data]=[+992745 normal_clearing]
  273. EXECUTE [depth=0] sofia/default/4579806873@w07version60.astppbilling.org:5074 set(callstart=2022-03-30 13:13:10)
  274. 2022-03-30 13:13:10.771560 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/4579806873@w07version60.astppbilling.org:5074 [callstart]=[2022-03-30 13:13:10]
  275. EXECUTE [depth=0] sofia/default/4579806873@w07version60.astppbilling.org:5074 set(hangup_after_bridge=true)
  276. 2022-03-30 13:13:10.771560 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/4579806873@w07version60.astppbilling.org:5074 [hangup_after_bridge]=[true]
  277. EXECUTE [depth=0] sofia/default/4579806873@w07version60.astppbilling.org:5074 set(continue_on_fail=TRUE)
  278. 2022-03-30 13:13:10.771560 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/4579806873@w07version60.astppbilling.org:5074 [continue_on_fail]=[TRUE]
  279. EXECUTE [depth=0] sofia/default/4579806873@w07version60.astppbilling.org:5074 set(account_id=8)
  280. 2022-03-30 13:13:10.771560 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/4579806873@w07version60.astppbilling.org:5074 [account_id]=[8]
  281. EXECUTE [depth=0] sofia/default/4579806873@w07version60.astppbilling.org:5074 set(parent_id=0)
  282. 2022-03-30 13:13:10.771560 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/4579806873@w07version60.astppbilling.org:5074 [parent_id]=[0]
  283. EXECUTE [depth=0] sofia/default/4579806873@w07version60.astppbilling.org:5074 set(entity_id=0)
  284. 2022-03-30 13:13:10.771560 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/4579806873@w07version60.astppbilling.org:5074 [entity_id]=[0]
  285. EXECUTE [depth=0] sofia/default/4579806873@w07version60.astppbilling.org:5074 set(call_processed=internal)
  286. 2022-03-30 13:13:10.771560 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/4579806873@w07version60.astppbilling.org:5074 [call_processed]=[internal]
  287. EXECUTE [depth=0] sofia/default/4579806873@w07version60.astppbilling.org:5074 set(call_direction=outbound)
  288. 2022-03-30 13:13:10.771560 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/4579806873@w07version60.astppbilling.org:5074 [call_direction]=[outbound]
  289. EXECUTE [depth=0] sofia/default/4579806873@w07version60.astppbilling.org:5074 set(accountname=default)
  290. 2022-03-30 13:13:10.771560 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/4579806873@w07version60.astppbilling.org:5074 [accountname]=[default]
  291. EXECUTE [depth=0] sofia/default/4579806873@w07version60.astppbilling.org:5074 set(filename1=astpp.pbx.lua)
  292. 2022-03-30 13:13:10.771560 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/4579806873@w07version60.astppbilling.org:5074 [filename1]=[astpp.pbx.lua]
  293. EXECUTE [depth=0] sofia/default/4579806873@w07version60.astppbilling.org:5074 sleep(1000)
  294. 2022-03-30 13:13:11.771576 95.40% [DEBUG] switch_core_session.c:2795 Application playback Requires media! pre_answering channel sofia/default/4579806873@w07version60.astppbilling.org:5074
  295. 2022-03-30 13:13:11.771576 95.40% [INFO] switch_core_session.c:2797 Sending early media
  296. 2022-03-30 13:13:11.771576 95.40% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/4579806873@w07version60.astppbilling.org:5074] 172.31.14.218 port 19814 -> 117.247.91.162 port 8000 codec: 8 ms: 20
  297. 2022-03-30 13:13:11.771576 95.40% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  298. 2022-03-30 13:13:11.771576 95.40% [DEBUG] switch_core_media.c:9089 sofia/default/4579806873@w07version60.astppbilling.org:5074 Set 2833 dtmf send payload to 101
  299. 2022-03-30 13:13:11.771576 95.40% [DEBUG] switch_core_media.c:9096 sofia/default/4579806873@w07version60.astppbilling.org:5074 Set 2833 dtmf receive payload to 101
  300. 2022-03-30 13:13:11.771576 95.40% [DEBUG] switch_core_media.c:9119 sofia/default/4579806873@w07version60.astppbilling.org:5074 Set rtp dtmf delay to 40
  301. 2022-03-30 13:13:11.771576 95.40% [DEBUG] mod_sofia.c:2610 Ring SDP:
  302. v=0
  303. o=FreeSWITCH 1648626177 1648626178 IN IP4 3.7.66.233
  304. s=FreeSWITCH
  305. c=IN IP4 3.7.66.233
  306. t=0 0
  307. m=audio 19814 RTP/AVP 8 101
  308. a=rtpmap:8 PCMA/8000
  309. a=rtpmap:101 telephone-event/8000
  310. a=fmtp:101 0-15
  311. a=ptime:20
  312. a=sendrecv
  313.  
  314. 2022-03-30 13:13:11.771576 95.40% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/4579806873@w07version60.astppbilling.org:5074!
  315. 2022-03-30 13:13:11.771576 95.40% [DEBUG] switch_channel.c:3622 (sofia/default/4579806873@w07version60.astppbilling.org:5074) Callstate Change RINGING -> EARLY
  316. 2022-03-30 13:13:11.791632 95.40% [DEBUG] sofia.c:7499 Channel sofia/default/4579806873@w07version60.astppbilling.org:5074 entering state [early][183]
  317. EXECUTE [depth=0] sofia/default/4579806873@w07version60.astppbilling.org:5074 playback(/usr/share/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav)
  318. 2022-03-30 13:13:11.791632 95.40% [DEBUG] switch_core_file.c:444 File /usr/share/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav sample rate 16000 doesn't match requested rate 8000
  319. 2022-03-30 13:13:11.791632 95.40% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  320. 2022-03-30 13:13:11.911559 95.40% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  321. 2022-03-30 13:13:13.091576 96.00% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav
  322. EXECUTE [depth=0] sofia/default/4579806873@w07version60.astppbilling.org:5074 set(ringback=%(2000,4000,440.0,480.0))
  323. 2022-03-30 13:13:13.091576 96.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/4579806873@w07version60.astppbilling.org:5074 [ringback]=[%(2000,4000,440.0,480.0)]
  324. EXECUTE [depth=0] sofia/default/4579806873@w07version60.astppbilling.org:5074 say(en CURRENCY PRONOUNCED 19854.9)
  325. 2022-03-30 13:13:13.111555 96.00% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  326. 2022-03-30 13:13:17.951567 96.00% [DEBUG] switch_ivr_play_say.c:2001 done playing file file_string://digits/19.wav!digits/thousand.wav!digits/8.wav!digits/hundred.wav!digits/50.wav!digits/4.wav!currency/dollars.wav!currency/and.wav!digits/9.wav!currency/cents.wav
  327. EXECUTE [depth=0] sofia/default/4579806873@w07version60.astppbilling.org:5074 sleep(500)
  328. EXECUTE [depth=0] sofia/default/4579806873@w07version60.astppbilling.org:5074 playback(/usr/share/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav)
  329. 2022-03-30 13:13:18.451590 96.03% [DEBUG] switch_core_file.c:444 File /usr/share/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav sample rate 16000 doesn't match requested rate 8000
  330. 2022-03-30 13:13:18.451590 96.03% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  331. 2022-03-30 13:13:19.651560 96.00% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav
  332. EXECUTE [depth=0] sofia/default/4579806873@w07version60.astppbilling.org:5074 say(en NUMBER PRONOUNCED 16545)
  333. 2022-03-30 13:13:19.671555 96.00% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  334. 2022-03-30 13:13:23.011586 96.07% [DEBUG] switch_ivr_play_say.c:2001 done playing file file_string://digits/16.wav!digits/thousand.wav!digits/5.wav!digits/hundred.wav!digits/40.wav!digits/5.wav
  335. EXECUTE [depth=0] sofia/default/4579806873@w07version60.astppbilling.org:5074 playback(/usr/share/freeswitch/sounds/en/us/callie/astpp-minute.wav)
  336. 2022-03-30 13:13:23.011586 96.07% [DEBUG] switch_core_file.c:444 File /usr/share/freeswitch/sounds/en/us/callie/astpp-minute.wav sample rate 16000 doesn't match requested rate 8000
  337. 2022-03-30 13:13:23.011586 96.07% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  338. 2022-03-30 13:13:23.491584 96.03% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-minute.wav
  339. EXECUTE [depth=0] sofia/default/4579806873@w07version60.astppbilling.org:5074 set(ringback=%(2000,4000,440.0,480.0))
  340. 2022-03-30 13:13:23.491584 96.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/4579806873@w07version60.astppbilling.org:5074 [ringback]=[%(2000,4000,440.0,480.0)]
  341. EXECUTE [depth=0] sofia/default/4579806873@w07version60.astppbilling.org:5074 set(origination_rates=ID:40|CODE:^77.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.2|INC:60|INITIALBLOCK:60|RATEGROUP:26|MARKUP:0|CI:0|ACCID:8)
  342. 2022-03-30 13:13:23.491584 96.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/4579806873@w07version60.astppbilling.org:5074 [origination_rates]=[ID:40|CODE:^77.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.2|INC:60|INITIALBLOCK:60|RATEGROUP:26|MARKUP:0|CI:0|ACCID:8]
  343. EXECUTE [depth=0] sofia/default/4579806873@w07version60.astppbilling.org:5074 set(original_caller_id_name=4579806873)
  344. 2022-03-30 13:13:23.491584 96.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/4579806873@w07version60.astppbilling.org:5074 [original_caller_id_name]=[4579806873]
  345. EXECUTE [depth=0] sofia/default/4579806873@w07version60.astppbilling.org:5074 set(original_caller_id_number=4579806873)
  346. 2022-03-30 13:13:23.491584 96.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/4579806873@w07version60.astppbilling.org:5074 [original_caller_id_number]=[4579806873]
  347. EXECUTE [depth=0] sofia/default/4579806873@w07version60.astppbilling.org:5074 export(is_recording=1)
  348. 2022-03-30 13:13:23.491584 96.03% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  349. EXECUTE [depth=0] sofia/default/4579806873@w07version60.astppbilling.org:5074 export(media_bug_answer_req=true)
  350. 2022-03-30 13:13:23.491584 96.03% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  351. EXECUTE [depth=0] sofia/default/4579806873@w07version60.astppbilling.org:5074 export(RECORD_STEREO=true)
  352. 2022-03-30 13:13:23.491584 96.03% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [RECORD_STEREO]=[true]
  353. EXECUTE [depth=0] sofia/default/4579806873@w07version60.astppbilling.org:5074 export(record_sample_rate=8000)
  354. 2022-03-30 13:13:23.491584 96.03% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  355. EXECUTE [depth=0] sofia/default/4579806873@w07version60.astppbilling.org:5074 export(execute_on_answer=record_session /var/lib/freeswitch/recordings/d6d9795f-2df3-4739-b675-563a03ec9ed9.wav)
  356. 2022-03-30 13:13:23.511554 96.03% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/d6d9795f-2df3-4739-b675-563a03ec9ed9.wav]
  357. EXECUTE [depth=0] sofia/default/4579806873@w07version60.astppbilling.org:5074 set(effective_caller_id_name=4579806873)
  358. 2022-03-30 13:13:23.511554 96.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/4579806873@w07version60.astppbilling.org:5074 [effective_caller_id_name]=[4579806873]
  359. EXECUTE [depth=0] sofia/default/4579806873@w07version60.astppbilling.org:5074 set(effective_caller_id_number=4579806873)
  360. 2022-03-30 13:13:23.511554 96.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/4579806873@w07version60.astppbilling.org:5074 [effective_caller_id_number]=[4579806873]
  361. EXECUTE [depth=0] sofia/default/4579806873@w07version60.astppbilling.org:5074 set(calltype=STANDARD)
  362. 2022-03-30 13:13:23.511554 96.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/4579806873@w07version60.astppbilling.org:5074 [calltype]=[STANDARD]
  363. EXECUTE [depth=0] sofia/default/4579806873@w07version60.astppbilling.org:5074 set(termination_rates=ID:2|CODE:^77.*|DESTINATION:Entdemo|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.60000|INC:60|INITIALBLOCK:60|TRUNK:3|PROVIDER:20)
  364. 2022-03-30 13:13:23.511554 96.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/4579806873@w07version60.astppbilling.org:5074 [termination_rates]=[ID:2|CODE:^77.*|DESTINATION:Entdemo|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.60000|INC:60|INITIALBLOCK:60|TRUNK:3|PROVIDER:20]
  365. EXECUTE [depth=0] sofia/default/4579806873@w07version60.astppbilling.org:5074 set(trunk_id=3)
  366. 2022-03-30 13:13:23.511554 96.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/4579806873@w07version60.astppbilling.org:5074 [trunk_id]=[3]
  367. EXECUTE [depth=0] sofia/default/4579806873@w07version60.astppbilling.org:5074 set(provider_id=20)
  368. 2022-03-30 13:13:23.511554 96.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/4579806873@w07version60.astppbilling.org:5074 [provider_id]=[20]
  369. EXECUTE [depth=0] sofia/default/4579806873@w07version60.astppbilling.org:5074 set(rate_flag=0)
  370. 2022-03-30 13:13:23.511554 96.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/4579806873@w07version60.astppbilling.org:5074 [rate_flag]=[0]
  371. EXECUTE [depth=0] sofia/default/4579806873@w07version60.astppbilling.org:5074 set(force_trunk_flag=0)
  372. 2022-03-30 13:13:23.511554 96.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/4579806873@w07version60.astppbilling.org:5074 [force_trunk_flag]=[0]
  373. EXECUTE [depth=0] sofia/default/4579806873@w07version60.astppbilling.org:5074 export(presence_data=trunk_id=3)
  374. 2022-03-30 13:13:23.511554 96.03% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=3]
  375. EXECUTE [depth=0] sofia/default/4579806873@w07version60.astppbilling.org:5074 set(intcall=0)
  376. 2022-03-30 13:13:23.511554 96.03% [DEBUG] mod_dptools.c:1685 SET sofia/default/4579806873@w07version60.astppbilling.org:5074 [intcall]=[0]
  377. EXECUTE [depth=0] sofia/default/4579806873@w07version60.astppbilling.org:5074 export(presence_id=7700407676)
  378. 2022-03-30 13:13:23.511554 96.03% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[7700407676]
  379. EXECUTE [depth=0] sofia/default/4579806873@w07version60.astppbilling.org:5074 export(presence_data=x|||Admin's Client - PK(4579806873)|||^77.* // india // 1.2 |||EntDemo  // ^77.* // Entdemo // 0.60000 // trunk_id=3|||STD|||117.247.91.162)
  380. 2022-03-30 13:13:23.511554 96.03% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Admin's Client - PK(4579806873)|||^77.* // india // 1.2 |||EntDemo  // ^77.* // Entdemo // 0.60000 // trunk_id=3|||STD|||117.247.91.162]
  381. EXECUTE [depth=0] sofia/default/4579806873@w07version60.astppbilling.org:5074 bridge({sip_cid_type=none}[leg_timeout=30]sofia/gateway/EntDemo/7700407676)
  382. 2022-03-30 13:13:23.511554 96.03% [DEBUG] switch_channel.c:1269 sofia/default/4579806873@w07version60.astppbilling.org:5074 EXPORTING[export_vars] [is_recording]=[1] to event
  383. 2022-03-30 13:13:23.511554 96.03% [DEBUG] switch_channel.c:1269 sofia/default/4579806873@w07version60.astppbilling.org:5074 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  384. 2022-03-30 13:13:23.511554 96.03% [DEBUG] switch_channel.c:1269 sofia/default/4579806873@w07version60.astppbilling.org:5074 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  385. 2022-03-30 13:13:23.511554 96.03% [DEBUG] switch_channel.c:1269 sofia/default/4579806873@w07version60.astppbilling.org:5074 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  386. 2022-03-30 13:13:23.511554 96.03% [DEBUG] switch_channel.c:1269 sofia/default/4579806873@w07version60.astppbilling.org:5074 EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/d6d9795f-2df3-4739-b675-563a03ec9ed9.wav] to event
  387. 2022-03-30 13:13:23.511554 96.03% [DEBUG] switch_channel.c:1269 sofia/default/4579806873@w07version60.astppbilling.org:5074 EXPORTING[export_vars] [presence_data]=[x|||Admin's Client - PK(4579806873)|||^77.* // india // 1.2 |||EntDemo  // ^77.* // Entdemo // 0.60000 // trunk_id=3|||STD|||117.247.91.162] to event
  388. 2022-03-30 13:13:23.511554 96.03% [DEBUG] switch_channel.c:1269 sofia/default/4579806873@w07version60.astppbilling.org:5074 EXPORTING[export_vars] [presence_id]=[7700407676] to event
  389. 2022-03-30 13:13:23.511554 96.03% [DEBUG] switch_channel.c:1269 sofia/default/4579806873@w07version60.astppbilling.org:5074 EXPORTING[export_vars] [presence_data]=[x|||Admin's Client - PK(4579806873)|||^77.* // india // 1.2 |||EntDemo  // ^77.* // Entdemo // 0.60000 // trunk_id=3|||STD|||117.247.91.162] to event
  390. 2022-03-30 13:13:23.511554 96.03% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  391. 2022-03-30 13:13:23.511554 96.03% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  392. 2022-03-30 13:13:23.511554 96.03% [NOTICE] switch_channel.c:1123 New Channel sofia/default/7700407676 [aca6a1f7-2e03-4282-9606-d50c183ba6c0]
  393. 2022-03-30 13:13:23.511554 96.03% [DEBUG] mod_sofia.c:5121 (sofia/default/7700407676) State Change CS_NEW -> CS_INIT
  394. 2022-03-30 13:13:23.511554 96.03% [DEBUG] switch_ivr_originate.c:3151 sofia/default/7700407676 Setting leg timeout to 30
  395. 2022-03-30 13:13:23.511554 96.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7700407676) Running State Change CS_INIT (Cur 2 Tot 4)
  396. 2022-03-30 13:13:23.511554 96.03% [DEBUG] switch_core_state_machine.c:624 (sofia/default/7700407676) State INIT
  397. 2022-03-30 13:13:23.511554 96.03% [DEBUG] mod_sofia.c:97 sofia/default/7700407676 SOFIA INIT
  398. 2022-03-30 13:13:23.511554 96.03% [INFO] sofia_glue.c:1651 sofia/default/7700407676 sending invite call-id: (null)
  399. 2022-03-30 13:13:23.511554 96.03% [DEBUG] sofia_glue.c:1654 sofia/default/7700407676 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  400. Local SDP:
  401. v=0
  402. o=FreeSWITCH 1648624473 1648624474 IN IP4 3.7.66.233
  403. s=FreeSWITCH
  404. c=IN IP4 3.7.66.233
  405. t=0 0
  406. m=audio 21530 RTP/AVP 8 101
  407. a=rtpmap:8 PCMA/8000
  408. a=rtpmap:101 telephone-event/8000
  409. a=fmtp:101 0-15
  410. a=ptime:20
  411. a=sendrecv
  412.  
  413. 2022-03-30 13:13:23.511554 96.03% [DEBUG] switch_core_state_machine.c:40 sofia/default/7700407676 Standard INIT
  414. 2022-03-30 13:13:23.511554 96.03% [DEBUG] switch_core_state_machine.c:48 (sofia/default/7700407676) State Change CS_INIT -> CS_ROUTING
  415. 2022-03-30 13:13:23.511554 96.03% [DEBUG] switch_core_state_machine.c:624 (sofia/default/7700407676) State INIT going to sleep
  416. 2022-03-30 13:13:23.511554 96.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7700407676) Running State Change CS_ROUTING (Cur 2 Tot 4)
  417. 2022-03-30 13:13:23.511554 96.03% [DEBUG] sofia.c:7499 Channel sofia/default/7700407676 entering state [calling][0]
  418. 2022-03-30 13:13:23.511554 96.03% [DEBUG] switch_core_state_machine.c:640 (sofia/default/7700407676) State ROUTING
  419. 2022-03-30 13:13:23.511554 96.03% [DEBUG] mod_sofia.c:158 sofia/default/7700407676 SOFIA ROUTING
  420. 2022-03-30 13:13:23.511554 96.03% [DEBUG] switch_ivr_originate.c:67 (sofia/default/7700407676) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  421. 2022-03-30 13:13:23.511554 96.03% [DEBUG] switch_core_state_machine.c:640 (sofia/default/7700407676) State ROUTING going to sleep
  422. 2022-03-30 13:13:23.511554 96.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7700407676) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 4)
  423. 2022-03-30 13:13:23.511554 96.03% [DEBUG] switch_core_state_machine.c:659 (sofia/default/7700407676) State CONSUME_MEDIA
  424. 2022-03-30 13:13:23.511554 96.03% [DEBUG] switch_core_state_machine.c:659 (sofia/default/7700407676) State CONSUME_MEDIA going to sleep
  425. 2022-03-30 13:13:24.031583 96.03% [DEBUG] sofia.c:7499 Channel sofia/default/7700407676 entering state [completing][200]
  426. 2022-03-30 13:13:24.031583 96.03% [DEBUG] sofia.c:7509 Remote SDP:
  427. v=0
  428. o=root 421421918 421421918 IN IP4 159.203.131.36
  429. s=Asterisk PBX 16.4.0
  430. c=IN IP4 159.203.131.36
  431. t=0 0
  432. m=audio 19838 RTP/AVP 8 101
  433. a=rtpmap:8 PCMA/8000
  434. a=rtpmap:101 telephone-event/8000
  435. a=fmtp:101 0-16
  436. a=maxptime:150
  437.  
  438. 2022-03-30 13:13:24.031583 96.03% [DEBUG] sofia.c:7499 Channel sofia/default/7700407676 entering state [ready][200]
  439. 2022-03-30 13:13:24.031583 96.03% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  440. 2022-03-30 13:13:24.031583 96.03% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  441. 2022-03-30 13:13:24.031583 96.03% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  442. 2022-03-30 13:13:24.031583 96.03% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/7700407676 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  443. 2022-03-30 13:13:24.031583 96.03% [DEBUG] switch_core_codec.c:111 sofia/default/7700407676 Original read codec set to PCMA:8
  444. 2022-03-30 13:13:24.031583 96.03% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  445. 2022-03-30 13:13:24.031583 96.03% [DEBUG] switch_core_media.c:5973 sofia/default/7700407676 Set 2833 dtmf send payload to 101 recv payload to 101
  446. 2022-03-30 13:13:24.031583 96.03% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/7700407676] 172.31.14.218 port 21530 -> 159.203.131.36 port 19838 codec: 8 ms: 20
  447. 2022-03-30 13:13:24.031583 96.03% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  448. 2022-03-30 13:13:24.031583 96.03% [DEBUG] switch_core_media.c:9089 sofia/default/7700407676 Set 2833 dtmf send payload to 101
  449. 2022-03-30 13:13:24.031583 96.03% [DEBUG] switch_core_media.c:9096 sofia/default/7700407676 Set 2833 dtmf receive payload to 101
  450. 2022-03-30 13:13:24.031583 96.03% [DEBUG] switch_core_media.c:9119 sofia/default/7700407676 Set rtp dtmf delay to 40
  451. 2022-03-30 13:13:24.031583 96.03% [NOTICE] sofia.c:8683 Channel [sofia/default/7700407676] has been answered
  452. EXECUTE [depth=1] sofia/default/7700407676 record_session(/var/lib/freeswitch/recordings/d6d9795f-2df3-4739-b675-563a03ec9ed9.wav)
  453. 2022-03-30 13:13:24.031583 96.03% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/4579806873@w07version60.astppbilling.org:5074.
  454. 2022-03-30 13:13:24.031583 96.03% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/4579806873@w07version60.astppbilling.org:5074:
  455. v=0
  456. o=FreeSWITCH 1648626177 1648626179 IN IP4 3.7.66.233
  457. s=FreeSWITCH
  458. c=IN IP4 3.7.66.233
  459. t=0 0
  460. m=audio 19814 RTP/AVP 8 101
  461. a=rtpmap:8 PCMA/8000
  462. a=rtpmap:101 telephone-event/8000
  463. a=fmtp:101 0-15
  464. a=ptime:20
  465. a=sendrecv
  466.  
  467. 2022-03-30 13:13:24.031583 96.03% [DEBUG] sofia.c:7499 Channel sofia/default/4579806873@w07version60.astppbilling.org:5074 entering state [completed][200]
  468. 2022-03-30 13:13:24.031583 96.03% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/4579806873@w07version60.astppbilling.org:5074] has been answered
  469. EXECUTE [depth=0] sofia/default/4579806873@w07version60.astppbilling.org:5074 record_session(/var/lib/freeswitch/recordings/d6d9795f-2df3-4739-b675-563a03ec9ed9.wav)
  470. 2022-03-30 13:13:24.031583 96.03% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  471. 2022-03-30 13:13:24.031583 96.03% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/7700407676
  472. 2022-03-30 13:13:24.051556 96.03% [DEBUG] switch_channel.c:3950 (sofia/default/7700407676) Callstate Change DOWN -> ACTIVE
  473. 2022-03-30 13:13:24.051556 96.03% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  474. 2022-03-30 13:13:24.051556 96.03% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/4579806873@w07version60.astppbilling.org:5074
  475. 2022-03-30 13:13:24.051556 96.03% [DEBUG] switch_channel.c:3950 (sofia/default/4579806873@w07version60.astppbilling.org:5074) Callstate Change EARLY -> ACTIVE
  476. 2022-03-30 13:13:24.051556 96.03% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/7700407676] Peer UUID: aca6a1f7-2e03-4282-9606-d50c183ba6c0
  477. 2022-03-30 13:13:24.051556 96.03% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/7700407676) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  478. 2022-03-30 13:13:24.051556 96.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7700407676) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 4)
  479. 2022-03-30 13:13:24.051556 96.03% [DEBUG] switch_core_state_machine.c:650 (sofia/default/7700407676) State EXCHANGE_MEDIA
  480. 2022-03-30 13:13:24.051556 96.03% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  481. 2022-03-30 13:13:24.051556 96.03% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  482. 2022-03-30 13:13:24.051556 96.03% [DEBUG] sofia.c:7499 Channel sofia/default/4579806873@w07version60.astppbilling.org:5074 entering state [ready][200]
  483. 2022-03-30 13:13:24.051556 96.03% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  484. 2022-03-30 13:13:24.211589 96.03% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  485. 2022-03-30 13:13:24.211589 96.03% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
  486. 2022-03-30 13:13:24.231589 96.03% [DEBUG] switch_ivr_bridge.c:655 sofia/default/7700407676 Bridge execute app sched_hangup(+992745 normal_clearing)
  487. 2022-03-30 13:13:24.251578 96.03% [DEBUG] switch_ivr.c:632 sofia/default/7700407676 Command Execute [depth=0] sched_hangup(+992745 normal_clearing)
  488. EXECUTE [depth=0] sofia/default/7700407676 sched_hangup(+992745 normal_clearing)
  489. 2022-03-30 13:13:24.251578 96.03% [DEBUG] switch_scheduler.c:263 Added task 5 switch_ivr_schedule_hangup (aca6a1f7-2e03-4282-9606-d50c183ba6c0) to run at 1649638749
  490. 2022-03-30 13:13:24.451578 96.03% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  491. 2022-03-30 13:13:24.451578 96.03% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
  492. 2022-03-30 13:13:59.111585 99.00% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [7184512061@3.7.66.233] from ip 117.247.91.162
  493. 2022-03-30 13:13:59.151571 99.00% [WARNING] sofia_reg.c:3223 Can't find user [7184512061@3.7.66.233] from 117.247.91.162
  494. You must define a domain called '3.7.66.233' in your directory and add a user with the id="7184512061" attribute
  495. and you must configure your device to use the proper domain in its authentication credentials.
  496. 2022-03-30 13:13:59.151571 99.00% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [7184512061@3.7.66.233] from ip 117.247.91.162
  497. 2022-03-30 13:14:22.391583 95.57% [NOTICE] sofia.c:1065 Hangup sofia/default/4579806873@w07version60.astppbilling.org:5074 [CS_EXECUTE] [NORMAL_CLEARING]
  498. 2022-03-30 13:14:22.391583 95.57% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/4579806873@w07version60.astppbilling.org:5074]
  499. 2022-03-30 13:14:22.411584 95.57% [DEBUG] switch_ivr_bridge.c:820 sofia/default/4579806873@w07version60.astppbilling.org:5074 ending bridge by request from write function
  500. 2022-03-30 13:14:22.411584 95.57% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/7700407676]
  501. 2022-03-30 13:14:22.411584 95.57% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/7700407676 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  502. 2022-03-30 13:14:22.411584 95.57% [DEBUG] switch_core_state_machine.c:650 (sofia/default/7700407676) State EXCHANGE_MEDIA going to sleep
  503. 2022-03-30 13:14:22.411584 95.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7700407676) Running State Change CS_HANGUP (Cur 2 Tot 4)
  504. 2022-03-30 13:14:22.411584 95.57% [DEBUG] switch_ivr_async.c:1596 Stop recording file /var/lib/freeswitch/recordings/d6d9795f-2df3-4739-b675-563a03ec9ed9.wav
  505. 2022-03-30 13:14:22.411584 95.57% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  506. 2022-03-30 13:14:22.411584 95.57% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/7700407676
  507. 2022-03-30 13:14:22.411584 95.57% [DEBUG] switch_core_state_machine.c:844 (sofia/default/7700407676) Callstate Change ACTIVE -> HANGUP
  508. 2022-03-30 13:14:22.411584 95.57% [DEBUG] switch_core_state_machine.c:846 (sofia/default/7700407676) State HANGUP
  509. 2022-03-30 13:14:22.411584 95.57% [DEBUG] mod_sofia.c:462 sofia/default/7700407676 Overriding SIP cause 480 with 200 from the other leg
  510. 2022-03-30 13:14:22.411584 95.57% [DEBUG] mod_sofia.c:468 Channel sofia/default/7700407676 hanging up, cause: NORMAL_CLEARING
  511. 2022-03-30 13:14:22.411584 95.57% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/7700407676 skip receive message [UNBRIDGE] (channel is hungup already)
  512. 2022-03-30 13:14:22.411584 95.57% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/4579806873@w07version60.astppbilling.org:5074 skip receive message [UNBRIDGE] (channel is hungup already)
  513. 2022-03-30 13:14:22.411584 95.57% [DEBUG] switch_core_session.c:2983 sofia/default/4579806873@w07version60.astppbilling.org:5074 skip receive message [PHONE_EVENT] (channel is hungup already)
  514. 2022-03-30 13:14:22.411584 95.57% [DEBUG] switch_core_state_machine.c:647 (sofia/default/4579806873@w07version60.astppbilling.org:5074) State EXECUTE going to sleep
  515. 2022-03-30 13:14:22.411584 95.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4579806873@w07version60.astppbilling.org:5074) Running State Change CS_HANGUP (Cur 2 Tot 4)
  516. 2022-03-30 13:14:22.411584 95.57% [DEBUG] switch_ivr_async.c:1596 Stop recording file /var/lib/freeswitch/recordings/d6d9795f-2df3-4739-b675-563a03ec9ed9.wav
  517. 2022-03-30 13:14:22.411584 95.57% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  518. 2022-03-30 13:14:22.411584 95.57% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/4579806873@w07version60.astppbilling.org:5074
  519. 2022-03-30 13:14:22.411584 95.57% [DEBUG] switch_core_state_machine.c:844 (sofia/default/4579806873@w07version60.astppbilling.org:5074) Callstate Change ACTIVE -> HANGUP
  520. 2022-03-30 13:14:22.411584 95.57% [DEBUG] switch_core_state_machine.c:846 (sofia/default/4579806873@w07version60.astppbilling.org:5074) State HANGUP
  521. 2022-03-30 13:14:22.411584 95.57% [DEBUG] mod_sofia.c:468 Channel sofia/default/4579806873@w07version60.astppbilling.org:5074 hanging up, cause: NORMAL_CLEARING
  522. 2022-03-30 13:14:22.411584 95.57% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/7700407676
  523. 2022-03-30 13:14:22.411584 95.57% [DEBUG] switch_core_state_machine.c:59 sofia/default/7700407676 Standard HANGUP, cause: NORMAL_CLEARING
  524. 2022-03-30 13:14:22.411584 95.57% [DEBUG] switch_core_state_machine.c:846 (sofia/default/7700407676) State HANGUP going to sleep
  525. 2022-03-30 13:14:22.411584 95.57% [DEBUG] switch_core_state_machine.c:616 (sofia/default/7700407676) State Change CS_HANGUP -> CS_REPORTING
  526. 2022-03-30 13:14:22.411584 95.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7700407676) Running State Change CS_REPORTING (Cur 2 Tot 4)
  527. 2022-03-30 13:14:22.411584 95.57% [DEBUG] switch_core_state_machine.c:932 (sofia/default/7700407676) State REPORTING
  528. 2022-03-30 13:14:22.411584 95.57% [INFO] mod_json_cdr.c:271 Process [aca6a1f7-2e03-4282-9606-d50c183ba6c0.cdr.json]
  529. 2022-03-30 13:14:22.411584 95.57% [DEBUG] switch_core_state_machine.c:59 sofia/default/4579806873@w07version60.astppbilling.org:5074 Standard HANGUP, cause: NORMAL_CLEARING
  530. 2022-03-30 13:14:22.411584 95.57% [DEBUG] switch_core_state_machine.c:846 (sofia/default/4579806873@w07version60.astppbilling.org:5074) State HANGUP going to sleep
  531. 2022-03-30 13:14:22.411584 95.57% [DEBUG] switch_core_state_machine.c:616 (sofia/default/4579806873@w07version60.astppbilling.org:5074) State Change CS_HANGUP -> CS_REPORTING
  532. 2022-03-30 13:14:22.411584 95.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4579806873@w07version60.astppbilling.org:5074) Running State Change CS_REPORTING (Cur 2 Tot 4)
  533. 2022-03-30 13:14:22.411584 95.57% [DEBUG] switch_core_state_machine.c:932 (sofia/default/4579806873@w07version60.astppbilling.org:5074) State REPORTING
  534. 2022-03-30 13:14:22.411584 95.57% [INFO] mod_json_cdr.c:271 Process [d6d9795f-2df3-4739-b675-563a03ec9ed9.cdr.json]
  535. 2022-03-30 13:14:22.491561 95.57% [DEBUG] switch_core_state_machine.c:168 sofia/default/7700407676 Standard REPORTING, cause: NORMAL_CLEARING
  536. 2022-03-30 13:14:22.491561 95.57% [DEBUG] switch_core_state_machine.c:932 (sofia/default/7700407676) State REPORTING going to sleep
  537. 2022-03-30 13:14:22.491561 95.57% [DEBUG] switch_core_state_machine.c:607 (sofia/default/7700407676) State Change CS_REPORTING -> CS_DESTROY
  538. 2022-03-30 13:14:22.491561 95.57% [DEBUG] switch_core_session.c:1753 Session 4 (sofia/default/7700407676) Locked, Waiting on external entities
  539. 2022-03-30 13:14:22.491561 95.57% [NOTICE] switch_core_session.c:1771 Session 4 (sofia/default/7700407676) Ended
  540. 2022-03-30 13:14:22.491561 95.57% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/7700407676 [CS_DESTROY]
  541. 2022-03-30 13:14:22.491561 95.57% [DEBUG] switch_core_state_machine.c:735 (sofia/default/7700407676) Running State Change CS_DESTROY (Cur 1 Tot 4)
  542. 2022-03-30 13:14:22.491561 95.57% [DEBUG] switch_core_state_machine.c:745 (sofia/default/7700407676) State DESTROY
  543. 2022-03-30 13:14:22.491561 95.57% [DEBUG] mod_sofia.c:379 sofia/default/7700407676 SOFIA DESTROY
  544. 2022-03-30 13:14:22.491561 95.57% [DEBUG] switch_core_state_machine.c:175 sofia/default/7700407676 Standard DESTROY
  545. 2022-03-30 13:14:22.491561 95.57% [DEBUG] switch_core_state_machine.c:745 (sofia/default/7700407676) State DESTROY going to sleep
  546. 2022-03-30 13:14:22.511582 95.57% [DEBUG] switch_core_state_machine.c:168 sofia/default/4579806873@w07version60.astppbilling.org:5074 Standard REPORTING, cause: NORMAL_CLEARING
  547. 2022-03-30 13:14:22.511582 95.57% [DEBUG] switch_core_state_machine.c:932 (sofia/default/4579806873@w07version60.astppbilling.org:5074) State REPORTING going to sleep
  548. 2022-03-30 13:14:22.511582 95.57% [DEBUG] switch_core_state_machine.c:607 (sofia/default/4579806873@w07version60.astppbilling.org:5074) State Change CS_REPORTING -> CS_DESTROY
  549. 2022-03-30 13:14:22.511582 95.57% [DEBUG] switch_core_session.c:1753 Session 3 (sofia/default/4579806873@w07version60.astppbilling.org:5074) Locked, Waiting on external entities
  550. 2022-03-30 13:14:22.511582 95.57% [NOTICE] switch_core_session.c:1771 Session 3 (sofia/default/4579806873@w07version60.astppbilling.org:5074) Ended
  551. 2022-03-30 13:14:22.511582 95.57% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/4579806873@w07version60.astppbilling.org:5074 [CS_DESTROY]
  552. 2022-03-30 13:14:22.511582 95.57% [DEBUG] switch_core_state_machine.c:735 (sofia/default/4579806873@w07version60.astppbilling.org:5074) Running State Change CS_DESTROY (Cur 0 Tot 4)
  553. 2022-03-30 13:14:22.511582 95.57% [DEBUG] switch_core_state_machine.c:745 (sofia/default/4579806873@w07version60.astppbilling.org:5074) State DESTROY
  554. 2022-03-30 13:14:22.511582 95.57% [DEBUG] mod_sofia.c:379 sofia/default/4579806873@w07version60.astppbilling.org:5074 SOFIA DESTROY
  555. 2022-03-30 13:14:22.511582 95.57% [DEBUG] switch_core_state_machine.c:175 sofia/default/4579806873@w07version60.astppbilling.org:5074 Standard DESTROY
  556. 2022-03-30 13:14:22.511582 95.57% [DEBUG] switch_core_state_machine.c:745 (sofia/default/4579806873@w07version60.astppbilling.org:5074) State DESTROY going to sleep
  557. 2022-03-30 13:14:22.751579 95.57% [DEBUG] switch_scheduler.c:147 Deleting task 5 switch_ivr_schedule_hangup (aca6a1f7-2e03-4282-9606-d50c183ba6c0)
  558. 2022-03-30 13:16:07.351571 95.43% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [7184512061@3.7.66.233] from ip 117.247.91.162
  559. 2022-03-30 13:16:07.391558 95.43% [WARNING] sofia_reg.c:3223 Can't find user [7184512061@3.7.66.233] from 117.247.91.162
  560. You must define a domain called '3.7.66.233' in your directory and add a user with the id="7184512061" attribute
  561. and you must configure your device to use the proper domain in its authentication credentials.
  562. 2022-03-30 13:16:07.391558 95.43% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [7184512061@3.7.66.233] from ip 117.247.91.162
  563. freeswitch@ip-172-31-14-218>