From Unreliable Bee, 6 Months ago, written in FreeSWITCH.
- view diff
Embed
  1. span style="color: goldenrod; font-weight: bold;"> 2023-10-18 09:25:02.608837 99.97% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  2. 2023-10-18 09:25:02.608837 99.97% [NOTICE] switch_channel.c:1123 New Channel sofia/default/1555566@102.220.232.19:7777 [d1009be5-eb0e-4658-a70c-b6e0a4d70275]
  3. 2023-10-18 09:25:02.608837 99.97% [DEBUG] mod_sofia.c:5121 (sofia/default/1555566@102.220.232.19:7777) State Change CS_NEW -> CS_INIT
  4. 2023-10-18 09:25:02.608837 99.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1555566@102.220.232.19:7777) Running State Change CS_INIT (Cur 1 Tot 459)
  5. 2023-10-18 09:25:02.608837 99.97% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1555566@102.220.232.19:7777) State INIT
  6. 2023-10-18 09:25:02.608837 99.97% [DEBUG] mod_sofia.c:97 sofia/default/1555566@102.220.232.19:7777 SOFIA INIT
  7. 2023-10-18 09:25:02.608837 99.97% [INFO] sofia_glue.c:1651 sofia/default/1555566@102.220.232.19:7777 sending invite call-id: (null)
  8. 2023-10-18 09:25:02.608837 99.97% [DEBUG] sofia_glue.c:1654 sofia/default/1555566@102.220.232.19:7777 sending invite version: 1.10.7 -release 64bit
  9. Local SDP:                                                                                                                                                                                                        
  10. v=0                                                                                                                                                                                                                
  11. o=FreeSWITCH 1697602390 1697602391 IN IP4 102.220.232.19                                                                                                                                                          
  12. s=FreeSWITCH                                                                                                                                                                                                      
  13. c=IN IP4 102.220.232.19                                                                                                                                                                                            
  14. t=0 0                                                                                                                                                                                                              
  15. m=audio 18712 RTP/AVP 8 101                                                                                                                                                                                        
  16. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  17. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  18. a=fmtp:101 0-15                                                                                                                                                                                                    
  19. a=ptime:20                                                                                                                                                                                                        
  20. a=sendrecv                                                                                                                                                                                                        
  21.  
  22. 2023-10-18 09:25:02.608837 99.97% [DEBUG] switch_core_state_machine.c:40 sofia/default/1555566@102.220.232.19:7777 Standard INIT
  23. 2023-10-18 09:25:02.608837 99.97% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1555566@102.220.232.19:7777) State Change CS_INIT -> CS_ROUTING
  24. 2023-10-18 09:25:02.608837 99.97% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1555566@102.220.232.19:7777) State INIT going to sleep
  25. 2023-10-18 09:25:02.608837 99.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1555566@102.220.232.19:7777) Running State Change CS_ROUTING (Cur 1 Tot 459)
  26. 2023-10-18 09:25:02.608837 99.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1555566@102.220.232.19:7777) State ROUTING
  27. 2023-10-18 09:25:02.608837 99.97% [DEBUG] mod_sofia.c:158 sofia/default/1555566@102.220.232.19:7777 SOFIA ROUTING
  28. 2023-10-18 09:25:02.608837 99.97% [DEBUG] switch_ivr_originate.c:67 (sofia/default/1555566@102.220.232.19:7777) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  29. 2023-10-18 09:25:02.608837 99.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1555566@102.220.232.19:7777) State ROUTING going to sleep
  30. 2023-10-18 09:25:02.608837 99.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1555566@102.220.232.19:7777) Running State Change CS_CONSUME_MEDIA (Cur 1 Tot 459)
  31. 2023-10-18 09:25:02.608837 99.97% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1555566@102.220.232.19:7777) State CONSUME_MEDIA
  32. 2023-10-18 09:25:02.608837 99.97% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1555566@102.220.232.19:7777) State CONSUME_MEDIA going to sleep
  33. 2023-10-18 09:25:02.608837 99.97% [DEBUG] sofia.c:7499 Channel sofia/default/1555566@102.220.232.19:7777 entering state [calling][0]
  34. 2023-10-18 09:25:02.608837 99.97% [NOTICE] switch_channel.c:1123 New Channel sofia/default/1555566@102.220.232.19 [f8f645cf-2061-4799-88f8-042c1e45f99f]
  35. 2023-10-18 09:25:02.608837 99.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1555566@102.220.232.19) Running State Change CS_NEW (Cur 2 Tot 460)
  36. 2023-10-18 09:25:02.608837 99.97% [INFO] sofia.c:10462 sofia/default/1555566@102.220.232.19 receiving invite from 102.220.232.19:7777 version: 1.10.7 -release 64bit call-id: 0eb8b1a6-e83b-123c-51b3-44a8424611a9
  37. 2023-10-18 09:25:02.608837 99.97% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 102.220.232.19:0.
  38. 2023-10-18 09:25:02.608837 99.97% [DEBUG] sofia.c:10585 IP 102.220.232.19 Approved by acl "default[]". Access Granted.
  39. 2023-10-18 09:25:02.608837 99.97% [DEBUG] sofia.c:7499 Channel sofia/default/1555566@102.220.232.19 entering state [received][100]
  40. 2023-10-18 09:25:02.608837 99.97% [DEBUG] sofia.c:7509 Remote SDP:
  41. v=0                                                                                                                                                                                                                
  42. o=FreeSWITCH 1697602390 1697602391 IN IP4 102.220.232.19                                                                                                                                                          
  43. s=FreeSWITCH                                                                                                                                                                                                      
  44. c=IN IP4 102.220.232.19                                                                                                                                                                                            
  45. t=0 0                                                                                                                                                                                                              
  46. m=audio 18712 RTP/AVP 8 101                                                                                                                                                                                        
  47. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  48. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  49. a=fmtp:101 0-15                                                                                                                                                                                                    
  50. a=ptime:20                                                                                                                                                                                                        
  51.  
  52. 2023-10-18 09:25:02.608837 99.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  53. 2023-10-18 09:25:02.608837 99.97% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  54. 2023-10-18 09:25:02.608837 99.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  55. 2023-10-18 09:25:02.608837 99.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  56. 2023-10-18 09:25:02.608837 99.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  57. 2023-10-18 09:25:02.608837 99.97% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  58. 2023-10-18 09:25:02.608837 99.97% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/1555566@102.220.232.19 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  59. 2023-10-18 09:25:02.608837 99.97% [DEBUG] switch_core_codec.c:111 sofia/default/1555566@102.220.232.19 Original read codec set to PCMA:8
  60. 2023-10-18 09:25:02.608837 99.97% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  61. 2023-10-18 09:25:02.608837 99.97% [DEBUG] switch_core_media.c:5973 sofia/default/1555566@102.220.232.19 Set 2833 dtmf send payload to 101 recv payload to 101
  62. 2023-10-18 09:25:02.608837 99.97% [DEBUG] sofia.c:7933 (sofia/default/1555566@102.220.232.19) State Change CS_NEW -> CS_INIT
  63. 2023-10-18 09:25:02.608837 99.97% [DEBUG] switch_core_state_machine.c:600 (sofia/default/1555566@102.220.232.19) State NEW
  64. 2023-10-18 09:25:02.608837 99.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1555566@102.220.232.19) Running State Change CS_INIT (Cur 2 Tot 460)
  65. 2023-10-18 09:25:02.608837 99.97% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1555566@102.220.232.19) State INIT
  66. 2023-10-18 09:25:02.608837 99.97% [DEBUG] mod_sofia.c:97 sofia/default/1555566@102.220.232.19 SOFIA INIT
  67. 2023-10-18 09:25:02.608837 99.97% [DEBUG] switch_core_state_machine.c:40 sofia/default/1555566@102.220.232.19 Standard INIT
  68. 2023-10-18 09:25:02.608837 99.97% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1555566@102.220.232.19) State Change CS_INIT -> CS_ROUTING
  69. 2023-10-18 09:25:02.608837 99.97% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1555566@102.220.232.19) State INIT going to sleep
  70. 2023-10-18 09:25:02.608837 99.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1555566@102.220.232.19) Running State Change CS_ROUTING (Cur 2 Tot 460)
  71. 2023-10-18 09:25:02.608837 99.97% [DEBUG] switch_channel.c:2380 (sofia/default/1555566@102.220.232.19) Callstate Change DOWN -> RINGING
  72. 2023-10-18 09:25:02.608837 99.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1555566@102.220.232.19) State ROUTING
  73. 2023-10-18 09:25:02.608837 99.97% [DEBUG] mod_sofia.c:158 sofia/default/1555566@102.220.232.19 SOFIA ROUTING
  74. 2023-10-18 09:25:02.608837 99.97% [DEBUG] switch_core_state_machine.c:230 sofia/default/1555566@102.220.232.19 Standard ROUTING
  75. 2023-10-18 09:25:02.608837 99.97% [INFO] mod_dialplan_xml.c:639 Processing 1555566 <1555566>->1555566 in context default
  76. 2023-10-18 09:25:02.648837 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  77. 2023-10-18 09:25:02.688837 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  78. 2023-10-18 09:25:02.688837 99.97% [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')                                                                                                                                                                                                
  79. 2023-10-18 09:25:02.688837 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  80. 2023-10-18 09:25:02.708832 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 1555566
  81. 2023-10-18 09:25:02.708832 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '1555566' AND status=0 limit 1
  82. 2023-10-18 09:25:02.708832 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERmod_sofia
  83. 2023-10-18 09:25:02.708832 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  84. 2023-10-18 09:25:02.708832 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '1555566' limit 1
  85. 2023-10-18 09:25:02.708832 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '299' and username = '1555566' limit 1
  86. 2023-10-18 09:25:02.708832 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL] Query :SELECT local_effective_caller_id_name,local_effective_caller_id_number FROM sip_devices WHERE username = 'mod_sofia' limit 1                                                                                                                                                                                                    
  87. 2023-10-18 09:25:02.708832 99.97% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  88. 2023-10-18 09:25:02.708832 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 1555566 / 1555566
  89. 2023-10-18 09:25:02.708832 99.97% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Call Type FAX
  90. 2023-10-18 09:25:02.708832 99.97% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Account Code :3882045348
  91. 2023-10-18 09:25:02.708832 99.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  92. 2023-10-18 09:25:02.708832 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1                                                                                                                                                                                          
  93. 2023-10-18 09:25:02.708832 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....1555566
  94. 2023-10-18 09:25:02.708832 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....1555566
  95. 2023-10-18 09:25:02.708832 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....1555566
  96. 2023-10-18 09:25:02.708832 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1555566" LIMIT 1                                        
  97. 2023-10-18 09:25:02.708832 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  98. 2023-10-18 09:25:02.708832 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="1555566" limit 1                                                                                                                                                                      
  99. 2023-10-18 09:25:02.728833 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : local
  100. 2023-10-18 09:25:02.728833 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 102.220.232.19
  101. 2023-10-18 09:25:02.728833 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3882045348]
  102. 2023-10-18 09:25:02.728833 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "3882045348" OR id = "3882045348") AND deleted = 0 limit 1
  103. 2023-10-18 09:25:02.728833 99.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 43
  104. 2023-10-18 09:25:02.728833 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1                                                                                                                                                                                          
  105. 2023-10-18 09:25:02.728833 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....1555566
  106. 2023-10-18 09:25:02.728833 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....1555566
  107. 2023-10-18 09:25:02.728833 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....1555566
  108. 2023-10-18 09:25:02.728833 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="1555566" AND (accountid = 0 OR status = 1) LIMIT 1
  109. 2023-10-18 09:25:02.728833 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^1555566.*' OR patterns = '^155556.*' OR patterns = '^15555.*' OR patterns = '^1555.*' OR patterns = '^155.*' OR patterns = '^15.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 299 ORDER BY LENGTH(PKGPTR.patterns) DESC                                                                                                                
  110. 2023-10-18 09:25:02.728833 99.97% [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 ="1555566" AND A.accountid = '299' limit 1                                                                                                                                                                    
  111. 2023-10-18 09:25:02.728833 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 1555566
  112. 2023-10-18 09:25:02.728833 99.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  113. 2023-10-18 09:25:02.728833 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1                                                                                                                                                                                          
  114. 2023-10-18 09:25:02.728833 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....1555566
  115. 2023-10-18 09:25:02.728833 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....1555566
  116. 2023-10-18 09:25:02.728833 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....1555566
  117. 2023-10-18 09:25:02.728833 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1555566" LIMIT 1                                        
  118. 2023-10-18 09:25:02.728833 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  119. 2023-10-18 09:25:02.728833 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="1555566" limit 1                                                                                                                                                                      
  120. 2023-10-18 09:25:02.728833 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : local
  121. 2023-10-18 09:25:02.728833 99.97% [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 = '1555566' OR number = '155556' OR number = '15555' OR number = '1555' OR number = '155' OR number = '15' OR number = '1' OR number ='--') OR (number = '1555566*' OR number = '155556*' OR number = '15555*' OR number = '1555*' OR number = '155*' OR number = '15*' OR number = '1*' OR number ='--') OR (number = '1555566' OR number = '155556' OR number = '15555' OR number = '1555' OR number = '155' OR number = '15' OR number = '1' OR number ='--') OR (number = '1555566*' OR number = '155556*' OR number = '15555*' OR number = '1555*' OR number = '155*' OR number = '15*' OR number = '1*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC                                                                                                                                                            
  122. 2023-10-18 09:25:02.728833 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  123. 2023-10-18 09:25:02.728833 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '1555566' OR routing_prefix = '155556' OR routing_prefix = '15555' OR routing_prefix = '1555' OR routing_prefix = '155' OR routing_prefix = '15' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1                                                                                                                                                                                                              
  124. 2023-10-18 09:25:02.728833 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  125. 2023-10-18 09:25:02.728833 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 299
  126. 2023-10-18 09:25:02.728833 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3882045348
  127. 2023-10-18 09:25:02.728833 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 500
  128. 2023-10-18 09:25:02.728833 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  129. 2023-10-18 09:25:02.728833 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 83
  130. 2023-10-18 09:25:02.728833 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  131. 2023-10-18 09:25:02.728833 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  132. 2023-10-18 09:25:02.728833 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0
  133. 2023-10-18 09:25:02.728833 99.97% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Free Inbound : 1
  134. 2023-10-18 09:25:02.728833 99.97% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Charge Per Min : 0
  135. 2023-10-18 09:25:02.728833 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your500 balance Accountid 299 !!!
  136. 2023-10-18 09:25:02.728833 99.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  137. 2023-10-18 09:25:02.728833 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 60 minutes
  138. 2023-10-18 09:25:02.728833 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="1555566" limit 1                                                                                                                                                                      
  139. 2023-10-18 09:25:02.728833 99.97% [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 = 299 AND status=0 LIMIT 1                                                                                                                                                                                      
  140. 2023-10-18 09:25:02.728833 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 60
  141. 2023-10-18 09:25:02.728833 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = 'mod_sofia' and status = 0 limit 1
  142. 2023-10-18 09:25:02.728833 99.97% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Outbound Dialplan
  143. 2023-10-18 09:25:02.728833 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  144. 2023-10-18 09:25:02.748832 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_recording_call] Query :SELECT username FROM sip_devices WHERE username = 'mod_sofia' and status = 0 limit 1
  145. 2023-10-18 09:25:02.748832 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE (number = 299 or id = 299 ) and status = 0 limit 1
  146. 2023-10-18 09:25:02.748832 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  147. 2023-10-18 09:25:02.748832 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  148. 2023-10-18 09:25:02.748832 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  149. <?xml version="1.0" encoding="UTF-8" standalone="no"?>                                                                                                                                                            
  150. <document type="freeswitch/xml">                                                                                                                                                                                  
  151. <section name="dialplan" description="ASTPP Dialplan">                                                                                                                                                            
  152. <context name="default">                                                                                                                                                                                          
  153. <extension name="1555566">                                                                                                                                                                                        
  154. <condition field="destination_number" expression="1555566">                                                                                                                                                        
  155. <action application="set" data="effective_destination_number=1555566"/>                                                                                                                                            
  156. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>                                                                                                                                        
  157. <action application="set" data="bridge_pre_execute_bleg_data=+3600 normal_clearing"/>                                                                                                                              
  158. <action application="set" data="notify_flag=0"/>                                                                                                                                                                  
  159. <action application="set" data="notify_credit_limit=1.00000"/>                                                                                                                                                    
  160. <action application="set" data="type=0"/>                                                                                                                                                                          
  161. <action application="set" data="callstart=2023-10-18 09:25:02"/>                                                                                                                                                  
  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=299"/>                                                                                                                                                                  
  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=local"/>                                                                                                                                                            
  169. <action application="set" data="accountname=default"/>                                                                                                                                                            
  170. <action application="set" data="filename1=astpp.pbx.lua"/>                                                                                                                                                        
  171. <action application="export" data="t38_passthru=true"/>                                                                                                                                                            
  172. <action application="playback" data="silence_stream://2000"/>                                                                                                                                                      
  173. <action application="set" data="fax_enable_t38_request=true"/>                                                                                                                                                    
  174. <action application="set" data="sip_require_timer=false"/>                                                                                                                                                        
  175. <action application="set" data="call_request=3"/>                                                                                                                                                                  
  176. <action application="set" data="module_name=apfax"/>                                                                                                                                                              
  177. <action application="set" data="fax_use_ecm=false"/>                                                                                                                                                              
  178. <action application="set" data="fax_v17_disabled=false"/>                                                                                                                                                          
  179. <action application="set" data="fax_disable_v17=true"/>                                                                                                                                                            
  180. <action application="set" data="fax_enable_t38=true"/>                                                                                                                                                            
  181. <action application="set" data="session_in_hangup_hook=true"/>                                                                                                                                                    
  182. <action application="set" data="origination_rates=ID:0|CODE:^1555566.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:83|MARKUP:0|CI:0|ACCID:299"/>              
  183. <action application="set" data="original_caller_id_name=1555566"/>                                                                                                                                                
  184. <action application="set" data="original_caller_id_number=1555566"/>                                                                                                                                              
  185. <action application="export" data="is_recording=1"/>                                                                                                                                                              
  186. <action application="export" data="media_bug_answer_req=true"/>                                                                                                                                                    
  187. <action application="export" data="record_sample_rate=8000"/>                                                                                                                                                      
  188. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>                                                                                                              
  189. <action application="set" data="effective_caller_id_name=1555566"/>                                                                                                                                                
  190. <action application="set" data="effective_caller_id_number=1555566"/>                                                                                                                                              
  191. <action application="set" data="calltype=LOCAL"/>                                                                                                                                                                  
  192. <action application="set" data="daily_call_credit_limit=0.00000"/>                                                                                                                                                
  193. <action application="set" data="monthly_call_credit_limit=0.00000"/>                                                                                                                                              
  194. <action application="set" data="daily_call_used_limit=0.00000"/>                                                                                                                                                  
  195. <action application="set" data="monthly_call_used_limit=0.00000"/>                                                                                                                                                
  196. <action application="set" data="receiver_accid=299"/>                                                                                                                                                              
  197. <action application="export" data="presence_data=x|||Inextrixtestdata(3882045348)|||^1555566.* // Local // 0||||||Local|||102.220.232.19"/>                                                                        
  198. <action application="export" data="presence_data=x|||Inextrixtestdata(3882045348)|||^1555566.* // Local // 0||||||LOCAL|||102.220.232.19"/>                                                                        
  199. <action application="set" data="sip_h_X-call-type=did"/>                                                                                                                                                          
  200. <action application="set" data="sip_h_X-did-call-type=DID-LOCAL"/>                                                                                                                                                
  201. <action application="bridge" data="{sip_invite_params=user=LOCAL}[leg_timeout=30]sofia/${sofia_profile_name}/1555566@sbc-jb1.goldtelcloud.co.za"/>                                                                
  202. <condition field="${cond(${user_data 1555566@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">                                                                                            
  203. <action application="answer"/>                                                                                                                                                                                    
  204. <action application="export" data="voicemail_alternate_greet_id=1555566"/>                                                                                                                                        
  205. <action application="voicemail" data="default $${domain_name} 1555566"/>                                                                                                                                          
  206. <anti-action application="hangup" data="${originate_disposition}"/>                                                                                                                                                
  207. </condition>                                                                                                                                                                                                      
  208. </condition>                                                                                                                                                                                                      
  209. </extension>                                                                                                                                                                                                      
  210. </context>                                                                                                                                                                                                        
  211. </section>                                                                                                                                                                                                        
  212. </document>                                                                                                                                                                                                        
  213. Dialplan: sofia/default/1555566@102.220.232.19 parsing [default->1555566] continue=false
  214. Dialplan: sofia/default/1555566@102.220.232.19 Regex (PASS) [1555566] destination_number(1555566) =~ /1555566/ break=on-false
  215. Dialplan: sofia/default/1555566@102.220.232.19 Action set(effective_destination_number=1555566)
  216. Dialplan: sofia/default/1555566@102.220.232.19 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  217. Dialplan: sofia/default/1555566@102.220.232.19 Action set(bridge_pre_execute_bleg_data=+3600 normal_clearing)
  218. Dialplan: sofia/default/1555566@102.220.232.19 Action set(notify_flag=0)
  219. Dialplan: sofia/default/1555566@102.220.232.19 Action set(notify_credit_limit=1.00000)
  220. Dialplan: sofia/default/1555566@102.220.232.19 Action set(type=0)
  221. Dialplan: sofia/default/1555566@102.220.232.19 Action set(callstart=2023-10-18 09:25:02)
  222. Dialplan: sofia/default/1555566@102.220.232.19 Action set(hangup_after_bridge=true)
  223. Dialplan: sofia/default/1555566@102.220.232.19 Action set(continue_on_fail=TRUE)
  224. Dialplan: sofia/default/1555566@102.220.232.19 Action set(account_id=299)
  225. Dialplan: sofia/default/1555566@102.220.232.19 Action set(parent_id=0)
  226. Dialplan: sofia/default/1555566@102.220.232.19 Action set(entity_id=0)
  227. Dialplan: sofia/default/1555566@102.220.232.19 Action set(call_processed=internal)
  228. Dialplan: sofia/default/1555566@102.220.232.19 Action set(call_direction=local)
  229. Dialplan: sofia/default/1555566@102.220.232.19 Action set(accountname=default)
  230. Dialplan: sofia/default/1555566@102.220.232.19 Action set(filename1=astpp.pbx.lua)
  231. Dialplan: sofia/default/1555566@102.220.232.19 Action export(t38_passthru=true)
  232. Dialplan: sofia/default/1555566@102.220.232.19 Action playback(silence_stream://2000)
  233. Dialplan: sofia/default/1555566@102.220.232.19 Action set(fax_enable_t38_request=true)
  234. Dialplan: sofia/default/1555566@102.220.232.19 Action set(sip_require_timer=false)
  235. Dialplan: sofia/default/1555566@102.220.232.19 Action set(call_request=3)
  236. Dialplan: sofia/default/1555566@102.220.232.19 Action set(module_name=apfax)
  237. Dialplan: sofia/default/1555566@102.220.232.19 Action set(fax_use_ecm=false)
  238. Dialplan: sofia/default/1555566@102.220.232.19 Action set(fax_v17_disabled=false)
  239. Dialplan: sofia/default/1555566@102.220.232.19 Action set(fax_disable_v17=true)
  240. Dialplan: sofia/default/1555566@102.220.232.19 Action set(fax_enable_t38=true)
  241. Dialplan: sofia/default/1555566@102.220.232.19 Action set(session_in_hangup_hook=true)
  242. Dialplan: sofia/default/1555566@102.220.232.19 Action set(origination_rates=ID:0|CODE:^1555566.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:83|MARKUP:0|CI:0|ACCID:299)                                                                                                                                                                                                        
  243. Dialplan: sofia/default/1555566@102.220.232.19 Action set(original_caller_id_name=1555566)
  244. Dialplan: sofia/default/1555566@102.220.232.19 Action set(original_caller_id_number=1555566)
  245. Dialplan: sofia/default/1555566@102.220.232.19 Action export(is_recording=1)
  246. Dialplan: sofia/default/1555566@102.220.232.19 Action export(media_bug_answer_req=true)
  247. Dialplan: sofia/default/1555566@102.220.232.19 Action export(record_sample_rate=8000)
  248. Dialplan: sofia/default/1555566@102.220.232.19 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  249. Dialplan: sofia/default/1555566@102.220.232.19 Action set(effective_caller_id_name=1555566)
  250. Dialplan: sofia/default/1555566@102.220.232.19 Action set(effective_caller_id_number=1555566)
  251. Dialplan: sofia/default/1555566@102.220.232.19 Action set(calltype=LOCAL)
  252. Dialplan: sofia/default/1555566@102.220.232.19 Action set(daily_call_credit_limit=0.00000)
  253. Dialplan: sofia/default/1555566@102.220.232.19 Action set(monthly_call_credit_limit=0.00000)
  254. Dialplan: sofia/default/1555566@102.220.232.19 Action set(daily_call_used_limit=0.00000)
  255. Dialplan: sofia/default/1555566@102.220.232.19 Action set(monthly_call_used_limit=0.00000)
  256. Dialplan: sofia/default/1555566@102.220.232.19 Action set(receiver_accid=299)
  257. Dialplan: sofia/default/1555566@102.220.232.19 Action export(presence_data=x|||Inextrixtestdata(3882045348)|||^1555566.* // Local // 0||||||Local|||102.220.232.19)
  258. Dialplan: sofia/default/1555566@102.220.232.19 Action export(presence_data=x|||Inextrixtestdata(3882045348)|||^1555566.* // Local // 0||||||LOCAL|||102.220.232.19)
  259. Dialplan: sofia/default/1555566@102.220.232.19 Action set(sip_h_X-call-type=did)
  260. Dialplan: sofia/default/1555566@102.220.232.19 Action set(sip_h_X-did-call-type=DID-LOCAL)
  261. Dialplan: sofia/default/1555566@102.220.232.19 Action bridge({sip_invite_params=user=LOCAL}[leg_timeout=30]sofia/${sofia_profile_name}/1555566@sbc-jb1.goldtelcloud.co.za)
  262. |--- Dialplan: Processing recursive conditions level:1 [1555566_recur_1] require-nested=TRUE
  263. |--- Dialplan: sofia/default/1555566@102.220.232.19 Regex (PASS) [1555566_recur_1] ${cond(${user_data 1555566@${domain_name} param vm-enabled} == true ? YES : NO)}(YES) =~ /^YES$/ break=on-false
  264. |--- Dialplan: sofia/default/1555566@102.220.232.19 Action answer()
  265. |--- Dialplan: sofia/default/1555566@102.220.232.19 Action export(voicemail_alternate_greet_id=1555566)
  266. |--- Dialplan: sofia/default/1555566@102.220.232.19 Action voicemail(default $${domain_name} 1555566)
  267. 2023-10-18 09:25:02.808832 99.97% [DEBUG] switch_core_state_machine.c:281 (sofia/default/1555566@102.220.232.19) State Change CS_ROUTING -> CS_EXECUTE
  268. 2023-10-18 09:25:02.808832 99.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1555566@102.220.232.19) State ROUTING going to sleep
  269. 2023-10-18 09:25:02.808832 99.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1555566@102.220.232.19) Running State Change CS_EXECUTE (Cur 2 Tot 460)
  270. 2023-10-18 09:25:02.808832 99.97% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1555566@102.220.232.19) State EXECUTE
  271. 2023-10-18 09:25:02.808832 99.97% [DEBUG] mod_sofia.c:213 sofia/default/1555566@102.220.232.19 SOFIA EXECUTE
  272. 2023-10-18 09:25:02.808832 99.97% [DEBUG] switch_core_state_machine.c:323 sofia/default/1555566@102.220.232.19 Standard EXECUTE
  273. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 set(effective_destination_number=1555566)
  274. 2023-10-18 09:25:02.808832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/1555566@102.220.232.19 [effective_destination_number]=[1555566]
  275. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 set(bridge_pre_execute_bleg_app=sched_hangup)
  276. 2023-10-18 09:25:02.808832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/1555566@102.220.232.19 [bridge_pre_execute_bleg_app]=[sched_hangup]
  277. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 set(bridge_pre_execute_bleg_data=+3600 normal_clearing)
  278. 2023-10-18 09:25:02.808832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/1555566@102.220.232.19 [bridge_pre_execute_bleg_data]=[+3600 normal_clearing]
  279. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 set(notify_flag=0)
  280. 2023-10-18 09:25:02.808832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/1555566@102.220.232.19 [notify_flag]=[0]
  281. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 set(notify_credit_limit=1.00000)
  282. 2023-10-18 09:25:02.808832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/1555566@102.220.232.19 [notify_credit_limit]=[1.00000]
  283. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 set(type=0)
  284. 2023-10-18 09:25:02.808832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/1555566@102.220.232.19 [type]=[0]
  285. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 set(callstart=2023-10-18 09:25:02)
  286. 2023-10-18 09:25:02.808832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/1555566@102.220.232.19 [callstart]=[2023-10-18 09:25:02]
  287. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 set(hangup_after_bridge=true)
  288. 2023-10-18 09:25:02.808832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/1555566@102.220.232.19 [hangup_after_bridge]=[true]
  289. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 set(continue_on_fail=TRUE)
  290. 2023-10-18 09:25:02.808832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/1555566@102.220.232.19 [continue_on_fail]=[TRUE]
  291. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 set(account_id=299)
  292. 2023-10-18 09:25:02.808832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/1555566@102.220.232.19 [account_id]=[299]
  293. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 set(parent_id=0)
  294. 2023-10-18 09:25:02.808832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/1555566@102.220.232.19 [parent_id]=[0]
  295. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 set(entity_id=0)
  296. 2023-10-18 09:25:02.808832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/1555566@102.220.232.19 [entity_id]=[0]
  297. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 set(call_processed=internal)
  298. 2023-10-18 09:25:02.808832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/1555566@102.220.232.19 [call_processed]=[internal]
  299. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 set(call_direction=local)
  300. 2023-10-18 09:25:02.808832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/1555566@102.220.232.19 [call_direction]=[local]
  301. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 set(accountname=default)
  302. 2023-10-18 09:25:02.808832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/1555566@102.220.232.19 [accountname]=[default]
  303. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 set(filename1=astpp.pbx.lua)
  304. 2023-10-18 09:25:02.808832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/1555566@102.220.232.19 [filename1]=[astpp.pbx.lua]
  305. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 export(t38_passthru=true)
  306. 2023-10-18 09:25:02.808832 99.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true]
  307. 2023-10-18 09:25:02.808832 99.97% [DEBUG] switch_core_session.c:2795 Application playback Requires media! pre_answering channel sofia/default/1555566@102.220.232.19
  308. 2023-10-18 09:25:02.808832 99.97% [INFO] switch_core_session.c:2797 Sending early media
  309. 2023-10-18 09:25:02.808832 99.97% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/1555566@102.220.232.19] 102.220.232.19 port 25656 -> 102.220.232.19 port 18712 codec: 8 ms: 20
  310. 2023-10-18 09:25:02.808832 99.97% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  311. 2023-10-18 09:25:02.808832 99.97% [DEBUG] switch_core_media.c:9089 sofia/default/1555566@102.220.232.19 Set 2833 dtmf send payload to 101
  312. 2023-10-18 09:25:02.808832 99.97% [DEBUG] switch_core_media.c:9096 sofia/default/1555566@102.220.232.19 Set 2833 dtmf receive payload to 101
  313. 2023-10-18 09:25:02.808832 99.97% [DEBUG] switch_core_media.c:9119 sofia/default/1555566@102.220.232.19 Set rtp dtmf delay to 40
  314. 2023-10-18 09:25:02.808832 99.97% [DEBUG] mod_sofia.c:2610 Ring SDP:
  315. v=0                                                                                                                                                                                                                
  316. o=FreeSWITCH 1697595446 1697595447 IN IP4 102.220.232.19                                                                                                                                                          
  317. s=FreeSWITCH                                                                                                                                                                                                      
  318. c=IN IP4 102.220.232.19                                                                                                                                                                                            
  319. t=0 0                                                                                                                                                                                                              
  320. m=audio 25656 RTP/AVP 8 101                                                                                                                                                                                        
  321. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  322. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  323. a=fmtp:101 0-15                                                                                                                                                                                                    
  324. a=ptime:20                                                                                                                                                                                                        
  325. a=sendrecv                                                                                                                                                                                                        
  326.  
  327. 2023-10-18 09:25:02.808832 99.97% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/1555566@102.220.232.19!
  328. 2023-10-18 09:25:02.808832 99.97% [DEBUG] switch_channel.c:3622 (sofia/default/1555566@102.220.232.19) Callstate Change RINGING -> EARLY
  329. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 playback(silence_stream://2000)
  330. 2023-10-18 09:25:02.808832 99.97% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  331. 2023-10-18 09:25:02.808832 99.97% [DEBUG] sofia.c:7499 Channel sofia/default/1555566@102.220.232.19 entering state [early][183]
  332. 2023-10-18 09:25:02.808832 99.97% [DEBUG] sofia.c:7499 Channel sofia/default/1555566@102.220.232.19:7777 entering state [proceeding][183]
  333. 2023-10-18 09:25:02.808832 99.97% [DEBUG] sofia.c:7509 Remote SDP:
  334. v=0                                                                                                                                                                                                                
  335. o=FreeSWITCH 1697595446 1697595447 IN IP4 102.220.232.19                                                                                                                                                          
  336. s=FreeSWITCH                                                                                                                                                                                                      
  337. c=IN IP4 102.220.232.19                                                                                                                                                                                            
  338. t=0 0                                                                                                                                                                                                              
  339. m=audio 25656 RTP/AVP 8 101                                                                                                                                                                                        
  340. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  341. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  342. a=fmtp:101 0-15                                                                                                                                                                                                    
  343. a=ptime:20                                                                                                                                                                                                        
  344.  
  345. 2023-10-18 09:25:02.808832 99.97% [NOTICE] sofia.c:7512 Pre-Answer sofia/default/1555566@102.220.232.19:7777!
  346. 2023-10-18 09:25:02.808832 99.97% [DEBUG] switch_channel.c:3622 (sofia/default/1555566@102.220.232.19:7777) Callstate Change DOWN -> EARLY
  347. 2023-10-18 09:25:02.808832 99.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  348. 2023-10-18 09:25:02.808832 99.97% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  349. 2023-10-18 09:25:02.808832 99.97% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  350. 2023-10-18 09:25:02.808832 99.97% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/1555566@102.220.232.19:7777 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  351. 2023-10-18 09:25:02.808832 99.97% [DEBUG] switch_core_codec.c:111 sofia/default/1555566@102.220.232.19:7777 Original read codec set to PCMA:8
  352. 2023-10-18 09:25:02.808832 99.97% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  353. 2023-10-18 09:25:02.808832 99.97% [DEBUG] switch_core_media.c:5973 sofia/default/1555566@102.220.232.19:7777 Set 2833 dtmf send payload to 101 recv payload to 101
  354. 2023-10-18 09:25:02.808832 99.97% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/1555566@102.220.232.19:7777] 102.220.232.19 port 18712 -> 102.220.232.19 port 25656 codec: 8 ms: 20
  355. 2023-10-18 09:25:02.808832 99.97% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  356. 2023-10-18 09:25:02.808832 99.97% [DEBUG] switch_core_media.c:9089 sofia/default/1555566@102.220.232.19:7777 Set 2833 dtmf send payload to 101
  357. 2023-10-18 09:25:02.808832 99.97% [DEBUG] switch_core_media.c:9096 sofia/default/1555566@102.220.232.19:7777 Set 2833 dtmf receive payload to 101
  358. 2023-10-18 09:25:02.808832 99.97% [DEBUG] switch_core_media.c:9119 sofia/default/1555566@102.220.232.19:7777 Set rtp dtmf delay to 40
  359. 2023-10-18 09:25:04.808832 99.90% [DEBUG] switch_ivr_play_say.c:2001 done playing file silence_stream://2000
  360. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 set(fax_enable_t38_request=true)
  361. 2023-10-18 09:25:04.808832 99.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/1555566@102.220.232.19 [fax_enable_t38_request]=[true]
  362. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 set(sip_require_timer=false)
  363. 2023-10-18 09:25:04.808832 99.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/1555566@102.220.232.19 [sip_require_timer]=[false]
  364. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 set(call_request=3)
  365. 2023-10-18 09:25:04.808832 99.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/1555566@102.220.232.19 [call_request]=[3]
  366. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 set(module_name=apfax)
  367. 2023-10-18 09:25:04.808832 99.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/1555566@102.220.232.19 [module_name]=[apfax]
  368. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 set(fax_use_ecm=false)
  369. 2023-10-18 09:25:04.808832 99.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/1555566@102.220.232.19 [fax_use_ecm]=[false]
  370. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 set(fax_v17_disabled=false)
  371. 2023-10-18 09:25:04.808832 99.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/1555566@102.220.232.19 [fax_v17_disabled]=[false]
  372. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 set(fax_disable_v17=true)
  373. 2023-10-18 09:25:04.808832 99.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/1555566@102.220.232.19 [fax_disable_v17]=[true]
  374. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 set(fax_enable_t38=true)
  375. 2023-10-18 09:25:04.808832 99.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/1555566@102.220.232.19 [fax_enable_t38]=[true]
  376. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 set(session_in_hangup_hook=true)
  377. 2023-10-18 09:25:04.808832 99.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/1555566@102.220.232.19 [session_in_hangup_hook]=[true]
  378. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 set(origination_rates=ID:0|CODE:^1555566.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:83|MARKUP:0|CI:0|ACCID:299)                                                                                                                                                                                                        
  379. 2023-10-18 09:25:04.808832 99.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/1555566@102.220.232.19 [origination_rates]=[ID:0|CODE:^1555566.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:83|MARKUP:0|CI:0|ACCID:299]                                                                                                                                                          
  380. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 set(original_caller_id_name=1555566)
  381. 2023-10-18 09:25:04.808832 99.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/1555566@102.220.232.19 [original_caller_id_name]=[1555566]
  382. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 set(original_caller_id_number=1555566)
  383. 2023-10-18 09:25:04.808832 99.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/1555566@102.220.232.19 [original_caller_id_number]=[1555566]
  384. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 export(is_recording=1)
  385. 2023-10-18 09:25:04.808832 99.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  386. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 export(media_bug_answer_req=true)
  387. 2023-10-18 09:25:04.808832 99.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  388. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 export(record_sample_rate=8000)
  389. 2023-10-18 09:25:04.808832 99.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  390. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 export(execute_on_answer=record_session /usr/local/freeswitch/recordings/f8f645cf-2061-4799-88f8-042c1e45f99f.wav)
  391. 2023-10-18 09:25:04.808832 99.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/f8f645cf-2061-4799-88f8-042c1e45f99f.wav]
  392. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 set(effective_caller_id_name=1555566)
  393. 2023-10-18 09:25:04.808832 99.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/1555566@102.220.232.19 [effective_caller_id_name]=[1555566]
  394. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 set(effective_caller_id_number=1555566)
  395. 2023-10-18 09:25:04.808832 99.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/1555566@102.220.232.19 [effective_caller_id_number]=[1555566]
  396. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 set(calltype=LOCAL)
  397. 2023-10-18 09:25:04.808832 99.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/1555566@102.220.232.19 [calltype]=[LOCAL]
  398. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 set(daily_call_credit_limit=0.00000)
  399. 2023-10-18 09:25:04.808832 99.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/1555566@102.220.232.19 [daily_call_credit_limit]=[0.00000]
  400. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 set(monthly_call_credit_limit=0.00000)
  401. 2023-10-18 09:25:04.808832 99.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/1555566@102.220.232.19 [monthly_call_credit_limit]=[0.00000]
  402. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 set(daily_call_used_limit=0.00000)
  403. 2023-10-18 09:25:04.808832 99.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/1555566@102.220.232.19 [daily_call_used_limit]=[0.00000]
  404. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 set(monthly_call_used_limit=0.00000)
  405. 2023-10-18 09:25:04.828843 99.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/1555566@102.220.232.19 [monthly_call_used_limit]=[0.00000]
  406. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 set(receiver_accid=299)
  407. 2023-10-18 09:25:04.828843 99.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/1555566@102.220.232.19 [receiver_accid]=[299]
  408. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 export(presence_data=x|||Inextrixtestdata(3882045348)|||^1555566.* // Local // 0||||||Local|||102.220.232.19)
  409. 2023-10-18 09:25:04.828843 99.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Inextrixtestdata(3882045348)|||^1555566.* // Local // 0||||||Local|||102.220.232.19]
  410. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 export(presence_data=x|||Inextrixtestdata(3882045348)|||^1555566.* // Local // 0||||||LOCAL|||102.220.232.19)
  411. 2023-10-18 09:25:04.828843 99.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Inextrixtestdata(3882045348)|||^1555566.* // Local // 0||||||LOCAL|||102.220.232.19]
  412. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 set(sip_h_X-call-type=did)
  413. 2023-10-18 09:25:04.828843 99.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/1555566@102.220.232.19 [sip_h_X-call-type]=[did]
  414. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 set(sip_h_X-did-call-type=DID-LOCAL)
  415. 2023-10-18 09:25:04.828843 99.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/1555566@102.220.232.19 [sip_h_X-did-call-type]=[DID-LOCAL]
  416. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 bridge({sip_invite_params=user=LOCAL}[leg_timeout=30]sofia/default/1555566@sbc-jb1.goldtelcloud.co.za)
  417. 2023-10-18 09:25:04.828843 99.90% [DEBUG] switch_channel.c:1269 sofia/default/1555566@102.220.232.19 EXPORTING[export_vars] [t38_passthru]=[true] to event
  418. 2023-10-18 09:25:04.828843 99.90% [DEBUG] switch_channel.c:1269 sofia/default/1555566@102.220.232.19 EXPORTING[export_vars] [is_recording]=[1] to event
  419. 2023-10-18 09:25:04.828843 99.90% [DEBUG] switch_channel.c:1269 sofia/default/1555566@102.220.232.19 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  420. 2023-10-18 09:25:04.828843 99.90% [DEBUG] switch_channel.c:1269 sofia/default/1555566@102.220.232.19 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  421. 2023-10-18 09:25:04.828843 99.90% [DEBUG] switch_channel.c:1269 sofia/default/1555566@102.220.232.19 EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/f8f645cf-2061-4799-88f8-042c1e45f99f.wav] to event                                                                                                                                                                                  
  422. 2023-10-18 09:25:04.828843 99.90% [DEBUG] switch_channel.c:1269 sofia/default/1555566@102.220.232.19 EXPORTING[export_vars] [presence_data]=[x|||Inextrixtestdata(3882045348)|||^1555566.* // Local // 0||||||LOCAL|||102.220.232.19] to event                                                                                                                                                                                        
  423. 2023-10-18 09:25:04.828843 99.90% [DEBUG] switch_channel.c:1269 sofia/default/1555566@102.220.232.19 EXPORTING[export_vars] [presence_data]=[x|||Inextrixtestdata(3882045348)|||^1555566.* // Local // 0||||||LOCAL|||102.220.232.19] to event                                                                                                                                                                                        
  424. 2023-10-18 09:25:04.828843 99.90% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  425. 2023-10-18 09:25:04.828843 99.90% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  426. 2023-10-18 09:25:04.828843 99.90% [NOTICE] switch_channel.c:1123 New Channel sofia/default/1555566@sbc-jb1.goldtelcloud.co.za [053acded-4fe8-49b6-85f5-26d59f382a74]
  427. 2023-10-18 09:25:04.828843 99.90% [DEBUG] mod_sofia.c:5121 (sofia/default/1555566@sbc-jb1.goldtelcloud.co.za) State Change CS_NEW -> CS_INIT
  428. 2023-10-18 09:25:04.828843 99.90% [DEBUG] switch_ivr_originate.c:3151 sofia/default/1555566@sbc-jb1.goldtelcloud.co.za Setting leg timeout to 30
  429. 2023-10-18 09:25:04.828843 99.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1555566@sbc-jb1.goldtelcloud.co.za) Running State Change CS_INIT (Cur 3 Tot 461)
  430. 2023-10-18 09:25:04.828843 99.90% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1555566@sbc-jb1.goldtelcloud.co.za) State INIT
  431. 2023-10-18 09:25:04.828843 99.90% [DEBUG] mod_sofia.c:97 sofia/default/1555566@sbc-jb1.goldtelcloud.co.za SOFIA INIT
  432. 2023-10-18 09:25:04.828843 99.90% [INFO] sofia_glue.c:1651 sofia/default/1555566@sbc-jb1.goldtelcloud.co.za sending invite call-id: (null)
  433. 2023-10-18 09:25:04.828843 99.90% [DEBUG] sofia_glue.c:1654 sofia/default/1555566@sbc-jb1.goldtelcloud.co.za sending invite version: 1.10.7 -release 64bit
  434. Local SDP:                                                                                                                                                                                                        
  435. v=0                                                                                                                                                                                                                
  436. o=FreeSWITCH 1697594042 1697594043 IN IP4 102.220.232.19                                                                                                                                                          
  437. s=FreeSWITCH                                                                                                                                                                                                      
  438. c=IN IP4 102.220.232.19                                                                                                                                                                                            
  439. t=0 0                                                                                                                                                                                                              
  440. m=audio 27062 RTP/AVP 8 101                                                                                                                                                                                        
  441. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  442. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  443. a=fmtp:101 0-15                                                                                                                                                                                                    
  444. a=ptime:20                                                                                                                                                                                                        
  445. a=sendrecv                                                                                                                                                                                                        
  446.  
  447. 2023-10-18 09:25:04.828843 99.90% [DEBUG] switch_core_state_machine.c:40 sofia/default/1555566@sbc-jb1.goldtelcloud.co.za Standard INIT
  448. 2023-10-18 09:25:04.828843 99.90% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1555566@sbc-jb1.goldtelcloud.co.za) State Change CS_INIT -> CS_ROUTING
  449. 2023-10-18 09:25:04.828843 99.90% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1555566@sbc-jb1.goldtelcloud.co.za) State INIT going to sleep
  450. 2023-10-18 09:25:04.828843 99.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1555566@sbc-jb1.goldtelcloud.co.za) Running State Change CS_ROUTING (Cur 3 Tot 461)
  451. 2023-10-18 09:25:04.828843 99.90% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1555566@sbc-jb1.goldtelcloud.co.za) State ROUTING
  452. 2023-10-18 09:25:04.828843 99.90% [DEBUG] mod_sofia.c:158 sofia/default/1555566@sbc-jb1.goldtelcloud.co.za SOFIA ROUTING
  453. 2023-10-18 09:25:04.828843 99.90% [DEBUG] switch_ivr_originate.c:67 (sofia/default/1555566@sbc-jb1.goldtelcloud.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  454. 2023-10-18 09:25:04.828843 99.90% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1555566@sbc-jb1.goldtelcloud.co.za) State ROUTING going to sleep
  455. 2023-10-18 09:25:04.828843 99.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1555566@sbc-jb1.goldtelcloud.co.za) Running State Change CS_CONSUME_MEDIA (Cur 3 Tot 461)
  456. 2023-10-18 09:25:04.828843 99.90% [DEBUG] sofia.c:7499 Channel sofia/default/1555566@sbc-jb1.goldtelcloud.co.za entering state [calling][0]
  457. 2023-10-18 09:25:04.828843 99.90% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1555566@sbc-jb1.goldtelcloud.co.za) State CONSUME_MEDIA
  458. 2023-10-18 09:25:04.828843 99.90% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1555566@sbc-jb1.goldtelcloud.co.za) State CONSUME_MEDIA going to sleep
  459. 2023-10-18 09:25:04.828843 99.90% [DEBUG] sofia.c:7499 Channel sofia/default/1555566@sbc-jb1.goldtelcloud.co.za entering state [terminated][404]
  460. 2023-10-18 09:25:04.828843 99.90% [NOTICE] sofia.c:8738 Hangup sofia/default/1555566@sbc-jb1.goldtelcloud.co.za [CS_CONSUME_MEDIA] [UNALLOCATED_NUMBER]
  461. 2023-10-18 09:25:04.828843 99.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1555566@sbc-jb1.goldtelcloud.co.za) Running State Change CS_HANGUP (Cur 3 Tot 461)
  462. 2023-10-18 09:25:04.828843 99.90% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1555566@sbc-jb1.goldtelcloud.co.za) Callstate Change DOWN -> HANGUP
  463. 2023-10-18 09:25:04.828843 99.90% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1555566@sbc-jb1.goldtelcloud.co.za) State HANGUP
  464. 2023-10-18 09:25:04.828843 99.90% [DEBUG] mod_sofia.c:468 Channel sofia/default/1555566@sbc-jb1.goldtelcloud.co.za hanging up, cause: UNALLOCATED_NUMBER
  465. 2023-10-18 09:25:04.828843 99.90% [DEBUG] switch_core_state_machine.c:59 sofia/default/1555566@sbc-jb1.goldtelcloud.co.za Standard HANGUP, cause: UNALLOCATED_NUMBER
  466. 2023-10-18 09:25:04.828843 99.90% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1555566@sbc-jb1.goldtelcloud.co.za) State HANGUP going to sleep
  467. 2023-10-18 09:25:04.828843 99.90% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1555566@sbc-jb1.goldtelcloud.co.za) State Change CS_HANGUP -> CS_REPORTING
  468. 2023-10-18 09:25:04.828843 99.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1555566@sbc-jb1.goldtelcloud.co.za) Running State Change CS_REPORTING (Cur 3 Tot 461)
  469. 2023-10-18 09:25:04.828843 99.90% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1555566@sbc-jb1.goldtelcloud.co.za) State REPORTING
  470. 2023-10-18 09:25:04.828843 99.90% [INFO] mod_json_cdr.c:271 Process [053acded-4fe8-49b6-85f5-26d59f382a74.cdr.json]
  471. 2023-10-18 09:25:04.828843 99.90% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 1 [UNALLOCATED_NUMBER]
  472. 2023-10-18 09:25:04.828843 99.90% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: UNALLOCATED_NUMBER
  473. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 answer()
  474. 2023-10-18 09:25:04.828843 99.90% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/1555566@102.220.232.19.
  475. 2023-10-18 09:25:04.828843 99.90% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/1555566@102.220.232.19:
  476. v=0                                                                                                                                                                                                                
  477. o=FreeSWITCH 1697595446 1697595448 IN IP4 102.220.232.19                                                                                                                                                          
  478. s=FreeSWITCH                                                                                                                                                                                                      
  479. c=IN IP4 102.220.232.19                                                                                                                                                                                            
  480. t=0 0                                                                                                                                                                                                              
  481. m=audio 25656 RTP/AVP 8 101                                                                                                                                                                                        
  482. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  483. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  484. a=fmtp:101 0-15                                                                                                                                                                                                    
  485. a=ptime:20                                                                                                                                                                                                        
  486. a=sendrecv                                                                                                                                                                                                        
  487.  
  488. 2023-10-18 09:25:04.828843 99.90% [NOTICE] mod_dptools.c:1419 Channel [sofia/default/1555566@102.220.232.19] has been answered
  489. 2023-10-18 09:25:04.828843 99.90% [DEBUG] sofia.c:7499 Channel sofia/default/1555566@102.220.232.19 entering state [completed][200]
  490. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 record_session(/usr/local/freeswitch/recordings/f8f645cf-2061-4799-88f8-042c1e45f99f.wav)
  491. 2023-10-18 09:25:04.828843 99.90% [DEBUG] sofia.c:7499 Channel sofia/default/1555566@102.220.232.19:7777 entering state [completing][200]
  492. 2023-10-18 09:25:04.828843 99.90% [DEBUG] sofia.c:7506 Duplicate SDP
  493. v=0                                                                                                                                                                                                                
  494. o=FreeSWITCH 1697595446 1697595447 IN IP4 102.220.232.19                                                                                                                                                          
  495. s=FreeSWITCH                                                                                                                                                                                                      
  496. c=IN IP4 102.220.232.19                                                                                                                                                                                            
  497. t=0 0                                                                                                                                                                                                              
  498. m=audio 25656 RTP/AVP 8 101                                                                                                                                                                                        
  499. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  500. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  501. a=fmtp:101 0-15                                                                                                                                                                                                    
  502. a=ptime:20                                                                                                                                                                                                        
  503.  
  504. 2023-10-18 09:25:04.828843 99.90% [DEBUG] sofia.c:7499 Channel sofia/default/1555566@102.220.232.19:7777 entering state [ready][200]
  505. 2023-10-18 09:25:04.828843 99.90% [NOTICE] sofia.c:8624 Channel [sofia/default/1555566@102.220.232.19:7777] has been answered
  506. 2023-10-18 09:25:04.828843 99.90% [DEBUG] switch_channel.c:3950 (sofia/default/1555566@102.220.232.19:7777) Callstate Change EARLY -> ACTIVE
  507. 2023-10-18 09:25:04.848837 99.90% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  508. 2023-10-18 09:25:04.848837 99.90% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/1555566@102.220.232.19
  509. 2023-10-18 09:25:04.848837 99.90% [DEBUG] sofia.c:7499 Channel sofia/default/1555566@102.220.232.19 entering state [ready][200]
  510. 2023-10-18 09:25:04.848837 99.90% [DEBUG] switch_channel.c:3950 (sofia/default/1555566@102.220.232.19) Callstate Change EARLY -> ACTIVE
  511. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 export(voicemail_alternate_greet_id=1555566)
  512. 2023-10-18 09:25:04.848837 99.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [voicemail_alternate_greet_id]=[1555566]
  513. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19 voicemail(default 102.220.232.19 1555566)
  514. 2023-10-18 09:25:04.848837 99.90% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/1555566@102.220.232.19:7777] Peer UUID: d1009be5-eb0e-4658-a70c-b6e0a4d70275
  515. 2023-10-18 09:25:04.848837 99.90% [INFO] switch_channel.c:3270 sofia/default/1555566@102.220.232.19:7777 Flipping CID from "" <1555566> to "Outbound Call" <1555566>
  516. 2023-10-18 09:25:04.848837 99.90% [DEBUG] mod_commands.c:5169 (sofia/default/1555566@102.220.232.19:7777) State Change CS_CONSUME_MEDIA -> CS_EXECUTE
  517. 2023-10-18 09:25:04.848837 99.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1555566@102.220.232.19:7777) Running State Change CS_EXECUTE (Cur 3 Tot 461)
  518. 2023-10-18 09:25:04.848837 99.90% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1555566@102.220.232.19:7777) State EXECUTE
  519. 2023-10-18 09:25:04.848837 99.90% [DEBUG] mod_sofia.c:213 sofia/default/1555566@102.220.232.19:7777 SOFIA EXECUTE
  520. 2023-10-18 09:25:04.848837 99.90% [DEBUG] switch_core_state_machine.c:323 sofia/default/1555566@102.220.232.19:7777 Standard EXECUTE
  521. EXECUTE [depth=0] sofia/default/1555566@102.220.232.19:7777 txfax(/opt/ASTPP/web_interface/astpp/FAX/send_fax_files/20231018112443.tiff)
  522. 2023-10-18 09:25:04.848837 99.90% [DEBUG] mod_spandsp_fax.c:1610 Raw read codec activation Success L16 20000
  523. 2023-10-18 09:25:04.848837 99.90% [DEBUG] switch_core_codec.c:223 sofia/default/1555566@102.220.232.19:7777 Push codec L16:100
  524. 2023-10-18 09:25:04.848837 99.90% [DEBUG] mod_spandsp_fax.c:1628 Raw write codec activation Success L16
  525. 2023-10-18 09:25:04.848837 99.90% [DEBUG] switch_core_state_machine.c:168 sofia/default/1555566@sbc-jb1.goldtelcloud.co.za Standard REPORTING, cause: UNALLOCATED_NUMBER
  526. 2023-10-18 09:25:04.848837 99.90% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1555566@sbc-jb1.goldtelcloud.co.za) State REPORTING going to sleep
  527. 2023-10-18 09:25:04.848837 99.90% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1555566@sbc-jb1.goldtelcloud.co.za) State Change CS_REPORTING -> CS_DESTROY
  528. 2023-10-18 09:25:04.848837 99.90% [DEBUG] switch_core_session.c:1753 Session 461 (sofia/default/1555566@sbc-jb1.goldtelcloud.co.za) Locked, Waiting on external entities
  529. 2023-10-18 09:25:04.848837 99.90% [NOTICE] switch_core_session.c:1771 Session 461 (sofia/default/1555566@sbc-jb1.goldtelcloud.co.za) Ended
  530. 2023-10-18 09:25:04.848837 99.90% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/1555566@sbc-jb1.goldtelcloud.co.za [CS_DESTROY]
  531. 2023-10-18 09:25:04.848837 99.90% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1555566@sbc-jb1.goldtelcloud.co.za) Running State Change CS_DESTROY (Cur 2 Tot 461)
  532. 2023-10-18 09:25:04.848837 99.90% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1555566@sbc-jb1.goldtelcloud.co.za) State DESTROY
  533. 2023-10-18 09:25:04.848837 99.90% [DEBUG] mod_sofia.c:379 sofia/default/1555566@sbc-jb1.goldtelcloud.co.za SOFIA DESTROY
  534. 2023-10-18 09:25:04.848837 99.90% [DEBUG] switch_core_state_machine.c:175 sofia/default/1555566@sbc-jb1.goldtelcloud.co.za Standard DESTROY
  535. 2023-10-18 09:25:04.848837 99.90% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1555566@sbc-jb1.goldtelcloud.co.za) State DESTROY going to sleep
  536. 2023-10-18 09:25:04.888833 99.90% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  537. 2023-10-18 09:25:04.988840 99.90% [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en]
  538. 2023-10-18 09:25:04.988840 99.90% [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-person.wav] (en:en)
  539. 2023-10-18 09:25:05.028850 99.90% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  540. 2023-10-18 09:25:05.028850 99.90% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  541. 2023-10-18 09:25:05.148836 99.90% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  542. 2023-10-18 09:25:05.148836 99.90% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
  543. 2023-10-18 09:25:06.348837 99.83% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/voicemail/vm-person.wav
  544. 2023-10-18 09:25:06.448840 99.83% [DEBUG] switch_ivr_play_say.c:250 Handle say:[1555566] (en:en)
  545. 2023-10-18 09:25:06.448840 99.83% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  546. 2023-10-18 09:25:10.288833 99.83% [DEBUG] switch_ivr_play_say.c:2001 done playing file file_string://digits/1.wav!digits/5.wav!digits/5.wav!digits/5.wav!digits/5.wav!digits/6.wav!digits/6.wav
  547. 2023-10-18 09:25:10.388837 99.83% [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-not_available.wav] (en:en)
  548. 2023-10-18 09:25:10.388837 99.83% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  549. 2023-10-18 09:25:11.368839 99.83% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/voicemail/vm-not_available.wav
  550. 2023-10-18 09:25:11.488836 99.83% [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en]
  551. 2023-10-18 09:25:11.488836 99.83% [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-record_message.wav] (en:en)
  552. 2023-10-18 09:25:11.508835 99.83% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  553. 2023-10-18 09:25:16.088837 99.83% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/voicemail/vm-record_message.wav
  554. 2023-10-18 09:25:17.228836 99.83% [DEBUG] switch_ivr_play_say.c:604 Raw Codec Activated, ready to waste resources!
  555. 2023-10-18 09:25:17.228836 99.83% [DEBUG] switch_ivr_play_say.c:716 Raw Codec Activated
  556. 2023-10-18 09:25:17.228836 99.83% [DEBUG] switch_core_codec.c:223 sofia/default/1555566@102.220.232.19 Push codec L16:100
  557. 2023-10-18 09:25:21.628837 99.73% [DEBUG] switch_core_codec.c:248 sofia/default/1555566@102.220.232.19 Restore previous codec PCMA:8.
  558. 2023-10-18 09:25:21.628837 99.73% [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en]
  559. 2023-10-18 09:25:21.628837 99.73% [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-listen_to_recording.wav] (en:en)
  560. 2023-10-18 09:25:21.628837 99.73% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  561. 2023-10-18 09:25:22.848837 99.73% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/voicemail/vm-listen_to_recording.wav
  562. 2023-10-18 09:25:22.968836 99.73% [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-press.wav] (en:en)
  563. 2023-10-18 09:25:22.968836 99.73% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  564. 2023-10-18 09:25:23.368836 99.73% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/voicemail/vm-press.wav
  565. 2023-10-18 09:25:23.468837 99.73% [DEBUG] switch_ivr_play_say.c:250 Handle say:[1] (en:en)
  566. 2023-10-18 09:25:23.468837 99.73% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  567. 2023-10-18 09:25:24.168848 99.73% [DEBUG] switch_ivr_play_say.c:2001 done playing file file_string://digits/1.wav
  568. 2023-10-18 09:25:24.288836 99.73% [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-save_recording.wav] (en:en)
  569. 2023-10-18 09:25:24.288836 99.73% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  570. 2023-10-18 09:25:25.428837 99.73% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/voicemail/vm-save_recording.wav
  571. 2023-10-18 09:25:25.528837 99.73% [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-press.wav] (en:en)
  572. 2023-10-18 09:25:25.528837 99.73% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  573. 2023-10-18 09:25:25.928837 99.73% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/voicemail/vm-press.wav
  574. 2023-10-18 09:25:26.028837 99.73% [DEBUG] switch_ivr_play_say.c:250 Handle say:[2] (en:en)
  575. 2023-10-18 09:25:26.028837 99.73% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  576. 2023-10-18 09:25:26.668837 99.73% [DEBUG] switch_ivr_play_say.c:2001 done playing file file_string://digits/2.wav
  577. 2023-10-18 09:25:26.788836 99.73% [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-rerecord.wav] (en:en)
  578. 2023-10-18 09:25:26.788836 99.73% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  579. 2023-10-18 09:25:27.668836 99.73% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/voicemail/vm-rerecord.wav
  580. 2023-10-18 09:25:27.768837 99.73% [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-press.wav] (en:en)
  581. 2023-10-18 09:25:27.768837 99.73% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  582. 2023-10-18 09:25:28.168837 99.73% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/voicemail/vm-press.wav
  583. 2023-10-18 09:25:28.288836 99.73% [DEBUG] switch_ivr_play_say.c:250 Handle say:[3] (en:en)
  584. 2023-10-18 09:25:28.308836 99.73% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  585. 2023-10-18 09:25:28.948837 99.73% [DEBUG] switch_ivr_play_say.c:2001 done playing file file_string://digits/3.wav
  586. 2023-10-18 09:25:39.048837 99.90% [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en]
  587. 2023-10-18 09:25:39.048837 99.90% [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-message.wav] (en:en)
  588. 2023-10-18 09:25:39.048837 99.90% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  589. 2023-10-18 09:25:39.628837 99.90% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/voicemail/vm-message.wav
  590. 2023-10-18 09:25:39.728837 99.90% [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-saved.wav] (en:en)
  591. 2023-10-18 09:25:39.728837 99.90% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  592. 2023-10-18 09:25:40.208833 99.90% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/voicemail/vm-saved.wav
  593. 2023-10-18 09:25:40.328832 99.90% [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en]
  594. 2023-10-18 09:25:40.328832 99.90% [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-mark-urgent.wav] (en:en)
  595. 2023-10-18 09:25:40.348835 99.90% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  596. 2023-10-18 09:25:41.748837 99.90% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/voicemail/vm-mark-urgent.wav
  597. 2023-10-18 09:25:41.848837 99.90% [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-press.wav] (en:en)
  598. 2023-10-18 09:25:41.848837 99.90% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  599. 2023-10-18 09:25:42.248837 99.90% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/voicemail/vm-press.wav
  600. 2023-10-18 09:25:42.348837 99.90% [DEBUG] switch_ivr_play_say.c:250 Handle say:[*] (en:en)
  601. 2023-10-18 09:25:42.368836 99.90% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  602. 2023-10-18 09:25:43.108837 99.90% [DEBUG] switch_ivr_play_say.c:2001 done playing file file_string://ascii/42.wav
  603. 2023-10-18 09:25:43.208838 99.90% [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-continue.wav] (en:en)
  604. 2023-10-18 09:25:43.208838 99.90% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  605. 2023-10-18 09:25:43.968837 99.90% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/voicemail/vm-continue.wav
  606. 2023-10-18 09:25:44.068837 99.90% [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-press.wav] (en:en)
  607. 2023-10-18 09:25:44.068837 99.90% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  608. 2023-10-18 09:25:44.468837 99.90% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/voicemail/vm-press.wav
  609. 2023-10-18 09:25:44.588836 99.90% [DEBUG] switch_ivr_play_say.c:250 Handle say:[#] (en:en)
  610. span style="color: goldenrod; font-weight: bold;"> 2023-10-18 09:25:44.608836 99.90% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  611. 2023-10-18 09:25:45.248833 99.90% [DEBUG] switch_ivr_play_say.c:2001 done playing file file_string://ascii/35.wav
  612. 2023-10-18 09:25:55.348837 100.00% [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en]
  613. 2023-10-18 09:25:55.348837 100.00% [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-message.wav] (en:en)
  614. 2023-10-18 09:25:55.348837 100.00% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  615. 2023-10-18 09:25:55.928836 100.00% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/voicemail/vm-message.wav
  616. 2023-10-18 09:25:56.048837 100.00% [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-saved.wav] (en:en)
  617. 2023-10-18 09:25:56.048837 100.00% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  618. 2023-10-18 09:25:56.528837 100.00% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/voicemail/vm-saved.wav
  619. 2023-10-18 09:25:56.628837 100.00% [DEBUG] mod_voicemail.c:2832 Deliver VM to 1555566@102.220.232.19
  620. 2023-10-18 09:25:56.628837 100.00% [DEBUG] mod_voicemail.c:1925 Update MWI: Processing for 1555566@102.220.232.19 in inbox
  621. 2023-10-18 09:25:56.648832 100.00% [DEBUG] mod_voicemail.c:1950 Update MWI: Messages Waiting yes
  622. 2023-10-18 09:25:56.648832 100.00% [DEBUG] mod_voicemail.c:1951 Update MWI: Update Reason NEW
  623. 2023-10-18 09:25:56.648832 100.00% [DEBUG] mod_voicemail.c:1952 Update MWI: Message Account 1555566@102.220.232.19
  624. 2023-10-18 09:25:56.648832 100.00% [DEBUG] mod_voicemail.c:1953 Update MWI: Voice Message 1/0
  625. 2023-10-18 09:25:56.648832 100.00% [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en]
  626. 2023-10-18 09:25:56.648832 100.00% [ERR] sofia_presence.c:554 Cannot find profile 102.220.232.19
  627. 2023-10-18 09:25:56.648832 100.00% [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-goodbye.wav] (en:en)
  628. 2023-10-18 09:25:56.668831 100.00% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  629. 2023-10-18 09:25:57.108837 100.00% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/voicemail/vm-goodbye.wav
  630. 2023-10-18 09:25:57.208837 100.00% [NOTICE] switch_core_state_machine.c:382 sofia/default/1555566@102.220.232.19 has executed the last dialplan instruction, hanging up.
  631. 2023-10-18 09:25:57.208837 100.00% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/1555566@102.220.232.19 [CS_EXECUTE] [NORMAL_CLEARING]
  632. 2023-10-18 09:25:57.208837 100.00% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1555566@102.220.232.19) State EXECUTE going to sleep
  633. 2023-10-18 09:25:57.208837 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1555566@102.220.232.19) Running State Change CS_HANGUP (Cur 2 Tot 461)
  634. 2023-10-18 09:25:57.208837 100.00% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/f8f645cf-2061-4799-88f8-042c1e45f99f.wav
  635. 2023-10-18 09:25:57.208837 100.00% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  636. 2023-10-18 09:25:57.208837 100.00% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/1555566@102.220.232.19
  637. 2023-10-18 09:25:57.208837 100.00% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1555566@102.220.232.19) Callstate Change ACTIVE -> HANGUP
  638. 2023-10-18 09:25:57.208837 100.00% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1555566@102.220.232.19) State HANGUP
  639. 2023-10-18 09:25:57.208837 100.00% [DEBUG] mod_sofia.c:462 sofia/default/1555566@102.220.232.19 Overriding SIP cause 480 with 404 from the other leg
  640. 2023-10-18 09:25:57.208837 100.00% [DEBUG] mod_sofia.c:468 Channel sofia/default/1555566@102.220.232.19 hanging up, cause: NORMAL_CLEARING
  641. 2023-10-18 09:25:57.208837 100.00% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/1555566@102.220.232.19
  642. 2023-10-18 09:25:57.208837 100.00% [DEBUG] switch_core_state_machine.c:59 sofia/default/1555566@102.220.232.19 Standard HANGUP, cause: NORMAL_CLEARING
  643. 2023-10-18 09:25:57.208837 100.00% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1555566@102.220.232.19) State HANGUP going to sleep
  644. 2023-10-18 09:25:57.208837 100.00% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1555566@102.220.232.19) State Change CS_HANGUP -> CS_REPORTING
  645. 2023-10-18 09:25:57.208837 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1555566@102.220.232.19) Running State Change CS_REPORTING (Cur 2 Tot 461)
  646. 2023-10-18 09:25:57.208837 100.00% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1555566@102.220.232.19) State REPORTING
  647. 2023-10-18 09:25:57.208837 100.00% [INFO] mod_json_cdr.c:271 Process [f8f645cf-2061-4799-88f8-042c1e45f99f.cdr.json]
  648. 2023-10-18 09:25:57.208837 100.00% [NOTICE] sofia.c:1065 Hangup sofia/default/1555566@102.220.232.19:7777 [CS_EXECUTE] [NORMAL_CLEARING]
  649. 2023-10-18 09:25:57.208837 100.00% [INFO] mod_spandsp_fax.c:596 ==============================================================================
  650. Fax processing not successful - result (49) The call dropped prematurely.                                                                                                                                          
  651. Remote station id:                                                                                                                                                                                                
  652. Local station id:  1555566                                                                                                                                                                                        
  653. Pages transferred: 0                                                                                                                                                                                              
  654. Total fax pages:   0                                                                                                                                                                                              
  655. Image resolution:  0x0                                                                                                                                                                                            
  656. Transfer Rate:     14400                                                                                                                                                                                          
  657. ECM status         off                                                                                                                                                                                            
  658. T38 status         off                                                                                                                                                                                            
  659. remote country:                                                                                                                                                                                                    
  660. remote vendor:                                                                                                                                                                                                    
  661. remote model:                                                                                                                                                                                                      
  662. ==============================================================================                                                                                                                                    
  663. 2023-10-18 09:25:57.208837 100.00% [DEBUG] switch_core_codec.c:248 sofia/default/1555566@102.220.232.19:7777 Restore previous codec PCMA:8.
  664. 2023-10-18 09:25:57.208837 100.00% [DEBUG] switch_core_session.c:2983 sofia/default/1555566@102.220.232.19:7777 skip receive message [PHONE_EVENT] (channel is hungup already)
  665. 2023-10-18 09:25:57.208837 100.00% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1555566@102.220.232.19:7777) State EXECUTE going to sleep
  666. 2023-10-18 09:25:57.208837 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1555566@102.220.232.19:7777) Running State Change CS_HANGUP (Cur 2 Tot 461)
  667. 2023-10-18 09:25:57.208837 100.00% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1555566@102.220.232.19:7777) Callstate Change ACTIVE -> HANGUP
  668. 2023-10-18 09:25:57.208837 100.00% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1555566@102.220.232.19:7777) State HANGUP
  669. 2023-10-18 09:25:57.208837 100.00% [DEBUG] mod_sofia.c:468 Channel sofia/default/1555566@102.220.232.19:7777 hanging up, cause: NORMAL_CLEARING
  670. 2023-10-18 09:25:57.208837 100.00% [DEBUG] switch_core_state_machine.c:59 sofia/default/1555566@102.220.232.19:7777 Standard HANGUP, cause: NORMAL_CLEARING
  671. 2023-10-18 09:25:57.208837 100.00% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1555566@102.220.232.19:7777) State HANGUP going to sleep
  672. 2023-10-18 09:25:57.208837 100.00% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1555566@102.220.232.19:7777) State Change CS_HANGUP -> CS_REPORTING
  673. 2023-10-18 09:25:57.208837 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1555566@102.220.232.19:7777) Running State Change CS_REPORTING (Cur 2 Tot 461)
  674. 2023-10-18 09:25:57.208837 100.00% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1555566@102.220.232.19:7777) State REPORTING
  675. 2023-10-18 09:25:57.208837 100.00% [INFO] mod_json_cdr.c:271 Process [d1009be5-eb0e-4658-a70c-b6e0a4d70275.cdr.json]
  676. 2023-10-18 09:25:57.228833 100.00% [DEBUG] switch_core_state_machine.c:168 sofia/default/1555566@102.220.232.19:7777 Standard REPORTING, cause: NORMAL_CLEARING
  677. 2023-10-18 09:25:57.228833 100.00% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1555566@102.220.232.19:7777) State REPORTING going to sleep
  678. 2023-10-18 09:25:57.228833 100.00% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1555566@102.220.232.19:7777) State Change CS_REPORTING -> CS_DESTROY
  679. 2023-10-18 09:25:57.228833 100.00% [DEBUG] switch_core_session.c:1753 Session 459 (sofia/default/1555566@102.220.232.19:7777) Locked, Waiting on external entities
  680. 2023-10-18 09:25:57.228833 100.00% [NOTICE] switch_core_session.c:1771 Session 459 (sofia/default/1555566@102.220.232.19:7777) Ended
  681. 2023-10-18 09:25:57.228833 100.00% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/1555566@102.220.232.19:7777 [CS_DESTROY]
  682. 2023-10-18 09:25:57.228833 100.00% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1555566@102.220.232.19:7777) Running State Change CS_DESTROY (Cur 1 Tot 461)
  683. 2023-10-18 09:25:57.228833 100.00% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1555566@102.220.232.19:7777) State DESTROY
  684. 2023-10-18 09:25:57.228833 100.00% [DEBUG] mod_sofia.c:379 sofia/default/1555566@102.220.232.19:7777 SOFIA DESTROY
  685. 2023-10-18 09:25:57.228833 100.00% [DEBUG] switch_core_state_machine.c:175 sofia/default/1555566@102.220.232.19:7777 Standard DESTROY
  686. 2023-10-18 09:25:57.228833 100.00% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1555566@102.220.232.19:7777) State DESTROY going to sleep
  687. 2023-10-18 09:25:57.248836 100.00% [DEBUG] switch_core_state_machine.c:168 sofia/default/1555566@102.220.232.19 Standard REPORTING, cause: NORMAL_CLEARING
  688. 2023-10-18 09:25:57.248836 100.00% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1555566@102.220.232.19) State REPORTING going to sleep
  689. 2023-10-18 09:25:57.248836 100.00% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1555566@102.220.232.19) State Change CS_REPORTING -> CS_DESTROY
  690. 2023-10-18 09:25:57.248836 100.00% [DEBUG] switch_core_session.c:1753 Session 460 (sofia/default/1555566@102.220.232.19) Locked, Waiting on external entities
  691. 2023-10-18 09:25:57.248836 100.00% [NOTICE] switch_core_session.c:1771 Session 460 (sofia/default/1555566@102.220.232.19) Ended
  692. 2023-10-18 09:25:57.248836 100.00% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/1555566@102.220.232.19 [CS_DESTROY]
  693. 2023-10-18 09:25:57.248836 100.00% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1555566@102.220.232.19) Running State Change CS_DESTROY (Cur 0 Tot 461)
  694. 2023-10-18 09:25:57.248836 100.00% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1555566@102.220.232.19) State DESTROY
  695. 2023-10-18 09:25:57.248836 100.00% [DEBUG] mod_sofia.c:379 sofia/default/1555566@102.220.232.19 SOFIA DESTROY
  696. 2023-10-18 09:25:57.248836 100.00% [DEBUG] switch_core_state_machine.c:175 sofia/default/1555566@102.220.232.19 Standard DESTROY
  697. 2023-10-18 09:25:57.248836 100.00% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1555566@102.220.232.19) State DESTROY going to sleep
  698. freeswitch@ss1-jb1> sofia status
  699.                      Name          Type                                       Data      State
  700. =================================================================================================
  701.                   default       profile          sip:mod_sofia@102.220.232.19:7777      RUNNING (0)
  702.          default::Goldtel       gateway         sip:admin@gtsbc.goldtelcloud.co.za      NOREG
  703.     default::YourProvider       gateway              sip:admin@159.203.131.36:5061      NOREG
  704. =================================================================================================
  705. 1 profile 0 aliases
  706.  
  707. 2023-10-18 09:43:31.188835 99.80% [NOTICE] switch_channel.c:1123 New Channel sofia/default/27876300012@196.7.219.43:8356 [fd8a6558-c79d-448b-8944-c97d2d6a4270]
  708. 2023-10-18 09:43:31.188835 99.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_NEW (Cur 1 Tot 462)
  709. 2023-10-18 09:43:31.188835 99.80% [INFO] sofia.c:10462 sofia/default/27876300012@196.7.219.43:8356 receiving invite from 102.220.232.100:5060 version: 1.10.7 -release 64bit call-id: 4f103b18-7ee5842a-16d8a64a-abfa484                                                                                                                                                                                                              
  710. 2023-10-18 09:43:31.188835 99.80% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 102.220.232.100:0.
  711. 2023-10-18 09:43:31.188835 99.80% [DEBUG] sofia.c:10585 IP 102.220.232.100 Approved by acl "default[]". Access Granted.
  712. 2023-10-18 09:43:31.188835 99.80% [DEBUG] sofia.c:7499 Channel sofia/default/27876300012@196.7.219.43:8356 entering state [received][100]
  713. 2023-10-18 09:43:31.188835 99.80% [DEBUG] sofia.c:7509 Remote SDP:
  714. v=0                                                                                                                                                                                                                
  715. o=bk 4623791 1 IN IP4 196.7.219.43                                                                                                                                                                                
  716. s=-                                                                                                                                                                                                                
  717. c=IN IP4 196.7.219.43                                                                                                                                                                                              
  718. t=0 0                                                                                                                                                                                                              
  719. m=audio 35756 RTP/AVP 8 18 0 101                                                                                                                                                                                  
  720. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  721. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  722. a=fmtp:18 annexb=no                                                                                                                                                                                                
  723. a=rtpmap:0 PCMU/8000                                                                                                                                                                                              
  724. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  725. a=fmtp:101 0-16                                                                                                                                                                                                    
  726. a=ptime:20                                                                                                                                                                                                        
  727. a=ptime:20                                                                                                                                                                                                        
  728. a=ptime:20                                                                                                                                                                                                        
  729.  
  730. 2023-10-18 09:43:31.188835 99.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  731. 2023-10-18 09:43:31.188835 99.80% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  732. 2023-10-18 09:43:31.188835 99.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  733. 2023-10-18 09:43:31.188835 99.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  734. 2023-10-18 09:43:31.188835 99.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  735. 2023-10-18 09:43:31.188835 99.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  736. 2023-10-18 09:43:31.188835 99.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  737. 2023-10-18 09:43:31.188835 99.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  738. 2023-10-18 09:43:31.188835 99.80% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  739. 2023-10-18 09:43:31.188835 99.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G722:9:8000:20:64000:1]
  740. 2023-10-18 09:43:31.188835 99.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  741. 2023-10-18 09:43:31.188835 99.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  742. 2023-10-18 09:43:31.188835 99.80% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  743. 2023-10-18 09:43:31.188835 99.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  744. 2023-10-18 09:43:31.188835 99.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  745. 2023-10-18 09:43:31.188835 99.80% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  746. 2023-10-18 09:43:31.188835 99.80% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/27876300012@196.7.219.43:8356 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  747. 2023-10-18 09:43:31.188835 99.80% [DEBUG] switch_core_codec.c:111 sofia/default/27876300012@196.7.219.43:8356 Original read codec set to PCMA:8
  748. 2023-10-18 09:43:31.188835 99.80% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  749. 2023-10-18 09:43:31.188835 99.80% [DEBUG] switch_core_media.c:5973 sofia/default/27876300012@196.7.219.43:8356 Set 2833 dtmf send payload to 101 recv payload to 101
  750. 2023-10-18 09:43:31.188835 99.80% [DEBUG] sofia.c:7933 (sofia/default/27876300012@196.7.219.43:8356) State Change CS_NEW -> CS_INIT
  751. 2023-10-18 09:43:31.188835 99.80% [DEBUG] switch_core_state_machine.c:600 (sofia/default/27876300012@196.7.219.43:8356) State NEW
  752. 2023-10-18 09:43:31.188835 99.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_INIT (Cur 1 Tot 462)
  753. 2023-10-18 09:43:31.188835 99.80% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27876300012@196.7.219.43:8356) State INIT
  754. 2023-10-18 09:43:31.188835 99.80% [DEBUG] mod_sofia.c:97 sofia/default/27876300012@196.7.219.43:8356 SOFIA INIT
  755. 2023-10-18 09:43:31.188835 99.80% [DEBUG] switch_core_state_machine.c:40 sofia/default/27876300012@196.7.219.43:8356 Standard INIT
  756. 2023-10-18 09:43:31.188835 99.80% [DEBUG] switch_core_state_machine.c:48 (sofia/default/27876300012@196.7.219.43:8356) State Change CS_INIT -> CS_ROUTING
  757. 2023-10-18 09:43:31.188835 99.80% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27876300012@196.7.219.43:8356) State INIT going to sleep
  758. 2023-10-18 09:43:31.188835 99.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_ROUTING (Cur 1 Tot 462)
  759. 2023-10-18 09:43:31.188835 99.80% [DEBUG] switch_channel.c:2380 (sofia/default/27876300012@196.7.219.43:8356) Callstate Change DOWN -> RINGING
  760. 2023-10-18 09:43:31.188835 99.80% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876300012@196.7.219.43:8356) State ROUTING
  761. 2023-10-18 09:43:31.188835 99.80% [DEBUG] mod_sofia.c:158 sofia/default/27876300012@196.7.219.43:8356 SOFIA ROUTING
  762. 2023-10-18 09:43:31.188835 99.80% [DEBUG] switch_core_state_machine.c:230 sofia/default/27876300012@196.7.219.43:8356 Standard ROUTING
  763. 2023-10-18 09:43:31.188835 99.80% [INFO] mod_dialplan_xml.c:639 Processing Ext 112 <27876300012>->0217730186 in context default
  764. 2023-10-18 09:43:31.228836 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  765. 2023-10-18 09:43:31.248836 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  766. 2023-10-18 09:43:31.248836 99.80% [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')                                                                                                                                                                                                
  767. 2023-10-18 09:43:31.248836 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  768. 2023-10-18 09:43:31.268835 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 0217730186
  769. 2023-10-18 09:43:31.268835 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0217730186' AND status=0 limit 1
  770. 2023-10-18 09:43:31.268835 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER27876300012
  771. 2023-10-18 09:43:31.268835 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  772. 2023-10-18 09:43:31.268835 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '0217730186' limit 1
  773. 2023-10-18 09:43:31.268835 99.77% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  774. 2023-10-18 09:43:31.268835 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 27876300012 / 27876300012
  775. 2023-10-18 09:43:31.268835 99.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  776. 2023-10-18 09:43:31.268835 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1                                                                                                                                                                                          
  777. 2023-10-18 09:43:31.268835 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....0217730186
  778. 2023-10-18 09:43:31.268835 99.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0217730186
  779. 2023-10-18 09:43:31.268835 99.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27217730186
  780. 2023-10-18 09:43:31.268835 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27217730186
  781. 2023-10-18 09:43:31.268835 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27217730186
  782. 2023-10-18 09:43:31.268835 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27217730186" LIMIT 1                                    
  783. 2023-10-18 09:43:31.268835 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  784. 2023-10-18 09:43:31.268835 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="0217730186" limit 1                                                                                                                                                                    
  785. 2023-10-18 09:43:31.268835 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  786. 2023-10-18 09:43:31.268835 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 196.7.219.43
  787. 2023-10-18 09:43:31.268835 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 8773282952]
  788. 2023-10-18 09:43:31.268835 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "8773282952" OR id = "8773282952") AND deleted = 0 limit 1
  789. 2023-10-18 09:43:31.288841 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0217730186.*' OR blocked_patterns = '^021773018.*' OR blocked_patterns = '^02177301.*' OR blocked_patterns = '^0217730.*' OR blocked_patterns = '^021773.*' OR blocked_patterns = '^02177.*' OR blocked_patterns = '^0217.*' OR blocked_patterns = '^021.*' OR blocked_patterns = '^02.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 419 limit 1                                                                                                              
  790. 2023-10-18 09:43:31.288841 99.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 43
  791. 2023-10-18 09:43:31.288841 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1                                                                                                                                                                                          
  792. 2023-10-18 09:43:31.288841 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....0217730186
  793. 2023-10-18 09:43:31.288841 99.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0217730186
  794. 2023-10-18 09:43:31.288841 99.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27217730186
  795. 2023-10-18 09:43:31.288841 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27217730186
  796. 2023-10-18 09:43:31.288841 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27217730186
  797. 2023-10-18 09:43:31.288841 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="27217730186" AND (accountid = 0 OR status = 1) LIMIT 1
  798. 2023-10-18 09:43:31.288841 99.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 43
  799. 2023-10-18 09:43:31.288841 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1                                                                                                                                                                                          
  800. 2023-10-18 09:43:31.288841 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....0217730186
  801. 2023-10-18 09:43:31.288841 99.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0217730186
  802. 2023-10-18 09:43:31.288841 99.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27217730186
  803. 2023-10-18 09:43:31.288841 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27217730186
  804. 2023-10-18 09:43:31.288841 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27217730186
  805. 2023-10-18 09:43:31.288841 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^27217730186.*' OR patterns = '^2721773018.*' OR patterns = '^272177301.*' OR patterns = '^27217730.*' OR patterns = '^2721773.*' OR patterns = '^272177.*' OR patterns = '^27217.*' OR patterns = '^2721.*' OR patterns = '^272.*' OR patterns = '^27.*' OR patterns = '^2.*' OR patterns ='--') AND accountid = 419 ORDER BY LENGTH(PKGPTR.patterns) DESC                                                                                                                                                                                                            
  806. 2023-10-18 09:43:31.288841 99.77% [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 ="27217730186" AND A.accountid = '419' limit 1                                                                                                                                                                
  807. 2023-10-18 09:43:31.288841 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 27217730186
  808. 2023-10-18 09:43:31.288841 99.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  809. 2023-10-18 09:43:31.288841 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1                                                                                                                                                                                          
  810. 2023-10-18 09:43:31.288841 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27217730186
  811. 2023-10-18 09:43:31.288841 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27217730186
  812. 2023-10-18 09:43:31.288841 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27217730186
  813. 2023-10-18 09:43:31.288841 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27217730186" LIMIT 1                                    
  814. 2023-10-18 09:43:31.288841 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  815. 2023-10-18 09:43:31.288841 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="27217730186" limit 1                                                                                                                                                                  
  816. 2023-10-18 09:43:31.288841 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  817. 2023-10-18 09:43:31.288841 99.77% [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 = '27217730186' OR number = '2721773018' OR number = '272177301' OR number = '27217730' OR number = '2721773' OR number = '272177' OR number = '27217' OR number = '2721' OR number = '272' OR number = '27' OR number = '2' OR number ='--') OR (number = '27217730186*' OR number = '2721773018*' OR number = '272177301*' OR number = '27217730*' OR number = '2721773*' OR number = '272177*' OR number = '27217*' OR number = '2721*' OR number = '272*' OR number = '27*' OR number = '2*' OR number ='--') OR (number = '27876300012' OR number = '2787630001' OR number = '278763000' OR number = '27876300' OR number = '2787630' OR number = '278763' OR number = '27876' OR number = '2787' OR number = '278' OR number = '27' OR number = '2' OR number ='--') OR (number = '27876300012*' OR number = '2787630001*' OR number = '278763000*' OR number = '27876300*' OR number = '2787630*' OR number = '278763*' OR number = '27876*' OR number = '2787*' OR number = '278*' OR number = '27*' OR number = '2*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC                                                                                                                                                                                  
  818. 2023-10-18 09:43:31.288841 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  819. 2023-10-18 09:43:31.288841 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : 27876300012
  820. 2023-10-18 09:43:31.288841 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 8
  821. 2023-10-18 09:43:31.288841 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Query :Select count(*) as count from dids where number='27876300012' and accountid = "419" and status=0
  822. 2023-10-18 09:43:31.288841 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_COUNT] COUNT :1
  823. 2023-10-18 09:43:31.288841 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '27217730186' OR routing_prefix = '2721773018' OR routing_prefix = '272177301' OR routing_prefix = '27217730' OR routing_prefix = '2721773' OR routing_prefix = '272177' OR routing_prefix = '27217' OR routing_prefix = '2721' OR routing_prefix = '272' OR routing_prefix = '27' OR routing_prefix = '2' OR routing_prefix ='--') AND status = 0 and reseller_id = 405 limit 1                                                                          
  824. 2023-10-18 09:43:31.288841 99.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] Get Destination Number (27217730186)!!!!
  825. 2023-10-18 09:43:31.288841 99.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] After Append Ported Number : (27217730186)!!!!
  826. 2023-10-18 09:43:31.288841 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  827. 2023-10-18 09:43:31.288841 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 419
  828. 2023-10-18 09:43:31.288841 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 8773282952
  829. 2023-10-18 09:43:31.288841 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 61.034
  830. 2023-10-18 09:43:31.288841 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  831. 2023-10-18 09:43:31.288841 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 187
  832. 2023-10-18 09:43:31.288841 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 8
  833. 2023-10-18 09:43:31.288841 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  834. 2023-10-18 09:43:31.288841 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 187 AND status = 0
  835. 2023-10-18 09:43:31.288841 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  836. 2023-10-18 09:43:31.288841 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 187 AND status = 0
  837. 2023-10-18 09:43:31.288841 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^27217730186.*' OR pattern = '^2721773018.*' OR pattern = '^272177301.*' OR pattern = '^27217730.*' OR pattern = '^2721773.*' OR pattern = '^272177.*' OR pattern = '^27217.*' OR pattern = '^2721.*' OR pattern = '^272.*' OR pattern = '^27.*' OR pattern = '^2.*' OR pattern ='--') AND (caller_id_pattern = '^27876300012.*' OR caller_id_pattern = '^2787630001.*' OR caller_id_pattern = '^278763000.*' OR caller_id_pattern = '^27876300.*' OR caller_id_pattern = '^2787630.*' OR caller_id_pattern = '^278763.*' OR caller_id_pattern = '^27876.*' OR caller_id_pattern = '^2787.*' OR caller_id_pattern = '^278.*' OR caller_id_pattern = '^27.*' OR caller_id_pattern = '^2.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 187 OR accountid=419)  ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1                      
  838. 2023-10-18 09:43:31.288841 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  839. 2023-10-18 09:43:31.288841 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  840. 2023-10-18 09:43:31.288841 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 9010307
  841. 2023-10-18 09:43:31.288841 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  842. 2023-10-18 09:43:31.288841 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  843. 2023-10-18 09:43:31.288841 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.33000
  844. 2023-10-18 09:43:31.288841 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : RSA Goldtel Geographic
  845. 2023-10-18 09:43:31.288841 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  846. 2023-10-18 09:43:31.288841 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 419
  847. 2023-10-18 09:43:31.288841 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 97
  848. 2023-10-18 09:43:31.288841 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  849. 2023-10-18 09:43:31.288841 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  850. 2023-10-18 09:43:31.288841 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your61.034 balance Accountid 419 !!!
  851. 2023-10-18 09:43:31.288841 99.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 60 mins!
  852. 2023-10-18 09:43:31.288841 99.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 405
  853. 2023-10-18 09:43:31.288841 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "405" OR number = "405") AND deleted = 0 limit 1
  854. 2023-10-18 09:43:31.308832 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^27217730186.*' OR blocked_patterns = '^2721773018.*' OR blocked_patterns = '^272177301.*' OR blocked_patterns = '^27217730.*' OR blocked_patterns = '^2721773.*' OR blocked_patterns = '^272177.*' OR blocked_patterns = '^27217.*' OR blocked_patterns = '^2721.*' OR blocked_patterns = '^272.*' OR blocked_patterns = '^27.*' OR blocked_patterns = '^2.*' OR blocked_patterns ='--') AND accountid = 405 limit 1                                                                        
  855. 2023-10-18 09:43:31.308832 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
  856. 2023-10-18 09:43:31.308832 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 405
  857. 2023-10-18 09:43:31.308832 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 6840389175
  858. 2023-10-18 09:43:31.308832 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 390.4625
  859. 2023-10-18 09:43:31.308832 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  860. 2023-10-18 09:43:31.308832 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 189
  861. 2023-10-18 09:43:31.308832 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 189 AND status = 0
  862. 2023-10-18 09:43:31.308832 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  863. 2023-10-18 09:43:31.308832 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 189 AND status = 0
  864. 2023-10-18 09:43:31.308832 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^27217730186.*' OR pattern = '^2721773018.*' OR pattern = '^272177301.*' OR pattern = '^27217730.*' OR pattern = '^2721773.*' OR pattern = '^272177.*' OR pattern = '^27217.*' OR pattern = '^2721.*' OR pattern = '^272.*' OR pattern = '^27.*' OR pattern = '^2.*' OR pattern ='--') AND (caller_id_pattern = '^27876300012.*' OR caller_id_pattern = '^2787630001.*' OR caller_id_pattern = '^278763000.*' OR caller_id_pattern = '^27876300.*' OR caller_id_pattern = '^2787630.*' OR caller_id_pattern = '^278763.*' OR caller_id_pattern = '^27876.*' OR caller_id_pattern = '^2787.*' OR caller_id_pattern = '^278.*' OR caller_id_pattern = '^27.*' OR caller_id_pattern = '^2.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 189 OR accountid=405)  ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1                      
  865. 2023-10-18 09:43:31.308832 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  866. 2023-10-18 09:43:31.308832 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  867. 2023-10-18 09:43:31.308832 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 8853065
  868. 2023-10-18 09:43:31.308832 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  869. 2023-10-18 09:43:31.308832 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  870. 2023-10-18 09:43:31.308832 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.29000
  871. 2023-10-18 09:43:31.308832 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : RSA Goldtel Geographic
  872. 2023-10-18 09:43:31.308832 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  873. 2023-10-18 09:43:31.308832 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 405
  874. 2023-10-18 09:43:31.308832 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 97
  875. 2023-10-18 09:43:31.308832 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  876. 2023-10-18 09:43:31.308832 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  877. 2023-10-18 09:43:31.308832 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your390.4625 balance Accountid 405 !!!
  878. 2023-10-18 09:43:31.308832 99.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 60 mins!
  879. 2023-10-18 09:43:31.308832 99.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 60 mins!
  880. 2023-10-18 09:43:31.308832 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Daily call credit limit : 60
  881. 2023-10-18 09:43:31.308832 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:9010307|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.33000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:419||ID:8853065|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:189|MARKUP:0|CI:0|ACCID:405                                                                                                                                                                                  
  882. 2023-10-18 09:43:31.308832 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  883. 2023-10-18 09:43:31.308832 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 0
  884. 2023-10-18 09:43:31.308832 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 60 minutes
  885. 2023-10-18 09:43:31.308832 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 9010307
  886. 2023-10-18 09:43:31.308832 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :97
  887. 2023-10-18 09:43:31.308832 99.77% [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 = '^27217730186.*' OR pattern = '^2721773018.*' OR pattern = '^272177301.*' OR pattern = '^27217730.*' OR pattern = '^2721773.*' OR pattern = '^272177.*' OR pattern = '^27217.*' OR pattern = '^2721.*' OR pattern = '^272.*' OR pattern = '^27.*' OR pattern = '^2.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (97)  AND TR.effective_date <= UTC_TIMESTAMP() ORDER by FIELD(TR.trunk_id,97),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC                                                                            
  888. 2023-10-18 09:43:31.308832 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [HYBRID_ROUTING] LCR With Cost In 2nd Stage
  889. 2023-10-18 09:43:31.308832 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  890. 2023-10-18 09:43:31.308832 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3039419
  891. 2023-10-18 09:43:31.308832 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^27217730.*
  892. 2023-10-18 09:43:31.308832 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : RSA Goldtel Geographic
  893. 2023-10-18 09:43:31.308832 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  894. 2023-10-18 09:43:31.308832 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  895. 2023-10-18 09:43:31.308832 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^27217730.*
  896. 2023-10-18 09:43:31.308832 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  897. 2023-10-18 09:43:31.308832 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  898. 2023-10-18 09:43:31.308832 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 97
  899. 2023-10-18 09:43:31.308832 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : Goldtel
  900. 2023-10-18 09:43:31.308832 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  901. 2023-10-18 09:43:31.308832 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  902. 2023-10-18 09:43:31.308832 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 159
  903. 2023-10-18 09:43:31.308832 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 10
  904. 2023-10-18 09:43:31.308832 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  905. 2023-10-18 09:43:31.308832 99.77% [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 = 419 AND status=0 LIMIT 1                                                                                                                                                                                      
  906. 2023-10-18 09:43:31.308832 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 60
  907. 2023-10-18 09:43:31.308832 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = '27876300012' and status = 0 limit 1
  908. 2023-10-18 09:43:31.308832 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  909. 2023-10-18 09:43:31.308832 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_recording_call] Query :SELECT username FROM sip_devices WHERE username = '27876300012' and status = 0 limit 1
  910. 2023-10-18 09:43:31.308832 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE (number = 419 or id = 419 ) and status = 0 limit 1
  911. 2023-10-18 09:43:31.308832 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  912. 2023-10-18 09:43:31.308832 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 189 AND status = 0
  913. 2023-10-18 09:43:31.308832 99.77% [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 = 159) AND status=0 limit 1                                                                                                                                                                
  914. 2023-10-18 09:43:31.308832 99.77% [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 = 97) AND status=0 limit 1                                                                                                                                                                    
  915. 2023-10-18 09:43:31.328832 99.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  916. 2023-10-18 09:43:31.328832 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1                                                                                                                                                                                          
  917. 2023-10-18 09:43:31.328832 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....0217730186
  918. 2023-10-18 09:43:31.328832 99.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0217730186
  919. 2023-10-18 09:43:31.328832 99.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27217730186
  920. 2023-10-18 09:43:31.328832 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27217730186
  921. 2023-10-18 09:43:31.328832 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27217730186
  922. 2023-10-18 09:43:31.328832 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27217730186" LIMIT 1                                    
  923. 2023-10-18 09:43:31.328832 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  924. 2023-10-18 09:43:31.328832 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  925. <?xml version="1.0" encoding="UTF-8" standalone="no"?>                                                                                                                                                            
  926. <document type="freeswitch/xml">                                                                                                                                                                                  
  927. <section name="dialplan" description="ASTPP Dialplan">                                                                                                                                                            
  928. <context name="default">                                                                                                                                                                                          
  929. <extension name="27217730186">                                                                                                                                                                                    
  930. <condition field="destination_number" expression="0217730186">                                                                                                                                                    
  931. <action application="set" data="effective_destination_number=27217730186"/>                                                                                                                                        
  932. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>                                                                                                                                        
  933. <action application="set" data="bridge_pre_execute_bleg_data=+3600 normal_clearing"/>                                                                                                                              
  934. <action application="set" data="notify_flag=0"/>                                                                                                                                                                  
  935. <action application="set" data="notify_credit_limit=10.00000"/>                                                                                                                                                    
  936. <action application="set" data="type=0"/>                                                                                                                                                                          
  937. <action application="set" data="callstart=2023-10-18 09:43:31"/>                                                                                                                                                  
  938. <action application="set" data="hangup_after_bridge=true"/>                                                                                                                                                        
  939. <action application="set" data="continue_on_fail=TRUE"/>                                                                                                                                                          
  940. <action application="set" data="account_id=419"/>                                                                                                                                                                  
  941. <action application="set" data="parent_id=405"/>                                                                                                                                                                  
  942. <action application="set" data="entity_id=0"/>                                                                                                                                                                    
  943. <action application="set" data="call_processed=internal"/>                                                                                                                                                        
  944. <action application="set" data="call_direction=outbound"/>                                                                                                                                                        
  945. <action application="set" data="accountname=default"/>                                                                                                                                                            
  946. <action application="export" data="t38_passthru=true"/>                                                                                                                                                            
  947. <action application="set" data="fax_enable_t38=true"/>                                                                                                                                                            
  948. <action application="set" data="fax_enable_t38_request=true"/>                                                                                                                                                    
  949. <action application="set" data="filename1=astpp.pbx.lua"/>                                                                                                                                                        
  950. <action application="set" data="origination_rates=ID:9010307|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.33000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:419||ID:8853065|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:189|MARKUP:0|CI:0|ACCID:405"/>        
  951. <action application="set" data="original_caller_id_name=27876300012"/>                                                                                                                                            
  952. <action application="set" data="original_caller_id_number=27876300012"/>                                                                                                                                          
  953. <action application="limit" data="db 8773282952 user_8773282952 16 "/>                                                                                                                                            
  954. <action application="limit" data="db 6840389175 user_6840389175 20 "/>                                                                                                                                            
  955. <action application="export" data="is_recording=1"/>                                                                                                                                                              
  956. <action application="export" data="media_bug_answer_req=true"/>                                                                                                                                                    
  957. <action application="export" data="record_sample_rate=8000"/>                                                                                                                                                      
  958. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>                                                                                                              
  959. <action application="set" data="effective_caller_id_name=27876300012"/>                                                                                                                                            
  960. <action application="set" data="effective_caller_id_number=27876300012"/>                                                                                                                                          
  961. <action application="set" data="calltype=STANDARD"/>                                                                                                                                                              
  962. <action application="set" data="termination_rates=ID:3039419|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.09000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159"/>                                                                                                                                                                                                                  
  963. <action application="set" data="trunk_id=97"/>                                                                                                                                                                    
  964. <action application="set" data="provider_id=159"/>                                                                                                                                                                
  965. <action application="set" data="rate_flag=0"/>                                                                                                                                                                    
  966. <action application="set" data="daily_call_credit_limit=50.00000"/>                                                                                                                                                
  967. <action application="set" data="monthly_call_credit_limit=500.00000"/>                                                                                                                                            
  968. <action application="set" data="daily_call_used_limit=13.86300"/>                                                                                                                                                  
  969. <action application="set" data="monthly_call_used_limit=203.74390"/>                                                                                                                                              
  970. <action application="set" data="quality_trunk_seq=97"/>                                                                                                                                                            
  971. <action application="set" data="force_trunk_flag=9010307"/>                                                                                                                                                        
  972. <action application="export" data="presence_data=trunk_id=97"/>                                                                                                                                                    
  973. <action application="set" data="intcall=0"/>                                                                                                                                                                      
  974. <action application="export" data="presence_id=27217730186"/>                                                                                                                                                      
  975. <action application="export" data="presence_data=x//405|||Goldtel(8773282952)|||^27217730.* // RSA Goldtel Geographic // 0.33000 |||Goldtel // ^27217730.* // RSA Goldtel Geographic // 0.09000 // trunk_id=97|||STD|||196.7.219.43|||0.29000 // ^27217730.* // RSA Goldtel Geographic"/>                                                                                                                                            
  976. <action application="limit" data="db Goldtel gw_Goldtel 10 "/>                                                                                                                                                    
  977. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/Goldtel/27217730186;fs_path=sip:102.220.232.100:5060"/>                                
  978. </condition>                                                                                                                                                                                                      
  979. </extension>                                                                                                                                                                                                      
  980. </context>                                                                                                                                                                                                        
  981. </section>                                                                                                                                                                                                        
  982. </document>                                                                                                                                                                                                        
  983. Dialplan: sofia/default/27876300012@196.7.219.43:8356 parsing [default->27217730186] continue=false
  984. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Regex (PASS) [27217730186] destination_number(0217730186) =~ /0217730186/ break=on-false
  985. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(effective_destination_number=27217730186)
  986. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  987. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(bridge_pre_execute_bleg_data=+3600 normal_clearing)
  988. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(notify_flag=0)
  989. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(notify_credit_limit=10.00000)
  990. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(type=0)
  991. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(callstart=2023-10-18 09:43:31)
  992. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(hangup_after_bridge=true)
  993. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(continue_on_fail=TRUE)
  994. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(account_id=419)
  995. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(parent_id=405)
  996. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(entity_id=0)
  997. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(call_processed=internal)
  998. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(call_direction=outbound)
  999. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(accountname=default)
  1000. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(t38_passthru=true)
  1001. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(fax_enable_t38=true)
  1002. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(fax_enable_t38_request=true)
  1003. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(filename1=astpp.pbx.lua)
  1004. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(origination_rates=ID:9010307|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.33000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:419||ID:8853065|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:189|MARKUP:0|CI:0|ACCID:405)                                                                                                                                                                                            
  1005. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(original_caller_id_name=27876300012)
  1006. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(original_caller_id_number=27876300012)
  1007. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action limit(db 8773282952 user_8773282952 16 )
  1008. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action limit(db 6840389175 user_6840389175 20 )
  1009. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(is_recording=1)
  1010. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(media_bug_answer_req=true)
  1011. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(record_sample_rate=8000)
  1012. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  1013. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(effective_caller_id_name=27876300012)
  1014. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(effective_caller_id_number=27876300012)
  1015. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(calltype=STANDARD)
  1016. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(termination_rates=ID:3039419|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.09000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159)                                                                                                                                                                                  
  1017. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(trunk_id=97)
  1018. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(provider_id=159)
  1019. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(rate_flag=0)
  1020. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(daily_call_credit_limit=50.00000)
  1021. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(monthly_call_credit_limit=500.00000)
  1022. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(daily_call_used_limit=13.86300)
  1023. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(monthly_call_used_limit=203.74390)
  1024. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(quality_trunk_seq=97)
  1025. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(force_trunk_flag=9010307)
  1026. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(presence_data=trunk_id=97)
  1027. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(intcall=0)
  1028. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(presence_id=27217730186)
  1029. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(presence_data=x//405|||Goldtel(8773282952)|||^27217730.* // RSA Goldtel Geographic // 0.33000 |||Goldtel // ^27217730.* // RSA Goldtel Geographic // 0.09000 // trunk_id=97|||STD|||196.7.219.43|||0.29000 // ^27217730.* // RSA Goldtel Geographic)                                                                                                              
  1030. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action limit(db Goldtel gw_Goldtel 10 )
  1031. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action bridge({sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/Goldtel/27217730186;fs_path=sip:102.220.232.100:5060)
  1032. 2023-10-18 09:43:31.328832 99.77% [DEBUG] switch_core_state_machine.c:281 (sofia/default/27876300012@196.7.219.43:8356) State Change CS_ROUTING -> CS_EXECUTE
  1033. 2023-10-18 09:43:31.328832 99.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876300012@196.7.219.43:8356) State ROUTING going to sleep
  1034. 2023-10-18 09:43:31.328832 99.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_EXECUTE (Cur 1 Tot 462)
  1035. 2023-10-18 09:43:31.328832 99.77% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27876300012@196.7.219.43:8356) State EXECUTE
  1036. 2023-10-18 09:43:31.328832 99.77% [DEBUG] mod_sofia.c:213 sofia/default/27876300012@196.7.219.43:8356 SOFIA EXECUTE
  1037. 2023-10-18 09:43:31.328832 99.77% [DEBUG] switch_core_state_machine.c:323 sofia/default/27876300012@196.7.219.43:8356 Standard EXECUTE
  1038. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(effective_destination_number=27217730186)
  1039. 2023-10-18 09:43:31.328832 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [effective_destination_number]=[27217730186]
  1040. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(bridge_pre_execute_bleg_app=sched_hangup)
  1041. 2023-10-18 09:43:31.328832 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [bridge_pre_execute_bleg_app]=[sched_hangup]
  1042. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(bridge_pre_execute_bleg_data=+3600 normal_clearing)
  1043. 2023-10-18 09:43:31.328832 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [bridge_pre_execute_bleg_data]=[+3600 normal_clearing]
  1044. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(notify_flag=0)
  1045. 2023-10-18 09:43:31.328832 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [notify_flag]=[0]
  1046. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(notify_credit_limit=10.00000)
  1047. 2023-10-18 09:43:31.328832 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [notify_credit_limit]=[10.00000]
  1048. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(type=0)
  1049. 2023-10-18 09:43:31.328832 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [type]=[0]
  1050. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(callstart=2023-10-18 09:43:31)
  1051. 2023-10-18 09:43:31.328832 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [callstart]=[2023-10-18 09:43:31]
  1052. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(hangup_after_bridge=true)
  1053. 2023-10-18 09:43:31.328832 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [hangup_after_bridge]=[true]
  1054. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(continue_on_fail=TRUE)
  1055. 2023-10-18 09:43:31.328832 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [continue_on_fail]=[TRUE]
  1056. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(account_id=419)
  1057. 2023-10-18 09:43:31.328832 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [account_id]=[419]
  1058. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(parent_id=405)
  1059. 2023-10-18 09:43:31.328832 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [parent_id]=[405]
  1060. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(entity_id=0)
  1061. 2023-10-18 09:43:31.328832 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [entity_id]=[0]
  1062. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(call_processed=internal)
  1063. 2023-10-18 09:43:31.328832 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [call_processed]=[internal]
  1064. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(call_direction=outbound)
  1065. 2023-10-18 09:43:31.328832 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [call_direction]=[outbound]
  1066. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(accountname=default)
  1067. 2023-10-18 09:43:31.328832 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [accountname]=[default]
  1068. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(t38_passthru=true)
  1069. 2023-10-18 09:43:31.328832 99.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true]
  1070. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(fax_enable_t38=true)
  1071. 2023-10-18 09:43:31.328832 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [fax_enable_t38]=[true]
  1072. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(fax_enable_t38_request=true)
  1073. 2023-10-18 09:43:31.328832 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [fax_enable_t38_request]=[true]
  1074. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(filename1=astpp.pbx.lua)
  1075. 2023-10-18 09:43:31.328832 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [filename1]=[astpp.pbx.lua]
  1076. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(origination_rates=ID:9010307|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.33000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:419||ID:8853065|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:189|MARKUP:0|CI:0|ACCID:405)                                                                                                                                                                                            
  1077. 2023-10-18 09:43:31.328832 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [origination_rates]=[ID:9010307|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.33000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:419||ID:8853065|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:189|MARKUP:0|CI:0|ACCID:405]                                                                                                                                              
  1078. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(original_caller_id_name=27876300012)
  1079. 2023-10-18 09:43:31.328832 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [original_caller_id_name]=[27876300012]
  1080. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(original_caller_id_number=27876300012)
  1081. 2023-10-18 09:43:31.328832 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [original_caller_id_number]=[27876300012]
  1082. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 limit(db 8773282952 user_8773282952 16 )
  1083. 2023-10-18 09:43:31.328832 99.77% [DEBUG] switch_limit.c:124 incr called: 8773282952_user_8773282952 max:16, interval:0
  1084. 2023-10-18 09:43:31.328832 99.77% [DEBUG] mod_db.c:194 Usage for 8773282952_user_8773282952 is now 1/16
  1085. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 limit(db 6840389175 user_6840389175 20 )
  1086. 2023-10-18 09:43:31.328832 99.77% [DEBUG] switch_limit.c:124 incr called: 6840389175_user_6840389175 max:20, interval:0
  1087. 2023-10-18 09:43:31.328832 99.77% [DEBUG] mod_db.c:194 Usage for 6840389175_user_6840389175 is now 1/20
  1088. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(is_recording=1)
  1089. 2023-10-18 09:43:31.328832 99.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  1090. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(media_bug_answer_req=true)
  1091. 2023-10-18 09:43:31.328832 99.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  1092. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(record_sample_rate=8000)
  1093. 2023-10-18 09:43:31.328832 99.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  1094. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(execute_on_answer=record_session /usr/local/freeswitch/recordings/fd8a6558-c79d-448b-8944-c97d2d6a4270.wav)
  1095. 2023-10-18 09:43:31.328832 99.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/fd8a6558-c79d-448b-8944-c97d2d6a4270.wav]
  1096. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(effective_caller_id_name=27876300012)
  1097. 2023-10-18 09:43:31.328832 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [effective_caller_id_name]=[27876300012]
  1098. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(effective_caller_id_number=27876300012)
  1099. 2023-10-18 09:43:31.328832 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [effective_caller_id_number]=[27876300012]
  1100. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(calltype=STANDARD)
  1101. 2023-10-18 09:43:31.328832 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [calltype]=[STANDARD]
  1102. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(termination_rates=ID:3039419|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.09000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159)                                                                                                                                                                                  
  1103. 2023-10-18 09:43:31.328832 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [termination_rates]=[ID:3039419|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.09000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159]                                                                                                                                    
  1104. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(trunk_id=97)
  1105. 2023-10-18 09:43:31.328832 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [trunk_id]=[97]
  1106. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(provider_id=159)
  1107. 2023-10-18 09:43:31.328832 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [provider_id]=[159]
  1108. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(rate_flag=0)
  1109. 2023-10-18 09:43:31.328832 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [rate_flag]=[0]
  1110. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(daily_call_credit_limit=50.00000)
  1111. 2023-10-18 09:43:31.328832 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [daily_call_credit_limit]=[50.00000]
  1112. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(monthly_call_credit_limit=500.00000)
  1113. 2023-10-18 09:43:31.328832 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [monthly_call_credit_limit]=[500.00000]
  1114. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(daily_call_used_limit=13.86300)
  1115. 2023-10-18 09:43:31.328832 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [daily_call_used_limit]=[13.86300]
  1116. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(monthly_call_used_limit=203.74390)
  1117. 2023-10-18 09:43:31.328832 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [monthly_call_used_limit]=[203.74390]
  1118. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(quality_trunk_seq=97)
  1119. 2023-10-18 09:43:31.328832 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [quality_trunk_seq]=[97]
  1120. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(force_trunk_flag=9010307)
  1121. 2023-10-18 09:43:31.328832 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [force_trunk_flag]=[9010307]
  1122. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(presence_data=trunk_id=97)
  1123. 2023-10-18 09:43:31.328832 99.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=97]
  1124. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(intcall=0)
  1125. 2023-10-18 09:43:31.328832 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [intcall]=[0]
  1126. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(presence_id=27217730186)
  1127. 2023-10-18 09:43:31.328832 99.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[27217730186]
  1128. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(presence_data=x//405|||Goldtel(8773282952)|||^27217730.* // RSA Goldtel Geographic // 0.33000 |||Goldtel // ^27217730.* // RSA Goldtel Geographic // 0.09000 // trunk_id=97|||STD|||196.7.219.43|||0.29000 // ^27217730.* // RSA Goldtel Geographic)                                                                                                            
  1129. 2023-10-18 09:43:31.328832 99.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x//405|||Goldtel(8773282952)|||^27217730.* // RSA Goldtel Geographic // 0.33000 |||Goldtel // ^27217730.* // RSA Goldtel Geographic // 0.09000 // trunk_id=97|||STD|||196.7.219.43|||0.29000 // ^27217730.* // RSA Goldtel Geographic]                                                                                          
  1130. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 limit(db Goldtel gw_Goldtel 10 )
  1131. 2023-10-18 09:43:31.328832 99.77% [DEBUG] switch_limit.c:124 incr called: Goldtel_gw_Goldtel max:10, interval:0
  1132. 2023-10-18 09:43:31.328832 99.77% [DEBUG] mod_db.c:194 Usage for Goldtel_gw_Goldtel is now 1/10
  1133. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 bridge({sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/Goldtel/27217730186;fs_path=sip:102.220.232.100:5060)
  1134. 2023-10-18 09:43:31.328832 99.77% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.7.219.43:8356 EXPORTING[export_vars] [t38_passthru]=[true] to event
  1135. 2023-10-18 09:43:31.328832 99.77% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.7.219.43:8356 EXPORTING[export_vars] [is_recording]=[1] to event
  1136. 2023-10-18 09:43:31.328832 99.77% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.7.219.43:8356 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  1137. 2023-10-18 09:43:31.328832 99.77% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.7.219.43:8356 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  1138. 2023-10-18 09:43:31.328832 99.77% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.7.219.43:8356 EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/fd8a6558-c79d-448b-8944-c97d2d6a4270.wav] to event                                                                                                                                                                            
  1139. 2023-10-18 09:43:31.328832 99.77% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.7.219.43:8356 EXPORTING[export_vars] [presence_data]=[x//405|||Goldtel(8773282952)|||^27217730.* // RSA Goldtel Geographic // 0.33000 |||Goldtel // ^27217730.* // RSA Goldtel Geographic // 0.09000 // trunk_id=97|||STD|||196.7.219.43|||0.29000 // ^27217730.* // RSA Goldtel Geographic] to event                                  
  1140. 2023-10-18 09:43:31.328832 99.77% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.7.219.43:8356 EXPORTING[export_vars] [presence_id]=[27217730186] to event
  1141. 2023-10-18 09:43:31.328832 99.77% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.7.219.43:8356 EXPORTING[export_vars] [presence_data]=[x//405|||Goldtel(8773282952)|||^27217730.* // RSA Goldtel Geographic // 0.33000 |||Goldtel // ^27217730.* // RSA Goldtel Geographic // 0.09000 // trunk_id=97|||STD|||196.7.219.43|||0.29000 // ^27217730.* // RSA Goldtel Geographic] to event                                  
  1142. 2023-10-18 09:43:31.328832 99.77% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  1143. 2023-10-18 09:43:31.328832 99.77% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  1144. 2023-10-18 09:43:31.328832 99.77% [NOTICE] switch_channel.c:1123 New Channel sofia/default/27217730186 [76f373a8-4c22-49ea-8211-d8ccd4d9ac69]
  1145. 2023-10-18 09:43:31.328832 99.77% [DEBUG] mod_sofia.c:5121 (sofia/default/27217730186) State Change CS_NEW -> CS_INIT
  1146. 2023-10-18 09:43:31.328832 99.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27217730186) Running State Change CS_INIT (Cur 2 Tot 463)
  1147. 2023-10-18 09:43:31.328832 99.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27217730186) State INIT
  1148. 2023-10-18 09:43:31.328832 99.77% [DEBUG] mod_sofia.c:97 sofia/default/27217730186 SOFIA INIT
  1149. 2023-10-18 09:43:31.328832 99.77% [DEBUG] sofia_glue.c:1620 sip:102.220.232.100 Setting proxy route to sofia/default/27217730186
  1150. 2023-10-18 09:43:31.328832 99.77% [INFO] sofia_glue.c:1651 sofia/default/27217730186 sending invite call-id: (null)
  1151. 2023-10-18 09:43:31.328832 99.77% [DEBUG] sofia_glue.c:1654 sofia/default/27217730186 sending invite version: 1.10.7 -release 64bit
  1152. Local SDP:                                                                                                                                                                                                        
  1153. v=0                                                                                                                                                                                                                
  1154. o=FreeSWITCH 1697599655 1697599656 IN IP4 102.220.232.19                                                                                                                                                          
  1155. s=FreeSWITCH                                                                                                                                                                                                      
  1156. c=IN IP4 102.220.232.19                                                                                                                                                                                            
  1157. t=0 0                                                                                                                                                                                                              
  1158. m=audio 22556 RTP/AVP 18 8 0 101                                                                                                                                                                                  
  1159. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  1160. a=fmtp:18 annexb=no                                                                                                                                                                                                
  1161. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  1162. a=rtpmap:0 PCMU/8000                                                                                                                                                                                              
  1163. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  1164. a=fmtp:101 0-15                                                                                                                                                                                                    
  1165. a=ptime:20                                                                                                                                                                                                        
  1166. a=sendrecv                                                                                                                                                                                                        
  1167.  
  1168. 2023-10-18 09:43:31.328832 99.77% [DEBUG] switch_core_state_machine.c:40 sofia/default/27217730186 Standard INIT
  1169. 2023-10-18 09:43:31.328832 99.77% [DEBUG] switch_core_state_machine.c:48 (sofia/default/27217730186) State Change CS_INIT -> CS_ROUTING
  1170. 2023-10-18 09:43:31.328832 99.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27217730186) State INIT going to sleep
  1171. 2023-10-18 09:43:31.328832 99.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27217730186) Running State Change CS_ROUTING (Cur 2 Tot 463)
  1172. 2023-10-18 09:43:31.328832 99.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27217730186) State ROUTING
  1173. 2023-10-18 09:43:31.328832 99.77% [DEBUG] mod_sofia.c:158 sofia/default/27217730186 SOFIA ROUTING
  1174. 2023-10-18 09:43:31.328832 99.77% [DEBUG] switch_ivr_originate.c:67 (sofia/default/27217730186) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  1175. 2023-10-18 09:43:31.328832 99.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27217730186) State ROUTING going to sleep
  1176. 2023-10-18 09:43:31.348832 99.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27217730186) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 463)
  1177. 2023-10-18 09:43:31.348832 99.77% [DEBUG] sofia.c:7499 Channel sofia/default/27217730186 entering state [calling][0]
  1178. 2023-10-18 09:43:31.348832 99.77% [DEBUG] switch_core_state_machine.c:659 (sofia/default/27217730186) State CONSUME_MEDIA
  1179. 2023-10-18 09:43:31.348832 99.77% [DEBUG] switch_core_state_machine.c:659 (sofia/default/27217730186) State CONSUME_MEDIA going to sleep
  1180. 2023-10-18 09:43:33.368836 99.73% [INFO] sofia.c:1348 sofia/default/27217730186 Update Callee ID to "27217730186" <27217730186>
  1181. 2023-10-18 09:43:33.368836 99.73% [DEBUG] sofia.c:7499 Channel sofia/default/27217730186 entering state [proceeding][183]
  1182. 2023-10-18 09:43:33.368836 99.73% [DEBUG] sofia.c:7509 Remote SDP:
  1183. v=0                                                                                                                                                                                                                
  1184. o=FreeSWITCH 1697603453 1697603454 IN IP4 196.31.25.87                                                                                                                                                            
  1185. s=FreeSWITCH                                                                                                                                                                                                      
  1186. c=IN IP4 196.31.25.87                                                                                                                                                                                              
  1187. t=0 0                                                                                                                                                                                                              
  1188. m=audio 18758 RTP/AVP 18 101                                                                                                                                                                                      
  1189. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  1190. a=fmtp:18 annexb=no                                                                                                                                                                                                
  1191. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  1192. a=fmtp:101 0-16                                                                                                                                                                                                    
  1193. a=ptime:20                                                                                                                                                                                                        
  1194.  
  1195. 2023-10-18 09:43:33.368836 99.73% [NOTICE] sofia.c:7512 Pre-Answer sofia/default/27217730186!
  1196. 2023-10-18 09:43:33.368836 99.73% [DEBUG] switch_channel.c:3622 (sofia/default/27217730186) Callstate Change DOWN -> EARLY
  1197. 2023-10-18 09:43:33.368836 99.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  1198. 2023-10-18 09:43:33.368836 99.73% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  1199. 2023-10-18 09:43:33.368836 99.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  1200. 2023-10-18 09:43:33.368836 99.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  1201. 2023-10-18 09:43:33.368836 99.73% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  1202. 2023-10-18 09:43:33.368836 99.73% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/27217730186 G729/8000 20 ms 160 samples 8000 bits 1 channels
  1203. 2023-10-18 09:43:33.368836 99.73% [DEBUG] switch_core_codec.c:111 sofia/default/27217730186 Original read codec set to G729:18
  1204. 2023-10-18 09:43:33.368836 99.73% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  1205. 2023-10-18 09:43:33.368836 99.73% [DEBUG] switch_core_media.c:5973 sofia/default/27217730186 Set 2833 dtmf send payload to 101 recv payload to 101
  1206. 2023-10-18 09:43:33.368836 99.73% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/27217730186] 102.220.232.19 port 22556 -> 196.31.25.87 port 18758 codec: 18 ms: 20
  1207. 2023-10-18 09:43:33.368836 99.73% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  1208. 2023-10-18 09:43:33.368836 99.73% [INFO] switch_ivr_originate.c:3841 Sending early media
  1209. 2023-10-18 09:43:33.368836 99.73% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/27876300012@196.7.219.43:8356] 102.220.232.19 port 26664 -> 196.7.219.43 port 35756 codec: 8 ms: 20
  1210. 2023-10-18 09:43:33.368836 99.73% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  1211. 2023-10-18 09:43:33.368836 99.73% [DEBUG] switch_core_media.c:9089 sofia/default/27217730186 Set 2833 dtmf send payload to 101
  1212. 2023-10-18 09:43:33.368836 99.73% [DEBUG] switch_core_media.c:9096 sofia/default/27217730186 Set 2833 dtmf receive payload to 101
  1213. 2023-10-18 09:43:33.368836 99.73% [DEBUG] switch_core_media.c:9119 sofia/default/27217730186 Set rtp dtmf delay to 40
  1214. 2023-10-18 09:43:33.368836 99.73% [DEBUG] switch_core_media.c:9089 sofia/default/27876300012@196.7.219.43:8356 Set 2833 dtmf send payload to 101
  1215. 2023-10-18 09:43:33.368836 99.73% [DEBUG] switch_core_media.c:9096 sofia/default/27876300012@196.7.219.43:8356 Set 2833 dtmf receive payload to 101
  1216. 2023-10-18 09:43:33.368836 99.73% [DEBUG] switch_core_media.c:9119 sofia/default/27876300012@196.7.219.43:8356 Set rtp dtmf delay to 40
  1217. 2023-10-18 09:43:33.368836 99.73% [DEBUG] mod_sofia.c:2610 Ring SDP:
  1218. v=0                                                                                                                                                                                                                
  1219. o=FreeSWITCH 1697595549 1697595550 IN IP4 102.220.232.19                                                                                                                                                          
  1220. s=FreeSWITCH                                                                                                                                                                                                      
  1221. c=IN IP4 102.220.232.19                                                                                                                                                                                            
  1222. t=0 0                                                                                                                                                                                                              
  1223. m=audio 26664 RTP/AVP 8 101                                                                                                                                                                                        
  1224. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  1225. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  1226. a=fmtp:101 0-15                                                                                                                                                                                                    
  1227. a=ptime:20                                                                                                                                                                                                        
  1228. a=sendrecv                                                                                                                                                                                                        
  1229.  
  1230. 2023-10-18 09:43:33.368836 99.73% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/27876300012@196.7.219.43:8356!
  1231. 2023-10-18 09:43:33.368836 99.73% [DEBUG] switch_channel.c:3622 (sofia/default/27876300012@196.7.219.43:8356) Callstate Change RINGING -> EARLY
  1232. 2023-10-18 09:43:33.368836 99.73% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/27217730186] Peer UUID: 76f373a8-4c22-49ea-8211-d8ccd4d9ac69
  1233. 2023-10-18 09:43:33.368836 99.73% [DEBUG] sofia.c:7499 Channel sofia/default/27876300012@196.7.219.43:8356 entering state [early][183]
  1234. 2023-10-18 09:43:33.368836 99.73% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/27217730186) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  1235. 2023-10-18 09:43:33.368836 99.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27217730186) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 463)
  1236. 2023-10-18 09:43:33.368836 99.73% [DEBUG] switch_core_state_machine.c:650 (sofia/default/27217730186) State EXCHANGE_MEDIA
  1237. 2023-10-18 09:43:33.368836 99.73% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  1238. 2023-10-18 09:43:33.428835 99.73% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  1239. 2023-10-18 09:43:33.568836 99.73% [DEBUG] switch_ivr_bridge.c:655 sofia/default/27217730186 Bridge execute app sched_hangup(+3600 normal_clearing)
  1240. 2023-10-18 09:43:33.588835 99.73% [DEBUG] switch_ivr.c:632 sofia/default/27217730186 Command Execute [depth=0] sched_hangup(+3600 normal_clearing)
  1241. EXECUTE [depth=0] sofia/default/27217730186 sched_hangup(+3600 normal_clearing)
  1242. 2023-10-18 09:43:33.588835 99.73% [DEBUG] switch_scheduler.c:263 Added task 167 switch_ivr_schedule_hangup (76f373a8-4c22-49ea-8211-d8ccd4d9ac69) to run at 1697625813
  1243. 2023-10-18 09:43:33.728836 99.73% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  1244. 2023-10-18 09:43:59.388835 99.90% [INFO] sofia.c:1348 sofia/default/27217730186 Update Callee ID to "Outbound Call" <27217730186>
  1245. 2023-10-18 09:43:59.388835 99.90% [DEBUG] sofia.c:7499 Channel sofia/default/27217730186 entering state [completing][200]
  1246. 2023-10-18 09:43:59.388835 99.90% [DEBUG] sofia.c:7506 Duplicate SDP
  1247. v=0                                                                                                                                                                                                                
  1248. o=FreeSWITCH 1697603453 1697603454 IN IP4 196.31.25.87                                                                                                                                                            
  1249. s=FreeSWITCH                                                                                                                                                                                                      
  1250. c=IN IP4 196.31.25.87                                                                                                                                                                                              
  1251. t=0 0                                                                                                                                                                                                              
  1252. m=audio 18758 RTP/AVP 18 101                                                                                                                                                                                      
  1253. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  1254. a=fmtp:18 annexb=no                                                                                                                                                                                                
  1255. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  1256. a=fmtp:101 0-16                                                                                                                                                                                                    
  1257. a=ptime:20                                                                                                                                                                                                        
  1258.  
  1259. 2023-10-18 09:43:59.408835 99.90% [DEBUG] sofia.c:7499 Channel sofia/default/27217730186 entering state [ready][200]
  1260. 2023-10-18 09:43:59.408835 99.90% [NOTICE] sofia.c:8624 Channel [sofia/default/27217730186] has been answered
  1261. EXECUTE [depth=0] sofia/default/27217730186 record_session(/usr/local/freeswitch/recordings/fd8a6558-c79d-448b-8944-c97d2d6a4270.wav)
  1262. 2023-10-18 09:43:59.408835 99.90% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/27876300012@196.7.219.43:8356.
  1263. 2023-10-18 09:43:59.408835 99.90% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/27876300012@196.7.219.43:8356:
  1264. v=0                                                                                                                                                                                                                
  1265. o=FreeSWITCH 1697595549 1697595551 IN IP4 102.220.232.19                                                                                                                                                          
  1266. s=FreeSWITCH                                                                                                                                                                                                      
  1267. c=IN IP4 102.220.232.19                                                                                                                                                                                            
  1268. t=0 0                                                                                                                                                                                                              
  1269. m=audio 26664 RTP/AVP 8 101                                                                                                                                                                                        
  1270. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  1271. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  1272. a=fmtp:101 0-15                                                                                                                                                                                                    
  1273. a=ptime:20                                                                                                                                                                                                        
  1274. a=sendrecv                                                                                                                                                                                                        
  1275.  
  1276. 2023-10-18 09:43:59.408835 99.90% [NOTICE] switch_ivr_bridge.c:731 Channel [sofia/default/27876300012@196.7.219.43:8356] has been answered
  1277. 2023-10-18 09:43:59.408835 99.90% [DEBUG] sofia.c:7499 Channel sofia/default/27876300012@196.7.219.43:8356 entering state [completed][200]
  1278. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 record_session(/usr/local/freeswitch/recordings/fd8a6558-c79d-448b-8944-c97d2d6a4270.wav)
  1279. 2023-10-18 09:43:59.408835 99.90% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  1280. 2023-10-18 09:43:59.408835 99.90% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/27217730186
  1281. 2023-10-18 09:43:59.408835 99.90% [DEBUG] switch_channel.c:3950 (sofia/default/27217730186) Callstate Change EARLY -> ACTIVE
  1282. 2023-10-18 09:43:59.408835 99.90% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  1283. 2023-10-18 09:43:59.408835 99.90% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/27876300012@196.7.219.43:8356
  1284. 2023-10-18 09:43:59.408835 99.90% [DEBUG] switch_channel.c:3950 (sofia/default/27876300012@196.7.219.43:8356) Callstate Change EARLY -> ACTIVE
  1285. 2023-10-18 09:43:59.428836 99.90% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  1286. 2023-10-18 09:43:59.428836 99.90% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  1287. 2023-10-18 09:43:59.448831 99.90% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  1288. 2023-10-18 09:43:59.448831 99.90% [DEBUG] switch_core_io.c:448 Setting BUG Codec G729:18
  1289. 2023-10-18 09:43:59.448831 99.90% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  1290. 2023-10-18 09:43:59.448831 99.90% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
  1291. 2023-10-18 09:43:59.508835 99.90% [DEBUG] sofia.c:7499 Channel sofia/default/27876300012@196.7.219.43:8356 entering state [ready][200]
  1292. 2023-10-18 09:44:01.928834 99.90% [NOTICE] sofia.c:1065 Hangup sofia/default/27876300012@196.7.219.43:8356 [CS_EXECUTE] [NORMAL_CLEARING]
  1293. 2023-10-18 09:44:01.928834 99.90% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/27876300012@196.7.219.43:8356]
  1294. 2023-10-18 09:44:01.948836 99.90% [DEBUG] switch_ivr_bridge.c:820 sofia/default/27876300012@196.7.219.43:8356 ending bridge by request from write function
  1295. 2023-10-18 09:44:01.948836 99.90% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/27217730186]
  1296. 2023-10-18 09:44:01.948836 99.90% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/27217730186 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  1297. 2023-10-18 09:44:01.948836 99.90% [DEBUG] switch_core_state_machine.c:650 (sofia/default/27217730186) State EXCHANGE_MEDIA going to sleep
  1298. 2023-10-18 09:44:01.948836 99.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27217730186) Running State Change CS_HANGUP (Cur 2 Tot 463)
  1299. 2023-10-18 09:44:01.948836 99.90% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/fd8a6558-c79d-448b-8944-c97d2d6a4270.wav
  1300. 2023-10-18 09:44:01.948836 99.90% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  1301. 2023-10-18 09:44:01.948836 99.90% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/27217730186 skip receive message [UNBRIDGE] (channel is hungup already)
  1302. 2023-10-18 09:44:01.948836 99.90% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/27876300012@196.7.219.43:8356 skip receive message [UNBRIDGE] (channel is hungup already)
  1303. 2023-10-18 09:44:01.948836 99.90% [DEBUG] switch_core_session.c:2983 sofia/default/27876300012@196.7.219.43:8356 skip receive message [PHONE_EVENT] (channel is hungup already)
  1304. 2023-10-18 09:44:01.948836 99.90% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27876300012@196.7.219.43:8356) State EXECUTE going to sleep
  1305. 2023-10-18 09:44:01.948836 99.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_HANGUP (Cur 2 Tot 463)
  1306. 2023-10-18 09:44:01.948836 99.90% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/fd8a6558-c79d-448b-8944-c97d2d6a4270.wav
  1307. 2023-10-18 09:44:01.948836 99.90% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  1308. 2023-10-18 09:44:01.948836 99.90% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/27217730186
  1309. 2023-10-18 09:44:01.948836 99.90% [DEBUG] switch_core_state_machine.c:844 (sofia/default/27217730186) Callstate Change ACTIVE -> HANGUP
  1310. 2023-10-18 09:44:01.948836 99.90% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27217730186) State HANGUP
  1311. 2023-10-18 09:44:01.948836 99.90% [DEBUG] mod_sofia.c:462 sofia/default/27217730186 Overriding SIP cause 480 with 200 from the other leg
  1312. 2023-10-18 09:44:01.948836 99.90% [DEBUG] mod_sofia.c:468 Channel sofia/default/27217730186 hanging up, cause: NORMAL_CLEARING
  1313. 2023-10-18 09:44:01.948836 99.90% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/27217730186
  1314. 2023-10-18 09:44:01.948836 99.90% [DEBUG] switch_core_state_machine.c:59 sofia/default/27217730186 Standard HANGUP, cause: NORMAL_CLEARING
  1315. 2023-10-18 09:44:01.948836 99.90% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27217730186) State HANGUP going to sleep
  1316. 2023-10-18 09:44:01.948836 99.90% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/27876300012@196.7.219.43:8356
  1317. 2023-10-18 09:44:01.948836 99.90% [DEBUG] switch_core_state_machine.c:616 (sofia/default/27217730186) State Change CS_HANGUP -> CS_REPORTING
  1318. 2023-10-18 09:44:01.948836 99.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27217730186) Running State Change CS_REPORTING (Cur 2 Tot 463)
  1319. 2023-10-18 09:44:01.948836 99.90% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27217730186) State REPORTING
  1320. 2023-10-18 09:44:01.948836 99.90% [DEBUG] switch_core_state_machine.c:844 (sofia/default/27876300012@196.7.219.43:8356) Callstate Change ACTIVE -> HANGUP
  1321. 2023-10-18 09:44:01.948836 99.90% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876300012@196.7.219.43:8356) State HANGUP
  1322. 2023-10-18 09:44:01.948836 99.90% [DEBUG] mod_sofia.c:468 Channel sofia/default/27876300012@196.7.219.43:8356 hanging up, cause: NORMAL_CLEARING
  1323. 2023-10-18 09:44:01.948836 99.90% [INFO] mod_json_cdr.c:271 Process [76f373a8-4c22-49ea-8211-d8ccd4d9ac69.cdr.json]
  1324. 2023-10-18 09:44:01.948836 99.90% [DEBUG] switch_core_state_machine.c:59 sofia/default/27876300012@196.7.219.43:8356 Standard HANGUP, cause: NORMAL_CLEARING
  1325. 2023-10-18 09:44:01.948836 99.90% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876300012@196.7.219.43:8356) State HANGUP going to sleep
  1326. 2023-10-18 09:44:01.948836 99.90% [DEBUG] switch_core_state_machine.c:616 (sofia/default/27876300012@196.7.219.43:8356) State Change CS_HANGUP -> CS_REPORTING
  1327. 2023-10-18 09:44:01.948836 99.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_REPORTING (Cur 2 Tot 463)
  1328. 2023-10-18 09:44:01.948836 99.90% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876300012@196.7.219.43:8356) State REPORTING
  1329. 2023-10-18 09:44:01.948836 99.90% [INFO] mod_json_cdr.c:271 Process [fd8a6558-c79d-448b-8944-c97d2d6a4270.cdr.json]
  1330. 2023-10-18 09:44:02.028832 99.90% [DEBUG] switch_core_state_machine.c:168 sofia/default/27217730186 Standard REPORTING, cause: NORMAL_CLEARING
  1331. 2023-10-18 09:44:02.028832 99.90% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27217730186) State REPORTING going to sleep
  1332. 2023-10-18 09:44:02.028832 99.90% [DEBUG] switch_core_state_machine.c:607 (sofia/default/27217730186) State Change CS_REPORTING -> CS_DESTROY
  1333. 2023-10-18 09:44:02.028832 99.90% [DEBUG] switch_core_session.c:1753 Session 463 (sofia/default/27217730186) Locked, Waiting on external entities
  1334. 2023-10-18 09:44:02.028832 99.90% [NOTICE] switch_core_session.c:1771 Session 463 (sofia/default/27217730186) Ended
  1335. 2023-10-18 09:44:02.028832 99.90% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/27217730186 [CS_DESTROY]
  1336. 2023-10-18 09:44:02.028832 99.90% [DEBUG] switch_core_state_machine.c:735 (sofia/default/27217730186) Running State Change CS_DESTROY (Cur 1 Tot 463)
  1337. 2023-10-18 09:44:02.028832 99.90% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27217730186) State DESTROY
  1338. 2023-10-18 09:44:02.028832 99.90% [DEBUG] mod_sofia.c:379 sofia/default/27217730186 SOFIA DESTROY
  1339. 2023-10-18 09:44:02.028832 99.90% [DEBUG] switch_core_state_machine.c:175 sofia/default/27217730186 Standard DESTROY
  1340. 2023-10-18 09:44:02.028832 99.90% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27217730186) State DESTROY going to sleep
  1341. 2023-10-18 09:44:02.028832 99.90% [DEBUG] switch_core_state_machine.c:168 sofia/default/27876300012@196.7.219.43:8356 Standard REPORTING, cause: NORMAL_CLEARING
  1342. 2023-10-18 09:44:02.028832 99.90% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876300012@196.7.219.43:8356) State REPORTING going to sleep
  1343. 2023-10-18 09:44:02.028832 99.90% [DEBUG] switch_core_state_machine.c:607 (sofia/default/27876300012@196.7.219.43:8356) State Change CS_REPORTING -> CS_DESTROY
  1344. 2023-10-18 09:44:02.028832 99.90% [DEBUG] switch_core_session.c:1753 Session 462 (sofia/default/27876300012@196.7.219.43:8356) Locked, Waiting on external entities
  1345. 2023-10-18 09:44:02.028832 99.90% [NOTICE] switch_core_session.c:1771 Session 462 (sofia/default/27876300012@196.7.219.43:8356) Ended
  1346. 2023-10-18 09:44:02.028832 99.90% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/27876300012@196.7.219.43:8356 [CS_DESTROY]
  1347. 2023-10-18 09:44:02.028832 99.90% [DEBUG] switch_core_state_machine.c:735 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_DESTROY (Cur 0 Tot 463)
  1348. 2023-10-18 09:44:02.028832 99.90% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876300012@196.7.219.43:8356) State DESTROY
  1349. 2023-10-18 09:44:02.028832 99.90% [DEBUG] mod_sofia.c:379 sofia/default/27876300012@196.7.219.43:8356 SOFIA DESTROY
  1350. 2023-10-18 09:44:02.028832 99.90% [DEBUG] switch_core_state_machine.c:175 sofia/default/27876300012@196.7.219.43:8356 Standard DESTROY
  1351. 2023-10-18 09:44:02.028832 99.90% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876300012@196.7.219.43:8356) State DESTROY going to sleep
  1352. 2023-10-18 09:44:02.088831 99.90% [DEBUG] switch_scheduler.c:147 Deleting task 167 switch_ivr_schedule_hangup (76f373a8-4c22-49ea-8211-d8ccd4d9ac69)
  1353. 2023-10-18 09:45:15.488836 99.97% [NOTICE] switch_channel.c:1123 New Channel sofia/default/27876300012@196.7.219.43:8356 [e43c85ad-6c7f-4300-ae81-d453145a8e65]
  1354. 2023-10-18 09:45:15.488836 99.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_NEW (Cur 1 Tot 464)
  1355. 2023-10-18 09:45:15.488836 99.97% [INFO] sofia.c:10462 sofia/default/27876300012@196.7.219.43:8356 receiving invite from 102.220.232.100:5060 version: 1.10.7 -release 64bit call-id: d5897ae-d72106c4-8848b3f0-e391903f                                                                                                                                                                                                              
  1356. 2023-10-18 09:45:15.488836 99.97% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 102.220.232.100:0.
  1357. 2023-10-18 09:45:15.488836 99.97% [DEBUG] sofia.c:10585 IP 102.220.232.100 Approved by acl "default[]". Access Granted.
  1358. 2023-10-18 09:45:15.488836 99.97% [DEBUG] sofia.c:7499 Channel sofia/default/27876300012@196.7.219.43:8356 entering state [received][100]
  1359. 2023-10-18 09:45:15.488836 99.97% [DEBUG] sofia.c:7509 Remote SDP:
  1360. v=0                                                                                                                                                                                                                
  1361. o=bk 4624171 1 IN IP4 196.7.219.43                                                                                                                                                                                
  1362. s=-                                                                                                                                                                                                                
  1363. c=IN IP4 196.7.219.43                                                                                                                                                                                              
  1364. t=0 0                                                                                                                                                                                                              
  1365. m=audio 36294 RTP/AVP 8 18 0 101                                                                                                                                                                                  
  1366. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  1367. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  1368. a=fmtp:18 annexb=no                                                                                                                                                                                                
  1369. a=rtpmap:0 PCMU/8000                                                                                                                                                                                              
  1370. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  1371. a=fmtp:101 0-16                                                                                                                                                                                                    
  1372. a=ptime:20                                                                                                                                                                                                        
  1373. a=ptime:20                                                                                                                                                                                                        
  1374. a=ptime:20                                                                                                                                                                                                        
  1375.  
  1376. 2023-10-18 09:45:15.488836 99.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1377. 2023-10-18 09:45:15.488836 99.97% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1378. 2023-10-18 09:45:15.488836 99.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1379. 2023-10-18 09:45:15.488836 99.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  1380. 2023-10-18 09:45:15.488836 99.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  1381. 2023-10-18 09:45:15.488836 99.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  1382. 2023-10-18 09:45:15.488836 99.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  1383. 2023-10-18 09:45:15.488836 99.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  1384. 2023-10-18 09:45:15.488836 99.97% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  1385. 2023-10-18 09:45:15.488836 99.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G722:9:8000:20:64000:1]
  1386. 2023-10-18 09:45:15.488836 99.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1387. 2023-10-18 09:45:15.488836 99.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1388. 2023-10-18 09:45:15.488836 99.97% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  1389. 2023-10-18 09:45:15.488836 99.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  1390. 2023-10-18 09:45:15.488836 99.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  1391. 2023-10-18 09:45:15.488836 99.97% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  1392. 2023-10-18 09:45:15.488836 99.97% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/27876300012@196.7.219.43:8356 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  1393. 2023-10-18 09:45:15.488836 99.97% [DEBUG] switch_core_codec.c:111 sofia/default/27876300012@196.7.219.43:8356 Original read codec set to PCMA:8
  1394. 2023-10-18 09:45:15.488836 99.97% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  1395. 2023-10-18 09:45:15.488836 99.97% [DEBUG] switch_core_media.c:5973 sofia/default/27876300012@196.7.219.43:8356 Set 2833 dtmf send payload to 101 recv payload to 101
  1396. 2023-10-18 09:45:15.488836 99.97% [DEBUG] sofia.c:7933 (sofia/default/27876300012@196.7.219.43:8356) State Change CS_NEW -> CS_INIT
  1397. 2023-10-18 09:45:15.488836 99.97% [DEBUG] switch_core_state_machine.c:600 (sofia/default/27876300012@196.7.219.43:8356) State NEW
  1398. 2023-10-18 09:45:15.488836 99.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_INIT (Cur 1 Tot 464)
  1399. 2023-10-18 09:45:15.488836 99.97% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27876300012@196.7.219.43:8356) State INIT
  1400. 2023-10-18 09:45:15.488836 99.97% [DEBUG] mod_sofia.c:97 sofia/default/27876300012@196.7.219.43:8356 SOFIA INIT
  1401. 2023-10-18 09:45:15.488836 99.97% [DEBUG] switch_core_state_machine.c:40 sofia/default/27876300012@196.7.219.43:8356 Standard INIT
  1402. 2023-10-18 09:45:15.488836 99.97% [DEBUG] switch_core_state_machine.c:48 (sofia/default/27876300012@196.7.219.43:8356) State Change CS_INIT -> CS_ROUTING
  1403. 2023-10-18 09:45:15.488836 99.97% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27876300012@196.7.219.43:8356) State INIT going to sleep
  1404. 2023-10-18 09:45:15.488836 99.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_ROUTING (Cur 1 Tot 464)
  1405. 2023-10-18 09:45:15.488836 99.97% [DEBUG] switch_channel.c:2380 (sofia/default/27876300012@196.7.219.43:8356) Callstate Change DOWN -> RINGING
  1406. 2023-10-18 09:45:15.488836 99.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876300012@196.7.219.43:8356) State ROUTING
  1407. 2023-10-18 09:45:15.488836 99.97% [DEBUG] mod_sofia.c:158 sofia/default/27876300012@196.7.219.43:8356 SOFIA ROUTING
  1408. 2023-10-18 09:45:15.488836 99.97% [DEBUG] switch_core_state_machine.c:230 sofia/default/27876300012@196.7.219.43:8356 Standard ROUTING
  1409. 2023-10-18 09:45:15.488836 99.97% [INFO] mod_dialplan_xml.c:639 Processing Ext 112 <27876300012>->0217730186 in context default
  1410. 2023-10-18 09:45:15.528849 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  1411. 2023-10-18 09:45:15.568835 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  1412. 2023-10-18 09:45:15.568835 99.97% [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')                                                                                                                                                                                                
  1413. 2023-10-18 09:45:15.568835 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1414. 2023-10-18 09:45:15.588835 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 0217730186
  1415. 2023-10-18 09:45:15.588835 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0217730186' AND status=0 limit 1
  1416. 2023-10-18 09:45:15.588835 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER27876300012
  1417. 2023-10-18 09:45:15.588835 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1418. 2023-10-18 09:45:15.588835 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '0217730186' limit 1
  1419. 2023-10-18 09:45:15.588835 99.97% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  1420. 2023-10-18 09:45:15.588835 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 27876300012 / 27876300012
  1421. 2023-10-18 09:45:15.588835 99.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  1422. 2023-10-18 09:45:15.588835 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1                                                                                                                                                                                          
  1423. 2023-10-18 09:45:15.588835 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....0217730186
  1424. 2023-10-18 09:45:15.588835 99.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0217730186
  1425. 2023-10-18 09:45:15.588835 99.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27217730186
  1426. 2023-10-18 09:45:15.588835 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27217730186
  1427. 2023-10-18 09:45:15.588835 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27217730186
  1428. 2023-10-18 09:45:15.588835 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27217730186" LIMIT 1                                    
  1429. 2023-10-18 09:45:15.588835 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1430. 2023-10-18 09:45:15.588835 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="0217730186" limit 1                                                                                                                                                                    
  1431. 2023-10-18 09:45:15.588835 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  1432. 2023-10-18 09:45:15.588835 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 196.7.219.43
  1433. 2023-10-18 09:45:15.588835 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 8773282952]
  1434. 2023-10-18 09:45:15.588835 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "8773282952" OR id = "8773282952") AND deleted = 0 limit 1
  1435. 2023-10-18 09:45:15.588835 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0217730186.*' OR blocked_patterns = '^021773018.*' OR blocked_patterns = '^02177301.*' OR blocked_patterns = '^0217730.*' OR blocked_patterns = '^021773.*' OR blocked_patterns = '^02177.*' OR blocked_patterns = '^0217.*' OR blocked_patterns = '^021.*' OR blocked_patterns = '^02.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 419 limit 1                                                                                                              
  1436. 2023-10-18 09:45:15.588835 99.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 43
  1437. 2023-10-18 09:45:15.588835 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1                                                                                                                                                                                          
  1438. 2023-10-18 09:45:15.588835 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....0217730186
  1439. 2023-10-18 09:45:15.588835 99.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0217730186
  1440. 2023-10-18 09:45:15.588835 99.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27217730186
  1441. 2023-10-18 09:45:15.588835 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27217730186
  1442. 2023-10-18 09:45:15.588835 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27217730186
  1443. 2023-10-18 09:45:15.588835 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="27217730186" AND (accountid = 0 OR status = 1) LIMIT 1
  1444. 2023-10-18 09:45:15.588835 99.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 43
  1445. 2023-10-18 09:45:15.588835 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1                                                                                                                                                                                          
  1446. 2023-10-18 09:45:15.588835 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....0217730186
  1447. 2023-10-18 09:45:15.588835 99.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0217730186
  1448. 2023-10-18 09:45:15.588835 99.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27217730186
  1449. 2023-10-18 09:45:15.588835 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27217730186
  1450. 2023-10-18 09:45:15.588835 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27217730186
  1451. 2023-10-18 09:45:15.588835 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^27217730186.*' OR patterns = '^2721773018.*' OR patterns = '^272177301.*' OR patterns = '^27217730.*' OR patterns = '^2721773.*' OR patterns = '^272177.*' OR patterns = '^27217.*' OR patterns = '^2721.*' OR patterns = '^272.*' OR patterns = '^27.*' OR patterns = '^2.*' OR patterns ='--') AND accountid = 419 ORDER BY LENGTH(PKGPTR.patterns) DESC                                                                                                                                                                                                            
  1452. 2023-10-18 09:45:15.588835 99.97% [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 ="27217730186" AND A.accountid = '419' limit 1                                                                                                                                                                
  1453. 2023-10-18 09:45:15.588835 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 27217730186
  1454. 2023-10-18 09:45:15.588835 99.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  1455. 2023-10-18 09:45:15.588835 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1                                                                                                                                                                                          
  1456. 2023-10-18 09:45:15.588835 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27217730186
  1457. 2023-10-18 09:45:15.588835 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27217730186
  1458. 2023-10-18 09:45:15.588835 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27217730186
  1459. 2023-10-18 09:45:15.588835 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27217730186" LIMIT 1                                    
  1460. 2023-10-18 09:45:15.588835 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1461. 2023-10-18 09:45:15.608839 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="27217730186" limit 1                                                                                                                                                                  
  1462. 2023-10-18 09:45:15.608839 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  1463. 2023-10-18 09:45:15.608839 99.97% [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 = '27217730186' OR number = '2721773018' OR number = '272177301' OR number = '27217730' OR number = '2721773' OR number = '272177' OR number = '27217' OR number = '2721' OR number = '272' OR number = '27' OR number = '2' OR number ='--') OR (number = '27217730186*' OR number = '2721773018*' OR number = '272177301*' OR number = '27217730*' OR number = '2721773*' OR number = '272177*' OR number = '27217*' OR number = '2721*' OR number = '272*' OR number = '27*' OR number = '2*' OR number ='--') OR (number = '27876300012' OR number = '2787630001' OR number = '278763000' OR number = '27876300' OR number = '2787630' OR number = '278763' OR number = '27876' OR number = '2787' OR number = '278' OR number = '27' OR number = '2' OR number ='--') OR (number = '27876300012*' OR number = '2787630001*' OR number = '278763000*' OR number = '27876300*' OR number = '2787630*' OR number = '278763*' OR number = '27876*' OR number = '2787*' OR number = '278*' OR number = '27*' OR number = '2*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC                                                                                                                                                                                  
  1464. 2023-10-18 09:45:15.608839 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  1465. 2023-10-18 09:45:15.608839 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : 27876300012
  1466. 2023-10-18 09:45:15.608839 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 8
  1467. 2023-10-18 09:45:15.608839 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Query :Select count(*) as count from dids where number='27876300012' and accountid = "419" and status=0
  1468. 2023-10-18 09:45:15.608839 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_COUNT] COUNT :1
  1469. 2023-10-18 09:45:15.608839 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '27217730186' OR routing_prefix = '2721773018' OR routing_prefix = '272177301' OR routing_prefix = '27217730' OR routing_prefix = '2721773' OR routing_prefix = '272177' OR routing_prefix = '27217' OR routing_prefix = '2721' OR routing_prefix = '272' OR routing_prefix = '27' OR routing_prefix = '2' OR routing_prefix ='--') AND status = 0 and reseller_id = 405 limit 1                                                                          
  1470. 2023-10-18 09:45:15.608839 99.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] Get Destination Number (27217730186)!!!!
  1471. 2023-10-18 09:45:15.608839 99.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] After Append Ported Number : (27217730186)!!!!
  1472. 2023-10-18 09:45:15.608839 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  1473. 2023-10-18 09:45:15.608839 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 419
  1474. 2023-10-18 09:45:15.608839 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 8773282952
  1475. 2023-10-18 09:45:15.608839 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 61.023
  1476. 2023-10-18 09:45:15.608839 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  1477. 2023-10-18 09:45:15.608839 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 187
  1478. 2023-10-18 09:45:15.608839 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 8
  1479. 2023-10-18 09:45:15.608839 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  1480. 2023-10-18 09:45:15.608839 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 187 AND status = 0
  1481. 2023-10-18 09:45:15.608839 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  1482. 2023-10-18 09:45:15.608839 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 187 AND status = 0
  1483. 2023-10-18 09:45:15.608839 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^27217730186.*' OR pattern = '^2721773018.*' OR pattern = '^272177301.*' OR pattern = '^27217730.*' OR pattern = '^2721773.*' OR pattern = '^272177.*' OR pattern = '^27217.*' OR pattern = '^2721.*' OR pattern = '^272.*' OR pattern = '^27.*' OR pattern = '^2.*' OR pattern ='--') AND (caller_id_pattern = '^27876300012.*' OR caller_id_pattern = '^2787630001.*' OR caller_id_pattern = '^278763000.*' OR caller_id_pattern = '^27876300.*' OR caller_id_pattern = '^2787630.*' OR caller_id_pattern = '^278763.*' OR caller_id_pattern = '^27876.*' OR caller_id_pattern = '^2787.*' OR caller_id_pattern = '^278.*' OR caller_id_pattern = '^27.*' OR caller_id_pattern = '^2.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 187 OR accountid=419)  ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1                      
  1484. 2023-10-18 09:45:15.608839 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  1485. 2023-10-18 09:45:15.608839 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  1486. 2023-10-18 09:45:15.608839 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 9010307
  1487. 2023-10-18 09:45:15.608839 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  1488. 2023-10-18 09:45:15.608839 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  1489. 2023-10-18 09:45:15.608839 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.33000
  1490. 2023-10-18 09:45:15.608839 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : RSA Goldtel Geographic
  1491. 2023-10-18 09:45:15.608839 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  1492. 2023-10-18 09:45:15.608839 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 419
  1493. 2023-10-18 09:45:15.608839 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 97
  1494. 2023-10-18 09:45:15.608839 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  1495. 2023-10-18 09:45:15.608839 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  1496. 2023-10-18 09:45:15.608839 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your61.023 balance Accountid 419 !!!
  1497. 2023-10-18 09:45:15.608839 99.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 60 mins!
  1498. 2023-10-18 09:45:15.608839 99.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 405
  1499. 2023-10-18 09:45:15.608839 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "405" OR number = "405") AND deleted = 0 limit 1
  1500. 2023-10-18 09:45:15.608839 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^27217730186.*' OR blocked_patterns = '^2721773018.*' OR blocked_patterns = '^272177301.*' OR blocked_patterns = '^27217730.*' OR blocked_patterns = '^2721773.*' OR blocked_patterns = '^272177.*' OR blocked_patterns = '^27217.*' OR blocked_patterns = '^2721.*' OR blocked_patterns = '^272.*' OR blocked_patterns = '^27.*' OR blocked_patterns = '^2.*' OR blocked_patterns ='--') AND accountid = 405 limit 1                                                                        
  1501. 2023-10-18 09:45:15.608839 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
  1502. 2023-10-18 09:45:15.608839 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 405
  1503. 2023-10-18 09:45:15.608839 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 6840389175
  1504. 2023-10-18 09:45:15.608839 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 390.4528
  1505. 2023-10-18 09:45:15.608839 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  1506. 2023-10-18 09:45:15.608839 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 189
  1507. 2023-10-18 09:45:15.608839 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 189 AND status = 0
  1508. 2023-10-18 09:45:15.608839 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  1509. 2023-10-18 09:45:15.608839 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 189 AND status = 0
  1510. 2023-10-18 09:45:15.608839 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^27217730186.*' OR pattern = '^2721773018.*' OR pattern = '^272177301.*' OR pattern = '^27217730.*' OR pattern = '^2721773.*' OR pattern = '^272177.*' OR pattern = '^27217.*' OR pattern = '^2721.*' OR pattern = '^272.*' OR pattern = '^27.*' OR pattern = '^2.*' OR pattern ='--') AND (caller_id_pattern = '^27876300012.*' OR caller_id_pattern = '^2787630001.*' OR caller_id_pattern = '^278763000.*' OR caller_id_pattern = '^27876300.*' OR caller_id_pattern = '^2787630.*' OR caller_id_pattern = '^278763.*' OR caller_id_pattern = '^27876.*' OR caller_id_pattern = '^2787.*' OR caller_id_pattern = '^278.*' OR caller_id_pattern = '^27.*' OR caller_id_pattern = '^2.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 189 OR accountid=405)  ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1                      
  1511. 2023-10-18 09:45:15.628832 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  1512. 2023-10-18 09:45:15.628832 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  1513. 2023-10-18 09:45:15.628832 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 8853065
  1514. 2023-10-18 09:45:15.628832 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  1515. 2023-10-18 09:45:15.628832 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  1516. 2023-10-18 09:45:15.628832 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.29000
  1517. 2023-10-18 09:45:15.628832 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : RSA Goldtel Geographic
  1518. 2023-10-18 09:45:15.628832 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  1519. 2023-10-18 09:45:15.628832 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 405
  1520. 2023-10-18 09:45:15.628832 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 97
  1521. 2023-10-18 09:45:15.628832 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  1522. 2023-10-18 09:45:15.628832 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  1523. 2023-10-18 09:45:15.628832 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your390.4528 balance Accountid 405 !!!
  1524. 2023-10-18 09:45:15.628832 99.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 60 mins!
  1525. 2023-10-18 09:45:15.628832 99.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 60 mins!
  1526. 2023-10-18 09:45:15.628832 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Daily call credit limit : 60
  1527. 2023-10-18 09:45:15.628832 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:9010307|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.33000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:419||ID:8853065|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:189|MARKUP:0|CI:0|ACCID:405                                                                                                                                                                                  
  1528. 2023-10-18 09:45:15.628832 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  1529. 2023-10-18 09:45:15.628832 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 0
  1530. 2023-10-18 09:45:15.628832 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 60 minutes
  1531. 2023-10-18 09:45:15.628832 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 9010307
  1532. 2023-10-18 09:45:15.628832 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :97
  1533. 2023-10-18 09:45:15.628832 99.97% [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 = '^27217730186.*' OR pattern = '^2721773018.*' OR pattern = '^272177301.*' OR pattern = '^27217730.*' OR pattern = '^2721773.*' OR pattern = '^272177.*' OR pattern = '^27217.*' OR pattern = '^2721.*' OR pattern = '^272.*' OR pattern = '^27.*' OR pattern = '^2.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (97)  AND TR.effective_date <= UTC_TIMESTAMP() ORDER by FIELD(TR.trunk_id,97),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC                                                                            
  1534. 2023-10-18 09:45:15.628832 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [HYBRID_ROUTING] LCR With Cost In 2nd Stage
  1535. 2023-10-18 09:45:15.628832 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  1536. 2023-10-18 09:45:15.628832 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3039419
  1537. 2023-10-18 09:45:15.628832 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^27217730.*
  1538. 2023-10-18 09:45:15.628832 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : RSA Goldtel Geographic
  1539. 2023-10-18 09:45:15.628832 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  1540. 2023-10-18 09:45:15.628832 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  1541. 2023-10-18 09:45:15.628832 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^27217730.*
  1542. 2023-10-18 09:45:15.628832 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  1543. 2023-10-18 09:45:15.628832 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  1544. 2023-10-18 09:45:15.628832 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 97
  1545. 2023-10-18 09:45:15.628832 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : Goldtel
  1546. 2023-10-18 09:45:15.628832 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  1547. 2023-10-18 09:45:15.628832 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  1548. 2023-10-18 09:45:15.628832 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 159
  1549. 2023-10-18 09:45:15.628832 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 10
  1550. 2023-10-18 09:45:15.628832 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  1551. 2023-10-18 09:45:15.628832 99.97% [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 = 419 AND status=0 LIMIT 1                                                                                                                                                                                      
  1552. 2023-10-18 09:45:15.628832 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 60
  1553. 2023-10-18 09:45:15.628832 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = '27876300012' and status = 0 limit 1
  1554. 2023-10-18 09:45:15.628832 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1555. 2023-10-18 09:45:15.628832 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_recording_call] Query :SELECT username FROM sip_devices WHERE username = '27876300012' and status = 0 limit 1
  1556. 2023-10-18 09:45:15.628832 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE (number = 419 or id = 419 ) and status = 0 limit 1
  1557. 2023-10-18 09:45:15.628832 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  1558. 2023-10-18 09:45:15.628832 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 189 AND status = 0
  1559. 2023-10-18 09:45:15.628832 99.97% [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 = 159) AND status=0 limit 1                                                                                                                                                                
  1560. 2023-10-18 09:45:15.628832 99.97% [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 = 97) AND status=0 limit 1                                                                                                                                                                    
  1561. 2023-10-18 09:45:15.628832 99.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  1562. 2023-10-18 09:45:15.628832 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1                                                                                                                                                                                          
  1563. 2023-10-18 09:45:15.628832 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....0217730186
  1564. 2023-10-18 09:45:15.628832 99.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0217730186
  1565. 2023-10-18 09:45:15.628832 99.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27217730186
  1566. 2023-10-18 09:45:15.628832 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27217730186
  1567. 2023-10-18 09:45:15.628832 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27217730186
  1568. 2023-10-18 09:45:15.628832 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27217730186" LIMIT 1                                    
  1569. 2023-10-18 09:45:15.628832 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1570. 2023-10-18 09:45:15.628832 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  1571. <?xml version="1.0" encoding="UTF-8" standalone="no"?>                                                                                                                                                            
  1572. <document type="freeswitch/xml">                                                                                                                                                                                  
  1573. <section name="dialplan" description="ASTPP Dialplan">                                                                                                                                                            
  1574. <context name="default">                                                                                                                                                                                          
  1575. <extension name="27217730186">                                                                                                                                                                                    
  1576. <condition field="destination_number" expression="0217730186">                                                                                                                                                    
  1577. <action application="set" data="effective_destination_number=27217730186"/>                                                                                                                                        
  1578. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>                                                                                                                                        
  1579. <action application="set" data="bridge_pre_execute_bleg_data=+3600 normal_clearing"/>                                                                                                                              
  1580. <action application="set" data="notify_flag=0"/>                                                                                                                                                                  
  1581. <action application="set" data="notify_credit_limit=10.00000"/>                                                                                                                                                    
  1582. <action application="set" data="type=0"/>                                                                                                                                                                          
  1583. <action application="set" data="callstart=2023-10-18 09:45:15"/>                                                                                                                                                  
  1584. <action application="set" data="hangup_after_bridge=true"/>                                                                                                                                                        
  1585. <action application="set" data="continue_on_fail=TRUE"/>                                                                                                                                                          
  1586. <action application="set" data="account_id=419"/>                                                                                                                                                                  
  1587. <action application="set" data="parent_id=405"/>                                                                                                                                                                  
  1588. <action application="set" data="entity_id=0"/>                                                                                                                                                                    
  1589. <action application="set" data="call_processed=internal"/>                                                                                                                                                        
  1590. <action application="set" data="call_direction=outbound"/>                                                                                                                                                        
  1591. <action application="set" data="accountname=default"/>                                                                                                                                                            
  1592. <action application="export" data="t38_passthru=true"/>                                                                                                                                                            
  1593. <action application="set" data="fax_enable_t38=true"/>                                                                                                                                                            
  1594. <action application="set" data="fax_enable_t38_request=true"/>                                                                                                                                                    
  1595. <action application="set" data="filename1=astpp.pbx.lua"/>                                                                                                                                                        
  1596. <action application="set" data="origination_rates=ID:9010307|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.33000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:419||ID:8853065|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:189|MARKUP:0|CI:0|ACCID:405"/>        
  1597. <action application="set" data="original_caller_id_name=27876300012"/>                                                                                                                                            
  1598. <action application="set" data="original_caller_id_number=27876300012"/>                                                                                                                                          
  1599. <action application="limit" data="db 8773282952 user_8773282952 16 "/>                                                                                                                                            
  1600. <action application="limit" data="db 6840389175 user_6840389175 20 "/>                                                                                                                                            
  1601. <action application="export" data="is_recording=1"/>                                                                                                                                                              
  1602. <action application="export" data="media_bug_answer_req=true"/>                                                                                                                                                    
  1603. <action application="export" data="record_sample_rate=8000"/>                                                                                                                                                      
  1604. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>                                                                                                              
  1605. <action application="set" data="effective_caller_id_name=27876300012"/>                                                                                                                                            
  1606. <action application="set" data="effective_caller_id_number=27876300012"/>                                                                                                                                          
  1607. <action application="set" data="calltype=STANDARD"/>                                                                                                                                                              
  1608. <action application="set" data="termination_rates=ID:3039419|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.09000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159"/>                                                                                                                                                                                                                  
  1609. <action application="set" data="trunk_id=97"/>                                                                                                                                                                    
  1610. <action application="set" data="provider_id=159"/>                                                                                                                                                                
  1611. <action application="set" data="rate_flag=0"/>                                                                                                                                                                    
  1612. <action application="set" data="daily_call_credit_limit=50.00000"/>                                                                                                                                                
  1613. <action application="set" data="monthly_call_credit_limit=500.00000"/>                                                                                                                                            
  1614. <action application="set" data="daily_call_used_limit=13.87270"/>                                                                                                                                                  
  1615. <action application="set" data="monthly_call_used_limit=203.75360"/>                                                                                                                                              
  1616. <action application="set" data="quality_trunk_seq=97"/>                                                                                                                                                            
  1617. <action application="set" data="force_trunk_flag=9010307"/>                                                                                                                                                        
  1618. <action application="export" data="presence_data=trunk_id=97"/>                                                                                                                                                    
  1619. <action application="set" data="intcall=0"/>                                                                                                                                                                      
  1620. <action application="export" data="presence_id=27217730186"/>                                                                                                                                                      
  1621. <action application="export" data="presence_data=x//405|||Goldtel(8773282952)|||^27217730.* // RSA Goldtel Geographic // 0.33000 |||Goldtel // ^27217730.* // RSA Goldtel Geographic // 0.09000 // trunk_id=97|||STD|||196.7.219.43|||0.29000 // ^27217730.* // RSA Goldtel Geographic"/>                                                                                                                                            
  1622. <action application="limit" data="db Goldtel gw_Goldtel 10 "/>                                                                                                                                                    
  1623. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/Goldtel/27217730186;fs_path=sip:102.220.232.100:5060"/>                                
  1624. </condition>                                                                                                                                                                                                      
  1625. </extension>                                                                                                                                                                                                      
  1626. </context>                                                                                                                                                                                                        
  1627. </section>                                                                                                                                                                                                        
  1628. </document>                                                                                                                                                                                                        
  1629. Dialplan: sofia/default/27876300012@196.7.219.43:8356 parsing [default->27217730186] continue=false
  1630. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Regex (PASS) [27217730186] destination_number(0217730186) =~ /0217730186/ break=on-false
  1631. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(effective_destination_number=27217730186)
  1632. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  1633. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(bridge_pre_execute_bleg_data=+3600 normal_clearing)
  1634. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(notify_flag=0)
  1635. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(notify_credit_limit=10.00000)
  1636. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(type=0)
  1637. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(callstart=2023-10-18 09:45:15)
  1638. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(hangup_after_bridge=true)
  1639. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(continue_on_fail=TRUE)
  1640. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(account_id=419)
  1641. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(parent_id=405)
  1642. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(entity_id=0)
  1643. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(call_processed=internal)
  1644. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(call_direction=outbound)
  1645. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(accountname=default)
  1646. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(t38_passthru=true)
  1647. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(fax_enable_t38=true)
  1648. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(fax_enable_t38_request=true)
  1649. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(filename1=astpp.pbx.lua)
  1650. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(origination_rates=ID:9010307|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.33000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:419||ID:8853065|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:189|MARKUP:0|CI:0|ACCID:405)                                                                                                                                                                                            
  1651. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(original_caller_id_name=27876300012)
  1652. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(original_caller_id_number=27876300012)
  1653. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action limit(db 8773282952 user_8773282952 16 )
  1654. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action limit(db 6840389175 user_6840389175 20 )
  1655. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(is_recording=1)
  1656. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(media_bug_answer_req=true)
  1657. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(record_sample_rate=8000)
  1658. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  1659. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(effective_caller_id_name=27876300012)
  1660. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(effective_caller_id_number=27876300012)
  1661. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(calltype=STANDARD)
  1662. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(termination_rates=ID:3039419|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.09000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159)                                                                                                                                                                                  
  1663. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(trunk_id=97)
  1664. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(provider_id=159)
  1665. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(rate_flag=0)
  1666. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(daily_call_credit_limit=50.00000)
  1667. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(monthly_call_credit_limit=500.00000)
  1668. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(daily_call_used_limit=13.87270)
  1669. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(monthly_call_used_limit=203.75360)
  1670. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(quality_trunk_seq=97)
  1671. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(force_trunk_flag=9010307)
  1672. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(presence_data=trunk_id=97)
  1673. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(intcall=0)
  1674. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(presence_id=27217730186)
  1675. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(presence_data=x//405|||Goldtel(8773282952)|||^27217730.* // RSA Goldtel Geographic // 0.33000 |||Goldtel // ^27217730.* // RSA Goldtel Geographic // 0.09000 // trunk_id=97|||STD|||196.7.219.43|||0.29000 // ^27217730.* // RSA Goldtel Geographic)                                                                                                              
  1676. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action limit(db Goldtel gw_Goldtel 10 )
  1677. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action bridge({sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/Goldtel/27217730186;fs_path=sip:102.220.232.100:5060)
  1678. 2023-10-18 09:45:15.628832 99.97% [DEBUG] switch_core_state_machine.c:281 (sofia/default/27876300012@196.7.219.43:8356) State Change CS_ROUTING -> CS_EXECUTE
  1679. 2023-10-18 09:45:15.628832 99.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876300012@196.7.219.43:8356) State ROUTING going to sleep
  1680. 2023-10-18 09:45:15.628832 99.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_EXECUTE (Cur 1 Tot 464)
  1681. 2023-10-18 09:45:15.628832 99.97% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27876300012@196.7.219.43:8356) State EXECUTE
  1682. 2023-10-18 09:45:15.628832 99.97% [DEBUG] mod_sofia.c:213 sofia/default/27876300012@196.7.219.43:8356 SOFIA EXECUTE
  1683. 2023-10-18 09:45:15.628832 99.97% [DEBUG] switch_core_state_machine.c:323 sofia/default/27876300012@196.7.219.43:8356 Standard EXECUTE
  1684. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(effective_destination_number=27217730186)
  1685. 2023-10-18 09:45:15.628832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [effective_destination_number]=[27217730186]
  1686. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(bridge_pre_execute_bleg_app=sched_hangup)
  1687. 2023-10-18 09:45:15.628832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [bridge_pre_execute_bleg_app]=[sched_hangup]
  1688. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(bridge_pre_execute_bleg_data=+3600 normal_clearing)
  1689. 2023-10-18 09:45:15.628832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [bridge_pre_execute_bleg_data]=[+3600 normal_clearing]
  1690. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(notify_flag=0)
  1691. 2023-10-18 09:45:15.628832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [notify_flag]=[0]
  1692. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(notify_credit_limit=10.00000)
  1693. 2023-10-18 09:45:15.628832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [notify_credit_limit]=[10.00000]
  1694. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(type=0)
  1695. 2023-10-18 09:45:15.628832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [type]=[0]
  1696. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(callstart=2023-10-18 09:45:15)
  1697. 2023-10-18 09:45:15.628832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [callstart]=[2023-10-18 09:45:15]
  1698. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(hangup_after_bridge=true)
  1699. 2023-10-18 09:45:15.628832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [hangup_after_bridge]=[true]
  1700. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(continue_on_fail=TRUE)
  1701. 2023-10-18 09:45:15.628832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [continue_on_fail]=[TRUE]
  1702. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(account_id=419)
  1703. 2023-10-18 09:45:15.628832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [account_id]=[419]
  1704. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(parent_id=405)
  1705. 2023-10-18 09:45:15.628832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [parent_id]=[405]
  1706. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(entity_id=0)
  1707. 2023-10-18 09:45:15.628832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [entity_id]=[0]
  1708. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(call_processed=internal)
  1709. 2023-10-18 09:45:15.628832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [call_processed]=[internal]
  1710. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(call_direction=outbound)
  1711. 2023-10-18 09:45:15.628832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [call_direction]=[outbound]
  1712. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(accountname=default)
  1713. 2023-10-18 09:45:15.628832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [accountname]=[default]
  1714. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(t38_passthru=true)
  1715. 2023-10-18 09:45:15.628832 99.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true]
  1716. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(fax_enable_t38=true)
  1717. 2023-10-18 09:45:15.628832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [fax_enable_t38]=[true]
  1718. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(fax_enable_t38_request=true)
  1719. 2023-10-18 09:45:15.628832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [fax_enable_t38_request]=[true]
  1720. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(filename1=astpp.pbx.lua)
  1721. 2023-10-18 09:45:15.628832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [filename1]=[astpp.pbx.lua]
  1722. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(origination_rates=ID:9010307|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.33000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:419||ID:8853065|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:189|MARKUP:0|CI:0|ACCID:405)                                                                                                                                                                                            
  1723. 2023-10-18 09:45:15.628832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [origination_rates]=[ID:9010307|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.33000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:419||ID:8853065|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:189|MARKUP:0|CI:0|ACCID:405]                                                                                                                                              
  1724. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(original_caller_id_name=27876300012)
  1725. 2023-10-18 09:45:15.628832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [original_caller_id_name]=[27876300012]
  1726. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(original_caller_id_number=27876300012)
  1727. 2023-10-18 09:45:15.628832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [original_caller_id_number]=[27876300012]
  1728. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 limit(db 8773282952 user_8773282952 16 )
  1729. 2023-10-18 09:45:15.628832 99.97% [DEBUG] switch_limit.c:124 incr called: 8773282952_user_8773282952 max:16, interval:0
  1730. 2023-10-18 09:45:15.628832 99.97% [DEBUG] mod_db.c:194 Usage for 8773282952_user_8773282952 is now 1/16
  1731. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 limit(db 6840389175 user_6840389175 20 )
  1732. 2023-10-18 09:45:15.628832 99.97% [DEBUG] switch_limit.c:124 incr called: 6840389175_user_6840389175 max:20, interval:0
  1733. 2023-10-18 09:45:15.628832 99.97% [DEBUG] mod_db.c:194 Usage for 6840389175_user_6840389175 is now 1/20
  1734. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(is_recording=1)
  1735. 2023-10-18 09:45:15.648832 99.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  1736. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(media_bug_answer_req=true)
  1737. 2023-10-18 09:45:15.648832 99.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  1738. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(record_sample_rate=8000)
  1739. 2023-10-18 09:45:15.648832 99.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  1740. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(execute_on_answer=record_session /usr/local/freeswitch/recordings/e43c85ad-6c7f-4300-ae81-d453145a8e65.wav)
  1741. 2023-10-18 09:45:15.648832 99.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/e43c85ad-6c7f-4300-ae81-d453145a8e65.wav]
  1742. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(effective_caller_id_name=27876300012)
  1743. 2023-10-18 09:45:15.648832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [effective_caller_id_name]=[27876300012]
  1744. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(effective_caller_id_number=27876300012)
  1745. 2023-10-18 09:45:15.648832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [effective_caller_id_number]=[27876300012]
  1746. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(calltype=STANDARD)
  1747. 2023-10-18 09:45:15.648832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [calltype]=[STANDARD]
  1748. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(termination_rates=ID:3039419|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.09000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159)                                                                                                                                                                                  
  1749. 2023-10-18 09:45:15.648832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [termination_rates]=[ID:3039419|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.09000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159]                                                                                                                                    
  1750. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(trunk_id=97)
  1751. 2023-10-18 09:45:15.648832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [trunk_id]=[97]
  1752. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(provider_id=159)
  1753. 2023-10-18 09:45:15.648832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [provider_id]=[159]
  1754. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(rate_flag=0)
  1755. 2023-10-18 09:45:15.648832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [rate_flag]=[0]
  1756. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(daily_call_credit_limit=50.00000)
  1757. 2023-10-18 09:45:15.648832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [daily_call_credit_limit]=[50.00000]
  1758. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(monthly_call_credit_limit=500.00000)
  1759. 2023-10-18 09:45:15.648832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [monthly_call_credit_limit]=[500.00000]
  1760. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(daily_call_used_limit=13.87270)
  1761. 2023-10-18 09:45:15.648832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [daily_call_used_limit]=[13.87270]
  1762. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(monthly_call_used_limit=203.75360)
  1763. 2023-10-18 09:45:15.648832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [monthly_call_used_limit]=[203.75360]
  1764. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(quality_trunk_seq=97)
  1765. 2023-10-18 09:45:15.648832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [quality_trunk_seq]=[97]
  1766. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(force_trunk_flag=9010307)
  1767. 2023-10-18 09:45:15.648832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [force_trunk_flag]=[9010307]
  1768. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(presence_data=trunk_id=97)
  1769. 2023-10-18 09:45:15.648832 99.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=97]
  1770. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(intcall=0)
  1771. 2023-10-18 09:45:15.648832 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [intcall]=[0]
  1772. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(presence_id=27217730186)
  1773. 2023-10-18 09:45:15.648832 99.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[27217730186]
  1774. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(presence_data=x//405|||Goldtel(8773282952)|||^27217730.* // RSA Goldtel Geographic // 0.33000 |||Goldtel // ^27217730.* // RSA Goldtel Geographic // 0.09000 // trunk_id=97|||STD|||196.7.219.43|||0.29000 // ^27217730.* // RSA Goldtel Geographic)                                                                                                            
  1775. 2023-10-18 09:45:15.648832 99.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x//405|||Goldtel(8773282952)|||^27217730.* // RSA Goldtel Geographic // 0.33000 |||Goldtel // ^27217730.* // RSA Goldtel Geographic // 0.09000 // trunk_id=97|||STD|||196.7.219.43|||0.29000 // ^27217730.* // RSA Goldtel Geographic]                                                                                          
  1776. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 limit(db Goldtel gw_Goldtel 10 )
  1777. 2023-10-18 09:45:15.648832 99.97% [DEBUG] switch_limit.c:124 incr called: Goldtel_gw_Goldtel max:10, interval:0
  1778. 2023-10-18 09:45:15.648832 99.97% [DEBUG] mod_db.c:194 Usage for Goldtel_gw_Goldtel is now 1/10
  1779. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 bridge({sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/Goldtel/27217730186;fs_path=sip:102.220.232.100:5060)
  1780. 2023-10-18 09:45:15.648832 99.97% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.7.219.43:8356 EXPORTING[export_vars] [t38_passthru]=[true] to event
  1781. 2023-10-18 09:45:15.648832 99.97% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.7.219.43:8356 EXPORTING[export_vars] [is_recording]=[1] to event
  1782. 2023-10-18 09:45:15.648832 99.97% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.7.219.43:8356 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  1783. 2023-10-18 09:45:15.648832 99.97% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.7.219.43:8356 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  1784. 2023-10-18 09:45:15.648832 99.97% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.7.219.43:8356 EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/e43c85ad-6c7f-4300-ae81-d453145a8e65.wav] to event                                                                                                                                                                            
  1785. 2023-10-18 09:45:15.648832 99.97% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.7.219.43:8356 EXPORTING[export_vars] [presence_data]=[x//405|||Goldtel(8773282952)|||^27217730.* // RSA Goldtel Geographic // 0.33000 |||Goldtel // ^27217730.* // RSA Goldtel Geographic // 0.09000 // trunk_id=97|||STD|||196.7.219.43|||0.29000 // ^27217730.* // RSA Goldtel Geographic] to event                                  
  1786. 2023-10-18 09:45:15.648832 99.97% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.7.219.43:8356 EXPORTING[export_vars] [presence_id]=[27217730186] to event
  1787. 2023-10-18 09:45:15.648832 99.97% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.7.219.43:8356 EXPORTING[export_vars] [presence_data]=[x//405|||Goldtel(8773282952)|||^27217730.* // RSA Goldtel Geographic // 0.33000 |||Goldtel // ^27217730.* // RSA Goldtel Geographic // 0.09000 // trunk_id=97|||STD|||196.7.219.43|||0.29000 // ^27217730.* // RSA Goldtel Geographic] to event                                  
  1788. 2023-10-18 09:45:15.648832 99.97% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  1789. 2023-10-18 09:45:15.648832 99.97% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  1790. 2023-10-18 09:45:15.648832 99.97% [NOTICE] switch_channel.c:1123 New Channel sofia/default/27217730186 [0eeea6c1-40c6-4b12-bfa1-a6d9002c106f]
  1791. 2023-10-18 09:45:15.648832 99.97% [DEBUG] mod_sofia.c:5121 (sofia/default/27217730186) State Change CS_NEW -> CS_INIT
  1792. 2023-10-18 09:45:15.648832 99.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27217730186) Running State Change CS_INIT (Cur 2 Tot 465)
  1793. 2023-10-18 09:45:15.648832 99.97% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27217730186) State INIT
  1794. 2023-10-18 09:45:15.648832 99.97% [DEBUG] mod_sofia.c:97 sofia/default/27217730186 SOFIA INIT
  1795. 2023-10-18 09:45:15.648832 99.97% [DEBUG] sofia_glue.c:1620 sip:102.220.232.100 Setting proxy route to sofia/default/27217730186
  1796. 2023-10-18 09:45:15.648832 99.97% [INFO] sofia_glue.c:1651 sofia/default/27217730186 sending invite call-id: (null)
  1797. 2023-10-18 09:45:15.648832 99.97% [DEBUG] sofia_glue.c:1654 sofia/default/27217730186 sending invite version: 1.10.7 -release 64bit
  1798. Local SDP:                                                                                                                                                                                                        
  1799. v=0                                                                                                                                                                                                                
  1800. o=FreeSWITCH 1697594533 1697594534 IN IP4 102.220.232.19                                                                                                                                                          
  1801. s=FreeSWITCH                                                                                                                                                                                                      
  1802. c=IN IP4 102.220.232.19                                                                                                                                                                                            
  1803. t=0 0                                                                                                                                                                                                              
  1804. m=audio 27782 RTP/AVP 18 8 0 101                                                                                                                                                                                  
  1805. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  1806. a=fmtp:18 annexb=no                                                                                                                                                                                                
  1807. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  1808. a=rtpmap:0 PCMU/8000                                                                                                                                                                                              
  1809. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  1810. a=fmtp:101 0-15                                                                                                                                                                                                    
  1811. a=ptime:20                                                                                                                                                                                                        
  1812. a=sendrecv                                                                                                                                                                                                        
  1813.  
  1814. 2023-10-18 09:45:15.648832 99.97% [DEBUG] switch_core_state_machine.c:40 sofia/default/27217730186 Standard INIT
  1815. 2023-10-18 09:45:15.648832 99.97% [DEBUG] switch_core_state_machine.c:48 (sofia/default/27217730186) State Change CS_INIT -> CS_ROUTING
  1816. 2023-10-18 09:45:15.648832 99.97% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27217730186) State INIT going to sleep
  1817. 2023-10-18 09:45:15.648832 99.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27217730186) Running State Change CS_ROUTING (Cur 2 Tot 465)
  1818. 2023-10-18 09:45:15.648832 99.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27217730186) State ROUTING
  1819. 2023-10-18 09:45:15.648832 99.97% [DEBUG] mod_sofia.c:158 sofia/default/27217730186 SOFIA ROUTING
  1820. 2023-10-18 09:45:15.648832 99.97% [DEBUG] switch_ivr_originate.c:67 (sofia/default/27217730186) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  1821. 2023-10-18 09:45:15.648832 99.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27217730186) State ROUTING going to sleep
  1822. 2023-10-18 09:45:15.648832 99.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27217730186) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 465)
  1823. 2023-10-18 09:45:15.648832 99.97% [DEBUG] switch_core_state_machine.c:659 (sofia/default/27217730186) State CONSUME_MEDIA
  1824. 2023-10-18 09:45:15.648832 99.97% [DEBUG] switch_core_state_machine.c:659 (sofia/default/27217730186) State CONSUME_MEDIA going to sleep
  1825. 2023-10-18 09:45:15.648832 99.97% [DEBUG] sofia.c:7499 Channel sofia/default/27217730186 entering state [calling][0]
  1826. 2023-10-18 09:45:17.768835 99.90% [INFO] sofia.c:1348 sofia/default/27217730186 Update Callee ID to "27217730186" <27217730186>
  1827. 2023-10-18 09:45:17.768835 99.90% [DEBUG] sofia.c:7499 Channel sofia/default/27217730186 entering state [proceeding][183]
  1828. 2023-10-18 09:45:17.768835 99.90% [DEBUG] sofia.c:7509 Remote SDP:
  1829. v=0                                                                                                                                                                                                                
  1830. o=FreeSWITCH 1697602870 1697602871 IN IP4 196.31.25.87                                                                                                                                                            
  1831. s=FreeSWITCH                                                                                                                                                                                                      
  1832. c=IN IP4 196.31.25.87                                                                                                                                                                                              
  1833. t=0 0                                                                                                                                                                                                              
  1834. m=audio 19446 RTP/AVP 18 101                                                                                                                                                                                      
  1835. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  1836. a=fmtp:18 annexb=no                                                                                                                                                                                                
  1837. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  1838. a=fmtp:101 0-16                                                                                                                                                                                                    
  1839. a=ptime:20                                                                                                                                                                                                        
  1840.  
  1841. 2023-10-18 09:45:17.768835 99.90% [NOTICE] sofia.c:7512 Pre-Answer sofia/default/27217730186!
  1842. 2023-10-18 09:45:17.768835 99.90% [DEBUG] switch_channel.c:3622 (sofia/default/27217730186) Callstate Change DOWN -> EARLY
  1843. 2023-10-18 09:45:17.768835 99.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  1844. 2023-10-18 09:45:17.768835 99.90% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  1845. 2023-10-18 09:45:17.768835 99.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  1846. 2023-10-18 09:45:17.768835 99.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  1847. 2023-10-18 09:45:17.768835 99.90% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  1848. 2023-10-18 09:45:17.768835 99.90% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/27217730186 G729/8000 20 ms 160 samples 8000 bits 1 channels
  1849. 2023-10-18 09:45:17.768835 99.90% [DEBUG] switch_core_codec.c:111 sofia/default/27217730186 Original read codec set to G729:18
  1850. 2023-10-18 09:45:17.768835 99.90% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  1851. 2023-10-18 09:45:17.768835 99.90% [DEBUG] switch_core_media.c:5973 sofia/default/27217730186 Set 2833 dtmf send payload to 101 recv payload to 101
  1852. 2023-10-18 09:45:17.768835 99.90% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/27217730186] 102.220.232.19 port 27782 -> 196.31.25.87 port 19446 codec: 18 ms: 20
  1853. 2023-10-18 09:45:17.768835 99.90% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  1854. 2023-10-18 09:45:17.768835 99.90% [DEBUG] switch_core_media.c:9089 sofia/default/27217730186 Set 2833 dtmf send payload to 101
  1855. 2023-10-18 09:45:17.768835 99.90% [DEBUG] switch_core_media.c:9096 sofia/default/27217730186 Set 2833 dtmf receive payload to 101
  1856. 2023-10-18 09:45:17.768835 99.90% [DEBUG] switch_core_media.c:9119 sofia/default/27217730186 Set rtp dtmf delay to 40
  1857. 2023-10-18 09:45:17.768835 99.90% [INFO] switch_ivr_originate.c:3841 Sending early media
  1858. 2023-10-18 09:45:17.768835 99.90% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/27876300012@196.7.219.43:8356] 102.220.232.19 port 19552 -> 196.7.219.43 port 36294 codec: 8 ms: 20
  1859. 2023-10-18 09:45:17.768835 99.90% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  1860. 2023-10-18 09:45:17.768835 99.90% [DEBUG] switch_core_media.c:9089 sofia/default/27876300012@196.7.219.43:8356 Set 2833 dtmf send payload to 101
  1861. 2023-10-18 09:45:17.768835 99.90% [DEBUG] switch_core_media.c:9096 sofia/default/27876300012@196.7.219.43:8356 Set 2833 dtmf receive payload to 101
  1862. 2023-10-18 09:45:17.768835 99.90% [DEBUG] switch_core_media.c:9119 sofia/default/27876300012@196.7.219.43:8356 Set rtp dtmf delay to 40
  1863. 2023-10-18 09:45:17.768835 99.90% [DEBUG] mod_sofia.c:2610 Ring SDP:
  1864. v=0                                                                                                                                                                                                                
  1865. o=FreeSWITCH 1697602765 1697602766 IN IP4 102.220.232.19                                                                                                                                                          
  1866. s=FreeSWITCH                                                                                                                                                                                                      
  1867. c=IN IP4 102.220.232.19                                                                                                                                                                                            
  1868. t=0 0                                                                                                                                                                                                              
  1869. m=audio 19552 RTP/AVP 8 101                                                                                                                                                                                        
  1870. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  1871. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  1872. a=fmtp:101 0-15                                                                                                                                                                                                    
  1873. a=ptime:20                                                                                                                                                                                                        
  1874. a=sendrecv                                                                                                                                                                                                        
  1875.  
  1876. 2023-10-18 09:45:17.768835 99.90% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/27876300012@196.7.219.43:8356!
  1877. 2023-10-18 09:45:17.768835 99.90% [DEBUG] switch_channel.c:3622 (sofia/default/27876300012@196.7.219.43:8356) Callstate Change RINGING -> EARLY
  1878. 2023-10-18 09:45:17.768835 99.90% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/27217730186] Peer UUID: 0eeea6c1-40c6-4b12-bfa1-a6d9002c106f
  1879. 2023-10-18 09:45:17.768835 99.90% [DEBUG] sofia.c:7499 Channel sofia/default/27876300012@196.7.219.43:8356 entering state [early][183]
  1880. 2023-10-18 09:45:17.768835 99.90% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/27217730186) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  1881. 2023-10-18 09:45:17.768835 99.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27217730186) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 465)
  1882. 2023-10-18 09:45:17.768835 99.90% [DEBUG] switch_core_state_machine.c:650 (sofia/default/27217730186) State EXCHANGE_MEDIA
  1883. 2023-10-18 09:45:17.768835 99.90% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  1884. 2023-10-18 09:45:17.828836 99.90% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  1885. 2023-10-18 09:45:17.968836 99.90% [DEBUG] switch_ivr_bridge.c:655 sofia/default/27217730186 Bridge execute app sched_hangup(+3600 normal_clearing)
  1886. 2023-10-18 09:45:17.988836 99.90% [DEBUG] switch_ivr.c:632 sofia/default/27217730186 Command Execute [depth=0] sched_hangup(+3600 normal_clearing)
  1887. EXECUTE [depth=0] sofia/default/27217730186 sched_hangup(+3600 normal_clearing)
  1888. 2023-10-18 09:45:17.988836 99.90% [DEBUG] switch_scheduler.c:263 Added task 168 switch_ivr_schedule_hangup (0eeea6c1-40c6-4b12-bfa1-a6d9002c106f) to run at 1697625917
  1889. 2023-10-18 09:45:18.108835 99.90% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  1890. 2023-10-18 09:45:19.628836 99.83% [DEBUG] sofia.c:7499 Channel sofia/default/27876300012@196.7.219.43:8356 entering state [terminated][487]
  1891. 2023-10-18 09:45:19.628836 99.83% [NOTICE] sofia.c:8738 Hangup sofia/default/27876300012@196.7.219.43:8356 [CS_EXECUTE] [ORIGINATOR_CANCEL]
  1892. 2023-10-18 09:45:19.628836 99.83% [DEBUG] switch_ivr_bridge.c:826 sofia/default/27876300012@196.7.219.43:8356 ending bridge by request from read function
  1893. 2023-10-18 09:45:19.628836 99.83% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/27876300012@196.7.219.43:8356]
  1894. 2023-10-18 09:45:19.648837 99.83% [DEBUG] switch_ivr_bridge.c:820 sofia/default/27876300012@196.7.219.43:8356 ending bridge by request from write function
  1895. 2023-10-18 09:45:19.648837 99.83% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/27217730186]
  1896. 2023-10-18 09:45:19.648837 99.83% [NOTICE] switch_ivr_bridge.c:1025 Hangup sofia/default/27217730186 [CS_EXCHANGE_MEDIA] [ORIGINATOR_CANCEL]
  1897. 2023-10-18 09:45:19.648837 99.83% [DEBUG] switch_core_state_machine.c:650 (sofia/default/27217730186) State EXCHANGE_MEDIA going to sleep
  1898. 2023-10-18 09:45:19.648837 99.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27217730186) Running State Change CS_HANGUP (Cur 2 Tot 465)
  1899. 2023-10-18 09:45:19.648837 99.83% [DEBUG] switch_core_state_machine.c:844 (sofia/default/27217730186) Callstate Change EARLY -> HANGUP
  1900. 2023-10-18 09:45:19.648837 99.83% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27217730186) State HANGUP
  1901. 2023-10-18 09:45:19.648837 99.83% [DEBUG] mod_sofia.c:462 sofia/default/27217730186 Overriding SIP cause 487 with 487 from the other leg
  1902. 2023-10-18 09:45:19.648837 99.83% [DEBUG] mod_sofia.c:468 Channel sofia/default/27217730186 hanging up, cause: ORIGINATOR_CANCEL
  1903. 2023-10-18 09:45:19.648837 99.83% [DEBUG] mod_sofia.c:536 Sending CANCEL to sofia/default/27217730186
  1904. 2023-10-18 09:45:19.648837 99.83% [DEBUG] switch_core_state_machine.c:59 sofia/default/27217730186 Standard HANGUP, cause: ORIGINATOR_CANCEL
  1905. 2023-10-18 09:45:19.648837 99.83% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27217730186) State HANGUP going to sleep
  1906. 2023-10-18 09:45:19.648837 99.83% [DEBUG] switch_core_state_machine.c:616 (sofia/default/27217730186) State Change CS_HANGUP -> CS_REPORTING
  1907. 2023-10-18 09:45:19.648837 99.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27217730186) Running State Change CS_REPORTING (Cur 2 Tot 465)
  1908. 2023-10-18 09:45:19.648837 99.83% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/27217730186 skip receive message [UNBRIDGE] (channel is hungup already)
  1909. 2023-10-18 09:45:19.648837 99.83% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/27876300012@196.7.219.43:8356 skip receive message [UNBRIDGE] (channel is hungup already)
  1910. 2023-10-18 09:45:19.648837 99.83% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27217730186) State REPORTING
  1911. 2023-10-18 09:45:19.648837 99.83% [DEBUG] switch_core_session.c:2983 sofia/default/27876300012@196.7.219.43:8356 skip receive message [PHONE_EVENT] (channel is hungup already)
  1912. 2023-10-18 09:45:19.648837 99.83% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27876300012@196.7.219.43:8356) State EXECUTE going to sleep
  1913. 2023-10-18 09:45:19.648837 99.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_HANGUP (Cur 2 Tot 465)
  1914. 2023-10-18 09:45:19.648837 99.83% [DEBUG] switch_core_state_machine.c:844 (sofia/default/27876300012@196.7.219.43:8356) Callstate Change EARLY -> HANGUP
  1915. 2023-10-18 09:45:19.648837 99.83% [INFO] mod_json_cdr.c:271 Process [0eeea6c1-40c6-4b12-bfa1-a6d9002c106f.cdr.json]
  1916. 2023-10-18 09:45:19.648837 99.83% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876300012@196.7.219.43:8356) State HANGUP
  1917. 2023-10-18 09:45:19.648837 99.83% [DEBUG] mod_sofia.c:468 Channel sofia/default/27876300012@196.7.219.43:8356 hanging up, cause: ORIGINATOR_CANCEL
  1918. 2023-10-18 09:45:19.648837 99.83% [DEBUG] switch_core_state_machine.c:59 sofia/default/27876300012@196.7.219.43:8356 Standard HANGUP, cause: ORIGINATOR_CANCEL
  1919. 2023-10-18 09:45:19.648837 99.83% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876300012@196.7.219.43:8356) State HANGUP going to sleep
  1920. 2023-10-18 09:45:19.648837 99.83% [DEBUG] switch_core_state_machine.c:616 (sofia/default/27876300012@196.7.219.43:8356) State Change CS_HANGUP -> CS_REPORTING
  1921. 2023-10-18 09:45:19.648837 99.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_REPORTING (Cur 2 Tot 465)
  1922. 2023-10-18 09:45:19.648837 99.83% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876300012@196.7.219.43:8356) State REPORTING
  1923. 2023-10-18 09:45:19.648837 99.83% [INFO] mod_json_cdr.c:271 Process [e43c85ad-6c7f-4300-ae81-d453145a8e65.cdr.json]
  1924. 2023-10-18 09:45:19.688834 99.83% [DEBUG] switch_core_state_machine.c:168 sofia/default/27217730186 Standard REPORTING, cause: ORIGINATOR_CANCEL
  1925. 2023-10-18 09:45:19.688834 99.83% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27217730186) State REPORTING going to sleep
  1926. 2023-10-18 09:45:19.688834 99.83% [DEBUG] switch_core_state_machine.c:607 (sofia/default/27217730186) State Change CS_REPORTING -> CS_DESTROY
  1927. 2023-10-18 09:45:19.688834 99.83% [DEBUG] switch_core_session.c:1753 Session 465 (sofia/default/27217730186) Locked, Waiting on external entities
  1928. 2023-10-18 09:45:19.688834 99.83% [NOTICE] switch_core_session.c:1771 Session 465 (sofia/default/27217730186) Ended
  1929. 2023-10-18 09:45:19.688834 99.83% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/27217730186 [CS_DESTROY]
  1930. 2023-10-18 09:45:19.688834 99.83% [DEBUG] switch_core_state_machine.c:735 (sofia/default/27217730186) Running State Change CS_DESTROY (Cur 1 Tot 465)
  1931. 2023-10-18 09:45:19.688834 99.83% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27217730186) State DESTROY
  1932. 2023-10-18 09:45:19.688834 99.83% [DEBUG] mod_sofia.c:379 sofia/default/27217730186 SOFIA DESTROY
  1933. 2023-10-18 09:45:19.688834 99.83% [DEBUG] switch_core_state_machine.c:175 sofia/default/27217730186 Standard DESTROY
  1934. 2023-10-18 09:45:19.688834 99.83% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27217730186) State DESTROY going to sleep
  1935. 2023-10-18 09:45:19.688834 99.83% [DEBUG] switch_core_state_machine.c:168 sofia/default/27876300012@196.7.219.43:8356 Standard REPORTING, cause: ORIGINATOR_CANCEL
  1936. 2023-10-18 09:45:19.688834 99.83% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876300012@196.7.219.43:8356) State REPORTING going to sleep
  1937. 2023-10-18 09:45:19.688834 99.83% [DEBUG] switch_core_state_machine.c:607 (sofia/default/27876300012@196.7.219.43:8356) State Change CS_REPORTING -> CS_DESTROY
  1938. 2023-10-18 09:45:19.688834 99.83% [DEBUG] switch_core_session.c:1753 Session 464 (sofia/default/27876300012@196.7.219.43:8356) Locked, Waiting on external entities
  1939. 2023-10-18 09:45:19.688834 99.83% [NOTICE] switch_core_session.c:1771 Session 464 (sofia/default/27876300012@196.7.219.43:8356) Ended
  1940. 2023-10-18 09:45:19.688834 99.83% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/27876300012@196.7.219.43:8356 [CS_DESTROY]
  1941. 2023-10-18 09:45:19.688834 99.83% [DEBUG] switch_core_state_machine.c:735 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_DESTROY (Cur 0 Tot 465)
  1942. 2023-10-18 09:45:19.688834 99.83% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876300012@196.7.219.43:8356) State DESTROY
  1943. 2023-10-18 09:45:19.688834 99.83% [DEBUG] mod_sofia.c:379 sofia/default/27876300012@196.7.219.43:8356 SOFIA DESTROY
  1944. 2023-10-18 09:45:19.688834 99.83% [DEBUG] switch_core_state_machine.c:175 sofia/default/27876300012@196.7.219.43:8356 Standard DESTROY
  1945. 2023-10-18 09:45:19.688834 99.83% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876300012@196.7.219.43:8356) State DESTROY going to sleep
  1946. 2023-10-18 09:45:19.988836 99.83% [DEBUG] switch_scheduler.c:147 Deleting task 168 switch_ivr_schedule_hangup (0eeea6c1-40c6-4b12-bfa1-a6d9002c106f)
  1947.