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. 2022-03-02 07:46:48.699374 97.87% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9632960407@w07version60.astppbilling.org [84357f85-3bb8-46ef-b251-27f6b84ccd55]
  4. 2022-03-02 07:46:48.699374 97.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9632960407@w07version60.astppbilling.org) Running State Change CS_NEW (Cur 1 Tot 18)
  5. 2022-03-02 07:46:48.699374 97.87% [INFO] sofia.c:10462 sofia/default/9632960407@w07version60.astppbilling.org receiving invite from 172.31.14.218:5060 version: 1.10.7 -release-19-883d2cb662 64bit call-id: RXQimLhEs3242jmpQP85xg..
  6. 2022-03-02 07:46:48.699374 97.87% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 172.31.14.218:0.
  7. 2022-03-02 07:46:48.699374 97.87% [DEBUG] sofia.c:10585 IP 172.31.14.218 Approved by acl "default[]". Access Granted.
  8. 2022-03-02 07:46:48.719398 97.87% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  9. 2022-03-02 07:46:48.719398 97.87% [DEBUG] sofia.c:7499 Channel sofia/default/9632960407@w07version60.astppbilling.org entering state [received][100]
  10. 2022-03-02 07:46:48.719398 97.87% [DEBUG] sofia.c:7509 Remote SDP:
  11. v=0
  12. o=Z 0 0 IN IP4 117.247.91.162
  13. s=Z
  14. c=IN IP4 117.247.91.162
  15. t=0 0
  16. m=audio 8000 RTP/AVP 3 110 8 0 97 101
  17. a=rtpmap:110 speex/8000
  18. a=rtpmap:97 iLBC/8000
  19. a=fmtp:97 mode=30
  20. a=rtpmap:101 telephone-event/8000
  21. a=fmtp:101 0-16
  22.  
  23. 2022-03-02 07:46:48.719398 97.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  24. 2022-03-02 07:46:48.719398 97.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  25. 2022-03-02 07:46:48.719398 97.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  26. 2022-03-02 07:46:48.719398 97.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  27. 2022-03-02 07:46:48.719398 97.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  28. 2022-03-02 07:46:48.719398 97.87% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  29. 2022-03-02 07:46:48.719398 97.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  30. 2022-03-02 07:46:48.719398 97.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  31. 2022-03-02 07:46:48.719398 97.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  32. 2022-03-02 07:46:48.719398 97.87% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  33. 2022-03-02 07:46:48.719398 97.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  34. 2022-03-02 07:46:48.719398 97.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  35. 2022-03-02 07:46:48.719398 97.87% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  36. 2022-03-02 07:46:48.719398 97.87% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/9632960407@w07version60.astppbilling.org PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  37. 2022-03-02 07:46:48.719398 97.87% [DEBUG] switch_core_codec.c:111 sofia/default/9632960407@w07version60.astppbilling.org Original read codec set to PCMA:8
  38. 2022-03-02 07:46:48.719398 97.87% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  39. 2022-03-02 07:46:48.719398 97.87% [DEBUG] switch_core_media.c:5973 sofia/default/9632960407@w07version60.astppbilling.org Set 2833 dtmf send payload to 101 recv payload to 101
  40. 2022-03-02 07:46:48.719398 97.87% [DEBUG] sofia.c:7933 (sofia/default/9632960407@w07version60.astppbilling.org) State Change CS_NEW -> CS_INIT
  41. 2022-03-02 07:46:48.719398 97.87% [DEBUG] switch_core_state_machine.c:600 (sofia/default/9632960407@w07version60.astppbilling.org) State NEW
  42. 2022-03-02 07:46:48.719398 97.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9632960407@w07version60.astppbilling.org) Running State Change CS_INIT (Cur 1 Tot 18)
  43. 2022-03-02 07:46:48.719398 97.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9632960407@w07version60.astppbilling.org) State INIT
  44. 2022-03-02 07:46:48.719398 97.87% [DEBUG] mod_sofia.c:97 sofia/default/9632960407@w07version60.astppbilling.org SOFIA INIT
  45. 2022-03-02 07:46:48.719398 97.87% [DEBUG] switch_core_state_machine.c:40 sofia/default/9632960407@w07version60.astppbilling.org Standard INIT
  46. 2022-03-02 07:46:48.719398 97.87% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9632960407@w07version60.astppbilling.org) State Change CS_INIT -> CS_ROUTING
  47. 2022-03-02 07:46:48.719398 97.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9632960407@w07version60.astppbilling.org) State INIT going to sleep
  48. 2022-03-02 07:46:48.719398 97.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9632960407@w07version60.astppbilling.org) Running State Change CS_ROUTING (Cur 1 Tot 18)
  49. 2022-03-02 07:46:48.719398 97.87% [DEBUG] switch_channel.c:2380 (sofia/default/9632960407@w07version60.astppbilling.org) Callstate Change DOWN -> RINGING
  50. 2022-03-02 07:46:48.719398 97.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9632960407@w07version60.astppbilling.org) State ROUTING
  51. 2022-03-02 07:46:48.719398 97.87% [DEBUG] mod_sofia.c:158 sofia/default/9632960407@w07version60.astppbilling.org SOFIA ROUTING
  52. 2022-03-02 07:46:48.719398 97.87% [DEBUG] switch_core_state_machine.c:230 sofia/default/9632960407@w07version60.astppbilling.org Standard ROUTING
  53. 2022-03-02 07:46:48.719398 97.87% [INFO] mod_dialplan_xml.c:639 Processing 9632960407 <9632960407>->7704004304 in context default
  54. 2022-03-02 07:46:48.719398 97.87% [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')
  55. 2022-03-02 07:46:48.719398 97.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  56. 2022-03-02 07:46:48.759378 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  57. 2022-03-02 07:46:48.759378 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 7704004304
  58. 2022-03-02 07:46:48.759378 97.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '7704004304' limit 1
  59. 2022-03-02 07:46:48.759378 97.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '7704004304' AND status=0 limit 1
  60. 2022-03-02 07:46:48.759378 97.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '7704004304' and status=0 LIMIT 1
  61. 2022-03-02 07:46:48.759378 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER9632960407
  62. 2022-03-02 07:46:48.759378 97.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  63. 2022-03-02 07:46:48.759378 97.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'w07version60.astppbilling.org' limit 1
  64. 2022-03-02 07:46:48.759378 97.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '7' and username = '7704004304' limit 1
  65. 2022-03-02 07:46:48.779372 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : <null> / 9632960407
  66. 2022-03-02 07:46:48.779372 97.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 4304
  67. 2022-03-02 07:46:48.779372 97.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 770400 AND status=0 limit 1
  68. 2022-03-02 07:46:48.779372 97.87% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="7704004304" LIMIT 1
  69. 2022-03-02 07:46:48.779372 97.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  70. 2022-03-02 07:46:48.779372 97.87% [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="7704004304"  AND domains.domain="w07version60.astppbilling.org" limit 1
  71. 2022-03-02 07:46:48.779372 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  72. 2022-03-02 07:46:48.779372 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 117.247.91.162
  73. 2022-03-02 07:46:48.779372 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9632960407]
  74. 2022-03-02 07:46:48.779372 97.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9632960407" AND deleted = 0 limit 1
  75. 2022-03-02 07:46:48.779372 97.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^7704004304.*' OR blocked_patterns = '^770400430.*' OR blocked_patterns = '^77040043.*' OR blocked_patterns = '^7704004.*' OR blocked_patterns = '^770400.*' OR blocked_patterns = '^77040.*' OR blocked_patterns = '^7704.*' OR blocked_patterns = '^770.*' OR blocked_patterns = '^77.*' OR blocked_patterns = '^7.*' OR blocked_patterns ='--') AND accountid = 7 limit 1
  76. 2022-03-02 07:46:48.779372 97.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="7704004304" AND (accountid = 0 OR status = 1) LIMIT 1
  77. 2022-03-02 07:46:48.779372 97.87% [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 = '^7704004304.*' OR patterns = '^770400430.*' OR patterns = '^77040043.*' OR patterns = '^7704004.*' OR patterns = '^770400.*' OR patterns = '^77040.*' OR patterns = '^7704.*' OR patterns = '^770.*' OR patterns = '^77.*' OR patterns = '^7.*' OR patterns ='--') AND accountid = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC
  78. 2022-03-02 07:46:48.779372 97.87% [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 ="7704004304" AND A.accountid = '7' limit 1
  79. 2022-03-02 07:46:48.779372 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 7704004304
  80. 2022-03-02 07:46:48.779372 97.87% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="7704004304" LIMIT 1
  81. 2022-03-02 07:46:48.779372 97.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  82. 2022-03-02 07:46:48.779372 97.87% [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="7704004304"  AND domains.domain="w07version60.astppbilling.org" limit 1
  83. 2022-03-02 07:46:48.779372 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  84. 2022-03-02 07:46:48.779372 97.87% [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 = '7704004304' OR number = '770400430' OR number = '77040043' OR number = '7704004' OR number = '770400' OR number = '77040' OR number = '7704' OR number = '770' OR number = '77' OR number = '7' OR number ='--') OR (number = '7704004304*' OR number = '770400430*' OR number = '77040043*' OR number = '7704004*' OR number = '770400*' OR number = '77040*' OR number = '7704*' OR number = '770*' OR number = '77*' OR number = '7*' OR number ='--') OR (number = '9632960407' OR number = '963296040' OR number = '96329604' OR number = '9632960' OR number = '963296' OR number = '96329' OR number = '9632' OR number = '963' OR number = '96' OR number = '9' OR number ='--') OR (number = '9632960407*' OR number = '963296040*' OR number = '96329604*' OR number = '9632960*' OR number = '963296*' OR number = '96329*' OR number = '9632*' OR number = '963*' OR number = '96*' OR number = '9*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  85. 2022-03-02 07:46:48.779372 97.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  86. 2022-03-02 07:46:48.779372 97.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '7704004304' OR routing_prefix = '770400430' OR routing_prefix = '77040043' OR routing_prefix = '7704004' OR routing_prefix = '770400' OR routing_prefix = '77040' OR routing_prefix = '7704' OR routing_prefix = '770' OR routing_prefix = '77' OR routing_prefix = '7' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  87. 2022-03-02 07:46:48.779372 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  88. 2022-03-02 07:46:48.779372 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 7
  89. 2022-03-02 07:46:48.779372 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9632960407
  90. 2022-03-02 07:46:48.779372 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 19876
  91. 2022-03-02 07:46:48.779372 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  92. 2022-03-02 07:46:48.779372 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 4
  93. 2022-03-02 07:46:48.779372 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  94. 2022-03-02 07:46:48.779372 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  95. 2022-03-02 07:46:48.779372 97.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
  96. 2022-03-02 07:46:48.779372 97.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  97. 2022-03-02 07:46:48.779372 97.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
  98. 2022-03-02 07:46:48.779372 97.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^7704004304.*' OR pattern = '^770400430.*' OR pattern = '^77040043.*' OR pattern = '^7704004.*' OR pattern = '^770400.*' OR pattern = '^77040.*' OR pattern = '^7704.*' OR pattern = '^770.*' OR pattern = '^77.*' OR pattern = '^7.*' OR pattern ='--') AND (caller_id_pattern = '^9632960407.*' OR caller_id_pattern = '^963296040.*' OR caller_id_pattern = '^96329604.*' OR caller_id_pattern = '^9632960.*' OR caller_id_pattern = '^963296.*' OR caller_id_pattern = '^96329.*' OR caller_id_pattern = '^9632.*' OR caller_id_pattern = '^963.*' OR caller_id_pattern = '^96.*' OR caller_id_pattern = '^9.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 4 OR accountid=7)  ORDER BY accountid DESC,LENGTH(pattern),LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  99. 2022-03-02 07:46:48.779372 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  100. 2022-03-02 07:46:48.779372 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  101. 2022-03-02 07:46:48.779372 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:3.00000
  102. 2022-03-02 07:46:48.779372 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:4
  103. 2022-03-02 07:46:48.779372 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday from demand_based_routing where pricelist_id = '4' and status=0
  104. 2022-03-02 07:46:48.779372 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:3.00000
  105. 2022-03-02 07:46:48.779372 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  106. 2022-03-02 07:46:48.779372 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
  107. 2022-03-02 07:46:48.779372 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  108. 2022-03-02 07:46:48.779372 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  109. 2022-03-02 07:46:48.779372 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 3.00000
  110. 2022-03-02 07:46:48.779372 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Entdemo
  111. 2022-03-02 07:46:48.779372 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 58
  112. 2022-03-02 07:46:48.779372 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 7
  113. 2022-03-02 07:46:48.779372 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  114. 2022-03-02 07:46:48.779372 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  115. 2022-03-02 07:46:48.779372 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  116. 2022-03-02 07:46:48.779372 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your19876 balance Accountid 7 !!!
  117. 2022-03-02 07:46:48.779372 97.87% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  118. 2022-03-02 07:46:48.779372 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  119. 2022-03-02 07:46:48.779372 97.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  120. 2022-03-02 07:46:48.779372 97.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=4 ORDER by id asc
  121. 2022-03-02 07:46:48.779372 97.87% [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 = '^7704004304.*' OR pattern = '^770400430.*' OR pattern = '^77040043.*' OR pattern = '^7704004.*' OR pattern = '^770400.*' OR pattern = '^77040.*' OR pattern = '^7704.*' 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
  122. 2022-03-02 07:46:48.799374 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  123. 2022-03-02 07:46:48.799374 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3
  124. 2022-03-02 07:46:48.799374 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^77.*
  125. 2022-03-02 07:46:48.799374 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Entdemo
  126. 2022-03-02 07:46:48.799374 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  127. 2022-03-02 07:46:48.799374 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  128. 2022-03-02 07:46:48.799374 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^77.*
  129. 2022-03-02 07:46:48.799374 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  130. 2022-03-02 07:46:48.799374 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  131. 2022-03-02 07:46:48.799374 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 3
  132. 2022-03-02 07:46:48.799374 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : QEE!%^&#@*()-+^5%$
  133. span style="color: green; font-weight: bold;"> 2022-03-02 07:46:48.799374 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  134. 2022-03-02 07:46:48.799374 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  135. 2022-03-02 07:46:48.799374 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  136. 2022-03-02 07:46:48.799374 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  137. 2022-03-02 07:46:48.799374 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : Entdemo
  138. 2022-03-02 07:46:48.799374 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  139. 2022-03-02 07:46:48.799374 97.87% [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 = 7 AND status=0 LIMIT 1
  140. 2022-03-02 07:46:48.799374 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  141. 2022-03-02 07:46:48.799374 97.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  142. 2022-03-02 07:46:48.799374 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  143. 2022-03-02 07:46:48.799374 97.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
  144. 2022-03-02 07:46:48.799374 97.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
  145. 2022-03-02 07:46:48.799374 97.87% [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
  146. 2022-03-02 07:46:48.799374 97.87% [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
  147. 2022-03-02 07:46:48.799374 97.87% [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="9632960407"  AND domains.domain="w07version60.astppbilling.org" limit 1
  148. 2022-03-02 07:46:48.799374 97.87% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="7704004304" LIMIT 1
  149. 2022-03-02 07:46:48.799374 97.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  150. 2022-03-02 07:46:48.799374 97.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  151. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  152. <document type="freeswitch/xml">
  153. <section name="dialplan" description="ASTPP Dialplan">
  154. <context name="default">
  155. <extension name="7704004304">
  156. <condition field="destination_number" expression="7704004304">
  157. <action application="set" data="effective_destination_number=7704004304"/>
  158. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  159. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  160. <action application="set" data="callstart=2022-03-02 07:46:48"/>
  161. <action application="set" data="hangup_after_bridge=true"/>
  162. <action application="set" data="continue_on_fail=TRUE"/>
  163. <action application="set" data="account_id=7"/>
  164. <action application="set" data="parent_id=0"/>
  165. <action application="set" data="entity_id=0"/>
  166. <action application="set" data="call_processed=internal"/>
  167. <action application="set" data="call_direction=outbound"/>
  168. <action application="set" data="accountname=default"/>
  169. <action application="set" data="origination_rates=ID:7|CODE:^77.*|DESTINATION:Entdemo|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:3.00000|INC:60|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:58|ACCID:7"/>
  170. <action application="set" data="original_caller_id_number=9632960407"/>
  171.  
  172. <action application="set" data="effective_caller_id_number=9632960407"/>
  173. <action application="set" data="calltype=STANDARD"/>
  174. <action application="set" data="termination_rates=ID:3|CODE:^77.*|DESTINATION:Entdemo|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:60|TRUNK:3|PROVIDER:3"/>
  175. <action application="set" data="trunk_id=3"/>
  176. <action application="set" data="provider_id=3"/>
  177. <action application="set" data="rate_flag=0"/>
  178. <action application="set" data="force_trunk_flag=0"/>
  179. <action application="export" data="presence_data=trunk_id=3"/>
  180. <action application="set" data="intcall=0"/>
  181. <action application="export" data="presence_id=7704004304"/>
  182. <action application="export" data="presence_data=x|||Admin's cust-420(9632960407)|||^77.* // Entdemo // 3.00000 |||Entdemo // ^77.* // Entdemo // 1.00000 // trunk_id=3|||STD|||117.247.91.162"/>
  183. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/QEE!%^&#@*()-+^5%$/7704004304;fs_path=sip:172.31.14.218:5060"/>
  184. </condition>
  185. </extension>
  186. </context>
  187. </section>
  188. </document>
  189. Dialplan: sofia/default/9632960407@w07version60.astppbilling.org parsing [default->7704004304] continue=false
  190. Dialplan: sofia/default/9632960407@w07version60.astppbilling.org Regex (PASS) [7704004304] destination_number(7704004304) =~ /7704004304/ break=on-false
  191. Dialplan: sofia/default/9632960407@w07version60.astppbilling.org Action set(effective_destination_number=7704004304)
  192. Dialplan: sofia/default/9632960407@w07version60.astppbilling.org Action set(bridge_pre_execute_bleg_app=sched_hangup)
  193. Dialplan: sofia/default/9632960407@w07version60.astppbilling.org Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  194. Dialplan: sofia/default/9632960407@w07version60.astppbilling.org Action set(callstart=2022-03-02 07:46:48)
  195. Dialplan: sofia/default/9632960407@w07version60.astppbilling.org Action set(hangup_after_bridge=true)
  196. Dialplan: sofia/default/9632960407@w07version60.astppbilling.org Action set(continue_on_fail=TRUE)
  197. Dialplan: sofia/default/9632960407@w07version60.astppbilling.org Action set(account_id=7)
  198. Dialplan: sofia/default/9632960407@w07version60.astppbilling.org Action set(parent_id=0)
  199. Dialplan: sofia/default/9632960407@w07version60.astppbilling.org Action set(entity_id=0)
  200. Dialplan: sofia/default/9632960407@w07version60.astppbilling.org Action set(call_processed=internal)
  201. Dialplan: sofia/default/9632960407@w07version60.astppbilling.org Action set(call_direction=outbound)
  202. Dialplan: sofia/default/9632960407@w07version60.astppbilling.org Action set(accountname=default)
  203. Dialplan: sofia/default/9632960407@w07version60.astppbilling.org Action set(origination_rates=ID:7|CODE:^77.*|DESTINATION:Entdemo|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:3.00000|INC:60|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:58|ACCID:7)
  204. Dialplan: sofia/default/9632960407@w07version60.astppbilling.org Action set(original_caller_id_number=9632960407)
  205. Dialplan: sofia/default/9632960407@w07version60.astppbilling.org Action set(effective_caller_id_number=9632960407)
  206. Dialplan: sofia/default/9632960407@w07version60.astppbilling.org Action set(calltype=STANDARD)
  207. Dialplan: sofia/default/9632960407@w07version60.astppbilling.org Action set(termination_rates=ID:3|CODE:^77.*|DESTINATION:Entdemo|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:60|TRUNK:3|PROVIDER:3)
  208. Dialplan: sofia/default/9632960407@w07version60.astppbilling.org Action set(trunk_id=3)
  209. Dialplan: sofia/default/9632960407@w07version60.astppbilling.org Action set(provider_id=3)
  210. Dialplan: sofia/default/9632960407@w07version60.astppbilling.org Action set(rate_flag=0)
  211. Dialplan: sofia/default/9632960407@w07version60.astppbilling.org Action set(force_trunk_flag=0)
  212. Dialplan: sofia/default/9632960407@w07version60.astppbilling.org Action export(presence_data=trunk_id=3)
  213. Dialplan: sofia/default/9632960407@w07version60.astppbilling.org Action set(intcall=0)
  214. Dialplan: sofia/default/9632960407@w07version60.astppbilling.org Action export(presence_id=7704004304)
  215. Dialplan: sofia/default/9632960407@w07version60.astppbilling.org Action export(presence_data=x|||Admin's cust-420(9632960407)|||^77.* // Entdemo // 3.00000 |||Entdemo // ^77.* // Entdemo // 1.00000 // trunk_id=3|||STD|||117.247.91.162)
  216. Dialplan: sofia/default/9632960407@w07version60.astppbilling.org Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/QEE!%^&#@*()-+^5%$/7704004304;fs_path=sip:172.31.14.218:5060)
  217. span style="color: goldenrod; font-weight: bold;"> 2022-03-02 07:46:48.799374 97.87% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9632960407@w07version60.astppbilling.org) State Change CS_ROUTING -> CS_EXECUTE
  218. 2022-03-02 07:46:48.799374 97.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9632960407@w07version60.astppbilling.org) State ROUTING going to sleep
  219. 2022-03-02 07:46:48.799374 97.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9632960407@w07version60.astppbilling.org) Running State Change CS_EXECUTE (Cur 1 Tot 18)
  220. 2022-03-02 07:46:48.799374 97.87% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9632960407@w07version60.astppbilling.org) State EXECUTE
  221. 2022-03-02 07:46:48.799374 97.87% [DEBUG] mod_sofia.c:213 sofia/default/9632960407@w07version60.astppbilling.org SOFIA EXECUTE
  222. 2022-03-02 07:46:48.799374 97.87% [DEBUG] switch_core_state_machine.c:323 sofia/default/9632960407@w07version60.astppbilling.org Standard EXECUTE
  223. EXECUTE [depth=0] sofia/default/9632960407@w07version60.astppbilling.org set(effective_destination_number=7704004304)
  224. 2022-03-02 07:46:48.799374 97.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/9632960407@w07version60.astppbilling.org [effective_destination_number]=[7704004304]
  225. EXECUTE [depth=0] sofia/default/9632960407@w07version60.astppbilling.org set(bridge_pre_execute_bleg_app=sched_hangup)
  226. 2022-03-02 07:46:48.799374 97.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/9632960407@w07version60.astppbilling.org [bridge_pre_execute_bleg_app]=[sched_hangup]
  227. EXECUTE [depth=0] sofia/default/9632960407@w07version60.astppbilling.org set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  228. 2022-03-02 07:46:48.799374 97.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/9632960407@w07version60.astppbilling.org [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  229. EXECUTE [depth=0] sofia/default/9632960407@w07version60.astppbilling.org set(callstart=2022-03-02 07:46:48)
  230. 2022-03-02 07:46:48.799374 97.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/9632960407@w07version60.astppbilling.org [callstart]=[2022-03-02 07:46:48]
  231. EXECUTE [depth=0] sofia/default/9632960407@w07version60.astppbilling.org set(hangup_after_bridge=true)
  232. 2022-03-02 07:46:48.799374 97.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/9632960407@w07version60.astppbilling.org [hangup_after_bridge]=[true]
  233. EXECUTE [depth=0] sofia/default/9632960407@w07version60.astppbilling.org set(continue_on_fail=TRUE)
  234. 2022-03-02 07:46:48.799374 97.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/9632960407@w07version60.astppbilling.org [continue_on_fail]=[TRUE]
  235. EXECUTE [depth=0] sofia/default/9632960407@w07version60.astppbilling.org set(account_id=7)
  236. 2022-03-02 07:46:48.799374 97.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/9632960407@w07version60.astppbilling.org [account_id]=[7]
  237. EXECUTE [depth=0] sofia/default/9632960407@w07version60.astppbilling.org set(parent_id=0)
  238. 2022-03-02 07:46:48.799374 97.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/9632960407@w07version60.astppbilling.org [parent_id]=[0]
  239. EXECUTE [depth=0] sofia/default/9632960407@w07version60.astppbilling.org set(entity_id=0)
  240. 2022-03-02 07:46:48.799374 97.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/9632960407@w07version60.astppbilling.org [entity_id]=[0]
  241. EXECUTE [depth=0] sofia/default/9632960407@w07version60.astppbilling.org set(call_processed=internal)
  242. 2022-03-02 07:46:48.799374 97.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/9632960407@w07version60.astppbilling.org [call_processed]=[internal]
  243. EXECUTE [depth=0] sofia/default/9632960407@w07version60.astppbilling.org set(call_direction=outbound)
  244. 2022-03-02 07:46:48.799374 97.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/9632960407@w07version60.astppbilling.org [call_direction]=[outbound]
  245. EXECUTE [depth=0] sofia/default/9632960407@w07version60.astppbilling.org set(accountname=default)
  246. 2022-03-02 07:46:48.799374 97.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/9632960407@w07version60.astppbilling.org [accountname]=[default]
  247. EXECUTE [depth=0] sofia/default/9632960407@w07version60.astppbilling.org set(origination_rates=ID:7|CODE:^77.*|DESTINATION:Entdemo|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:3.00000|INC:60|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:58|ACCID:7)
  248. 2022-03-02 07:46:48.799374 97.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/9632960407@w07version60.astppbilling.org [origination_rates]=[ID:7|CODE:^77.*|DESTINATION:Entdemo|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:3.00000|INC:60|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:58|ACCID:7]
  249. EXECUTE [depth=0] sofia/default/9632960407@w07version60.astppbilling.org set(original_caller_id_number=9632960407)
  250. 2022-03-02 07:46:48.799374 97.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/9632960407@w07version60.astppbilling.org [original_caller_id_number]=[9632960407]
  251. EXECUTE [depth=0] sofia/default/9632960407@w07version60.astppbilling.org set(effective_caller_id_number=9632960407)
  252. 2022-03-02 07:46:48.799374 97.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/9632960407@w07version60.astppbilling.org [effective_caller_id_number]=[9632960407]
  253. EXECUTE [depth=0] sofia/default/9632960407@w07version60.astppbilling.org set(calltype=STANDARD)
  254. 2022-03-02 07:46:48.799374 97.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/9632960407@w07version60.astppbilling.org [calltype]=[STANDARD]
  255. EXECUTE [depth=0] sofia/default/9632960407@w07version60.astppbilling.org set(termination_rates=ID:3|CODE:^77.*|DESTINATION:Entdemo|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:60|TRUNK:3|PROVIDER:3)
  256. 2022-03-02 07:46:48.799374 97.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/9632960407@w07version60.astppbilling.org [termination_rates]=[ID:3|CODE:^77.*|DESTINATION:Entdemo|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:60|TRUNK:3|PROVIDER:3]
  257. EXECUTE [depth=0] sofia/default/9632960407@w07version60.astppbilling.org set(trunk_id=3)
  258. 2022-03-02 07:46:48.799374 97.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/9632960407@w07version60.astppbilling.org [trunk_id]=[3]
  259. EXECUTE [depth=0] sofia/default/9632960407@w07version60.astppbilling.org set(provider_id=3)
  260. 2022-03-02 07:46:48.799374 97.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/9632960407@w07version60.astppbilling.org [provider_id]=[3]
  261. EXECUTE [depth=0] sofia/default/9632960407@w07version60.astppbilling.org set(rate_flag=0)
  262. 2022-03-02 07:46:48.799374 97.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/9632960407@w07version60.astppbilling.org [rate_flag]=[0]
  263. EXECUTE [depth=0] sofia/default/9632960407@w07version60.astppbilling.org set(force_trunk_flag=0)
  264. 2022-03-02 07:46:48.799374 97.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/9632960407@w07version60.astppbilling.org [force_trunk_flag]=[0]
  265. EXECUTE [depth=0] sofia/default/9632960407@w07version60.astppbilling.org export(presence_data=trunk_id=3)
  266. 2022-03-02 07:46:48.799374 97.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=3]
  267. EXECUTE [depth=0] sofia/default/9632960407@w07version60.astppbilling.org set(intcall=0)
  268. 2022-03-02 07:46:48.799374 97.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/9632960407@w07version60.astppbilling.org [intcall]=[0]
  269. EXECUTE [depth=0] sofia/default/9632960407@w07version60.astppbilling.org export(presence_id=7704004304)
  270. 2022-03-02 07:46:48.799374 97.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[7704004304]
  271. EXECUTE [depth=0] sofia/default/9632960407@w07version60.astppbilling.org export(presence_data=x|||Admin's cust-420(9632960407)|||^77.* // Entdemo // 3.00000 |||Entdemo // ^77.* // Entdemo // 1.00000 // trunk_id=3|||STD|||117.247.91.162)
  272. 2022-03-02 07:46:48.799374 97.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Admin's cust-420(9632960407)|||^77.* // Entdemo // 3.00000 |||Entdemo // ^77.* // Entdemo // 1.00000 // trunk_id=3|||STD|||117.247.91.162]
  273. EXECUTE [depth=0] sofia/default/9632960407@w07version60.astppbilling.org bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/QEE!%^&#@*()-+^5%$/7704004304;fs_path=sip:172.31.14.218:5060)
  274. span style="color: goldenrod; font-weight: bold;"> 2022-03-02 07:46:48.799374 97.87% [DEBUG] switch_channel.c:1269 sofia/default/9632960407@w07version60.astppbilling.org EXPORTING[export_vars] [presence_data]=[x|||Admin's cust-420(9632960407)|||^77.* // Entdemo // 3.00000 |||Entdemo // ^77.* // Entdemo // 1.00000 // trunk_id=3|||STD|||117.247.91.162] to event
  275. 2022-03-02 07:46:48.799374 97.87% [DEBUG] switch_channel.c:1269 sofia/default/9632960407@w07version60.astppbilling.org EXPORTING[export_vars] [presence_id]=[7704004304] to event
  276. 2022-03-02 07:46:48.799374 97.87% [DEBUG] switch_channel.c:1269 sofia/default/9632960407@w07version60.astppbilling.org EXPORTING[export_vars] [presence_data]=[x|||Admin's cust-420(9632960407)|||^77.* // Entdemo // 3.00000 |||Entdemo // ^77.* // Entdemo // 1.00000 // trunk_id=3|||STD|||117.247.91.162] to event
  277. 2022-03-02 07:46:48.799374 97.87% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  278. 2022-03-02 07:46:48.799374 97.87% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  279. 2022-03-02 07:46:48.799374 97.87% [ERR] mod_sofia.c:4797 Invalid URL 'QEE!%'
  280. 2022-03-02 07:46:48.799374 97.87% [NOTICE] mod_sofia.c:5221 Close Channel N/A [CS_NEW]
  281. 2022-03-02 07:46:48.799374 97.87% [DEBUG] switch_core_state_machine.c:735 () Running State Change CS_DESTROY (Cur 1 Tot 19)
  282. 2022-03-02 07:46:48.799374 97.87% [DEBUG] switch_core_state_machine.c:745 (N/A) State DESTROY
  283. 2022-03-02 07:46:48.799374 97.87% [DEBUG] mod_sofia.c:379 N/A SOFIA DESTROY
  284. 2022-03-02 07:46:48.799374 97.87% [DEBUG] switch_core_state_machine.c:745 (N/A) State DESTROY going to sleep
  285. 2022-03-02 07:46:48.799374 97.87% [NOTICE] switch_ivr_originate.c:3039 Cannot create outgoing channel of type [sofia] cause: [INVALID_URL]
  286. 2022-03-02 07:46:48.799374 97.87% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 610 [INVALID_URL]
  287. 2022-03-02 07:46:48.799374 97.87% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: INVALID_URL
  288. 2022-03-02 07:46:48.799374 97.87% [NOTICE] switch_core_state_machine.c:382 sofia/default/9632960407@w07version60.astppbilling.org has executed the last dialplan instruction, hanging up.
  289. 2022-03-02 07:46:48.799374 97.87% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/9632960407@w07version60.astppbilling.org [CS_EXECUTE] [NORMAL_CLEARING]
  290. 2022-03-02 07:46:48.799374 97.87% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9632960407@w07version60.astppbilling.org) State EXECUTE going to sleep
  291. 2022-03-02 07:46:48.799374 97.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9632960407@w07version60.astppbilling.org) Running State Change CS_HANGUP (Cur 1 Tot 19)
  292. 2022-03-02 07:46:48.799374 97.87% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9632960407@w07version60.astppbilling.org) Callstate Change RINGING -> HANGUP
  293. 2022-03-02 07:46:48.799374 97.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9632960407@w07version60.astppbilling.org) State HANGUP
  294. 2022-03-02 07:46:48.799374 97.87% [DEBUG] mod_sofia.c:468 Channel sofia/default/9632960407@w07version60.astppbilling.org hanging up, cause: NORMAL_CLEARING
  295. 2022-03-02 07:46:48.799374 97.87% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 480
  296. 2022-03-02 07:46:48.799374 97.87% [DEBUG] switch_core_state_machine.c:59 sofia/default/9632960407@w07version60.astppbilling.org Standard HANGUP, cause: NORMAL_CLEARING
  297. 2022-03-02 07:46:48.799374 97.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9632960407@w07version60.astppbilling.org) State HANGUP going to sleep
  298. 2022-03-02 07:46:48.799374 97.87% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9632960407@w07version60.astppbilling.org) State Change CS_HANGUP -> CS_REPORTING
  299. 2022-03-02 07:46:48.799374 97.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9632960407@w07version60.astppbilling.org) Running State Change CS_REPORTING (Cur 1 Tot 19)
  300. 2022-03-02 07:46:48.799374 97.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9632960407@w07version60.astppbilling.org) State REPORTING
  301. 2022-03-02 07:46:48.799374 97.87% [INFO] mod_json_cdr.c:271 Process [84357f85-3bb8-46ef-b251-27f6b84ccd55.cdr.json]
  302. 2022-03-02 07:46:48.879373 97.87% [DEBUG] switch_core_state_machine.c:168 sofia/default/9632960407@w07version60.astppbilling.org Standard REPORTING, cause: NORMAL_CLEARING
  303. 2022-03-02 07:46:48.879373 97.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9632960407@w07version60.astppbilling.org) State REPORTING going to sleep
  304. 2022-03-02 07:46:48.879373 97.87% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9632960407@w07version60.astppbilling.org) State Change CS_REPORTING -> CS_DESTROY
  305. 2022-03-02 07:46:48.879373 97.87% [DEBUG] switch_core_session.c:1753 Session 18 (sofia/default/9632960407@w07version60.astppbilling.org) Locked, Waiting on external entities
  306. 2022-03-02 07:46:48.879373 97.87% [NOTICE] switch_core_session.c:1771 Session 18 (sofia/default/9632960407@w07version60.astppbilling.org) Ended
  307. 2022-03-02 07:46:48.879373 97.87% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9632960407@w07version60.astppbilling.org [CS_DESTROY]
  308. 2022-03-02 07:46:48.879373 97.87% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9632960407@w07version60.astppbilling.org) Running State Change CS_DESTROY (Cur 0 Tot 19)
  309. 2022-03-02 07:46:48.879373 97.87% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9632960407@w07version60.astppbilling.org) State DESTROY
  310. 2022-03-02 07:46:48.879373 97.87% [DEBUG] mod_sofia.c:379 sofia/default/9632960407@w07version60.astppbilling.org SOFIA DESTROY
  311. 2022-03-02 07:46:48.879373 97.87% [DEBUG] switch_core_state_machine.c:175 sofia/default/9632960407@w07version60.astppbilling.org Standard DESTROY
  312. 2022-03-02 07:46:48.879373 97.87% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9632960407@w07version60.astppbilling.org) State DESTROY going to sleep
  313. freeswitch@ip-172-31-14-218>
  314. freeswitch@ip-172-31-14-218>
  315. freeswitch@ip-172-31-14-218>
  316. freeswitch@ip-172-31-14-218>
  317. freeswitch@ip-172-31-14-218>
  318.