From Prashant kumar, 2 Years ago, written in FreeSWITCH.
- go back
Embed
Viewing differences between and PSTN unexpected
  1. span style="color: cornflowerblue; font-weight: bold;"> 2022-02-11 08:16:51.621324 97.40% [NOTICE] switch_channel.c:1123 New Channel sofia/default/1997940044@w02version61.astppbilling.org:5074 [c11ebd36-a6c8-4cc0-9864-5fbe04f6fd8b]
  2. 2022-02-11 08:16:51.621324 97.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1997940044@w02version61.astppbilling.org:5074) Running State Change CS_NEW (Cur 1 Tot 31)
  3. 2022-02-11 08:16:51.621324 97.40% [INFO] sofia.c:10462 sofia/default/1997940044@w02version61.astppbilling.org:5074 receiving invite from 150.129.107.251:63163 version: 1.10.7 -release-19-883d2cb662 64bit call-id: YjQwNjlhMDNjMWZkNjQ3MjJmM2E4ZGFlN2I5ZTBiMzA.
  4. 2022-02-11 08:16:51.621324 97.40% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 150.129.107.251:0.
  5. 2022-02-11 08:16:51.621324 97.40% [DEBUG] sofia.c:2419 detaching session c11ebd36-a6c8-4cc0-9864-5fbe04f6fd8b
  6. 2022-02-11 08:16:51.621324 97.40% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [123458741933853@w02version61.astppbilling.org] from ip 150.129.107.251
  7. 2022-02-11 08:16:51.621324 97.40% [DEBUG] switch_core_state_machine.c:600 (sofia/default/1997940044@w02version61.astppbilling.org:5074) State NEW
  8. 2022-02-11 08:16:51.741347 97.40% [DEBUG] sofia.c:2532 Re-attaching to session c11ebd36-a6c8-4cc0-9864-5fbe04f6fd8b
  9. 2022-02-11 08:16:51.761315 97.40% [INFO] sofia.c:10462 sofia/default/1997940044@w02version61.astppbilling.org:5074 receiving invite from 150.129.107.251:63163 version: 1.10.7 -release-19-883d2cb662 64bit call-id: YjQwNjlhMDNjMWZkNjQ3MjJmM2E4ZGFlN2I5ZTBiMzA.
  10. 2022-02-11 08:16:51.761315 97.40% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 150.129.107.251:0.
  11. 2022-02-11 08:16:51.761315 97.40% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  12. 2022-02-11 08:16:51.761315 97.40% [DEBUG] sofia.c:7499 Channel sofia/default/1997940044@w02version61.astppbilling.org:5074 entering state [received][100]
  13. 2022-02-11 08:16:51.761315 97.40% [DEBUG] sofia.c:7509 Remote SDP:
  14. v=0
  15. o=3cxVCE 289391490 304057350 IN IP4 192.168.1.13
  16. s=3cxVCE Audio Call
  17. c=IN IP4 192.168.1.13
  18. t=0 0
  19. m=audio 40030 RTP/AVP 0 8 3 101
  20. a=rtpmap:0 PCMU/8000
  21. a=rtpmap:8 PCMA/8000
  22. a=rtpmap:3 GSM/8000
  23. a=rtpmap:101 telephone-event/8000
  24. a=fmtp:101 0-15
  25. a=ptime:20
  26. m=video 40028 RTP/AVP 34
  27. c=IN IP4 192.168.1.13
  28. a=rtpmap:34 H263/90000
  29. a=fmtp:34 QCIF=1;CIF=1;SQCIF=1;CIF4=1
  30.  
  31. 2022-02-11 08:16:51.761315 97.40% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  32. 2022-02-11 08:16:51.761315 97.40% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  33. 2022-02-11 08:16:51.761315 97.40% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  34. 2022-02-11 08:16:51.761315 97.40% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  35. 2022-02-11 08:16:51.761315 97.40% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  36. 2022-02-11 08:16:51.761315 97.40% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  37. 2022-02-11 08:16:51.761315 97.40% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  38. 2022-02-11 08:16:51.761315 97.40% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  39. 2022-02-11 08:16:51.761315 97.40% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  40. 2022-02-11 08:16:51.761315 97.40% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/1997940044@w02version61.astppbilling.org:5074 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  41. 2022-02-11 08:16:51.761315 97.40% [DEBUG] switch_core_codec.c:111 sofia/default/1997940044@w02version61.astppbilling.org:5074 Original read codec set to PCMU:0
  42. 2022-02-11 08:16:51.761315 97.40% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  43. 2022-02-11 08:16:51.761315 97.40% [DEBUG] switch_core_media.c:5973 sofia/default/1997940044@w02version61.astppbilling.org:5074 Set 2833 dtmf send payload to 101 recv payload to 101
  44. 2022-02-11 08:16:51.761315 97.40% [DEBUG] switch_core_media.c:6301 No matches with FTMP, fallback to ignoring FMTP
  45. 2022-02-11 08:16:51.761315 97.40% [DEBUG] switch_core_media.c:6309 No matches with inherit_codec, fallback to ignoring PT
  46. 2022-02-11 08:16:51.761315 97.40% [DEBUG] sofia.c:7933 (sofia/default/1997940044@w02version61.astppbilling.org:5074) State Change CS_NEW -> CS_INIT
  47. 2022-02-11 08:16:51.761315 97.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1997940044@w02version61.astppbilling.org:5074) Running State Change CS_INIT (Cur 1 Tot 31)
  48. 2022-02-11 08:16:51.761315 97.40% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1997940044@w02version61.astppbilling.org:5074) State INIT
  49. 2022-02-11 08:16:51.761315 97.40% [DEBUG] mod_sofia.c:97 sofia/default/1997940044@w02version61.astppbilling.org:5074 SOFIA INIT
  50. 2022-02-11 08:16:51.761315 97.40% [DEBUG] switch_core_state_machine.c:40 sofia/default/1997940044@w02version61.astppbilling.org:5074 Standard INIT
  51. 2022-02-11 08:16:51.761315 97.40% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1997940044@w02version61.astppbilling.org:5074) State Change CS_INIT -> CS_ROUTING
  52. 2022-02-11 08:16:51.761315 97.40% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1997940044@w02version61.astppbilling.org:5074) State INIT going to sleep
  53. 2022-02-11 08:16:51.761315 97.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1997940044@w02version61.astppbilling.org:5074) Running State Change CS_ROUTING (Cur 1 Tot 31)
  54. 2022-02-11 08:16:51.761315 97.40% [DEBUG] switch_channel.c:2380 (sofia/default/1997940044@w02version61.astppbilling.org:5074) Callstate Change DOWN -> RINGING
  55. 2022-02-11 08:16:51.761315 97.40% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1997940044@w02version61.astppbilling.org:5074) State ROUTING
  56. 2022-02-11 08:16:51.761315 97.40% [DEBUG] mod_sofia.c:158 sofia/default/1997940044@w02version61.astppbilling.org:5074 SOFIA ROUTING
  57. 2022-02-11 08:16:51.761315 97.40% [DEBUG] switch_core_state_machine.c:230 sofia/default/1997940044@w02version61.astppbilling.org:5074 Standard ROUTING
  58. 2022-02-11 08:16:51.761315 97.40% [INFO] mod_dialplan_xml.c:639 Processing 1997940044 <1997940044>->123458741933853 in context default
  59. 2022-02-11 08:16:51.781295 97.40% [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-02-11 08:16:51.781295 97.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  61. 2022-02-11 08:16:51.781295 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  62. 2022-02-11 08:16:51.781295 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 123458741933853
  63. 2022-02-11 08:16:51.781295 97.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '123458741933853' limit 1
  64. 2022-02-11 08:16:51.781295 97.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '123458741933853' AND status=0 limit 1
  65. 2022-02-11 08:16:51.781295 97.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '123458741933853' and status=0 LIMIT 1
  66. 2022-02-11 08:16:51.781295 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER1997940044
  67. 2022-02-11 08:16:51.781295 97.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  68. 2022-02-11 08:16:51.781295 97.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'w02version61.astppbilling.org' limit 1
  69. 2022-02-11 08:16:51.781295 97.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '2' and username = '123458741933853' limit 1
  70. 2022-02-11 08:16:51.781295 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 1997940044 / 1997940044
  71. 2022-02-11 08:16:51.781295 97.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 8741933853
  72. 2022-02-11 08:16:51.781295 97.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 12345 limit 1
  73. 2022-02-11 08:16:51.781295 97.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_per_accountid_info] Query :SELECT domain FROM domains WHERE accountid = 4 limit 1
  74. 2022-02-11 08:16:51.781295 97.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL_INTERCONNECT_COUNT] Query :SELECT count(*) as count FROM sip_devices, 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="8741933853"  AND domains.domain="w02version62.astppbilling.org" limit 1
  75. 2022-02-11 08:16:51.781295 97.40% [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 ="123458741933853" LIMIT 1
  76. 2022-02-11 08:16:51.801297 97.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  77. 2022-02-11 08:16:51.801297 97.40% [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="123458741933853"  AND domains.domain="w02version61.astppbilling.org" limit 1
  78. 2022-02-11 08:16:51.801297 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  79. 2022-02-11 08:16:51.801297 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 4727985745]
  80. 2022-02-11 08:16:51.801297 97.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "4727985745" AND deleted = 0 limit 1
  81. 2022-02-11 08:16:51.801297 97.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^123458741933853.*' OR blocked_patterns = '^12345874193385.*' OR blocked_patterns = '^1234587419338.*' OR blocked_patterns = '^123458741933.*' OR blocked_patterns = '^12345874193.*' OR blocked_patterns = '^1234587419.*' OR blocked_patterns = '^123458741.*' OR blocked_patterns = '^12345874.*' OR blocked_patterns = '^1234587.*' OR blocked_patterns = '^123458.*' OR blocked_patterns = '^12345.*' OR blocked_patterns = '^1234.*' OR blocked_patterns = '^123.*' OR blocked_patterns = '^12.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 2 limit 1
  82. 2022-02-11 08:16:51.801297 97.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="123458741933853" AND (accountid = 0 OR status = 1) LIMIT 1
  83. 2022-02-11 08:16:51.821297 97.40% [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 (patterns = '^123458741933853.*' OR patterns = '^12345874193385.*' OR patterns = '^1234587419338.*' OR patterns = '^123458741933.*' OR patterns = '^12345874193.*' OR patterns = '^1234587419.*' OR patterns = '^123458741.*' OR patterns = '^12345874.*' OR patterns = '^1234587.*' OR patterns = '^123458.*' OR patterns = '^12345.*' OR patterns = '^1234.*' OR patterns = '^123.*' OR patterns = '^12.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 2 ORDER BY LENGTH(PKGPTR.patterns) DESC
  84. 2022-02-11 08:16:51.821297 97.40% [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 ="123458741933853" AND A.accountid = '2' limit 1
  85. 2022-02-11 08:16:51.821297 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 123458741933853
  86. 2022-02-11 08:16:51.821297 97.40% [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 ="123458741933853" LIMIT 1
  87. 2022-02-11 08:16:51.821297 97.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  88. 2022-02-11 08:16:51.821297 97.40% [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="123458741933853"  AND domains.domain="w02version61.astppbilling.org" limit 1
  89. 2022-02-11 08:16:51.821297 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  90. 2022-02-11 08:16:51.821297 97.40% [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 = '123458741933853' OR number = '12345874193385' OR number = '1234587419338' OR number = '123458741933' OR number = '12345874193' OR number = '1234587419' OR number = '123458741' OR number = '12345874' OR number = '1234587' OR number = '123458' OR number = '12345' OR number = '1234' OR number = '123' OR number = '12' OR number = '1' OR number ='--') OR (number = '123458741933853*' OR number = '12345874193385*' OR number = '1234587419338*' OR number = '123458741933*' OR number = '12345874193*' OR number = '1234587419*' OR number = '123458741*' OR number = '12345874*' OR number = '1234587*' OR number = '123458*' OR number = '12345*' OR number = '1234*' OR number = '123*' OR number = '12*' OR number = '1*' OR number ='--') OR (number = '1997940044' OR number = '199794004' OR number = '19979400' OR number = '1997940' OR number = '199794' OR number = '19979' OR number = '1997' OR number = '199' OR number = '19' OR number = '1' OR number ='--') OR (number = '1997940044*' OR number = '199794004*' OR number = '19979400*' OR number = '1997940*' OR number = '199794*' OR number = '19979*' OR number = '1997*' OR number = '199*' OR number = '19*' OR number = '1*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  91. 2022-02-11 08:16:51.821297 97.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  92. 2022-02-11 08:16:51.821297 97.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '123458741933853' OR routing_prefix = '12345874193385' OR routing_prefix = '1234587419338' OR routing_prefix = '123458741933' OR routing_prefix = '12345874193' OR routing_prefix = '1234587419' OR routing_prefix = '123458741' OR routing_prefix = '12345874' OR routing_prefix = '1234587' OR routing_prefix = '123458' OR routing_prefix = '12345' OR routing_prefix = '1234' OR routing_prefix = '123' OR routing_prefix = '12' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  93. 2022-02-11 08:16:51.841298 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  94. 2022-02-11 08:16:51.841298 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 2
  95. 2022-02-11 08:16:51.841298 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 4727985745
  96. 2022-02-11 08:16:51.841298 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 200
  97. 2022-02-11 08:16:51.841298 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  98. 2022-02-11 08:16:51.841298 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  99. 2022-02-11 08:16:51.841298 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  100. 2022-02-11 08:16:51.841298 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  101. 2022-02-11 08:16:51.841298 97.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  102. 2022-02-11 08:16:51.841298 97.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  103. 2022-02-11 08:16:51.841298 97.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  104. 2022-02-11 08:16:51.841298 97.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^123458741933853.*' OR pattern = '^12345874193385.*' OR pattern = '^1234587419338.*' OR pattern = '^123458741933.*' OR pattern = '^12345874193.*' OR pattern = '^1234587419.*' OR pattern = '^123458741.*' OR pattern = '^12345874.*' OR pattern = '^1234587.*' OR pattern = '^123458.*' OR pattern = '^12345.*' OR pattern = '^1234.*' OR pattern = '^123.*' OR pattern = '^12.*' OR pattern = '^1.*' OR pattern ='--') AND (caller_id_pattern = '^1997940044.*' OR caller_id_pattern = '^199794004.*' OR caller_id_pattern = '^19979400.*' OR caller_id_pattern = '^1997940.*' OR caller_id_pattern = '^199794.*' OR caller_id_pattern = '^19979.*' OR caller_id_pattern = '^1997.*' OR caller_id_pattern = '^199.*' OR caller_id_pattern = '^19.*' OR caller_id_pattern = '^1.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 1 OR accountid=2)  ORDER BY accountid DESC,LENGTH(pattern),LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  105. 2022-02-11 08:16:51.841298 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  106. 2022-02-11 08:16:51.841298 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  107. 2022-02-11 08:16:51.841298 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  108. 2022-02-11 08:16:51.841298 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  109. 2022-02-11 08:16:51.841298 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  110. 2022-02-11 08:16:51.841298 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.20000
  111. 2022-02-11 08:16:51.841298 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : USA
  112. 2022-02-11 08:16:51.841298 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  113. 2022-02-11 08:16:51.841298 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 2
  114. 2022-02-11 08:16:51.841298 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
  115. 2022-02-11 08:16:51.841298 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  116. 2022-02-11 08:16:51.841298 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  117. 2022-02-11 08:16:51.841298 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your200 balance Accountid 2 !!!
  118. 2022-02-11 08:16:51.841298 97.40% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  119. 2022-02-11 08:16:51.841298 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  120. 2022-02-11 08:16:51.841298 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 1
  121. 2022-02-11 08:16:51.841298 97.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :0
  122. 2022-02-11 08:16:51.841298 97.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=1 ORDER by id asc
  123. 2022-02-11 08:16:51.841298 97.40% [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 = '^123458741933853.*' OR pattern = '^12345874193385.*' OR pattern = '^1234587419338.*' OR pattern = '^123458741933.*' OR pattern = '^12345874193.*' OR pattern = '^1234587419.*' OR pattern = '^123458741.*' OR pattern = '^12345874.*' OR pattern = '^1234587.*' OR pattern = '^123458.*' OR pattern = '^12345.*' OR pattern = '^1234.*' OR pattern = '^123.*' OR pattern = '^12.*' OR pattern = '^1.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (1) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
  124. 2022-02-11 08:16:51.861300 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  125. 2022-02-11 08:16:51.861300 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  126. 2022-02-11 08:16:51.861300 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1.*
  127. 2022-02-11 08:16:51.861300 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : USA
  128. 2022-02-11 08:16:51.861300 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  129. 2022-02-11 08:16:51.861300 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  130. 2022-02-11 08:16:51.861300 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1.*
  131. 2022-02-11 08:16:51.861300 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  132. 2022-02-11 08:16:51.861300 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  133. 2022-02-11 08:16:51.861300 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 1
  134. 2022-02-11 08:16:51.861300 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : YourProvider
  135. 2022-02-11 08:16:51.861300 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  136. 2022-02-11 08:16:51.861300 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  137. 2022-02-11 08:16:51.861300 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  138. 2022-02-11 08:16:51.861300 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  139. 2022-02-11 08:16:51.861300 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : YourTrunk
  140. 2022-02-11 08:16:51.861300 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  141. 2022-02-11 08:16:51.861300 97.40% [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 = 2 AND status=0 LIMIT 1
  142. 2022-02-11 08:16:51.861300 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  143. 2022-02-11 08:16:51.861300 97.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  144. 2022-02-11 08:16:51.861300 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  145. 2022-02-11 08:16:51.861300 97.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
  146. 2022-02-11 08:16:51.861300 97.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  147. 2022-02-11 08:16:51.861300 97.40% [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
  148. 2022-02-11 08:16:51.861300 97.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 1) AND status=0 limit 1
  149. 2022-02-11 08:16:51.881298 97.40% [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 ="123458741933853" LIMIT 1
  150. 2022-02-11 08:16:51.881298 97.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  151. 2022-02-11 08:16:51.881298 97.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  152. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  153. <document type="freeswitch/xml">
  154. <section name="dialplan" description="ASTPP Dialplan">
  155. <context name="default">
  156. <extension name="123458741933853">
  157. <condition field="destination_number" expression="123458741933853">
  158. <action application="set" data="effective_destination_number=123458741933853"/>
  159. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  160. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  161. <action application="set" data="callstart=2022-02-11 08:16:51"/>
  162. <action application="set" data="hangup_after_bridge=true"/>
  163. <action application="set" data="continue_on_fail=TRUE"/>
  164. <action application="set" data="account_id=2"/>
  165. <action application="set" data="parent_id=0"/>
  166. <action application="set" data="entity_id=0"/>
  167. <action application="set" data="call_processed=internal"/>
  168. <action application="set" data="call_direction=outbound"/>
  169. <action application="set" data="accountname=default"/>
  170. <action application="set" data="origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:2"/>
  171. <action application="set" data="original_caller_id_name=1997940044"/>
  172. <action application="set" data="original_caller_id_number=1997940044"/>
  173. <action application="limit" data="db 4727985745 user_4727985745 1 "/>
  174.  
  175. <action application="export" data="is_recording=1"/>
  176. <action application="export" data="media_bug_answer_req=true"/>
  177. <action application="export" data="RECORD_STEREO=true"/>
  178. <action application="export" data="record_sample_rate=8000"/>
  179. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
  180. <action application="set" data="effective_caller_id_name=1997940044"/>
  181. <action application="set" data="effective_caller_id_number=1997940044"/>
  182. <action application="set" data="calltype=STANDARD"/>
  183. <action application="set" data="termination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3"/>
  184. <action application="set" data="trunk_id=1"/>
  185. <action application="set" data="provider_id=3"/>
  186. <action application="set" data="rate_flag=0"/>
  187. <action application="set" data="force_trunk_flag=1"/>
  188. <action application="export" data="presence_data=trunk_id=1"/>
  189. <action application="set" data="intcall=0"/>
  190. <action application="export" data="presence_id=123458741933853"/>
  191. <action application="export" data="presence_data=x|||default(4727985745)|||^1.* // USA // 0.20000 |||YourTrunk // ^1.* // USA // 0.10000 // trunk_id=1|||STD|||150.129.107.251"/>
  192. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/123458741933853"/>
  193. </condition>
  194. </extension>
  195. </context>
  196. </section>
  197. </document>
  198. Dialplan: sofia/default/1997940044@w02version61.astppbilling.org:5074 parsing [default->123458741933853] continue=false
  199. Dialplan: sofia/default/1997940044@w02version61.astppbilling.org:5074 Regex (PASS) [123458741933853] destination_number(123458741933853) =~ /123458741933853/ break=on-false
  200. Dialplan: sofia/default/1997940044@w02version61.astppbilling.org:5074 Action set(effective_destination_number=123458741933853)
  201. Dialplan: sofia/default/1997940044@w02version61.astppbilling.org:5074 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  202. Dialplan: sofia/default/1997940044@w02version61.astppbilling.org:5074 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  203. Dialplan: sofia/default/1997940044@w02version61.astppbilling.org:5074 Action set(callstart=2022-02-11 08:16:51)
  204. Dialplan: sofia/default/1997940044@w02version61.astppbilling.org:5074 Action set(hangup_after_bridge=true)
  205. Dialplan: sofia/default/1997940044@w02version61.astppbilling.org:5074 Action set(continue_on_fail=TRUE)
  206. Dialplan: sofia/default/1997940044@w02version61.astppbilling.org:5074 Action set(account_id=2)
  207. Dialplan: sofia/default/1997940044@w02version61.astppbilling.org:5074 Action set(parent_id=0)
  208. Dialplan: sofia/default/1997940044@w02version61.astppbilling.org:5074 Action set(entity_id=0)
  209. Dialplan: sofia/default/1997940044@w02version61.astppbilling.org:5074 Action set(call_processed=internal)
  210. Dialplan: sofia/default/1997940044@w02version61.astppbilling.org:5074 Action set(call_direction=outbound)
  211. Dialplan: sofia/default/1997940044@w02version61.astppbilling.org:5074 Action set(accountname=default)
  212. Dialplan: sofia/default/1997940044@w02version61.astppbilling.org:5074 Action set(origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:2)
  213. Dialplan: sofia/default/1997940044@w02version61.astppbilling.org:5074 Action set(original_caller_id_name=1997940044)
  214. Dialplan: sofia/default/1997940044@w02version61.astppbilling.org:5074 Action set(original_caller_id_number=1997940044)
  215. Dialplan: sofia/default/1997940044@w02version61.astppbilling.org:5074 Action limit(db 4727985745 user_4727985745 1 )
  216. Dialplan: sofia/default/1997940044@w02version61.astppbilling.org:5074 Action export(is_recording=1)
  217. Dialplan: sofia/default/1997940044@w02version61.astppbilling.org:5074 Action export(media_bug_answer_req=true)
  218. Dialplan: sofia/default/1997940044@w02version61.astppbilling.org:5074 Action export(RECORD_STEREO=true)
  219. Dialplan: sofia/default/1997940044@w02version61.astppbilling.org:5074 Action export(record_sample_rate=8000)
  220. Dialplan: sofia/default/1997940044@w02version61.astppbilling.org:5074 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  221. Dialplan: sofia/default/1997940044@w02version61.astppbilling.org:5074 Action set(effective_caller_id_name=1997940044)
  222. Dialplan: sofia/default/1997940044@w02version61.astppbilling.org:5074 Action set(effective_caller_id_number=1997940044)
  223. Dialplan: sofia/default/1997940044@w02version61.astppbilling.org:5074 Action set(calltype=STANDARD)
  224. Dialplan: sofia/default/1997940044@w02version61.astppbilling.org:5074 Action set(termination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3)
  225. Dialplan: sofia/default/1997940044@w02version61.astppbilling.org:5074 Action set(trunk_id=1)
  226. Dialplan: sofia/default/1997940044@w02version61.astppbilling.org:5074 Action set(provider_id=3)
  227. Dialplan: sofia/default/1997940044@w02version61.astppbilling.org:5074 Action set(rate_flag=0)
  228. Dialplan: sofia/default/1997940044@w02version61.astppbilling.org:5074 Action set(force_trunk_flag=1)
  229. Dialplan: sofia/default/1997940044@w02version61.astppbilling.org:5074 Action export(presence_data=trunk_id=1)
  230. Dialplan: sofia/default/1997940044@w02version61.astppbilling.org:5074 Action set(intcall=0)
  231. Dialplan: sofia/default/1997940044@w02version61.astppbilling.org:5074 Action export(presence_id=123458741933853)
  232. Dialplan: sofia/default/1997940044@w02version61.astppbilling.org:5074 Action export(presence_data=x|||default(4727985745)|||^1.* // USA // 0.20000 |||YourTrunk // ^1.* // USA // 0.10000 // trunk_id=1|||STD|||150.129.107.251)
  233. Dialplan: sofia/default/1997940044@w02version61.astppbilling.org:5074 Action bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/123458741933853)
  234. 2022-02-11 08:16:51.881298 97.40% [DEBUG] switch_core_state_machine.c:281 (sofia/default/1997940044@w02version61.astppbilling.org:5074) State Change CS_ROUTING -> CS_EXECUTE
  235. 2022-02-11 08:16:51.881298 97.40% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1997940044@w02version61.astppbilling.org:5074) State ROUTING going to sleep
  236. 2022-02-11 08:16:51.881298 97.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1997940044@w02version61.astppbilling.org:5074) Running State Change CS_EXECUTE (Cur 1 Tot 31)
  237. 2022-02-11 08:16:51.881298 97.40% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1997940044@w02version61.astppbilling.org:5074) State EXECUTE
  238. 2022-02-11 08:16:51.881298 97.40% [DEBUG] mod_sofia.c:213 sofia/default/1997940044@w02version61.astppbilling.org:5074 SOFIA EXECUTE
  239. 2022-02-11 08:16:51.881298 97.40% [DEBUG] switch_core_state_machine.c:323 sofia/default/1997940044@w02version61.astppbilling.org:5074 Standard EXECUTE
  240. EXECUTE [depth=0] sofia/default/1997940044@w02version61.astppbilling.org:5074 set(effective_destination_number=123458741933853)
  241. 2022-02-11 08:16:51.881298 97.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/1997940044@w02version61.astppbilling.org:5074 [effective_destination_number]=[123458741933853]
  242. EXECUTE [depth=0] sofia/default/1997940044@w02version61.astppbilling.org:5074 set(bridge_pre_execute_bleg_app=sched_hangup)
  243. 2022-02-11 08:16:51.881298 97.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/1997940044@w02version61.astppbilling.org:5074 [bridge_pre_execute_bleg_app]=[sched_hangup]
  244. EXECUTE [depth=0] sofia/default/1997940044@w02version61.astppbilling.org:5074 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  245. 2022-02-11 08:16:51.881298 97.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/1997940044@w02version61.astppbilling.org:5074 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  246. EXECUTE [depth=0] sofia/default/1997940044@w02version61.astppbilling.org:5074 set(callstart=2022-02-11 08:16:51)
  247. 2022-02-11 08:16:51.881298 97.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/1997940044@w02version61.astppbilling.org:5074 [callstart]=[2022-02-11 08:16:51]
  248. EXECUTE [depth=0] sofia/default/1997940044@w02version61.astppbilling.org:5074 set(hangup_after_bridge=true)
  249. 2022-02-11 08:16:51.881298 97.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/1997940044@w02version61.astppbilling.org:5074 [hangup_after_bridge]=[true]
  250. EXECUTE [depth=0] sofia/default/1997940044@w02version61.astppbilling.org:5074 set(continue_on_fail=TRUE)
  251. 2022-02-11 08:16:51.881298 97.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/1997940044@w02version61.astppbilling.org:5074 [continue_on_fail]=[TRUE]
  252. EXECUTE [depth=0] sofia/default/1997940044@w02version61.astppbilling.org:5074 set(account_id=2)
  253. 2022-02-11 08:16:51.881298 97.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/1997940044@w02version61.astppbilling.org:5074 [account_id]=[2]
  254. EXECUTE [depth=0] sofia/default/1997940044@w02version61.astppbilling.org:5074 set(parent_id=0)
  255. 2022-02-11 08:16:51.881298 97.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/1997940044@w02version61.astppbilling.org:5074 [parent_id]=[0]
  256. EXECUTE [depth=0] sofia/default/1997940044@w02version61.astppbilling.org:5074 set(entity_id=0)
  257. 2022-02-11 08:16:51.881298 97.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/1997940044@w02version61.astppbilling.org:5074 [entity_id]=[0]
  258. EXECUTE [depth=0] sofia/default/1997940044@w02version61.astppbilling.org:5074 set(call_processed=internal)
  259. 2022-02-11 08:16:51.881298 97.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/1997940044@w02version61.astppbilling.org:5074 [call_processed]=[internal]
  260. EXECUTE [depth=0] sofia/default/1997940044@w02version61.astppbilling.org:5074 set(call_direction=outbound)
  261. 2022-02-11 08:16:51.881298 97.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/1997940044@w02version61.astppbilling.org:5074 [call_direction]=[outbound]
  262. EXECUTE [depth=0] sofia/default/1997940044@w02version61.astppbilling.org:5074 set(accountname=default)
  263. 2022-02-11 08:16:51.881298 97.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/1997940044@w02version61.astppbilling.org:5074 [accountname]=[default]
  264. EXECUTE [depth=0] sofia/default/1997940044@w02version61.astppbilling.org:5074 set(origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:2)
  265. 2022-02-11 08:16:51.881298 97.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/1997940044@w02version61.astppbilling.org:5074 [origination_rates]=[ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:2]
  266. EXECUTE [depth=0] sofia/default/1997940044@w02version61.astppbilling.org:5074 set(original_caller_id_name=1997940044)
  267. 2022-02-11 08:16:51.881298 97.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/1997940044@w02version61.astppbilling.org:5074 [original_caller_id_name]=[1997940044]
  268. EXECUTE [depth=0] sofia/default/1997940044@w02version61.astppbilling.org:5074 set(original_caller_id_number=1997940044)
  269. 2022-02-11 08:16:51.881298 97.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/1997940044@w02version61.astppbilling.org:5074 [original_caller_id_number]=[1997940044]
  270. EXECUTE [depth=0] sofia/default/1997940044@w02version61.astppbilling.org:5074 limit(db 4727985745 user_4727985745 1 )
  271. 2022-02-11 08:16:51.881298 97.40% [DEBUG] switch_limit.c:124 incr called: 4727985745_user_4727985745 max:1, interval:0
  272. 2022-02-11 08:16:51.881298 97.40% [DEBUG] mod_db.c:194 Usage for 4727985745_user_4727985745 is now 1/1
  273. EXECUTE [depth=0] sofia/default/1997940044@w02version61.astppbilling.org:5074 export(is_recording=1)
  274. 2022-02-11 08:16:51.881298 97.40% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  275. EXECUTE [depth=0] sofia/default/1997940044@w02version61.astppbilling.org:5074 export(media_bug_answer_req=true)
  276. 2022-02-11 08:16:51.881298 97.40% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  277. EXECUTE [depth=0] sofia/default/1997940044@w02version61.astppbilling.org:5074 export(RECORD_STEREO=true)
  278. 2022-02-11 08:16:51.881298 97.40% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [RECORD_STEREO]=[true]
  279. EXECUTE [depth=0] sofia/default/1997940044@w02version61.astppbilling.org:5074 export(record_sample_rate=8000)
  280. 2022-02-11 08:16:51.881298 97.40% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  281. EXECUTE [depth=0] sofia/default/1997940044@w02version61.astppbilling.org:5074 export(execute_on_answer=record_session /var/lib/freeswitch/recordings/c11ebd36-a6c8-4cc0-9864-5fbe04f6fd8b.wav)
  282. 2022-02-11 08:16:51.881298 97.40% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/c11ebd36-a6c8-4cc0-9864-5fbe04f6fd8b.wav]
  283. EXECUTE [depth=0] sofia/default/1997940044@w02version61.astppbilling.org:5074 set(effective_caller_id_name=1997940044)
  284. 2022-02-11 08:16:51.881298 97.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/1997940044@w02version61.astppbilling.org:5074 [effective_caller_id_name]=[1997940044]
  285. EXECUTE [depth=0] sofia/default/1997940044@w02version61.astppbilling.org:5074 set(effective_caller_id_number=1997940044)
  286. 2022-02-11 08:16:51.881298 97.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/1997940044@w02version61.astppbilling.org:5074 [effective_caller_id_number]=[1997940044]
  287. EXECUTE [depth=0] sofia/default/1997940044@w02version61.astppbilling.org:5074 set(calltype=STANDARD)
  288. 2022-02-11 08:16:51.881298 97.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/1997940044@w02version61.astppbilling.org:5074 [calltype]=[STANDARD]
  289. EXECUTE [depth=0] sofia/default/1997940044@w02version61.astppbilling.org:5074 set(termination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3)
  290. 2022-02-11 08:16:51.881298 97.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/1997940044@w02version61.astppbilling.org:5074 [termination_rates]=[ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3]
  291. EXECUTE [depth=0] sofia/default/1997940044@w02version61.astppbilling.org:5074 set(trunk_id=1)
  292. 2022-02-11 08:16:51.881298 97.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/1997940044@w02version61.astppbilling.org:5074 [trunk_id]=[1]
  293. EXECUTE [depth=0] sofia/default/1997940044@w02version61.astppbilling.org:5074 set(provider_id=3)
  294. 2022-02-11 08:16:51.881298 97.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/1997940044@w02version61.astppbilling.org:5074 [provider_id]=[3]
  295. EXECUTE [depth=0] sofia/default/1997940044@w02version61.astppbilling.org:5074 set(rate_flag=0)
  296. 2022-02-11 08:16:51.881298 97.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/1997940044@w02version61.astppbilling.org:5074 [rate_flag]=[0]
  297. EXECUTE [depth=0] sofia/default/1997940044@w02version61.astppbilling.org:5074 set(force_trunk_flag=1)
  298. 2022-02-11 08:16:51.881298 97.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/1997940044@w02version61.astppbilling.org:5074 [force_trunk_flag]=[1]
  299. EXECUTE [depth=0] sofia/default/1997940044@w02version61.astppbilling.org:5074 export(presence_data=trunk_id=1)
  300. 2022-02-11 08:16:51.881298 97.40% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=1]
  301. EXECUTE [depth=0] sofia/default/1997940044@w02version61.astppbilling.org:5074 set(intcall=0)
  302. 2022-02-11 08:16:51.881298 97.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/1997940044@w02version61.astppbilling.org:5074 [intcall]=[0]
  303. EXECUTE [depth=0] sofia/default/1997940044@w02version61.astppbilling.org:5074 export(presence_id=123458741933853)
  304. 2022-02-11 08:16:51.881298 97.40% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[123458741933853]
  305. EXECUTE [depth=0] sofia/default/1997940044@w02version61.astppbilling.org:5074 export(presence_data=x|||default(4727985745)|||^1.* // USA // 0.20000 |||YourTrunk // ^1.* // USA // 0.10000 // trunk_id=1|||STD|||150.129.107.251)
  306. 2022-02-11 08:16:51.881298 97.40% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||default(4727985745)|||^1.* // USA // 0.20000 |||YourTrunk // ^1.* // USA // 0.10000 // trunk_id=1|||STD|||150.129.107.251]
  307. EXECUTE [depth=0] sofia/default/1997940044@w02version61.astppbilling.org:5074 bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/123458741933853)
  308. 2022-02-11 08:16:51.881298 97.40% [DEBUG] switch_channel.c:1269 sofia/default/1997940044@w02version61.astppbilling.org:5074 EXPORTING[export_vars] [is_recording]=[1] to event
  309. 2022-02-11 08:16:51.881298 97.40% [DEBUG] switch_channel.c:1269 sofia/default/1997940044@w02version61.astppbilling.org:5074 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  310. 2022-02-11 08:16:51.881298 97.40% [DEBUG] switch_channel.c:1269 sofia/default/1997940044@w02version61.astppbilling.org:5074 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  311. 2022-02-11 08:16:51.881298 97.40% [DEBUG] switch_channel.c:1269 sofia/default/1997940044@w02version61.astppbilling.org:5074 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  312. 2022-02-11 08:16:51.881298 97.40% [DEBUG] switch_channel.c:1269 sofia/default/1997940044@w02version61.astppbilling.org:5074 EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/c11ebd36-a6c8-4cc0-9864-5fbe04f6fd8b.wav] to event
  313. 2022-02-11 08:16:51.881298 97.40% [DEBUG] switch_channel.c:1269 sofia/default/1997940044@w02version61.astppbilling.org:5074 EXPORTING[export_vars] [presence_data]=[x|||default(4727985745)|||^1.* // USA // 0.20000 |||YourTrunk // ^1.* // USA // 0.10000 // trunk_id=1|||STD|||150.129.107.251] to event
  314. 2022-02-11 08:16:51.881298 97.40% [DEBUG] switch_channel.c:1269 sofia/default/1997940044@w02version61.astppbilling.org:5074 EXPORTING[export_vars] [presence_id]=[123458741933853] to event
  315. 2022-02-11 08:16:51.881298 97.40% [DEBUG] switch_channel.c:1269 sofia/default/1997940044@w02version61.astppbilling.org:5074 EXPORTING[export_vars] [presence_data]=[x|||default(4727985745)|||^1.* // USA // 0.20000 |||YourTrunk // ^1.* // USA // 0.10000 // trunk_id=1|||STD|||150.129.107.251] to event
  316. 2022-02-11 08:16:51.881298 97.40% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  317. 2022-02-11 08:16:51.881298 97.40% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  318. 2022-02-11 08:16:51.881298 97.40% [NOTICE] switch_channel.c:1123 New Channel sofia/default/123458741933853 [487ca4f3-7e5a-4134-b5eb-f4c990ad8407]
  319. 2022-02-11 08:16:51.881298 97.40% [DEBUG] mod_sofia.c:5121 (sofia/default/123458741933853) State Change CS_NEW -> CS_INIT
  320. 2022-02-11 08:16:51.881298 97.40% [DEBUG] switch_ivr_originate.c:3151 sofia/default/123458741933853 Setting leg timeout to 30
  321. 2022-02-11 08:16:51.881298 97.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/123458741933853) Running State Change CS_INIT (Cur 2 Tot 32)
  322. 2022-02-11 08:16:51.881298 97.40% [DEBUG] switch_core_state_machine.c:624 (sofia/default/123458741933853) State INIT
  323. 2022-02-11 08:16:51.881298 97.40% [DEBUG] mod_sofia.c:97 sofia/default/123458741933853 SOFIA INIT
  324. 2022-02-11 08:16:51.881298 97.40% [INFO] sofia_glue.c:1651 sofia/default/123458741933853 sending invite call-id: (null)
  325. 2022-02-11 08:16:51.881298 97.40% [DEBUG] sofia_glue.c:1654 sofia/default/123458741933853 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  326. Local SDP:
  327. v=0
  328. o=FreeSWITCH 1644535313 1644535314 IN IP4 13.233.144.222
  329. s=FreeSWITCH
  330. c=IN IP4 13.233.144.222
  331. t=0 0
  332. m=audio 32098 RTP/AVP 8 18 101
  333. a=rtpmap:8 PCMA/8000
  334. a=rtpmap:18 G729/8000
  335. a=rtpmap:101 telephone-event/8000
  336. a=fmtp:101 0-15
  337. a=ptime:20
  338. a=sendrecv
  339.  
  340. 2022-02-11 08:16:51.881298 97.40% [DEBUG] switch_core_state_machine.c:40 sofia/default/123458741933853 Standard INIT
  341. 2022-02-11 08:16:51.881298 97.40% [DEBUG] switch_core_state_machine.c:48 (sofia/default/123458741933853) State Change CS_INIT -> CS_ROUTING
  342. 2022-02-11 08:16:51.881298 97.40% [DEBUG] switch_core_state_machine.c:624 (sofia/default/123458741933853) State INIT going to sleep
  343. 2022-02-11 08:16:51.881298 97.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/123458741933853) Running State Change CS_ROUTING (Cur 2 Tot 32)
  344. 2022-02-11 08:16:51.881298 97.40% [DEBUG] sofia.c:7499 Channel sofia/default/123458741933853 entering state [calling][0]
  345. 2022-02-11 08:16:51.881298 97.40% [DEBUG] switch_core_state_machine.c:640 (sofia/default/123458741933853) State ROUTING
  346. 2022-02-11 08:16:51.881298 97.40% [DEBUG] mod_sofia.c:158 sofia/default/123458741933853 SOFIA ROUTING
  347. 2022-02-11 08:16:51.881298 97.40% [DEBUG] switch_ivr_originate.c:67 (sofia/default/123458741933853) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  348. 2022-02-11 08:16:51.881298 97.40% [DEBUG] switch_core_state_machine.c:640 (sofia/default/123458741933853) State ROUTING going to sleep
  349. 2022-02-11 08:16:51.881298 97.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/123458741933853) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 32)
  350. 2022-02-11 08:16:51.881298 97.40% [DEBUG] switch_core_state_machine.c:659 (sofia/default/123458741933853) State CONSUME_MEDIA
  351. 2022-02-11 08:16:51.881298 97.40% [DEBUG] switch_core_state_machine.c:659 (sofia/default/123458741933853) State CONSUME_MEDIA going to sleep
  352. 2022-02-11 08:16:52.281316 96.53% [DEBUG] sofia.c:7499 Channel sofia/default/123458741933853 entering state [proceeding][180]
  353. 2022-02-11 08:16:52.281316 96.53% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/123458741933853!
  354. 2022-02-11 08:16:52.281316 96.53% [DEBUG] switch_channel.c:3494 (sofia/default/123458741933853) Callstate Change DOWN -> RINGING
  355. 2022-02-11 08:16:52.281316 96.53% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/1997940044@w02version61.astppbilling.org:5074!
  356. 2022-02-11 08:16:52.281316 96.53% [DEBUG] sofia.c:7499 Channel sofia/default/1997940044@w02version61.astppbilling.org:5074 entering state [early][180]
  357. 2022-02-11 08:16:52.281316 96.53% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/1997940044@w02version61.astppbilling.org:5074!
  358. 2022-02-11 08:17:02.281300 96.20% [DEBUG] sofia.c:7499 Channel sofia/default/123458741933853 entering state [completing][200]
  359. 2022-02-11 08:17:02.281300 96.20% [DEBUG] sofia.c:7509 Remote SDP:
  360. v=0
  361. o=root 2110884839 2110884839 IN IP4 159.203.131.36
  362. s=Asterisk PBX 16.4.0
  363. c=IN IP4 159.203.131.36
  364. t=0 0
  365. m=audio 10988 RTP/AVP 8 101
  366. a=rtpmap:8 PCMA/8000
  367. a=rtpmap:101 telephone-event/8000
  368. a=fmtp:101 0-16
  369. a=maxptime:150
  370.  
  371. 2022-02-11 08:17:02.281300 96.20% [DEBUG] sofia.c:7499 Channel sofia/default/123458741933853 entering state [ready][200]
  372. 2022-02-11 08:17:02.281300 96.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  373. 2022-02-11 08:17:02.281300 96.20% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  374. 2022-02-11 08:17:02.281300 96.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[G729:18:8000:20:8000:1]
  375. 2022-02-11 08:17:02.281300 96.20% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  376. 2022-02-11 08:17:02.281300 96.20% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/123458741933853 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  377. 2022-02-11 08:17:02.281300 96.20% [DEBUG] switch_core_codec.c:111 sofia/default/123458741933853 Original read codec set to PCMA:8
  378. 2022-02-11 08:17:02.281300 96.20% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  379. 2022-02-11 08:17:02.281300 96.20% [DEBUG] switch_core_media.c:5973 sofia/default/123458741933853 Set 2833 dtmf send payload to 101 recv payload to 101
  380. 2022-02-11 08:17:02.281300 96.20% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/123458741933853] 172.31.15.133 port 32098 -> 159.203.131.36 port 10988 codec: 8 ms: 20
  381. 2022-02-11 08:17:02.281300 96.20% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  382. 2022-02-11 08:17:02.281300 96.20% [DEBUG] switch_core_media.c:9089 sofia/default/123458741933853 Set 2833 dtmf send payload to 101
  383. 2022-02-11 08:17:02.281300 96.20% [DEBUG] switch_core_media.c:9096 sofia/default/123458741933853 Set 2833 dtmf receive payload to 101
  384. 2022-02-11 08:17:02.281300 96.20% [DEBUG] switch_core_media.c:9119 sofia/default/123458741933853 Set rtp dtmf delay to 40
  385. 2022-02-11 08:17:02.281300 96.20% [NOTICE] sofia.c:8683 Channel [sofia/default/123458741933853] has been answered
  386. EXECUTE [depth=1] sofia/default/123458741933853 record_session(/var/lib/freeswitch/recordings/c11ebd36-a6c8-4cc0-9864-5fbe04f6fd8b.wav)
  387. 2022-02-11 08:17:02.301294 96.20% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  388. 2022-02-11 08:17:02.301294 96.20% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/123458741933853
  389. 2022-02-11 08:17:02.301294 96.20% [DEBUG] switch_channel.c:3950 (sofia/default/123458741933853) Callstate Change RINGING -> ACTIVE
  390. 2022-02-11 08:17:02.301294 96.20% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/1997940044@w02version61.astppbilling.org:5074] 172.31.15.133 port 28588 -> 192.168.1.13 port 40030 codec: 0 ms: 20
  391. 2022-02-11 08:17:02.301294 96.20% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  392. 2022-02-11 08:17:02.301294 96.20% [DEBUG] switch_core_media.c:9089 sofia/default/1997940044@w02version61.astppbilling.org:5074 Set 2833 dtmf send payload to 101
  393. 2022-02-11 08:17:02.301294 96.20% [DEBUG] switch_core_media.c:9096 sofia/default/1997940044@w02version61.astppbilling.org:5074 Set 2833 dtmf receive payload to 101
  394. 2022-02-11 08:17:02.301294 96.20% [DEBUG] switch_core_media.c:9119 sofia/default/1997940044@w02version61.astppbilling.org:5074 Set rtp dtmf delay to 40
  395. 2022-02-11 08:17:02.301294 96.20% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/1997940044@w02version61.astppbilling.org:5074:
  396. v=0
  397. o=FreeSWITCH 1644538834 1644538835 IN IP4 13.233.144.222
  398. s=FreeSWITCH
  399. c=IN IP4 13.233.144.222
  400. t=0 0
  401. m=audio 28588 RTP/AVP 0 101
  402. a=rtpmap:0 PCMU/8000
  403. a=rtpmap:101 telephone-event/8000
  404. a=fmtp:101 0-15
  405. a=ptime:20
  406. a=sendrecv
  407. m=video 0 RTP/AVP 19
  408.  
  409. 2022-02-11 08:17:02.301294 96.20% [DEBUG] sofia.c:7499 Channel sofia/default/1997940044@w02version61.astppbilling.org:5074 entering state [completed][200]
  410. 2022-02-11 08:17:02.301294 96.20% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/1997940044@w02version61.astppbilling.org:5074] has been answered
  411. EXECUTE [depth=0] sofia/default/1997940044@w02version61.astppbilling.org:5074 record_session(/var/lib/freeswitch/recordings/c11ebd36-a6c8-4cc0-9864-5fbe04f6fd8b.wav)
  412. 2022-02-11 08:17:02.321296 96.20% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  413. 2022-02-11 08:17:02.321296 96.20% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/1997940044@w02version61.astppbilling.org:5074
  414. 2022-02-11 08:17:02.321296 96.20% [DEBUG] switch_channel.c:3950 (sofia/default/1997940044@w02version61.astppbilling.org:5074) Callstate Change RINGING -> ACTIVE
  415. 2022-02-11 08:17:02.321296 96.20% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/123458741933853] Peer UUID: 487ca4f3-7e5a-4134-b5eb-f4c990ad8407
  416. 2022-02-11 08:17:02.321296 96.20% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/123458741933853) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  417. 2022-02-11 08:17:02.321296 96.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/123458741933853) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 32)
  418. 2022-02-11 08:17:02.321296 96.20% [DEBUG] switch_core_state_machine.c:650 (sofia/default/123458741933853) State EXCHANGE_MEDIA
  419. 2022-02-11 08:17:02.321296 96.20% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  420. 2022-02-11 08:17:02.321296 96.20% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  421. 2022-02-11 08:17:02.321296 96.20% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  422. 2022-02-11 08:17:02.381295 96.20% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMU:0
  423. 2022-02-11 08:17:02.441298 96.20% [DEBUG] sofia.c:7499 Channel sofia/default/1997940044@w02version61.astppbilling.org:5074 entering state [ready][200]
  424. 2022-02-11 08:17:02.481300 96.20% [DEBUG] switch_ivr_bridge.c:655 sofia/default/123458741933853 Bridge execute app sched_hangup(+6000 normal_clearing)
  425. 2022-02-11 08:17:02.501302 96.20% [DEBUG] switch_ivr.c:632 sofia/default/123458741933853 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  426. EXECUTE [depth=0] sofia/default/123458741933853 sched_hangup(+6000 normal_clearing)
  427. 2022-02-11 08:17:02.501302 96.20% [DEBUG] switch_scheduler.c:263 Added task 11 switch_ivr_schedule_hangup (487ca4f3-7e5a-4134-b5eb-f4c990ad8407) to run at 1644573422
  428. 2022-02-11 08:17:02.601315 96.20% [INFO] switch_rtp.c:7894 Auto Changing audio port from 192.168.1.13:40030 to 150.129.107.251:40030
  429. 2022-02-11 08:17:02.781300 96.20% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  430. 2022-02-11 08:17:02.781300 96.20% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
  431. 2022-02-11 08:17:22.861306 95.53% [NOTICE] sofia.c:1065 Hangup sofia/default/1997940044@w02version61.astppbilling.org:5074 [CS_EXECUTE] [NORMAL_CLEARING]
  432. 2022-02-11 08:17:22.861306 95.53% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/1997940044@w02version61.astppbilling.org:5074]
  433. 2022-02-11 08:17:22.861306 95.53% [DEBUG] switch_ivr_bridge.c:820 sofia/default/1997940044@w02version61.astppbilling.org:5074 ending bridge by request from write function
  434. 2022-02-11 08:17:22.861306 95.53% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/123458741933853]
  435. 2022-02-11 08:17:22.861306 95.53% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/123458741933853 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  436. 2022-02-11 08:17:22.861306 95.53% [DEBUG] switch_core_state_machine.c:650 (sofia/default/123458741933853) State EXCHANGE_MEDIA going to sleep
  437. 2022-02-11 08:17:22.861306 95.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/123458741933853) Running State Change CS_HANGUP (Cur 2 Tot 32)
  438. 2022-02-11 08:17:22.861306 95.53% [DEBUG] switch_ivr_async.c:1596 Stop recording file /var/lib/freeswitch/recordings/c11ebd36-a6c8-4cc0-9864-5fbe04f6fd8b.wav
  439. 2022-02-11 08:17:22.861306 95.53% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  440. 2022-02-11 08:17:22.861306 95.53% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/123458741933853
  441. 2022-02-11 08:17:22.861306 95.53% [DEBUG] switch_core_state_machine.c:844 (sofia/default/123458741933853) Callstate Change ACTIVE -> HANGUP
  442. 2022-02-11 08:17:22.861306 95.53% [DEBUG] switch_core_state_machine.c:846 (sofia/default/123458741933853) State HANGUP
  443. 2022-02-11 08:17:22.861306 95.53% [DEBUG] mod_sofia.c:462 sofia/default/123458741933853 Overriding SIP cause 480 with 200 from the other leg
  444. 2022-02-11 08:17:22.861306 95.53% [DEBUG] mod_sofia.c:468 Channel sofia/default/123458741933853 hanging up, cause: NORMAL_CLEARING
  445. 2022-02-11 08:17:22.861306 95.53% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/123458741933853
  446. 2022-02-11 08:17:22.861306 95.53% [DEBUG] switch_core_state_machine.c:59 sofia/default/123458741933853 Standard HANGUP, cause: NORMAL_CLEARING
  447. 2022-02-11 08:17:22.861306 95.53% [DEBUG] switch_core_state_machine.c:846 (sofia/default/123458741933853) State HANGUP going to sleep
  448. 2022-02-11 08:17:22.861306 95.53% [DEBUG] switch_core_state_machine.c:616 (sofia/default/123458741933853) State Change CS_HANGUP -> CS_REPORTING
  449. 2022-02-11 08:17:22.861306 95.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/123458741933853) Running State Change CS_REPORTING (Cur 2 Tot 32)
  450. 2022-02-11 08:17:22.861306 95.53% [DEBUG] switch_core_state_machine.c:932 (sofia/default/123458741933853) State REPORTING
  451. 2022-02-11 08:17:22.861306 95.53% [INFO] mod_json_cdr.c:271 Process [487ca4f3-7e5a-4134-b5eb-f4c990ad8407.cdr.json]
  452. 2022-02-11 08:17:22.861306 95.53% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/123458741933853 skip receive message [UNBRIDGE] (channel is hungup already)
  453. 2022-02-11 08:17:22.861306 95.53% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/1997940044@w02version61.astppbilling.org:5074 skip receive message [UNBRIDGE] (channel is hungup already)
  454. 2022-02-11 08:17:22.861306 95.53% [DEBUG] switch_core_session.c:2983 sofia/default/1997940044@w02version61.astppbilling.org:5074 skip receive message [PHONE_EVENT] (channel is hungup already)
  455. 2022-02-11 08:17:22.861306 95.53% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1997940044@w02version61.astppbilling.org:5074) State EXECUTE going to sleep
  456. 2022-02-11 08:17:22.861306 95.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1997940044@w02version61.astppbilling.org:5074) Running State Change CS_HANGUP (Cur 2 Tot 32)
  457. 2022-02-11 08:17:22.861306 95.53% [DEBUG] switch_ivr_async.c:1596 Stop recording file /var/lib/freeswitch/recordings/c11ebd36-a6c8-4cc0-9864-5fbe04f6fd8b.wav
  458. 2022-02-11 08:17:22.861306 95.53% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  459. 2022-02-11 08:17:22.861306 95.53% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/1997940044@w02version61.astppbilling.org:5074
  460. 2022-02-11 08:17:22.861306 95.53% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1997940044@w02version61.astppbilling.org:5074) Callstate Change ACTIVE -> HANGUP
  461. 2022-02-11 08:17:22.861306 95.53% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1997940044@w02version61.astppbilling.org:5074) State HANGUP
  462. 2022-02-11 08:17:22.861306 95.53% [DEBUG] mod_sofia.c:468 Channel sofia/default/1997940044@w02version61.astppbilling.org:5074 hanging up, cause: NORMAL_CLEARING
  463. 2022-02-11 08:17:22.861306 95.53% [DEBUG] switch_core_state_machine.c:59 sofia/default/1997940044@w02version61.astppbilling.org:5074 Standard HANGUP, cause: NORMAL_CLEARING
  464. 2022-02-11 08:17:22.861306 95.53% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1997940044@w02version61.astppbilling.org:5074) State HANGUP going to sleep
  465. 2022-02-11 08:17:22.861306 95.53% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1997940044@w02version61.astppbilling.org:5074) State Change CS_HANGUP -> CS_REPORTING
  466. 2022-02-11 08:17:22.861306 95.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1997940044@w02version61.astppbilling.org:5074) Running State Change CS_REPORTING (Cur 2 Tot 32)
  467. 2022-02-11 08:17:22.861306 95.53% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1997940044@w02version61.astppbilling.org:5074) State REPORTING
  468. 2022-02-11 08:17:22.861306 95.53% [INFO] mod_json_cdr.c:271 Process [c11ebd36-a6c8-4cc0-9864-5fbe04f6fd8b.cdr.json]
  469. 2022-02-11 08:17:22.881298 95.53% [DEBUG] switch_core_state_machine.c:168 sofia/default/123458741933853 Standard REPORTING, cause: NORMAL_CLEARING
  470. 2022-02-11 08:17:22.881298 95.53% [DEBUG] switch_core_state_machine.c:932 (sofia/default/123458741933853) State REPORTING going to sleep
  471. 2022-02-11 08:17:22.881298 95.53% [DEBUG] switch_core_state_machine.c:607 (sofia/default/123458741933853) State Change CS_REPORTING -> CS_DESTROY
  472. 2022-02-11 08:17:22.881298 95.53% [DEBUG] switch_core_session.c:1753 Session 32 (sofia/default/123458741933853) Locked, Waiting on external entities
  473. 2022-02-11 08:17:22.881298 95.53% [NOTICE] switch_core_session.c:1771 Session 32 (sofia/default/123458741933853) Ended
  474. 2022-02-11 08:17:22.881298 95.53% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/123458741933853 [CS_DESTROY]
  475. 2022-02-11 08:17:22.881298 95.53% [DEBUG] switch_core_state_machine.c:735 (sofia/default/123458741933853) Running State Change CS_DESTROY (Cur 1 Tot 32)
  476. 2022-02-11 08:17:22.881298 95.53% [DEBUG] switch_core_state_machine.c:745 (sofia/default/123458741933853) State DESTROY
  477. 2022-02-11 08:17:22.881298 95.53% [DEBUG] mod_sofia.c:379 sofia/default/123458741933853 SOFIA DESTROY
  478. 2022-02-11 08:17:22.881298 95.53% [DEBUG] switch_core_state_machine.c:175 sofia/default/123458741933853 Standard DESTROY
  479. 2022-02-11 08:17:22.881298 95.53% [DEBUG] switch_core_state_machine.c:745 (sofia/default/123458741933853) State DESTROY going to sleep
  480. 2022-02-11 08:17:22.901294 95.53% [DEBUG] switch_core_state_machine.c:168 sofia/default/1997940044@w02version61.astppbilling.org:5074 Standard REPORTING, cause: NORMAL_CLEARING
  481. 2022-02-11 08:17:22.901294 95.53% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1997940044@w02version61.astppbilling.org:5074) State REPORTING going to sleep
  482. 2022-02-11 08:17:22.901294 95.53% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1997940044@w02version61.astppbilling.org:5074) State Change CS_REPORTING -> CS_DESTROY
  483. 2022-02-11 08:17:22.901294 95.53% [DEBUG] switch_core_session.c:1753 Session 31 (sofia/default/1997940044@w02version61.astppbilling.org:5074) Locked, Waiting on external entities
  484. 2022-02-11 08:17:22.901294 95.53% [NOTICE] switch_core_session.c:1771 Session 31 (sofia/default/1997940044@w02version61.astppbilling.org:5074) Ended
  485. 2022-02-11 08:17:22.901294 95.53% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/1997940044@w02version61.astppbilling.org:5074 [CS_DESTROY]
  486. 2022-02-11 08:17:22.901294 95.53% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1997940044@w02version61.astppbilling.org:5074) Running State Change CS_DESTROY (Cur 0 Tot 32)
  487. 2022-02-11 08:17:22.901294 95.53% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1997940044@w02version61.astppbilling.org:5074) State DESTROY
  488. 2022-02-11 08:17:22.901294 95.53% [DEBUG] mod_sofia.c:379 sofia/default/1997940044@w02version61.astppbilling.org:5074 SOFIA DESTROY
  489. 2022-02-11 08:17:22.901294 95.53% [DEBUG] switch_core_state_machine.c:175 sofia/default/1997940044@w02version61.astppbilling.org:5074 Standard DESTROY
  490. 2022-02-11 08:17:22.901294 95.53% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1997940044@w02version61.astppbilling.org:5074) State DESTROY going to sleep
  491. 2022-02-11 08:17:23.001330 95.53% [DEBUG] switch_scheduler.c:147 Deleting task 11 switch_ivr_schedule_hangup (487ca4f3-7e5a-4134-b5eb-f4c990ad8407)
  492. freeswitch@ip-172-31-15-133>