From Prashant kumar, 3 Years ago, written in FreeSWITCH.
- go back
Embed
Viewing differences between and Outbound-CallerId localization sequence
  1. span style="color: cornflowerblue; font-weight: bold;"> 2021-07-05 11:41:39.552304 [NOTICE] switch_channel.c:1118 New Channel sofia/default/7348829043@entdemo.astppbilling.org:5077 [3e84072c-3126-4620-b16d-51daefaaf253]
  2. 2021-07-05 11:41:39.552304 [DEBUG] switch_core_state_machine.c:585 (sofia/default/7348829043@entdemo.astppbilling.org:5077) Running State Change CS_NEW (Cur 1 Tot 392)
  3. 2021-07-05 11:41:39.552304 [DEBUG] sofia.c:10280 sofia/default/7348829043@entdemo.astppbilling.org:5077 receiving invite from 117.247.91.162:5062 version: 1.10.5 -release-17-25569c1631 64bit
  4. 2021-07-05 11:41:39.552304 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 117.247.91.162:0.
  5. 2021-07-05 11:41:39.552304 [DEBUG] sofia.c:2434 detaching session 3e84072c-3126-4620-b16d-51daefaaf253
  6. 2021-07-05 11:41:39.552304 [WARNING] sofia_reg.c:1794 SIP auth challenge (INVITE) on sofia profile 'default' for [31089552555@entdemo.astppbilling.org] from ip 117.247.91.162
  7. 2021-07-05 11:41:39.552304 [DEBUG] switch_core_state_machine.c:604 (sofia/default/7348829043@entdemo.astppbilling.org:5077) State NEW
  8. 2021-07-05 11:41:39.732292 [DEBUG] sofia.c:2544 Re-attaching to session 3e84072c-3126-4620-b16d-51daefaaf253
  9. 2021-07-05 11:41:39.732292 [DEBUG] sofia.c:10280 sofia/default/7348829043@entdemo.astppbilling.org:5077 receiving invite from 117.247.91.162:5062 version: 1.10.5 -release-17-25569c1631 64bit
  10. 2021-07-05 11:41:39.732292 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 117.247.91.162:0.
  11. 2021-07-05 11:41:39.752271 [DEBUG] sofia.c:11477 Setting NAT mode based on via received
  12. 2021-07-05 11:41:39.752271 [DEBUG] sofia.c:7326 Channel sofia/default/7348829043@entdemo.astppbilling.org:5077 entering state [received][100]
  13. 2021-07-05 11:41:39.752271 [DEBUG] sofia.c:7336 Remote SDP:
  14. v=0
  15. o=7348829043 8001 8000 IN IP4 192.168.1.157
  16. s=SIP Call
  17. c=IN IP4 192.168.1.157
  18. t=0 0
  19. m=audio 5008 RTP/AVP 0 8 4 18 9 97 2 101
  20. a=rtpmap:0 PCMU/8000
  21. a=rtpmap:8 PCMA/8000
  22. a=rtpmap:4 G723/8000
  23. a=rtpmap:18 G729/8000
  24. a=fmtp:18 annexb=no
  25. a=rtpmap:9 G722/8000
  26. a=rtpmap:97 iLBC/8000
  27. a=fmtp:97 mode=30
  28. a=rtpmap:2 G726-32/8000
  29. a=rtpmap:101 telephone-event/8000
  30. a=fmtp:101 0-15
  31. a=ptime:20
  32.  
  33. 2021-07-05 11:41:39.752271 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  34. 2021-07-05 11:41:39.752271 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  35. 2021-07-05 11:41:39.752271 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  36. 2021-07-05 11:41:39.752271 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  37. 2021-07-05 11:41:39.752271 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  38. 2021-07-05 11:41:39.752271 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  39. 2021-07-05 11:41:39.752271 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMA:8:8000:20:64000:1]
  40. 2021-07-05 11:41:39.752271 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMU:0:8000:20:64000:1]
  41. 2021-07-05 11:41:39.752271 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  42. 2021-07-05 11:41:39.752271 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  43. 2021-07-05 11:41:39.752271 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  44. 2021-07-05 11:41:39.752271 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  45. 2021-07-05 11:41:39.752271 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [iLBC:97:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  46. 2021-07-05 11:41:39.752271 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [iLBC:97:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  47. 2021-07-05 11:41:39.752271 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G726-32:2:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  48. 2021-07-05 11:41:39.752271 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G726-32:2:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  49. 2021-07-05 11:41:39.752271 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
  50. 2021-07-05 11:41:39.752271 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/7348829043@entdemo.astppbilling.org:5077 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  51. 2021-07-05 11:41:39.752271 [DEBUG] switch_core_codec.c:111 sofia/default/7348829043@entdemo.astppbilling.org:5077 Original read codec set to PCMU:0
  52. 2021-07-05 11:41:39.752271 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  53. 2021-07-05 11:41:39.752271 [DEBUG] switch_core_media.c:5911 sofia/default/7348829043@entdemo.astppbilling.org:5077 Set 2833 dtmf send payload to 101 recv payload to 101
  54. 2021-07-05 11:41:39.752271 [DEBUG] sofia.c:7760 (sofia/default/7348829043@entdemo.astppbilling.org:5077) State Change CS_NEW -> CS_INIT
  55. 2021-07-05 11:41:39.752271 [DEBUG] switch_core_state_machine.c:585 (sofia/default/7348829043@entdemo.astppbilling.org:5077) Running State Change CS_INIT (Cur 1 Tot 392)
  56. 2021-07-05 11:41:39.752271 [DEBUG] switch_core_state_machine.c:628 (sofia/default/7348829043@entdemo.astppbilling.org:5077) State INIT
  57. 2021-07-05 11:41:39.752271 [DEBUG] mod_sofia.c:93 sofia/default/7348829043@entdemo.astppbilling.org:5077 SOFIA INIT
  58. 2021-07-05 11:41:39.752271 [DEBUG] switch_core_state_machine.c:40 sofia/default/7348829043@entdemo.astppbilling.org:5077 Standard INIT
  59. 2021-07-05 11:41:39.752271 [DEBUG] switch_core_state_machine.c:48 (sofia/default/7348829043@entdemo.astppbilling.org:5077) State Change CS_INIT -> CS_ROUTING
  60. 2021-07-05 11:41:39.752271 [DEBUG] switch_core_state_machine.c:628 (sofia/default/7348829043@entdemo.astppbilling.org:5077) State INIT going to sleep
  61. 2021-07-05 11:41:39.752271 [DEBUG] switch_core_state_machine.c:585 (sofia/default/7348829043@entdemo.astppbilling.org:5077) Running State Change CS_ROUTING (Cur 1 Tot 392)
  62. 2021-07-05 11:41:39.752271 [DEBUG] switch_channel.c:2332 (sofia/default/7348829043@entdemo.astppbilling.org:5077) Callstate Change DOWN -> RINGING
  63. 2021-07-05 11:41:39.752271 [DEBUG] switch_core_state_machine.c:644 (sofia/default/7348829043@entdemo.astppbilling.org:5077) State ROUTING
  64. 2021-07-05 11:41:39.752271 [DEBUG] mod_sofia.c:154 sofia/default/7348829043@entdemo.astppbilling.org:5077 SOFIA ROUTING
  65. 2021-07-05 11:41:39.752271 [DEBUG] switch_core_state_machine.c:236 sofia/default/7348829043@entdemo.astppbilling.org:5077 Standard ROUTING
  66. 2021-07-05 11:41:39.752271 [INFO] mod_dialplan_xml.c:637 Processing 7348829043 <7348829043>->31089552555 in context default
  67. 2021-07-05 11:41:39.792272 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  68. 2021-07-05 11:41:39.792272 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  69. 2021-07-05 11:41:39.812272 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  70. 2021-07-05 11:41:39.812272 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 31089552555
  71. 2021-07-05 11:41:39.812272 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '31089552555' limit 1
  72. 2021-07-05 11:41:39.812272 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '31089552555' AND status=0 limit 1
  73. 2021-07-05 11:41:39.812272 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '31089552555' and status=0 LIMIT 1
  74. 2021-07-05 11:41:39.832275 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] Custom Caller ID
  75. 2021-07-05 11:41:39.832275 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number  : 8320997488 / 8320997488
  76. 2021-07-05 11:41:39.832275 [DEBUG] switch_cpp.cpp:1447 [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="31089552555" LIMIT 1
  77. 2021-07-05 11:41:39.832275 [DEBUG] switch_cpp.cpp:1447 [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 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="31089552555"  AND domains.domain="entdemo.astppbilling.org" limit 1
  78. 2021-07-05 11:41:39.832275 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : outbound
  79. 2021-07-05 11:41:39.832275 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 5144668937]
  80. 2021-07-05 11:41:39.832275 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "5144668937" AND deleted = 0 limit 1
  81. 2021-07-05 11:41:39.832275 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^31089552555.*' OR blocked_patterns = '^3108955255.*' OR blocked_patterns = '^310895525.*' OR blocked_patterns = '^31089552.*' OR blocked_patterns = '^3108955.*' OR blocked_patterns = '^310895.*' OR blocked_patterns = '^31089.*' OR blocked_patterns = '^3108.*' OR blocked_patterns = '^310.*' OR blocked_patterns = '^31.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 10 limit 1
  82. 2021-07-05 11:41:39.832275 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="31089552555" AND (accountid = 0 OR status = 1) LIMIT 1
  83. 2021-07-05 11:41:39.832275 [NOTICE] switch_cpp.cpp:1447 [ASTPP] Localization Id: 1
  84. 2021-07-05 11:41:39.832275 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
  85. 2021-07-05 11:41:39.832275 [DEBUG] switch_cpp.cpp:1447 [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 = '^31089552555.*' OR patterns = '^3108955255.*' OR patterns = '^310895525.*' OR patterns = '^31089552.*' OR patterns = '^3108955.*' OR patterns = '^310895.*' OR patterns = '^31089.*' OR patterns = '^3108.*' OR patterns = '^310.*' OR patterns = '^31.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 10 ORDER BY LENGTH(PKGPTR.patterns) DESC
  86. 2021-07-05 11:41:39.852268 [DEBUG] switch_cpp.cpp:1447 [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 ="31089552555" AND A.accountid = '10' limit 1
  87. 2021-07-05 11:41:39.852268 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 31089552555
  88. 2021-07-05 11:41:39.852268 [DEBUG] switch_cpp.cpp:1447 [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="31089552555" LIMIT 1
  89. 2021-07-05 11:41:39.852268 [DEBUG] switch_cpp.cpp:1447 [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 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="31089552555"  AND domains.domain="entdemo.astppbilling.org" limit 1
  90. 2021-07-05 11:41:39.852268 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call Direction : outbound
  91. 2021-07-05 11:41:39.852268 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '31089552555' OR number = '3108955255' OR number = '310895525' OR number = '31089552' OR number = '3108955' OR number = '310895' OR number = '31089' OR number = '3108' OR number = '310' OR number = '31' OR number = '3' OR number ='--') OR (number = '31089552555*' OR number = '3108955255*' OR number = '310895525*' OR number = '31089552*' OR number = '3108955*' OR number = '310895*' OR number = '31089*' OR number = '3108*' OR number = '310*' OR number = '31*' OR number = '3*' OR number ='--') OR (number = '8320997488' OR number = '832099748' OR number = '83209974' OR number = '8320997' OR number = '832099' OR number = '83209' OR number = '8320' OR number = '832' OR number = '83' OR number = '8' OR number ='--') OR (number = '8320997488*' OR number = '832099748*' OR number = '83209974*' OR number = '8320997*' OR number = '832099*' OR number = '83209*' OR number = '8320*' OR number = '832*' OR number = '83*' OR number = '8*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  92. 2021-07-05 11:41:39.852268 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
  93. 2021-07-05 11:41:39.852268 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '31089552555' OR routing_prefix = '3108955255' OR routing_prefix = '310895525' OR routing_prefix = '31089552' OR routing_prefix = '3108955' OR routing_prefix = '310895' OR routing_prefix = '31089' OR routing_prefix = '3108' OR routing_prefix = '310' OR routing_prefix = '31' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  94. 2021-07-05 11:41:39.852268 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
  95. 2021-07-05 11:41:39.852268 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 10
  96. 2021-07-05 11:41:39.852268 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 5144668937
  97. 2021-07-05 11:41:39.852268 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 9237.8441
  98. 2021-07-05 11:41:39.852268 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  99. 2021-07-05 11:41:39.852268 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 10
  100. 2021-07-05 11:41:39.852268 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
  101. 2021-07-05 11:41:39.852268 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
  102. 2021-07-05 11:41:39.852268 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"8320/9977".....8320997488
  103. 2021-07-05 11:41:39.852268 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 8320997488
  104. 2021-07-05 11:41:39.852268 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 9977997488
  105. 2021-07-05 11:41:39.852268 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"8320/9977".....8320997488
  106. 2021-07-05 11:41:39.852268 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 8320997488
  107. 2021-07-05 11:41:39.852268 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 9977997488
  108. 2021-07-05 11:41:39.852268 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"8320/9977".....8320997488
  109. 2021-07-05 11:41:39.852268 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 8320997488
  110. 2021-07-05 11:41:39.852268 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 9977997488
  111. 2021-07-05 11:41:39.852268 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"8320/9977".....8320997488
  112. 2021-07-05 11:41:39.852268 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 8320997488
  113. 2021-07-05 11:41:39.852268 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 9977997488
  114. 2021-07-05 11:41:39.872271 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 10 AND status = 0
  115. 2021-07-05 11:41:39.872271 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
  116. 2021-07-05 11:41:39.872271 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 10 AND status = 0
  117. 2021-07-05 11:41:39.872271 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^31089552555.*' OR pattern = '^3108955255.*' OR pattern = '^310895525.*' OR pattern = '^31089552.*' OR pattern = '^3108955.*' OR pattern = '^310895.*' OR pattern = '^31089.*' OR pattern = '^3108.*' OR pattern = '^310.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 10 OR accountid=10)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  118. 2021-07-05 11:41:39.872271 [INFO] switch_cpp.cpp:1447 [ASTPP]  Call Direction : outbound
  119. 2021-07-05 11:41:39.872271 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
  120. 2021-07-05 11:41:39.872271 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 27
  121. 2021-07-05 11:41:39.872271 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
  122. 2021-07-05 11:41:39.872271 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
  123. 2021-07-05 11:41:39.872271 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 3.00000
  124. 2021-07-05 11:41:39.872271 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment :
  125. 2021-07-05 11:41:39.872271 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 0
  126. 2021-07-05 11:41:39.872271 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 10
  127. 2021-07-05 11:41:39.872271 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID:
  128. 2021-07-05 11:41:39.872271 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type:
  129. 2021-07-05 11:41:39.872271 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
  130. 2021-07-05 11:41:39.872271 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your9237.8441 balance Accountid 10 !!!
  131. 2021-07-05 11:41:39.872271 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  132. 2021-07-05 11:41:39.872271 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max Length Duration : 100 minutes
  133. 2021-07-05 11:41:39.872271 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id        :
  134. 2021-07-05 11:41:39.872271 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=10 ORDER by id asc
  135. 2021-07-05 11:41:39.892281 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,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 = '^31089552555.*' OR pattern = '^3108955255.*' OR pattern = '^310895525.*' OR pattern = '^31089552.*' OR pattern = '^3108955.*' OR pattern = '^310895.*' OR pattern = '^31089.*' OR pattern = '^3108.*' OR pattern = '^310.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (5) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
  136. 2021-07-05 11:41:39.892281 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Termination Rates Information ===================
  137. 2021-07-05 11:41:39.892281 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 12
  138. 2021-07-05 11:41:39.892281 [INFO] switch_cpp.cpp:1447 [ASTPP] Code : ^31.*
  139. 2021-07-05 11:41:39.892281 [INFO] switch_cpp.cpp:1447 [ASTPP] Destination :
  140. 2021-07-05 11:41:39.892281 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
  141. 2021-07-05 11:41:39.892281 [INFO] switch_cpp.cpp:1447 [ASTPP] Free Seconds : 0
  142. 2021-07-05 11:41:39.892281 [INFO] switch_cpp.cpp:1447 [ASTPP] Prefix : ^31.*
  143. 2021-07-05 11:41:39.892281 [INFO] switch_cpp.cpp:1447 [ASTPP] Strip :
  144. 2021-07-05 11:41:39.892281 [INFO] switch_cpp.cpp:1447 [ASTPP] Prepend :
  145. 2021-07-05 11:41:39.892281 [INFO] switch_cpp.cpp:1447 [ASTPP] Carrier id : 5
  146. 2021-07-05 11:41:39.892281 [INFO] switch_cpp.cpp:1447 [ASTPP] carrier_name : PkGateway
  147. 2021-07-05 11:41:39.892281 [INFO] switch_cpp.cpp:1447 [ASTPP] dialplan_variable :
  148. 2021-07-05 11:41:39.892281 [INFO] switch_cpp.cpp:1447 [ASTPP] Failover gateway :
  149. 2021-07-05 11:41:39.892281 [INFO] switch_cpp.cpp:1447 [ASTPP] Vendor id : 3
  150. 2021-07-05 11:41:39.892281 [INFO] switch_cpp.cpp:1447 [ASTPP] Max channels : 0
  151. 2021-07-05 11:41:39.892281 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk Name : TrunkPK
  152. 2021-07-05 11:41:39.892281 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================END OF TERMINATION RATES=======================
  153. 2021-07-05 11:41:39.892281 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 10 AND status=0 LIMIT 1
  154. 2021-07-05 11:41:39.912277 [INFO] switch_cpp.cpp:1447 [ASTPP]  Maxlength : 100
  155. 2021-07-05 11:41:39.912277 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  156. 2021-07-05 11:41:39.912277 [INFO] switch_cpp.cpp:1447 [ASTPP] [XML] Customer Recording Flag : 1
  157. 2021-07-05 11:41:39.912277 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Direction : outbound
  158. 2021-07-05 11:41:39.912277 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 10 AND status = 0
  159. 2021-07-05 11:41:39.912277 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 5) AND status=0 limit 1
  160. 2021-07-05 11:41:39.912277 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"9977/8866".....9977997488
  161. 2021-07-05 11:41:39.912277 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 9977997488
  162. 2021-07-05 11:41:39.912277 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 8866997488
  163. 2021-07-05 11:41:39.912277 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"9977/8866".....9977997488
  164. 2021-07-05 11:41:39.912277 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 9977997488
  165. 2021-07-05 11:41:39.912277 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 8866997488
  166. 2021-07-05 11:41:39.912277 [DEBUG] switch_cpp.cpp:1447 [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
  167. 2021-07-05 11:41:39.912277 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"8866/5533".....9977997488
  168. 2021-07-05 11:41:39.912277 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"8866/5533".....9977997488
  169. 2021-07-05 11:41:39.912277 [DEBUG] switch_cpp.cpp:1447 [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="31089552555" LIMIT 1
  170. 2021-07-05 11:41:39.912277 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Generated XML:
  171. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  172. <document type="freeswitch/xml">
  173. <section name="dialplan" description="ASTPP Dialplan">
  174. <context name="default">
  175. <extension name="31089552555">
  176. <condition field="destination_number" expression="31089552555">
  177. <action application="set" data="effective_destination_number=31089552555"/>
  178. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  179. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  180. <action application="set" data="callstart=2021-07-05 11:41:39"/>
  181. <action application="set" data="hangup_after_bridge=true"/>
  182. <action application="set" data="continue_on_fail=TRUE"/>
  183. <action application="set" data="account_id=10"/>
  184. <action application="set" data="parent_id=0"/>
  185. <action application="set" data="entity_id=0"/>
  186. <action application="set" data="call_processed=internal"/>
  187. <action application="set" data="call_direction=outbound"/>
  188. <action application="set" data="accountname=default"/>
  189. <action application="set" data="filename1=astpp.pbx.lua"/>
  190. <action application="set" data="origination_rates=ID:27|CODE:^31.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:3.00000|INC:1|INITIALBLOCK:1|RATEGROUP:10|MARKUP:0|CI:0|ACCID:10"/>
  191. <action application="set" data="original_caller_id_name=9977997488"/>
  192. <action application="set" data="original_caller_id_number=9977997488"/>
  193. <action application="limit" data="db 5144668937 user_5144668937 6 "/>
  194.  
  195. <action application="set" data="effective_caller_id_name=9977997488"/>
  196. <action application="set" data="effective_caller_id_number=9977997488"/>
  197. <action application="set" data="calltype=STANDARD"/>
  198. <action application="set" data="termination_rates=ID:12|CODE:^31.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:0|INITIALBLOCK:0|TRUNK:5|PROVIDER:3"/>
  199. <action application="set" data="trunk_id=5"/>
  200. <action application="set" data="provider_id=3"/>
  201. <action application="set" data="rate_flag=0"/>
  202. <action application="set" data="force_trunk_flag=0"/>
  203. <action application="export" data="presence_data=trunk_id=5"/>
  204. <action application="set" data="intcall=0"/>
  205. <action application="export" data="presence_id=31089552555"/>
  206. <action application="export" data="presence_data=x|||Pk(5144668937)|||^31.* //  // 3.00000 // trunk_id=|||TrunkPK // ^31.* //  // 1.00000 // trunk_id=5|||STD|||117.247.91.162"/>
  207. <action application="bridge" data="[leg_timeout=0]sofia/gateway/PkGateway/31089552555"/>
  208. </condition>
  209. </extension>
  210. </context>
  211. </section>
  212. </document>
  213. Dialplan: sofia/default/7348829043@entdemo.astppbilling.org:5077 parsing [default->31089552555] continue=false
  214. Dialplan: sofia/default/7348829043@entdemo.astppbilling.org:5077 Regex (PASS) [31089552555] destination_number(31089552555) =~ /31089552555/ break=on-false
  215. Dialplan: sofia/default/7348829043@entdemo.astppbilling.org:5077 Action set(effective_destination_number=31089552555)
  216. Dialplan: sofia/default/7348829043@entdemo.astppbilling.org:5077 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  217. Dialplan: sofia/default/7348829043@entdemo.astppbilling.org:5077 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  218. Dialplan: sofia/default/7348829043@entdemo.astppbilling.org:5077 Action set(callstart=2021-07-05 11:41:39)
  219. Dialplan: sofia/default/7348829043@entdemo.astppbilling.org:5077 Action set(hangup_after_bridge=true)
  220. Dialplan: sofia/default/7348829043@entdemo.astppbilling.org:5077 Action set(continue_on_fail=TRUE)
  221. Dialplan: sofia/default/7348829043@entdemo.astppbilling.org:5077 Action set(account_id=10)
  222. Dialplan: sofia/default/7348829043@entdemo.astppbilling.org:5077 Action set(parent_id=0)
  223. Dialplan: sofia/default/7348829043@entdemo.astppbilling.org:5077 Action set(entity_id=0)
  224. Dialplan: sofia/default/7348829043@entdemo.astppbilling.org:5077 Action set(call_processed=internal)
  225. Dialplan: sofia/default/7348829043@entdemo.astppbilling.org:5077 Action set(call_direction=outbound)
  226. Dialplan: sofia/default/7348829043@entdemo.astppbilling.org:5077 Action set(accountname=default)
  227. Dialplan: sofia/default/7348829043@entdemo.astppbilling.org:5077 Action set(filename1=astpp.pbx.lua)
  228. Dialplan: sofia/default/7348829043@entdemo.astppbilling.org:5077 Action set(origination_rates=ID:27|CODE:^31.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:3.00000|INC:1|INITIALBLOCK:1|RATEGROUP:10|MARKUP:0|CI:0|ACCID:10)
  229. Dialplan: sofia/default/7348829043@entdemo.astppbilling.org:5077 Action set(original_caller_id_name=9977997488)
  230. Dialplan: sofia/default/7348829043@entdemo.astppbilling.org:5077 Action set(original_caller_id_number=9977997488)
  231. Dialplan: sofia/default/7348829043@entdemo.astppbilling.org:5077 Action limit(db 5144668937 user_5144668937 6 )
  232. Dialplan: sofia/default/7348829043@entdemo.astppbilling.org:5077 Action set(effective_caller_id_name=9977997488)
  233. Dialplan: sofia/default/7348829043@entdemo.astppbilling.org:5077 Action set(effective_caller_id_number=9977997488)
  234. Dialplan: sofia/default/7348829043@entdemo.astppbilling.org:5077 Action set(calltype=STANDARD)
  235. Dialplan: sofia/default/7348829043@entdemo.astppbilling.org:5077 Action set(termination_rates=ID:12|CODE:^31.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:0|INITIALBLOCK:0|TRUNK:5|PROVIDER:3)
  236. Dialplan: sofia/default/7348829043@entdemo.astppbilling.org:5077 Action set(trunk_id=5)
  237. Dialplan: sofia/default/7348829043@entdemo.astppbilling.org:5077 Action set(provider_id=3)
  238. Dialplan: sofia/default/7348829043@entdemo.astppbilling.org:5077 Action set(rate_flag=0)
  239. Dialplan: sofia/default/7348829043@entdemo.astppbilling.org:5077 Action set(force_trunk_flag=0)
  240. Dialplan: sofia/default/7348829043@entdemo.astppbilling.org:5077 Action export(presence_data=trunk_id=5)
  241. Dialplan: sofia/default/7348829043@entdemo.astppbilling.org:5077 Action set(intcall=0)
  242. Dialplan: sofia/default/7348829043@entdemo.astppbilling.org:5077 Action export(presence_id=31089552555)
  243. Dialplan: sofia/default/7348829043@entdemo.astppbilling.org:5077 Action export(presence_data=x|||Pk(5144668937)|||^31.* //  // 3.00000 // trunk_id=|||TrunkPK // ^31.* //  // 1.00000 // trunk_id=5|||STD|||117.247.91.162)
  244. Dialplan: sofia/default/7348829043@entdemo.astppbilling.org:5077 Action bridge([leg_timeout=0]sofia/gateway/PkGateway/31089552555)
  245. 2021-07-05 11:41:39.912277 [DEBUG] switch_core_state_machine.c:287 (sofia/default/7348829043@entdemo.astppbilling.org:5077) State Change CS_ROUTING -> CS_EXECUTE
  246. 2021-07-05 11:41:39.912277 [DEBUG] switch_core_state_machine.c:644 (sofia/default/7348829043@entdemo.astppbilling.org:5077) State ROUTING going to sleep
  247. 2021-07-05 11:41:39.912277 [DEBUG] switch_core_state_machine.c:585 (sofia/default/7348829043@entdemo.astppbilling.org:5077) Running State Change CS_EXECUTE (Cur 1 Tot 392)
  248. 2021-07-05 11:41:39.912277 [DEBUG] switch_core_state_machine.c:651 (sofia/default/7348829043@entdemo.astppbilling.org:5077) State EXECUTE
  249. 2021-07-05 11:41:39.912277 [DEBUG] mod_sofia.c:209 sofia/default/7348829043@entdemo.astppbilling.org:5077 SOFIA EXECUTE
  250. 2021-07-05 11:41:39.912277 [DEBUG] switch_core_state_machine.c:329 sofia/default/7348829043@entdemo.astppbilling.org:5077 Standard EXECUTE
  251. EXECUTE [depth=0] sofia/default/7348829043@entdemo.astppbilling.org:5077 set(effective_destination_number=31089552555)
  252. 2021-07-05 11:41:39.912277 [DEBUG] mod_dptools.c:1672 SET sofia/default/7348829043@entdemo.astppbilling.org:5077 [effective_destination_number]=[31089552555]
  253. EXECUTE [depth=0] sofia/default/7348829043@entdemo.astppbilling.org:5077 set(bridge_pre_execute_bleg_app=sched_hangup)
  254. 2021-07-05 11:41:39.912277 [DEBUG] mod_dptools.c:1672 SET sofia/default/7348829043@entdemo.astppbilling.org:5077 [bridge_pre_execute_bleg_app]=[sched_hangup]
  255. EXECUTE [depth=0] sofia/default/7348829043@entdemo.astppbilling.org:5077 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  256. 2021-07-05 11:41:39.912277 [DEBUG] mod_dptools.c:1672 SET sofia/default/7348829043@entdemo.astppbilling.org:5077 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  257. EXECUTE [depth=0] sofia/default/7348829043@entdemo.astppbilling.org:5077 set(callstart=2021-07-05 11:41:39)
  258. 2021-07-05 11:41:39.912277 [DEBUG] mod_dptools.c:1672 SET sofia/default/7348829043@entdemo.astppbilling.org:5077 [callstart]=[2021-07-05 11:41:39]
  259. EXECUTE [depth=0] sofia/default/7348829043@entdemo.astppbilling.org:5077 set(hangup_after_bridge=true)
  260. 2021-07-05 11:41:39.912277 [DEBUG] mod_dptools.c:1672 SET sofia/default/7348829043@entdemo.astppbilling.org:5077 [hangup_after_bridge]=[true]
  261. EXECUTE [depth=0] sofia/default/7348829043@entdemo.astppbilling.org:5077 set(continue_on_fail=TRUE)
  262. 2021-07-05 11:41:39.912277 [DEBUG] mod_dptools.c:1672 SET sofia/default/7348829043@entdemo.astppbilling.org:5077 [continue_on_fail]=[TRUE]
  263. EXECUTE [depth=0] sofia/default/7348829043@entdemo.astppbilling.org:5077 set(account_id=10)
  264. 2021-07-05 11:41:39.912277 [DEBUG] mod_dptools.c:1672 SET sofia/default/7348829043@entdemo.astppbilling.org:5077 [account_id]=[10]
  265. EXECUTE [depth=0] sofia/default/7348829043@entdemo.astppbilling.org:5077 set(parent_id=0)
  266. 2021-07-05 11:41:39.912277 [DEBUG] mod_dptools.c:1672 SET sofia/default/7348829043@entdemo.astppbilling.org:5077 [parent_id]=[0]
  267. EXECUTE [depth=0] sofia/default/7348829043@entdemo.astppbilling.org:5077 set(entity_id=0)
  268. 2021-07-05 11:41:39.912277 [DEBUG] mod_dptools.c:1672 SET sofia/default/7348829043@entdemo.astppbilling.org:5077 [entity_id]=[0]
  269. EXECUTE [depth=0] sofia/default/7348829043@entdemo.astppbilling.org:5077 set(call_processed=internal)
  270. 2021-07-05 11:41:39.932266 [DEBUG] mod_dptools.c:1672 SET sofia/default/7348829043@entdemo.astppbilling.org:5077 [call_processed]=[internal]
  271. EXECUTE [depth=0] sofia/default/7348829043@entdemo.astppbilling.org:5077 set(call_direction=outbound)
  272. 2021-07-05 11:41:39.932266 [DEBUG] mod_dptools.c:1672 SET sofia/default/7348829043@entdemo.astppbilling.org:5077 [call_direction]=[outbound]
  273. EXECUTE [depth=0] sofia/default/7348829043@entdemo.astppbilling.org:5077 set(accountname=default)
  274. 2021-07-05 11:41:39.932266 [DEBUG] mod_dptools.c:1672 SET sofia/default/7348829043@entdemo.astppbilling.org:5077 [accountname]=[default]
  275. EXECUTE [depth=0] sofia/default/7348829043@entdemo.astppbilling.org:5077 set(filename1=astpp.pbx.lua)
  276. 2021-07-05 11:41:39.932266 [DEBUG] mod_dptools.c:1672 SET sofia/default/7348829043@entdemo.astppbilling.org:5077 [filename1]=[astpp.pbx.lua]
  277. EXECUTE [depth=0] sofia/default/7348829043@entdemo.astppbilling.org:5077 set(origination_rates=ID:27|CODE:^31.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:3.00000|INC:1|INITIALBLOCK:1|RATEGROUP:10|MARKUP:0|CI:0|ACCID:10)
  278. 2021-07-05 11:41:39.932266 [DEBUG] mod_dptools.c:1672 SET sofia/default/7348829043@entdemo.astppbilling.org:5077 [origination_rates]=[ID:27|CODE:^31.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:3.00000|INC:1|INITIALBLOCK:1|RATEGROUP:10|MARKUP:0|CI:0|ACCID:10]
  279. EXECUTE [depth=0] sofia/default/7348829043@entdemo.astppbilling.org:5077 set(original_caller_id_name=9977997488)
  280. 2021-07-05 11:41:39.932266 [DEBUG] mod_dptools.c:1672 SET sofia/default/7348829043@entdemo.astppbilling.org:5077 [original_caller_id_name]=[9977997488]
  281. EXECUTE [depth=0] sofia/default/7348829043@entdemo.astppbilling.org:5077 set(original_caller_id_number=9977997488)
  282. 2021-07-05 11:41:39.932266 [DEBUG] mod_dptools.c:1672 SET sofia/default/7348829043@entdemo.astppbilling.org:5077 [original_caller_id_number]=[9977997488]
  283. EXECUTE [depth=0] sofia/default/7348829043@entdemo.astppbilling.org:5077 limit(db 5144668937 user_5144668937 6 )
  284. 2021-07-05 11:41:39.932266 [DEBUG] switch_limit.c:124 incr called: 5144668937_user_5144668937 max:6, interval:0
  285. 2021-07-05 11:41:39.932266 [DEBUG] mod_db.c:194 Usage for 5144668937_user_5144668937 is now 1/6
  286. EXECUTE [depth=0] sofia/default/7348829043@entdemo.astppbilling.org:5077 set(effective_caller_id_name=9977997488)
  287. 2021-07-05 11:41:39.932266 [DEBUG] mod_dptools.c:1672 SET sofia/default/7348829043@entdemo.astppbilling.org:5077 [effective_caller_id_name]=[9977997488]
  288. EXECUTE [depth=0] sofia/default/7348829043@entdemo.astppbilling.org:5077 set(effective_caller_id_number=9977997488)
  289. 2021-07-05 11:41:39.932266 [DEBUG] mod_dptools.c:1672 SET sofia/default/7348829043@entdemo.astppbilling.org:5077 [effective_caller_id_number]=[9977997488]
  290. EXECUTE [depth=0] sofia/default/7348829043@entdemo.astppbilling.org:5077 set(calltype=STANDARD)
  291. 2021-07-05 11:41:39.932266 [DEBUG] mod_dptools.c:1672 SET sofia/default/7348829043@entdemo.astppbilling.org:5077 [calltype]=[STANDARD]
  292. EXECUTE [depth=0] sofia/default/7348829043@entdemo.astppbilling.org:5077 set(termination_rates=ID:12|CODE:^31.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:0|INITIALBLOCK:0|TRUNK:5|PROVIDER:3)
  293. 2021-07-05 11:41:39.932266 [DEBUG] mod_dptools.c:1672 SET sofia/default/7348829043@entdemo.astppbilling.org:5077 [termination_rates]=[ID:12|CODE:^31.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:0|INITIALBLOCK:0|TRUNK:5|PROVIDER:3]
  294. EXECUTE [depth=0] sofia/default/7348829043@entdemo.astppbilling.org:5077 set(trunk_id=5)
  295. 2021-07-05 11:41:39.932266 [DEBUG] mod_dptools.c:1672 SET sofia/default/7348829043@entdemo.astppbilling.org:5077 [trunk_id]=[5]
  296. EXECUTE [depth=0] sofia/default/7348829043@entdemo.astppbilling.org:5077 set(provider_id=3)
  297. 2021-07-05 11:41:39.932266 [DEBUG] mod_dptools.c:1672 SET sofia/default/7348829043@entdemo.astppbilling.org:5077 [provider_id]=[3]
  298. EXECUTE [depth=0] sofia/default/7348829043@entdemo.astppbilling.org:5077 set(rate_flag=0)
  299. 2021-07-05 11:41:39.932266 [DEBUG] mod_dptools.c:1672 SET sofia/default/7348829043@entdemo.astppbilling.org:5077 [rate_flag]=[0]
  300. EXECUTE [depth=0] sofia/default/7348829043@entdemo.astppbilling.org:5077 set(force_trunk_flag=0)
  301. 2021-07-05 11:41:39.932266 [DEBUG] mod_dptools.c:1672 SET sofia/default/7348829043@entdemo.astppbilling.org:5077 [force_trunk_flag]=[0]
  302. EXECUTE [depth=0] sofia/default/7348829043@entdemo.astppbilling.org:5077 export(presence_data=trunk_id=5)
  303. 2021-07-05 11:41:39.932266 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=5]
  304. EXECUTE [depth=0] sofia/default/7348829043@entdemo.astppbilling.org:5077 set(intcall=0)
  305. 2021-07-05 11:41:39.932266 [DEBUG] mod_dptools.c:1672 SET sofia/default/7348829043@entdemo.astppbilling.org:5077 [intcall]=[0]
  306. EXECUTE [depth=0] sofia/default/7348829043@entdemo.astppbilling.org:5077 export(presence_id=31089552555)
  307. 2021-07-05 11:41:39.932266 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_id]=[31089552555]
  308. EXECUTE [depth=0] sofia/default/7348829043@entdemo.astppbilling.org:5077 export(presence_data=x|||Pk(5144668937)|||^31.* //  // 3.00000 // trunk_id=|||TrunkPK // ^31.* //  // 1.00000 // trunk_id=5|||STD|||117.247.91.162)
  309. 2021-07-05 11:41:39.932266 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||Pk(5144668937)|||^31.* //  // 3.00000 // trunk_id=|||TrunkPK // ^31.* //  // 1.00000 // trunk_id=5|||STD|||117.247.91.162]
  310. EXECUTE [depth=0] sofia/default/7348829043@entdemo.astppbilling.org:5077 bridge([leg_timeout=0]sofia/gateway/PkGateway/31089552555)
  311. 2021-07-05 11:41:39.932266 [DEBUG] switch_channel.c:1264 sofia/default/7348829043@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [presence_data]=[x|||Pk(5144668937)|||^31.* //  // 3.00000 // trunk_id=|||TrunkPK // ^31.* //  // 1.00000 // trunk_id=5|||STD|||117.247.91.162] to event
  312. 2021-07-05 11:41:39.932266 [DEBUG] switch_channel.c:1264 sofia/default/7348829043@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [presence_id]=[31089552555] to event
  313. 2021-07-05 11:41:39.932266 [DEBUG] switch_channel.c:1264 sofia/default/7348829043@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [presence_data]=[x|||Pk(5144668937)|||^31.* //  // 3.00000 // trunk_id=|||TrunkPK // ^31.* //  // 1.00000 // trunk_id=5|||STD|||117.247.91.162] to event
  314. 2021-07-05 11:41:39.932266 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
  315. 2021-07-05 11:41:39.932266 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
  316. 2021-07-05 11:41:39.932266 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31089552555 [e499d45c-4908-4982-94ff-fd1f8fd2260f]
  317. 2021-07-05 11:41:39.932266 [DEBUG] mod_sofia.c:5089 (sofia/default/31089552555) State Change CS_NEW -> CS_INIT
  318. 2021-07-05 11:41:39.932266 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31089552555) Running State Change CS_INIT (Cur 2 Tot 393)
  319. 2021-07-05 11:41:39.932266 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31089552555) State INIT
  320. 2021-07-05 11:41:39.932266 [DEBUG] mod_sofia.c:93 sofia/default/31089552555 SOFIA INIT
  321. 2021-07-05 11:41:39.932266 [DEBUG] sofia_glue.c:1618 sofia/default/31089552555 sending invite version: 1.10.5 -release-17-25569c1631 64bit
  322. Local SDP:
  323. v=0
  324. o=FreeSWITCH 1625464047 1625464048 IN IP4 46.101.114.158
  325. s=FreeSWITCH
  326. c=IN IP4 46.101.114.158
  327. t=0 0
  328. m=audio 21252 RTP/AVP 0 101
  329. a=rtpmap:0 PCMU/8000
  330. a=rtpmap:101 telephone-event/8000
  331. a=fmtp:101 0-16
  332. a=ptime:20
  333. a=sendrecv
  334.  
  335. 2021-07-05 11:41:39.932266 [DEBUG] switch_core_state_machine.c:40 sofia/default/31089552555 Standard INIT
  336. 2021-07-05 11:41:39.932266 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31089552555) State Change CS_INIT -> CS_ROUTING
  337. 2021-07-05 11:41:39.932266 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31089552555) State INIT going to sleep
  338. 2021-07-05 11:41:39.932266 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31089552555) Running State Change CS_ROUTING (Cur 2 Tot 393)
  339. 2021-07-05 11:41:39.932266 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31089552555) State ROUTING
  340. 2021-07-05 11:41:39.932266 [DEBUG] mod_sofia.c:154 sofia/default/31089552555 SOFIA ROUTING
  341. 2021-07-05 11:41:39.932266 [DEBUG] switch_ivr_originate.c:67 (sofia/default/31089552555) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  342. 2021-07-05 11:41:39.932266 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31089552555) State ROUTING going to sleep
  343. 2021-07-05 11:41:39.932266 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31089552555) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 393)
  344. 2021-07-05 11:41:39.932266 [DEBUG] sofia.c:7326 Channel sofia/default/31089552555 entering state [calling][0]
  345. 2021-07-05 11:41:39.932266 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31089552555) State CONSUME_MEDIA
  346. 2021-07-05 11:41:39.932266 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31089552555) State CONSUME_MEDIA going to sleep
  347. 2021-07-05 11:41:40.012274 [DEBUG] sofia.c:7326 Channel sofia/default/31089552555 entering state [completing][200]
  348. 2021-07-05 11:41:40.012274 [DEBUG] sofia.c:7336 Remote SDP:
  349. v=0
  350. o=root 2029454031 2029454031 IN IP4 159.203.131.36
  351. s=Asterisk PBX 16.4.0
  352. c=IN IP4 159.203.131.36
  353. t=0 0
  354. m=audio 14394 RTP/AVP 0 101
  355. a=rtpmap:0 PCMU/8000
  356. a=rtpmap:101 telephone-event/8000
  357. a=fmtp:101 0-16
  358. a=maxptime:150
  359.  
  360. 2021-07-05 11:41:40.012274 [DEBUG] sofia.c:7326 Channel sofia/default/31089552555 entering state [ready][200]
  361. 2021-07-05 11:41:40.012274 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:150:64000:1]/[PCMU:0:8000:20:64000:1]
  362. 2021-07-05 11:41:40.012274 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  363. 2021-07-05 11:41:40.012274 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
  364. 2021-07-05 11:41:40.012274 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/31089552555 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  365. 2021-07-05 11:41:40.012274 [DEBUG] switch_core_codec.c:111 sofia/default/31089552555 Original read codec set to PCMU:0
  366. 2021-07-05 11:41:40.012274 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  367. 2021-07-05 11:41:40.012274 [DEBUG] switch_core_media.c:5911 sofia/default/31089552555 Set 2833 dtmf send payload to 101 recv payload to 101
  368. 2021-07-05 11:41:40.012274 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/31089552555] 46.101.114.158 port 21252 -> 159.203.131.36 port 14394 codec: 0 ms: 20
  369. 2021-07-05 11:41:40.012274 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
  370. 2021-07-05 11:41:40.032271 [DEBUG] switch_core_media.c:8977 sofia/default/31089552555 Set 2833 dtmf send payload to 101
  371. 2021-07-05 11:41:40.032271 [DEBUG] switch_core_media.c:8984 sofia/default/31089552555 Set 2833 dtmf receive payload to 101
  372. 2021-07-05 11:41:40.032271 [DEBUG] switch_core_media.c:9007 sofia/default/31089552555 Set rtp dtmf delay to 40
  373. 2021-07-05 11:41:40.032271 [NOTICE] sofia.c:8504 Channel [sofia/default/31089552555] has been answered
  374. 2021-07-05 11:41:40.032271 [DEBUG] switch_channel.c:3865 (sofia/default/31089552555) Callstate Change DOWN -> ACTIVE
  375. 2021-07-05 11:41:40.032271 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/7348829043@entdemo.astppbilling.org:5077] 46.101.114.158 port 20688 -> 192.168.1.157 port 5008 codec: 0 ms: 20
  376. 2021-07-05 11:41:40.032271 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
  377. 2021-07-05 11:41:40.032271 [DEBUG] switch_core_media.c:8977 sofia/default/7348829043@entdemo.astppbilling.org:5077 Set 2833 dtmf send payload to 101
  378. 2021-07-05 11:41:40.032271 [DEBUG] switch_core_media.c:8984 sofia/default/7348829043@entdemo.astppbilling.org:5077 Set 2833 dtmf receive payload to 101
  379. 2021-07-05 11:41:40.032271 [DEBUG] switch_core_media.c:9007 sofia/default/7348829043@entdemo.astppbilling.org:5077 Set rtp dtmf delay to 40
  380. 2021-07-05 11:41:40.032271 [DEBUG] mod_sofia.c:898 Local SDP sofia/default/7348829043@entdemo.astppbilling.org:5077:
  381. v=0
  382. o=FreeSWITCH 1625464612 1625464613 IN IP4 46.101.114.158
  383. s=FreeSWITCH
  384. c=IN IP4 46.101.114.158
  385. t=0 0
  386. m=audio 20688 RTP/AVP 0 101
  387. a=rtpmap:0 PCMU/8000
  388. a=rtpmap:101 telephone-event/8000
  389. a=fmtp:101 0-16
  390. a=ptime:20
  391. a=sendrecv
  392.  
  393. 2021-07-05 11:41:40.032271 [DEBUG] sofia.c:7326 Channel sofia/default/7348829043@entdemo.astppbilling.org:5077 entering state [completed][200]
  394. 2021-07-05 11:41:40.032271 [NOTICE] switch_ivr_originate.c:3794 Channel [sofia/default/7348829043@entdemo.astppbilling.org:5077] has been answered
  395. 2021-07-05 11:41:40.032271 [DEBUG] switch_channel.c:3865 (sofia/default/7348829043@entdemo.astppbilling.org:5077) Callstate Change RINGING -> ACTIVE
  396. 2021-07-05 11:41:40.032271 [DEBUG] switch_ivr_originate.c:3852 Originate Resulted in Success: [sofia/default/31089552555]
  397. 2021-07-05 11:41:40.032271 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/31089552555) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  398. 2021-07-05 11:41:40.032271 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31089552555) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 393)
  399. 2021-07-05 11:41:40.032271 [DEBUG] switch_core_state_machine.c:654 (sofia/default/31089552555) State EXCHANGE_MEDIA
  400. 2021-07-05 11:41:40.032271 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA
  401. 2021-07-05 11:41:40.212279 [DEBUG] sofia.c:7326 Channel sofia/default/7348829043@entdemo.astppbilling.org:5077 entering state [ready][200]
  402. 2021-07-05 11:41:40.212279 [DEBUG] switch_ivr_bridge.c:655 sofia/default/31089552555 Bridge execute app sched_hangup(+6000 normal_clearing)
  403. 2021-07-05 11:41:40.232273 [DEBUG] sofia.c:7326 Channel sofia/default/7348829043@entdemo.astppbilling.org:5077 entering state [calling][0]
  404. 2021-07-05 11:41:40.232273 [DEBUG] switch_ivr.c:632 sofia/default/31089552555 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  405. EXECUTE [depth=0] sofia/default/31089552555 sched_hangup(+6000 normal_clearing)
  406. 2021-07-05 11:41:40.232273 [DEBUG] switch_scheduler.c:252 Added task 9 switch_ivr_schedule_hangup (e499d45c-4908-4982-94ff-fd1f8fd2260f) to run at 1625491300
  407. 2021-07-05 11:41:40.492280 [DEBUG] sofia.c:7326 Channel sofia/default/7348829043@entdemo.astppbilling.org:5077 entering state [ready][200]
  408. 2021-07-05 11:41:40.492280 [DEBUG] sofia.c:7336 Remote SDP:
  409. v=0
  410. o=7348829043 8001 8001 IN IP4 192.168.1.157
  411. s=SIP Call
  412. c=IN IP4 192.168.1.157
  413. t=0 0
  414. m=audio 5008 RTP/AVP 0 101
  415. a=rtpmap:0 PCMU/8000
  416. a=rtpmap:101 telephone-event/8000
  417. a=fmtp:101 0-15
  418. a=ptime:20
  419.  
  420. 2021-07-05 11:41:40.492280 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  421. 2021-07-05 11:41:40.492280 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  422. 2021-07-05 11:41:40.492280 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  423. 2021-07-05 11:41:40.492280 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
  424. 2021-07-05 11:41:40.492280 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  425. 2021-07-05 11:41:40.492280 [DEBUG] switch_core_media.c:5911 sofia/default/7348829043@entdemo.astppbilling.org:5077 Set 2833 dtmf send payload to 101 recv payload to 101
  426. 2021-07-05 11:41:40.492280 [DEBUG] sofia.c:8345 Processing updated SDP
  427. 2021-07-05 11:41:40.492280 [DEBUG] switch_core_media.c:8645 Audio params are unchanged for sofia/default/7348829043@entdemo.astppbilling.org:5077.
  428. 2021-07-05 11:41:40.552272 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
  429. 2021-07-05 11:41:40.692285 [INFO] switch_rtp.c:7719 Auto Changing audio port from 192.168.1.157:5008 to 117.247.91.162:5008
  430. 2021-07-05 11:41:46.812274 [NOTICE] sofia.c:1089 Hangup sofia/default/7348829043@entdemo.astppbilling.org:5077 [CS_EXECUTE] [NORMAL_CLEARING]
  431. 2021-07-05 11:41:46.812274 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/7348829043@entdemo.astppbilling.org:5077]
  432. 2021-07-05 11:41:46.812274 [DEBUG] switch_ivr_bridge.c:820 sofia/default/7348829043@entdemo.astppbilling.org:5077 ending bridge by request from write function
  433. 2021-07-05 11:41:46.812274 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/31089552555]
  434. 2021-07-05 11:41:46.812274 [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/31089552555 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  435. 2021-07-05 11:41:46.812274 [DEBUG] switch_core_state_machine.c:654 (sofia/default/31089552555) State EXCHANGE_MEDIA going to sleep
  436. 2021-07-05 11:41:46.812274 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31089552555) Running State Change CS_HANGUP (Cur 2 Tot 393)
  437. 2021-07-05 11:41:46.812274 [DEBUG] switch_core_state_machine.c:848 (sofia/default/31089552555) Callstate Change ACTIVE -> HANGUP
  438. 2021-07-05 11:41:46.812274 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31089552555) State HANGUP
  439. 2021-07-05 11:41:46.812274 [DEBUG] mod_sofia.c:447 sofia/default/31089552555 Overriding SIP cause 480 with 200 from the other leg
  440. 2021-07-05 11:41:46.812274 [DEBUG] mod_sofia.c:453 Channel sofia/default/31089552555 hanging up, cause: NORMAL_CLEARING
  441. 2021-07-05 11:41:46.832269 [DEBUG] mod_sofia.c:507 Sending BYE to sofia/default/31089552555
  442. 2021-07-05 11:41:46.832269 [DEBUG] switch_core_state_machine.c:60 sofia/default/31089552555 Standard HANGUP, cause: NORMAL_CLEARING
  443. 2021-07-05 11:41:46.832269 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31089552555) State HANGUP going to sleep
  444. 2021-07-05 11:41:46.832269 [DEBUG] switch_core_state_machine.c:620 (sofia/default/31089552555) State Change CS_HANGUP -> CS_REPORTING
  445. 2021-07-05 11:41:46.832269 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31089552555) Running State Change CS_REPORTING (Cur 2 Tot 393)
  446. 2021-07-05 11:41:46.832269 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31089552555) State REPORTING
  447. 2021-07-05 11:41:46.832269 [DEBUG] switch_ivr_bridge.c:1892 sofia/default/31089552555 skip receive message [UNBRIDGE] (channel is hungup already)
  448. 2021-07-05 11:41:46.832269 [DEBUG] switch_ivr_bridge.c:1895 sofia/default/7348829043@entdemo.astppbilling.org:5077 skip receive message [UNBRIDGE] (channel is hungup already)
  449. 2021-07-05 11:41:46.832269 [DEBUG] switch_core_session.c:2905 sofia/default/7348829043@entdemo.astppbilling.org:5077 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  450. 2021-07-05 11:41:46.832269 [DEBUG] switch_core_state_machine.c:651 (sofia/default/7348829043@entdemo.astppbilling.org:5077) State EXECUTE going to sleep
  451. 2021-07-05 11:41:46.832269 [DEBUG] switch_core_state_machine.c:585 (sofia/default/7348829043@entdemo.astppbilling.org:5077) Running State Change CS_HANGUP (Cur 2 Tot 393)
  452. 2021-07-05 11:41:46.832269 [DEBUG] switch_core_state_machine.c:848 (sofia/default/7348829043@entdemo.astppbilling.org:5077) Callstate Change ACTIVE -> HANGUP
  453. 2021-07-05 11:41:46.832269 [DEBUG] switch_core_state_machine.c:850 (sofia/default/7348829043@entdemo.astppbilling.org:5077) State HANGUP
  454. 2021-07-05 11:41:46.832269 [DEBUG] mod_sofia.c:453 Channel sofia/default/7348829043@entdemo.astppbilling.org:5077 hanging up, cause: NORMAL_CLEARING
  455. 2021-07-05 11:41:46.832269 [DEBUG] switch_core_state_machine.c:60 sofia/default/7348829043@entdemo.astppbilling.org:5077 Standard HANGUP, cause: NORMAL_CLEARING
  456. 2021-07-05 11:41:46.832269 [DEBUG] switch_core_state_machine.c:850 (sofia/default/7348829043@entdemo.astppbilling.org:5077) State HANGUP going to sleep
  457. 2021-07-05 11:41:46.832269 [DEBUG] switch_core_state_machine.c:620 (sofia/default/7348829043@entdemo.astppbilling.org:5077) State Change CS_HANGUP -> CS_REPORTING
  458. 2021-07-05 11:41:46.832269 [DEBUG] switch_core_state_machine.c:585 (sofia/default/7348829043@entdemo.astppbilling.org:5077) Running State Change CS_REPORTING (Cur 2 Tot 393)
  459. 2021-07-05 11:41:46.832269 [DEBUG] switch_core_state_machine.c:936 (sofia/default/7348829043@entdemo.astppbilling.org:5077) State REPORTING
  460. 2021-07-05 11:41:46.832269 [INFO] mod_json_cdr.c:271 Process [3e84072c-3126-4620-b16d-51daefaaf253.cdr.json]
  461. 2021-07-05 11:41:46.832269 [INFO] mod_json_cdr.c:271 Process [e499d45c-4908-4982-94ff-fd1f8fd2260f.cdr.json]
  462. 2021-07-05 11:41:46.832269 [DEBUG] switch_core_state_machine.c:174 sofia/default/31089552555 Standard REPORTING, cause: NORMAL_CLEARING
  463. 2021-07-05 11:41:46.832269 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31089552555) State REPORTING going to sleep
  464. 2021-07-05 11:41:46.832269 [DEBUG] switch_core_state_machine.c:611 (sofia/default/31089552555) State Change CS_REPORTING -> CS_DESTROY
  465. 2021-07-05 11:41:46.832269 [DEBUG] switch_core_session.c:1726 Session 393 (sofia/default/31089552555) Locked, Waiting on external entities
  466. 2021-07-05 11:41:46.832269 [NOTICE] switch_core_session.c:1744 Session 393 (sofia/default/31089552555) Ended
  467. 2021-07-05 11:41:46.832269 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/31089552555 [CS_DESTROY]
  468. 2021-07-05 11:41:46.832269 [DEBUG] switch_core_state_machine.c:739 (sofia/default/31089552555) Running State Change CS_DESTROY (Cur 1 Tot 393)
  469. 2021-07-05 11:41:46.832269 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31089552555) State DESTROY
  470. 2021-07-05 11:41:46.832269 [DEBUG] mod_sofia.c:364 sofia/default/31089552555 SOFIA DESTROY
  471. 2021-07-05 11:41:46.832269 [DEBUG] switch_core_state_machine.c:181 sofia/default/31089552555 Standard DESTROY
  472. 2021-07-05 11:41:46.832269 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31089552555) State DESTROY going to sleep
  473. 2021-07-05 11:41:46.852277 [DEBUG] switch_core_state_machine.c:174 sofia/default/7348829043@entdemo.astppbilling.org:5077 Standard REPORTING, cause: NORMAL_CLEARING
  474. 2021-07-05 11:41:46.852277 [DEBUG] switch_core_state_machine.c:936 (sofia/default/7348829043@entdemo.astppbilling.org:5077) State REPORTING going to sleep
  475. 2021-07-05 11:41:46.852277 [DEBUG] switch_core_state_machine.c:611 (sofia/default/7348829043@entdemo.astppbilling.org:5077) State Change CS_REPORTING -> CS_DESTROY
  476. 2021-07-05 11:41:46.852277 [DEBUG] switch_core_session.c:1726 Session 392 (sofia/default/7348829043@entdemo.astppbilling.org:5077) Locked, Waiting on external entities
  477. 2021-07-05 11:41:46.852277 [NOTICE] switch_core_session.c:1744 Session 392 (sofia/default/7348829043@entdemo.astppbilling.org:5077) Ended
  478. 2021-07-05 11:41:46.852277 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/7348829043@entdemo.astppbilling.org:5077 [CS_DESTROY]
  479. 2021-07-05 11:41:46.852277 [DEBUG] switch_core_state_machine.c:739 (sofia/default/7348829043@entdemo.astppbilling.org:5077) Running State Change CS_DESTROY (Cur 0 Tot 393)
  480. 2021-07-05 11:41:46.852277 [DEBUG] switch_core_state_machine.c:749 (sofia/default/7348829043@entdemo.astppbilling.org:5077) State DESTROY
  481. 2021-07-05 11:41:46.852277 [DEBUG] mod_sofia.c:364 sofia/default/7348829043@entdemo.astppbilling.org:5077 SOFIA DESTROY
  482. 2021-07-05 11:41:46.852277 [DEBUG] switch_core_state_machine.c:181 sofia/default/7348829043@entdemo.astppbilling.org:5077 Standard DESTROY
  483. 2021-07-05 11:41:46.852277 [DEBUG] switch_core_state_machine.c:749 (sofia/default/7348829043@entdemo.astppbilling.org:5077) State DESTROY going to sleep
  484. 2021-07-05 11:41:47.252312 [DEBUG] switch_scheduler.c:147 Deleting task 9 switch_ivr_schedule_hangup (e499d45c-4908-4982-94ff-fd1f8fd2260f)
  485. 2021-07-05 11:41:51.252302 [NOTICE] switch_channel.c:1118 New Channel sofia/default/6666@46.101.114.158 [13a77490-6b7e-46c5-960b-68a649353de2]
  486. 2021-07-05 11:41:51.252302 [DEBUG] switch_core_state_machine.c:585 (sofia/default/6666@46.101.114.158) Running State Change CS_NEW (Cur 1 Tot 394)
  487. 2021-07-05 11:41:51.252302 [DEBUG] sofia.c:10280 sofia/default/6666@46.101.114.158 receiving invite from 185.53.90.81:63378 version: 1.10.5 -release-17-25569c1631 64bit
  488. 2021-07-05 11:41:51.252302 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 185.53.90.81:0.
  489. 2021-07-05 11:41:51.252302 [DEBUG] sofia.c:2434 detaching session 13a77490-6b7e-46c5-960b-68a649353de2
  490. 2021-07-05 11:41:51.252302 [WARNING] sofia_reg.c:1794 SIP auth challenge (INVITE) on sofia profile 'default' for [001441519470824@46.101.114.158] from ip 185.53.90.81
  491. 2021-07-05 11:41:51.252302 [DEBUG] switch_core_state_machine.c:604 (sofia/default/6666@46.101.114.158) State NEW
  492. 2021-07-05 11:41:51.292285 [DEBUG] sofia.c:2544 Re-attaching to session 13a77490-6b7e-46c5-960b-68a649353de2
  493. 2021-07-05 11:41:51.292285 [DEBUG] sofia.c:10280 sofia/default/6666@46.101.114.158 receiving invite from 185.53.90.81:63378 version: 1.10.5 -release-17-25569c1631 64bit
  494. 2021-07-05 11:41:51.292285 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 185.53.90.81:0.
  495. 2021-07-05 11:41:51.292285 [WARNING] sofia_reg.c:2930 Can't find user [6666@46.101.114.158] from 185.53.90.81
  496. You must define a domain called '46.101.114.158' in your directory and add a user with the id="6666" attribute
  497. and you must configure your device to use the proper domain in its authentication credentials.
  498. 2021-07-05 11:41:51.292285 [NOTICE] sofia.c:2432 Hangup sofia/default/6666@46.101.114.158 [CS_NEW] [CALL_REJECTED]
  499. 2021-07-05 11:41:51.292285 [WARNING] sofia_reg.c:1739 SIP auth failure (INVITE) on sofia profile 'default' for [001441519470824@46.101.114.158] from ip 185.53.90.81
  500. 2021-07-05 11:41:51.292285 [DEBUG] sofia.c:1548 Channel is already hungup.
  501. 2021-07-05 11:41:51.292285 [DEBUG] sofia.c:1548 Channel is already hungup.
  502. 2021-07-05 11:41:51.292285 [DEBUG] switch_core_state_machine.c:585 (sofia/default/6666@46.101.114.158) Running State Change CS_HANGUP (Cur 1 Tot 394)
  503. 2021-07-05 11:41:51.292285 [DEBUG] switch_core_state_machine.c:848 (sofia/default/6666@46.101.114.158) Callstate Change DOWN -> HANGUP
  504. 2021-07-05 11:41:51.292285 [DEBUG] switch_core_state_machine.c:850 (sofia/default/6666@46.101.114.158) State HANGUP
  505. 2021-07-05 11:41:51.292285 [DEBUG] mod_sofia.c:453 Channel sofia/default/6666@46.101.114.158 hanging up, cause: CALL_REJECTED
  506. 2021-07-05 11:41:51.292285 [DEBUG] switch_core_state_machine.c:60 sofia/default/6666@46.101.114.158 Standard HANGUP, cause: CALL_REJECTED
  507. 2021-07-05 11:41:51.292285 [DEBUG] switch_core_state_machine.c:850 (sofia/default/6666@46.101.114.158) State HANGUP going to sleep
  508. 2021-07-05 11:41:51.292285 [DEBUG] switch_core_state_machine.c:620 (sofia/default/6666@46.101.114.158) State Change CS_HANGUP -> CS_REPORTING
  509. 2021-07-05 11:41:51.292285 [DEBUG] switch_core_state_machine.c:585 (sofia/default/6666@46.101.114.158) Running State Change CS_REPORTING (Cur 1 Tot 394)
  510. 2021-07-05 11:41:51.292285 [DEBUG] switch_core_state_machine.c:936 (sofia/default/6666@46.101.114.158) State REPORTING
  511. 2021-07-05 11:41:51.292285 [DEBUG] switch_core_state_machine.c:174 sofia/default/6666@46.101.114.158 Standard REPORTING, cause: CALL_REJECTED
  512. 2021-07-05 11:41:51.292285 [DEBUG] switch_core_state_machine.c:936 (sofia/default/6666@46.101.114.158) State REPORTING going to sleep
  513. 2021-07-05 11:41:51.292285 [DEBUG] switch_core_state_machine.c:611 (sofia/default/6666@46.101.114.158) State Change CS_REPORTING -> CS_DESTROY
  514. 2021-07-05 11:41:51.292285 [DEBUG] switch_core_session.c:1726 Session 394 (sofia/default/6666@46.101.114.158) Locked, Waiting on external entities
  515. 2021-07-05 11:41:51.292285 [NOTICE] switch_core_session.c:1744 Session 394 (sofia/default/6666@46.101.114.158) Ended
  516. 2021-07-05 11:41:51.292285 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/6666@46.101.114.158 [CS_DESTROY]
  517. 2021-07-05 11:41:51.292285 [DEBUG] switch_core_state_machine.c:739 (sofia/default/6666@46.101.114.158) Running State Change CS_DESTROY (Cur 0 Tot 394)
  518. 2021-07-05 11:41:51.292285 [DEBUG] switch_core_state_machine.c:749 (sofia/default/6666@46.101.114.158) State DESTROY
  519. 2021-07-05 11:41:51.292285 [DEBUG] mod_sofia.c:364 sofia/default/6666@46.101.114.158 SOFIA DESTROY
  520. 2021-07-05 11:41:51.292285 [DEBUG] switch_core_state_machine.c:181 sofia/default/6666@46.101.114.158 Standard DESTROY
  521. 2021-07-05 11:41:51.292285 [DEBUG] switch_core_state_machine.c:749 (sofia/default/6666@46.101.114.158) State DESTROY going to sleep
  522. 2021-07-05 11:41:59.712292 [WARNING] sofia_reg.c:1794 SIP auth challenge (REGISTER) on sofia profile 'default' for [6002@46.101.114.158] from ip 103.145.13.252
  523. 2021-07-05 11:41:59.972288 [WARNING] sofia_reg.c:2930 Can't find user [6002@46.101.114.158] from 103.145.13.252
  524. You must define a domain called '46.101.114.158' in your directory and add a user with the id="6002" attribute
  525. and you must configure your device to use the proper domain in its authentication credentials.
  526. 2021-07-05 11:41:59.972288 [WARNING] sofia_reg.c:1739 SIP auth failure (REGISTER) on sofia profile 'default' for [6002@46.101.114.158] from ip 103.145.13.252
  527. 2021-07-05 11:42:14.972292 [NOTICE] switch_channel.c:1118 New Channel sofia/default/6666@46.101.114.158 [16fa797a-ac8c-491d-82b6-3b58757d781f]
  528. 2021-07-05 11:42:14.972292 [DEBUG] switch_core_state_machine.c:585 (sofia/default/6666@46.101.114.158) Running State Change CS_NEW (Cur 1 Tot 395)
  529. 2021-07-05 11:42:14.972292 [DEBUG] sofia.c:10280 sofia/default/6666@46.101.114.158 receiving invite from 185.53.90.81:65209 version: 1.10.5 -release-17-25569c1631 64bit
  530. 2021-07-05 11:42:14.972292 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 185.53.90.81:0.
  531. 2021-07-05 11:42:14.972292 [DEBUG] sofia.c:2434 detaching session 16fa797a-ac8c-491d-82b6-3b58757d781f
  532. 2021-07-05 11:42:14.972292 [WARNING] sofia_reg.c:1794 SIP auth challenge (INVITE) on sofia profile 'default' for [002441519470824@46.101.114.158] from ip 185.53.90.81
  533. 2021-07-05 11:42:14.972292 [DEBUG] switch_core_state_machine.c:604 (sofia/default/6666@46.101.114.158) State NEW
  534. 2021-07-05 11:42:15.012286 [DEBUG] sofia.c:2544 Re-attaching to session 16fa797a-ac8c-491d-82b6-3b58757d781f
  535. 2021-07-05 11:42:15.012286 [DEBUG] sofia.c:10280 sofia/default/6666@46.101.114.158 receiving invite from 185.53.90.81:65209 version: 1.10.5 -release-17-25569c1631 64bit
  536. 2021-07-05 11:42:15.012286 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 185.53.90.81:0.
  537. 2021-07-05 11:42:15.012286 [WARNING] sofia_reg.c:2930 Can't find user [6666@46.101.114.158] from 185.53.90.81
  538. You must define a domain called '46.101.114.158' in your directory and add a user with the id="6666" attribute
  539. and you must configure your device to use the proper domain in its authentication credentials.
  540. 2021-07-05 11:42:15.012286 [NOTICE] sofia.c:2432 Hangup sofia/default/6666@46.101.114.158 [CS_NEW] [CALL_REJECTED]
  541. 2021-07-05 11:42:15.012286 [WARNING] sofia_reg.c:1739 SIP auth failure (INVITE) on sofia profile 'default' for [002441519470824@46.101.114.158] from ip 185.53.90.81
  542. 2021-07-05 11:42:15.012286 [DEBUG] sofia.c:1548 Channel is already hungup.
  543. 2021-07-05 11:42:15.012286 [DEBUG] sofia.c:1548 Channel is already hungup.
  544. 2021-07-05 11:42:15.012286 [DEBUG] switch_core_state_machine.c:585 (sofia/default/6666@46.101.114.158) Running State Change CS_HANGUP (Cur 1 Tot 395)
  545. 2021-07-05 11:42:15.012286 [DEBUG] switch_core_state_machine.c:848 (sofia/default/6666@46.101.114.158) Callstate Change DOWN -> HANGUP
  546. 2021-07-05 11:42:15.012286 [DEBUG] switch_core_state_machine.c:850 (sofia/default/6666@46.101.114.158) State HANGUP
  547. 2021-07-05 11:42:15.012286 [DEBUG] mod_sofia.c:453 Channel sofia/default/6666@46.101.114.158 hanging up, cause: CALL_REJECTED
  548. 2021-07-05 11:42:15.012286 [DEBUG] switch_core_state_machine.c:60 sofia/default/6666@46.101.114.158 Standard HANGUP, cause: CALL_REJECTED
  549. 2021-07-05 11:42:15.012286 [DEBUG] switch_core_state_machine.c:850 (sofia/default/6666@46.101.114.158) State HANGUP going to sleep
  550. 2021-07-05 11:42:15.012286 [DEBUG] switch_core_state_machine.c:620 (sofia/default/6666@46.101.114.158) State Change CS_HANGUP -> CS_REPORTING
  551. 2021-07-05 11:42:15.012286 [DEBUG] switch_core_state_machine.c:585 (sofia/default/6666@46.101.114.158) Running State Change CS_REPORTING (Cur 1 Tot 395)
  552. 2021-07-05 11:42:15.012286 [DEBUG] switch_core_state_machine.c:936 (sofia/default/6666@46.101.114.158) State REPORTING
  553. 2021-07-05 11:42:15.012286 [DEBUG] switch_core_state_machine.c:174 sofia/default/6666@46.101.114.158 Standard REPORTING, cause: CALL_REJECTED
  554. 2021-07-05 11:42:15.012286 [DEBUG] switch_core_state_machine.c:936 (sofia/default/6666@46.101.114.158) State REPORTING going to sleep
  555. 2021-07-05 11:42:15.012286 [DEBUG] switch_core_state_machine.c:611 (sofia/default/6666@46.101.114.158) State Change CS_REPORTING -> CS_DESTROY
  556. 2021-07-05 11:42:15.012286 [DEBUG] switch_core_session.c:1726 Session 395 (sofia/default/6666@46.101.114.158) Locked, Waiting on external entities
  557. 2021-07-05 11:42:15.012286 [NOTICE] switch_core_session.c:1744 Session 395 (sofia/default/6666@46.101.114.158) Ended
  558. 2021-07-05 11:42:15.012286 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/6666@46.101.114.158 [CS_DESTROY]
  559. 2021-07-05 11:42:15.012286 [DEBUG] switch_core_state_machine.c:739 (sofia/default/6666@46.101.114.158) Running State Change CS_DESTROY (Cur 0 Tot 395)
  560. 2021-07-05 11:42:15.012286 [DEBUG] switch_core_state_machine.c:749 (sofia/default/6666@46.101.114.158) State DESTROY
  561. 2021-07-05 11:42:15.012286 [DEBUG] mod_sofia.c:364 sofia/default/6666@46.101.114.158 SOFIA DESTROY
  562. 2021-07-05 11:42:15.012286 [DEBUG] switch_core_state_machine.c:181 sofia/default/6666@46.101.114.158 Standard DESTROY
  563. 2021-07-05 11:42:15.012286 [DEBUG] switch_core_state_machine.c:749 (sofia/default/6666@46.101.114.158) State DESTROY going to sleep
  564. 2021-07-05 11:42:29.352304 [WARNING] sofia_reg.c:1794 SIP auth challenge (REGISTER) on sofia profile 'default' for [6002@46.101.114.158] from ip 103.145.13.252
  565. 2021-07-05 11:42:29.452284 [WARNING] sofia_reg.c:2930 Can't find user [6002@46.101.114.158] from 103.145.13.252
  566. You must define a domain called '46.101.114.158' in your directory and add a user with the id="6002" attribute
  567. and you must configure your device to use the proper domain in its authentication credentials.
  568. 2021-07-05 11:42:29.452284 [WARNING] sofia_reg.c:1739 SIP auth failure (REGISTER) on sofia profile 'default' for [6002@46.101.114.158] from ip 103.145.13.252
  569. 2021-07-05 11:42:37.592282 [NOTICE] switch_channel.c:1118 New Channel sofia/default/6666@46.101.114.158 [835c4906-b85a-42b0-9d06-bc9ce108b841]
  570. 2021-07-05 11:42:37.592282 [DEBUG] switch_core_state_machine.c:585 (sofia/default/6666@46.101.114.158) Running State Change CS_NEW (Cur 1 Tot 396)
  571. 2021-07-05 11:42:37.592282 [DEBUG] sofia.c:10280 sofia/default/6666@46.101.114.158 receiving invite from 185.53.90.81:65298 version: 1.10.5 -release-17-25569c1631 64bit
  572. 2021-07-05 11:42:37.592282 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 185.53.90.81:0.
  573. 2021-07-05 11:42:37.592282 [DEBUG] sofia.c:2434 detaching session 835c4906-b85a-42b0-9d06-bc9ce108b841
  574. 2021-07-05 11:42:37.592282 [WARNING] sofia_reg.c:1794 SIP auth challenge (INVITE) on sofia profile 'default' for [441519470824@46.101.114.158] from ip 185.53.90.81
  575. 2021-07-05 11:42:37.592282 [DEBUG] switch_core_state_machine.c:604 (sofia/default/6666@46.101.114.158) State NEW
  576. 2021-07-05 11:42:37.632299 [DEBUG] sofia.c:2544 Re-attaching to session 835c4906-b85a-42b0-9d06-bc9ce108b841
  577. 2021-07-05 11:42:37.632299 [DEBUG] sofia.c:10280 sofia/default/6666@46.101.114.158 receiving invite from 185.53.90.81:65298 version: 1.10.5 -release-17-25569c1631 64bit
  578. 2021-07-05 11:42:37.632299 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 185.53.90.81:0.
  579. 2021-07-05 11:42:37.632299 [WARNING] sofia_reg.c:2930 Can't find user [6666@46.101.114.158] from 185.53.90.81
  580. You must define a domain called '46.101.114.158' in your directory and add a user with the id="6666" attribute
  581. and you must configure your device to use the proper domain in its authentication credentials.
  582. 2021-07-05 11:42:37.632299 [NOTICE] sofia.c:2432 Hangup sofia/default/6666@46.101.114.158 [CS_NEW] [CALL_REJECTED]
  583. 2021-07-05 11:42:37.632299 [WARNING] sofia_reg.c:1739 SIP auth failure (INVITE) on sofia profile 'default' for [441519470824@46.101.114.158] from ip 185.53.90.81
  584. 2021-07-05 11:42:37.632299 [DEBUG] sofia.c:1548 Channel is already hungup.
  585. 2021-07-05 11:42:37.632299 [DEBUG] sofia.c:1548 Channel is already hungup.
  586. 2021-07-05 11:42:37.632299 [DEBUG] switch_core_state_machine.c:585 (sofia/default/6666@46.101.114.158) Running State Change CS_HANGUP (Cur 1 Tot 396)
  587. 2021-07-05 11:42:37.632299 [DEBUG] switch_core_state_machine.c:848 (sofia/default/6666@46.101.114.158) Callstate Change DOWN -> HANGUP
  588. 2021-07-05 11:42:37.632299 [DEBUG] switch_core_state_machine.c:850 (sofia/default/6666@46.101.114.158) State HANGUP
  589. 2021-07-05 11:42:37.632299 [DEBUG] mod_sofia.c:453 Channel sofia/default/6666@46.101.114.158 hanging up, cause: CALL_REJECTED
  590. 2021-07-05 11:42:37.632299 [DEBUG] switch_core_state_machine.c:60 sofia/default/6666@46.101.114.158 Standard HANGUP, cause: CALL_REJECTED
  591. 2021-07-05 11:42:37.632299 [DEBUG] switch_core_state_machine.c:850 (sofia/default/6666@46.101.114.158) State HANGUP going to sleep
  592. 2021-07-05 11:42:37.632299 [DEBUG] switch_core_state_machine.c:620 (sofia/default/6666@46.101.114.158) State Change CS_HANGUP -> CS_REPORTING
  593. 2021-07-05 11:42:37.632299 [DEBUG] switch_core_state_machine.c:585 (sofia/default/6666@46.101.114.158) Running State Change CS_REPORTING (Cur 1 Tot 396)
  594. 2021-07-05 11:42:37.632299 [DEBUG] switch_core_state_machine.c:936 (sofia/default/6666@46.101.114.158) State REPORTING
  595. 2021-07-05 11:42:37.632299 [DEBUG] switch_core_state_machine.c:174 sofia/default/6666@46.101.114.158 Standard REPORTING, cause: CALL_REJECTED
  596. 2021-07-05 11:42:37.632299 [DEBUG] switch_core_state_machine.c:936 (sofia/default/6666@46.101.114.158) State REPORTING going to sleep
  597. 2021-07-05 11:42:37.632299 [DEBUG] switch_core_state_machine.c:611 (sofia/default/6666@46.101.114.158) State Change CS_REPORTING -> CS_DESTROY
  598. 2021-07-05 11:42:37.632299 [DEBUG] switch_core_session.c:1726 Session 396 (sofia/default/6666@46.101.114.158) Locked, Waiting on external entities
  599. 2021-07-05 11:42:37.632299 [NOTICE] switch_core_session.c:1744 Session 396 (sofia/default/6666@46.101.114.158) Ended
  600. 2021-07-05 11:42:37.632299 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/6666@46.101.114.158 [CS_DESTROY]
  601. 2021-07-05 11:42:37.632299 [DEBUG] switch_core_state_machine.c:739 (sofia/default/6666@46.101.114.158) Running State Change CS_DESTROY (Cur 0 Tot 396)
  602. 2021-07-05 11:42:37.632299 [DEBUG] switch_core_state_machine.c:749 (sofia/default/6666@46.101.114.158) State DESTROY
  603. 2021-07-05 11:42:37.632299 [DEBUG] mod_sofia.c:364 sofia/default/6666@46.101.114.158 SOFIA DESTROY
  604. 2021-07-05 11:42:37.632299 [DEBUG] switch_core_state_machine.c:181 sofia/default/6666@46.101.114.158 Standard DESTROY
  605. 2021-07-05 11:42:37.632299 [DEBUG] switch_core_state_machine.c:749 (sofia/default/6666@46.101.114.158) State DESTROY going to sleep
  606.