From Sexy Ostrich, 2 Weeks ago, written in HTML5.
- view diff
Embed
  1. 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_NEW (Cur 1 Tot 36508)
  2. 2024-10-04 09:56:00.593550 100.00% [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: 67534fe6-f00b92f3-a8496d21-be5b6edb
  3. 2024-10-04 09:56:00.593550 100.00% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 102.220.232.100:0.
  4. 2024-10-04 09:56:00.593550 100.00% [DEBUG] sofia.c:10585 IP 102.220.232.100 Approved by acl "default[]". Access Granted.
  5. 2024-10-04 09:56:00.593550 100.00% [DEBUG] sofia.c:7499 Channel sofia/default/27876300012@196.7.219.43:8356 entering state [received][100]
  6. 2024-10-04 09:56:00.593550 100.00% [DEBUG] sofia.c:7509 Remote SDP:
  7. v=0
  8. o=bk 1700486 1 IN IP4 196.7.219.43                                                                                                                                                                                
  9. s=-                                                                                                                                                                                                                
  10. c=IN IP4 196.7.219.43                                                                                                                                                                                              
  11. t=0 0                                                                                                                                                                                                              
  12. m=audio 40606 RTP/AVP 8 18 0 101                                                                                                                                                                                  
  13. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  14. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  15. a=fmtp:18 annexb=no                                                                                                                                                                                                
  16. a=rtpmap:0 PCMU/8000                                                                                                                                                                                              
  17. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  18. a=fmtp:101 0-16                                                                                                                                                                                                    
  19. a=ptime:20                                                                                                                                                                                                        
  20. a=ptime:20                                                                                                                                                                                                        
  21. a=ptime:20                                                                                                                                                                                                        
  22.  
  23. 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  24. 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  25. 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  26. 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  27. 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  28. 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  29. 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  30. 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  31. 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  32. 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G722:9:8000:20:64000:1]
  33. 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  34. 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  35. 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  36. 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  37. 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  38. 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  39. 2024-10-04 09:56:00.593550 100.00% [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
  40. 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_codec.c:111 sofia/default/27876300012@196.7.219.43:8356 Original read codec set to PCMA:8
  41. 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  42. 2024-10-04 09:56:00.593550 100.00% [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
  43. 2024-10-04 09:56:00.593550 100.00% [DEBUG] sofia.c:7933 (sofia/default/27876300012@196.7.219.43:8356) State Change CS_NEW -> CS_INIT
  44. 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_state_machine.c:600 (sofia/default/27876300012@196.7.219.43:8356) State NEW
  45. 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_INIT (Cur 1 Tot 36508)
  46. 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27876300012@196.7.219.43:8356) State INIT
  47. 2024-10-04 09:56:00.593550 100.00% [DEBUG] mod_sofia.c:97 sofia/default/27876300012@196.7.219.43:8356 SOFIA INIT
  48. 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_state_machine.c:40 sofia/default/27876300012@196.7.219.43:8356 Standard INIT
  49. 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_state_machine.c:48 (sofia/default/27876300012@196.7.219.43:8356) State Change CS_INIT -> CS_ROUTING
  50. 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27876300012@196.7.219.43:8356) State INIT going to sleep
  51. 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_ROUTING (Cur 1 Tot 36508)
  52. 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_channel.c:2380 (sofia/default/27876300012@196.7.219.43:8356) Callstate Change DOWN -> RINGING
  53. 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876300012@196.7.219.43:8356) State ROUTING
  54. 2024-10-04 09:56:00.593550 100.00% [DEBUG] mod_sofia.c:158 sofia/default/27876300012@196.7.219.43:8356 SOFIA ROUTING
  55. 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_state_machine.c:230 sofia/default/27876300012@196.7.219.43:8356 Standard ROUTING
  56. 2024-10-04 09:56:00.593550 100.00% [INFO] mod_dialplan_xml.c:639 Processing Ext 112 <27876300012>->0218353804 in context default
  57. 2024-10-04 09:56:00.633544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  58. 2024-10-04 09:56:00.673546 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  59. 2024-10-04 09:56:00.673546 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')                                                                                                                                                                                              
  60. 2024-10-04 09:56:00.673546 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  61. 2024-10-04 09:56:00.713542 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 0218353804
  62. 2024-10-04 09:56:00.713542 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0218353804' AND status=0 limit 1
  63. 2024-10-04 09:56:00.713542 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER27876300012
  64. 2024-10-04 09:56:00.713542 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  65. 2024-10-04 09:56:00.713542 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '0218353804' limit 1
  66. 2024-10-04 09:56:00.713542 100.00% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  67. 2024-10-04 09:56:00.713542 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 27876300012 / 27876300012
  68. 2024-10-04 09:56:00.713542 100.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  69. 2024-10-04 09:56:00.713542 100.00% [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                                                                                                                                                                                          
  70. 2024-10-04 09:56:00.713542 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....0218353804
  71. 2024-10-04 09:56:00.713542 100.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0218353804
  72. 2024-10-04 09:56:00.713542 100.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27218353804
  73. 2024-10-04 09:56:00.713542 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218353804
  74. 2024-10-04 09:56:00.713542 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218353804
  75. 2024-10-04 09:56:00.713542 100.00% [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 ="27218353804" LIMIT 1                                    
  76. 2024-10-04 09:56:00.713542 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  77. 2024-10-04 09:56:00.713542 100.00% [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="0218353804" limit 1                                                                                                                                                                  
  78. 2024-10-04 09:56:00.713542 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  79. 2024-10-04 09:56:00.713542 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 196.7.219.43
  80. 2024-10-04 09:56:00.713542 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 8773282952]
  81. 2024-10-04 09:56:00.713542 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "8773282952" OR id = "8773282952") AND deleted = 0 limit 1
  82. 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0218353804.*' OR blocked_patterns = '^021835380.*' OR blocked_patterns = '^02183538.*' OR blocked_patterns = '^0218353.*' OR blocked_patterns = '^021835.*' OR blocked_patterns = '^02183.*' OR blocked_patterns = '^0218.*' OR blocked_patterns = '^021.*' OR blocked_patterns = '^02.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 419 limit 1                                                                                                              
  83. 2024-10-04 09:56:00.733544 100.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 43
  84. 2024-10-04 09:56:00.733544 100.00% [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                                                                                                                                                                                          
  85. 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....0218353804
  86. 2024-10-04 09:56:00.733544 100.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0218353804
  87. 2024-10-04 09:56:00.733544 100.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27218353804
  88. 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218353804
  89. 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218353804
  90. 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="27218353804" AND (accountid = 0 OR status = 1) LIMIT 1
  91. 2024-10-04 09:56:00.733544 100.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 55
  92. 2024-10-04 09:56:00.733544 100.00% [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 = 55 AND status=0 limit 1                                                                                                                                                                                          
  93. 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0218353804                                                                                                            
  94. 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0218353804                                                                                                            
  95. 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0218353804                                                                                                            
  96. 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0218353804                                                                                                            
  97. 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0218353804                                                                                                            
  98. 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0218353804                                                                                                            
  99. 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0218353804                                                                                                            
  100. 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0218353804                                                                                                            
  101. 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0218353804                                                                                                            
  102. 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0218353804                                                                                                            
  103. 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0218353804                                                                                                            
  104. 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0218353804                                                                                                            
  105. 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0218353804                                                                                                            
  106. 2024-10-04 09:56:00.733544 100.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0218353804
  107. 2024-10-04 09:56:00.733544 100.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27218353804
  108. 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....27218353804                                                                                                            
  109. 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....27218353804                                                                                                            
  110. 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....27218353804                                                                                                            
  111. 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....27218353804                                                                                                            
  112. 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....27218353804                                                                                                            
  113. 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....27218353804                                                                                                            
  114. 2024-10-04 09:56:00.733544 100.00% [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 = '^27218353804.*' OR patterns = '^2721835380.*' OR patterns = '^272183538.*' OR patterns = '^27218353.*' OR patterns = '^2721835.*' OR patterns = '^272183.*' OR patterns = '^27218.*' OR patterns = '^2721.*' OR patterns = '^272.*' OR patterns = '^27.*' OR patterns = '^2.*' OR patterns ='--') AND accountid = 419 ORDER BY LENGTH(PKGPTR.patterns) DESC                                                                                                                                                                                                            
  115. 2024-10-04 09:56:00.733544 100.00% [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 ="27218353804" AND A.accountid = '419' limit 1                                                                                                                                                              
  116. 2024-10-04 09:56:00.733544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 27218353804
  117. 2024-10-04 09:56:00.733544 100.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  118. 2024-10-04 09:56:00.733544 100.00% [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                                                                                                                                                                                          
  119. 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218353804
  120. 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218353804
  121. 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218353804
  122. 2024-10-04 09:56:00.733544 100.00% [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 ="27218353804" LIMIT 1                                    
  123. 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  124. 2024-10-04 09:56:00.733544 100.00% [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="27218353804" limit 1                                                                                                                                                                  
  125. 2024-10-04 09:56:00.733544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  126. 2024-10-04 09:56:00.733544 100.00% [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 = '27218353804' OR number = '2721835380' OR number = '272183538' OR number = '27218353' OR number = '2721835' OR number = '272183' OR number = '27218' OR number = '2721' OR number = '272' OR number = '27' OR number = '2' OR number ='--') OR (number = '27218353804*' OR number = '2721835380*' OR number = '272183538*' OR number = '27218353*' OR number = '2721835*' OR number = '272183*' OR number = '27218*' 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                                                                                                                                                                                  
  127. 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  128. 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : 27876300012
  129. 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 8
  130. 2024-10-04 09:56:00.733544 100.00% [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
  131. 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_COUNT] COUNT :1
  132. 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '27218353804' OR routing_prefix = '2721835380' OR routing_prefix = '272183538' OR routing_prefix = '27218353' OR routing_prefix = '2721835' OR routing_prefix = '272183' OR routing_prefix = '27218' 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                                                                          
  133. 2024-10-04 09:56:00.733544 100.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] Get Destination Number (27218353804)!!!!
  134. 2024-10-04 09:56:00.733544 100.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] After Append Ported Number : (27218353804)!!!!
  135. 2024-10-04 09:56:00.733544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  136. 2024-10-04 09:56:00.733544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 419
  137. 2024-10-04 09:56:00.733544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 8773282952
  138. 2024-10-04 09:56:00.733544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 9323.49878
  139. 2024-10-04 09:56:00.733544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  140. 2024-10-04 09:56:00.733544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 187
  141. 2024-10-04 09:56:00.733544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 8
  142. 2024-10-04 09:56:00.733544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  143. 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 187 AND status = 0
  144. 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  145. 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 187 AND status = 0
  146. 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^27218353804.*' OR pattern = '^2721835380.*' OR pattern = '^272183538.*' OR pattern = '^27218353.*' OR pattern = '^2721835.*' OR pattern = '^272183.*' OR pattern = '^27218.*' 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                      
  147. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  148. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  149. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 22698447
  150. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
  151. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  152. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.3300000000
  153. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : RSA Liquid Telecoms Geographic
  154. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  155. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 419
  156. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 97
  157. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  158. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  159. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your9323.49878 balance Accountid 419 !!!
  160. 2024-10-04 09:56:00.753544 100.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 60 mins!
  161. 2024-10-04 09:56:00.753544 100.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 60 mins!
  162. 2024-10-04 09:56:00.753544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Daily call credit limit : 60
  163. 2024-10-04 09:56:00.753544 100.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 405
  164. 2024-10-04 09:56:00.753544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "405" OR number = "405") AND deleted = 0 limit 1
  165. 2024-10-04 09:56:00.753544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^27218353804.*' OR blocked_patterns = '^2721835380.*' OR blocked_patterns = '^272183538.*' OR blocked_patterns = '^27218353.*' OR blocked_patterns = '^2721835.*' OR blocked_patterns = '^272183.*' OR blocked_patterns = '^27218.*' OR blocked_patterns = '^2721.*' OR blocked_patterns = '^272.*' OR blocked_patterns = '^27.*' OR blocked_patterns = '^2.*' OR blocked_patterns ='--') AND accountid = 405 limit 1                                                                      
  166. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
  167. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 405
  168. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 6840389175
  169. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 19424.57
  170. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  171. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 189
  172. 2024-10-04 09:56:00.753544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 189 AND status = 0
  173. 2024-10-04 09:56:00.753544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  174. 2024-10-04 09:56:00.753544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 189 AND status = 0
  175. 2024-10-04 09:56:00.753544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^27218353804.*' OR pattern = '^2721835380.*' OR pattern = '^272183538.*' OR pattern = '^27218353.*' OR pattern = '^2721835.*' OR pattern = '^272183.*' OR pattern = '^27218.*' 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                      
  176. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  177. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  178. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 22526401
  179. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
  180. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  181. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.2805000000
  182. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : RSA Liquid Telecoms Geographic
  183. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  184. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 405
  185. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 97
  186. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  187. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  188. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your19424.57 balance Accountid 405 !!!
  189. 2024-10-04 09:56:00.753544 100.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 60 mins!
  190. 2024-10-04 09:56:00.753544 100.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 60 mins!
  191. 2024-10-04 09:56:00.753544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Daily call credit limit : 60
  192. 2024-10-04 09:56:00.753544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] check_routing_type for resellers origination rates  
  193. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:22698447|CODE:^272183.*|DESTINATION:RSA Liquid Telecoms Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.3300000000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:419||ID:22526401|CODE:^272183.*|DESTINATION:RSA Liquid Telecoms Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.2805000000|INC:1|INITIALBLOCK:1|RATEGROUP:189|MARKUP:0|CI:0|ACCID:405                                                                                                                                              
  194. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  195. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 0
  196. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 60 minutes
  197. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 22698447
  198. 2024-10-04 09:56:00.753544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id        :97
  199. 2024-10-04 09:56:00.753544 100.00% [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 = '^27218353804.*' OR pattern = '^2721835380.*' OR pattern = '^272183538.*' OR pattern = '^27218353.*' OR pattern = '^2721835.*' OR pattern = '^272183.*' OR pattern = '^27218.*' 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                                                                            
  200. 2024-10-04 09:56:00.753544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [HYBRID_ROUTING] LCR With Cost In 2nd Stage
  201. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  202. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 4825735
  203. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^272183.*
  204. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : RSA Liquid Telecoms Geographic
  205. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
  206. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  207. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^272183.*
  208. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  209. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  210. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 97
  211. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : Goldtel
  212. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  213. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : Goldtel
  214. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 159
  215. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 20
  216. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  217. 2024-10-04 09:56:00.753544 100.00% [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                                                                                                                                                                                      
  218. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 60
  219. 2024-10-04 09:56:00.753544 100.00% [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
  220. 2024-10-04 09:56:00.753544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  221. 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  222. 2024-10-04 09:56:00.753544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 189 AND status = 0
  223. 2024-10-04 09:56:00.753544 100.00% [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                                                                                                                                                                
  224. 2024-10-04 09:56:00.753544 100.00% [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                                                                                                                                                                  
  225. 2024-10-04 09:56:00.773545 100.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  226. 2024-10-04 09:56:00.773545 100.00% [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                                                                                                                                                                                          
  227. 2024-10-04 09:56:00.773545 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....0218353804
  228. 2024-10-04 09:56:00.773545 100.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0218353804
  229. 2024-10-04 09:56:00.773545 100.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27218353804
  230. 2024-10-04 09:56:00.773545 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218353804
  231. 2024-10-04 09:56:00.773545 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218353804
  232. 2024-10-04 09:56:00.773545 100.00% [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 ="27218353804" LIMIT 1                                    
  233. 2024-10-04 09:56:00.773545 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  234. 2024-10-04 09:56:00.773545 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  235. <?xml version="1.0" encoding="UTF-8" standalone="no"?>                                                                                                                                                            
  236. <document type="freeswitch/xml">                                                                                                                                                                                  
  237. <section name="dialplan" description="ASTPP Dialplan">                                                                                                                                                            
  238. <context name="default">                                                                                                                                                                                          
  239. <extension name="27218353804">                                                                                                                                                                                    
  240. <condition field="destination_number" expression="0218353804">                                                                                                                                                    
  241. <action application="set" data="effective_destination_number=27218353804"/>                                                                                                                                        
  242. <action application="set" data="execute_on_answer_1=sched_hangup +3600 normal_clearing"/>                                                                                                                          
  243. <action application="set" data="notify_flag=0"/>                                                                                                                                                                  
  244. <action application="set" data="notify_credit_limit=450.00000"/>                                                                                                                                                  
  245. <action application="set" data="type=0"/>                                                                                                                                                                          
  246. <action application="set" data="callstart=2024-10-04 09:56:00"/>                                                                                                                                                  
  247. <action application="set" data="hangup_after_bridge=true"/>                                                                                                                                                        
  248. <action application="set" data="continue_on_fail=TRUE"/>                                                                                                                                                          
  249. <action application="set" data="account_id=419"/>                                                                                                                                                                  
  250. <action application="set" data="parent_id=405"/>                                                                                                                                                                  
  251. <action application="set" data="entity_id=0"/>                                                                                                                                                                    
  252. <action application="set" data="call_processed=internal"/>                                                                                                                                                        
  253. <action application="set" data="call_direction=outbound"/>                                                                                                                                                        
  254. <action application="set" data="accountname=default"/>                                                                                                                                                            
  255. <action application="set" data="origination_rates=ID:22698447|CODE:^272183.*|DESTINATION:RSA Liquid Telecoms Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.3300000000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:419||ID:22526401|CODE:^272183.*|DESTINATION:RSA Liquid Telecoms Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.2805000000|INC:1|INITIALBLOCK:1|RATEGROUP:189|MARKUP:0|CI:0|ACCID:405"/>                                                                                                                                                                                          
  256. <action application="set" data="original_caller_id_name=27876300012"/>                                                                                                                                            
  257. <action application="set" data="original_caller_id_number=27876300012"/>                                                                                                                                          
  258. <action application="limit" data="db 8773282952 user_8773282952 16 "/>                                                                                                                                            
  259. <action application="limit" data="db 6840389175 user_6840389175 20 "/>                                                                                                                                            
  260. <action application="export" data="is_recording=1"/>                                                                                                                                                              
  261. <action application="export" data="media_bug_answer_req=true"/>                                                                                                                                                    
  262. <action application="export" data="record_sample_rate=8000"/>                                                                                                                                                      
  263. <action application="export" data="execute_on_answer_2=record_session $${recordings_dir}/${uuid}.wav"/>                                                                                                            
  264. <action application="set" data="effective_caller_id_name=27876300012"/>                                                                                                                                            
  265. <action application="set" data="effective_caller_id_number=27876300012"/>                                                                                                                                          
  266. <action application="set" data="calltype=STANDARD"/>                                                                                                                                                              
  267. <action application="set" data="termination_rates=ID:4825735|CODE:^272183.*|DESTINATION:RSA Liquid Telecoms Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0900000000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159"/>                                                                                                                                                                                                  
  268. <action application="set" data="trunk_id=97"/>                                                                                                                                                                    
  269. <action application="set" data="provider_id=159"/>                                                                                                                                                                
  270. <action application="set" data="rate_flag=0"/>                                                                                                                                                                    
  271. <action application="set" data="daily_call_credit_limit=10000.00000"/>                                                                                                                                            
  272. <action application="set" data="monthly_call_credit_limit=20000.00000"/>                                                                                                                                          
  273. <action application="set" data="daily_call_used_limit=42.74280"/>                                                                                                                                                  
  274. <action application="set" data="monthly_call_used_limit=278.44880"/>                                                                                                                                              
  275. <action application="set" data="quality_trunk_seq=97"/>                                                                                                                                                            
  276. <action application="set" data="force_trunk_flag=22698447"/>                                                                                                                                                      
  277. <action application="export" data="presence_data=trunk_id=97"/>                                                                                                                                                    
  278. <action application="set" data="intcall=0"/>                                                                                                                                                                      
  279. <action application="export" data="presence_id=27218353804"/>                                                                                                                                                      
  280. <action application="export" data="presence_data=x//405|||Goldtel Industries(8773282952)|||^272183.* // RSA Liquid Telecoms Geographic // 0.3300000000 |||Goldtel // ^272183.* // RSA Liquid Telecoms Geographic // 0.0900000000 // trunk_id=97|||STD|||196.7.219.43|||0.2805000000 // ^272183.* // RSA Liquid Telecoms Geographic"/>                                                                                                
  281. <action application="limit" data="db Goldtel gw_Goldtel 20 "/>                                                                                                                                                    
  282. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/Goldtel/27218353804;fs_path=sip:102.220.232.100:5060"/>                                
  283. </condition>                                                                                                                                                                                                      
  284. </extension>                                                                                                                                                                                                      
  285. </context>                                                                                                                                                                                                        
  286. </section>                                                                                                                                                                                                        
  287. </document>                                                                                                                                                                                                        
  288. Dialplan: sofia/default/27876300012@196.7.219.43:8356 parsing [default->27218353804] continue=false
  289. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Regex (PASS) [27218353804] destination_number(0218353804) =~ /0218353804/ break=on-false
  290. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(effective_destination_number=27218353804)
  291. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(execute_on_answer_1=sched_hangup +3600 normal_clearing)
  292. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(notify_flag=0)
  293. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(notify_credit_limit=450.00000)
  294. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(type=0)
  295. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(callstart=2024-10-04 09:56:00)
  296. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(hangup_after_bridge=true)
  297. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(continue_on_fail=TRUE)
  298. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(account_id=419)
  299. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(parent_id=405)
  300. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(entity_id=0)
  301. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(call_processed=internal)
  302. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(call_direction=outbound)
  303. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(accountname=default)
  304. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(origination_rates=ID:22698447|CODE:^272183.*|DESTINATION:RSA Liquid Telecoms Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.3300000000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:419||ID:22526401|CODE:^272183.*|DESTINATION:RSA Liquid Telecoms Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.2805000000|INC:1|INITIALBLOCK:1|RATEGROUP:189|MARKUP:0|CI:0|ACCID:405)                                                                                                                                                          
  305. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(original_caller_id_name=27876300012)
  306. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(original_caller_id_number=27876300012)
  307. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action limit(db 8773282952 user_8773282952 16 )
  308. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action limit(db 6840389175 user_6840389175 20 )
  309. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(is_recording=1)
  310. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(media_bug_answer_req=true)
  311. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(record_sample_rate=8000)
  312. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(execute_on_answer_2=record_session $${recordings_dir}/${uuid}.wav)
  313. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(effective_caller_id_name=27876300012)
  314. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(effective_caller_id_number=27876300012)
  315. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(calltype=STANDARD)
  316. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(termination_rates=ID:4825735|CODE:^272183.*|DESTINATION:RSA Liquid Telecoms Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0900000000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159)                                                                                                                                                                  
  317. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(trunk_id=97)
  318. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(provider_id=159)
  319. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(rate_flag=0)
  320. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(daily_call_credit_limit=10000.00000)
  321. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(monthly_call_credit_limit=20000.00000)
  322. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(daily_call_used_limit=42.74280)
  323. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(monthly_call_used_limit=278.44880)
  324. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(quality_trunk_seq=97)
  325. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(force_trunk_flag=22698447)
  326. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(presence_data=trunk_id=97)
  327. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(intcall=0)
  328. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(presence_id=27218353804)
  329. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(presence_data=x//405|||Goldtel Industries(8773282952)|||^272183.* // RSA Liquid Telecoms Geographic // 0.3300000000 |||Goldtel // ^272183.* // RSA Liquid Telecoms Geographic // 0.0900000000 // trunk_id=97|||STD|||196.7.219.43|||0.2805000000 // ^272183.* // RSA Liquid Telecoms Geographic)                                                                  
  330. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action limit(db Goldtel gw_Goldtel 20 )
  331. Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action bridge({sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/Goldtel/27218353804;fs_path=sip:102.220.232.100:5060)
  332. 2024-10-04 09:56:00.773545 100.00% [DEBUG] switch_core_state_machine.c:281 (sofia/default/27876300012@196.7.219.43:8356) State Change CS_ROUTING -> CS_EXECUTE
  333. 2024-10-04 09:56:00.773545 100.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876300012@196.7.219.43:8356) State ROUTING going to sleep
  334. 2024-10-04 09:56:00.773545 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_EXECUTE (Cur 1 Tot 36508)
  335. 2024-10-04 09:56:00.773545 100.00% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27876300012@196.7.219.43:8356) State EXECUTE
  336. 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_sofia.c:213 sofia/default/27876300012@196.7.219.43:8356 SOFIA EXECUTE
  337. 2024-10-04 09:56:00.773545 100.00% [DEBUG] switch_core_state_machine.c:323 sofia/default/27876300012@196.7.219.43:8356 Standard EXECUTE
  338. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(effective_destination_number=27218353804)
  339. 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [effective_destination_number]=[27218353804]
  340. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(execute_on_answer_1=sched_hangup +3600 normal_clearing)
  341. 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [execute_on_answer_1]=[sched_hangup +3600 normal_clearing]
  342. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(notify_flag=0)
  343. 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [notify_flag]=[0]
  344. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(notify_credit_limit=450.00000)
  345. 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [notify_credit_limit]=[450.00000]
  346. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(type=0)
  347. 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [type]=[0]
  348. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(callstart=2024-10-04 09:56:00)
  349. 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [callstart]=[2024-10-04 09:56:00]
  350. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(hangup_after_bridge=true)
  351. 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [hangup_after_bridge]=[true]
  352. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(continue_on_fail=TRUE)
  353. 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [continue_on_fail]=[TRUE]
  354. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(account_id=419)
  355. 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [account_id]=[419]
  356. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(parent_id=405)
  357. 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [parent_id]=[405]
  358. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(entity_id=0)
  359. 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [entity_id]=[0]
  360. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(call_processed=internal)
  361. 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [call_processed]=[internal]
  362. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(call_direction=outbound)
  363. 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [call_direction]=[outbound]
  364. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(accountname=default)
  365. 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [accountname]=[default]
  366. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(origination_rates=ID:22698447|CODE:^272183.*|DESTINATION:RSA Liquid Telecoms Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.3300000000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:419||ID:22526401|CODE:^272183.*|DESTINATION:RSA Liquid Telecoms Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.2805000000|INC:1|INITIALBLOCK:1|RATEGROUP:189|MARKUP:0|CI:0|ACCID:405)                                                                                                                                                          
  367. 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [origination_rates]=[ID:22698447|CODE:^272183.*|DESTINATION:RSA Liquid Telecoms Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.3300000000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:419||ID:22526401|CODE:^272183.*|DESTINATION:RSA Liquid Telecoms Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.2805000000|INC:1|INITIALBLOCK:1|RATEGROUP:189|MARKUP:0|CI:0|ACCID:405]                                                                                                          
  368. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(original_caller_id_name=27876300012)
  369. 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [original_caller_id_name]=[27876300012]
  370. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(original_caller_id_number=27876300012)
  371. 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [original_caller_id_number]=[27876300012]
  372. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 limit(db 8773282952 user_8773282952 16 )
  373. 2024-10-04 09:56:00.773545 100.00% [DEBUG] switch_limit.c:124 incr called: 8773282952_user_8773282952 max:16, interval:0
  374. 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_db.c:194 Usage for 8773282952_user_8773282952 is now 1/16
  375. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 limit(db 6840389175 user_6840389175 20 )
  376. 2024-10-04 09:56:00.773545 100.00% [DEBUG] switch_limit.c:124 incr called: 6840389175_user_6840389175 max:20, interval:0
  377. 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_db.c:194 Usage for 6840389175_user_6840389175 is now 1/20
  378. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(is_recording=1)
  379. 2024-10-04 09:56:00.773545 100.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  380. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(media_bug_answer_req=true)
  381. 2024-10-04 09:56:00.773545 100.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  382. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(record_sample_rate=8000)
  383. 2024-10-04 09:56:00.773545 100.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  384. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(execute_on_answer_2=record_session /usr/local/freeswitch/recordings/1bc14b86-c779-4eca-b57e-1efbbf904a9e.wav)
  385. 2024-10-04 09:56:00.773545 100.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer_2]=[record_session /usr/local/freeswitch/recordings/1bc14b86-c779-4eca-b57e-1efbbf904a9e.wav]
  386. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(effective_caller_id_name=27876300012)
  387. 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [effective_caller_id_name]=[27876300012]
  388. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(effective_caller_id_number=27876300012)
  389. 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [effective_caller_id_number]=[27876300012]
  390. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(calltype=STANDARD)
  391. 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [calltype]=[STANDARD]
  392. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(termination_rates=ID:4825735|CODE:^272183.*|DESTINATION:RSA Liquid Telecoms Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0900000000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159)                                                                                                                                                                  
  393. 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [termination_rates]=[ID:4825735|CODE:^272183.*|DESTINATION:RSA Liquid Telecoms Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0900000000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159]                                                                                                                  
  394. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(trunk_id=97)
  395. 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [trunk_id]=[97]
  396. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(provider_id=159)
  397. 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [provider_id]=[159]
  398. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(rate_flag=0)
  399. 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [rate_flag]=[0]
  400. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(daily_call_credit_limit=10000.00000)
  401. 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [daily_call_credit_limit]=[10000.00000]
  402. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(monthly_call_credit_limit=20000.00000)
  403. 2024-10-04 09:56:00.793545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [monthly_call_credit_limit]=[20000.00000]
  404. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(daily_call_used_limit=42.74280)
  405. 2024-10-04 09:56:00.793545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [daily_call_used_limit]=[42.74280]
  406. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(monthly_call_used_limit=278.44880)
  407. 2024-10-04 09:56:00.793545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [monthly_call_used_limit]=[278.44880]
  408. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(quality_trunk_seq=97)
  409. 2024-10-04 09:56:00.793545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [quality_trunk_seq]=[97]
  410. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(force_trunk_flag=22698447)
  411. 2024-10-04 09:56:00.793545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [force_trunk_flag]=[22698447]
  412. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(presence_data=trunk_id=97)
  413. 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=97]
  414. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(intcall=0)
  415. 2024-10-04 09:56:00.793545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [intcall]=[0]
  416. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(presence_id=27218353804)
  417. 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[27218353804]
  418. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(presence_data=x//405|||Goldtel Industries(8773282952)|||^272183.* // RSA Liquid Telecoms Geographic // 0.3300000000 |||Goldtel // ^272183.* // RSA Liquid Telecoms Geographic // 0.0900000000 // trunk_id=97|||STD|||196.7.219.43|||0.2805000000 // ^272183.* // RSA Liquid Telecoms Geographic)                                                                
  419. 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x//405|||Goldtel Industries(8773282952)|||^272183.* // RSA Liquid Telecoms Geographic // 0.3300000000 |||Goldtel // ^272183.* // RSA Liquid Telecoms Geographic // 0.0900000000 // trunk_id=97|||STD|||196.7.219.43|||0.2805000000 // ^272183.* // RSA Liquid Telecoms Geographic]                                            
  420. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 limit(db Goldtel gw_Goldtel 20 )
  421. 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_limit.c:124 incr called: Goldtel_gw_Goldtel max:20, interval:0
  422. 2024-10-04 09:56:00.793545 100.00% [DEBUG] mod_db.c:194 Usage for Goldtel_gw_Goldtel is now 1/20
  423. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 bridge({sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/Goldtel/27218353804;fs_path=sip:102.220.232.100:5060)
  424. 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.7.219.43:8356 EXPORTING[export_vars] [is_recording]=[1] to event
  425. 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.7.219.43:8356 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  426. 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.7.219.43:8356 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  427. 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.7.219.43:8356 EXPORTING[export_vars] [execute_on_answer_2]=[record_session /usr/local/freeswitch/recordings/1bc14b86-c779-4eca-b57e-1efbbf904a9e.wav] to event                                                                                                                                                                        
  428. 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.7.219.43:8356 EXPORTING[export_vars] [presence_data]=[x//405|||Goldtel Industries(8773282952)|||^272183.* // RSA Liquid Telecoms Geographic // 0.3300000000 |||Goldtel // ^272183.* // RSA Liquid Telecoms Geographic // 0.0900000000 // trunk_id=97|||STD|||196.7.219.43|||0.2805000000 // ^272183.* // RSA Liquid Telecoms Geographic] to event                                                                                                                                                                                                        
  429. 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.7.219.43:8356 EXPORTING[export_vars] [presence_id]=[27218353804] to event
  430. 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.7.219.43:8356 EXPORTING[export_vars] [presence_data]=[x//405|||Goldtel Industries(8773282952)|||^272183.* // RSA Liquid Telecoms Geographic // 0.3300000000 |||Goldtel // ^272183.* // RSA Liquid Telecoms Geographic // 0.0900000000 // trunk_id=97|||STD|||196.7.219.43|||0.2805000000 // ^272183.* // RSA Liquid Telecoms Geographic] to event                                                                                                                                                                                                        
  431. 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  432. 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  433. 2024-10-04 09:56:00.793545 100.00% [NOTICE] switch_channel.c:1123 New Channel sofia/default/27218353804 [df5c69cf-058e-4802-80b2-4ab11aebc016]
  434. 2024-10-04 09:56:00.793545 100.00% [DEBUG] mod_sofia.c:5121 (sofia/default/27218353804) State Change CS_NEW -> CS_INIT
  435. 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27218353804) Running State Change CS_INIT (Cur 2 Tot 36509)
  436. 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27218353804) State INIT
  437. 2024-10-04 09:56:00.793545 100.00% [DEBUG] mod_sofia.c:97 sofia/default/27218353804 SOFIA INIT
  438. 2024-10-04 09:56:00.793545 100.00% [DEBUG] sofia_glue.c:1620 sip:102.220.232.100 Setting proxy route to sofia/default/27218353804
  439. 2024-10-04 09:56:00.793545 100.00% [INFO] sofia_glue.c:1651 sofia/default/27218353804 sending invite call-id: (null)
  440. 2024-10-04 09:56:00.793545 100.00% [DEBUG] sofia_glue.c:1654 sofia/default/27218353804 sending invite version: 1.10.7 -release 64bit
  441. Local SDP:                                                                                                                                                                                                        
  442. v=0                                                                                                                                                                                                                
  443. o=FreeSWITCH 1728012548 1728012549 IN IP4 102.220.232.20                                                                                                                                                          
  444. s=FreeSWITCH                                                                                                                                                                                                      
  445. c=IN IP4 102.220.232.20                                                                                                                                                                                            
  446. t=0 0                                                                                                                                                                                                              
  447. m=audio 23212 RTP/AVP 8 0 18 101                                                                                                                                                                                  
  448. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  449. a=rtpmap:0 PCMU/8000                                                                                                                                                                                              
  450. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  451. a=fmtp:18 annexb=no                                                                                                                                                                                                
  452. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  453. a=fmtp:101 0-15                                                                                                                                                                                                    
  454. a=ptime:20                                                                                                                                                                                                        
  455. a=sendrecv                                                                                                                                                                                                        
  456.  
  457. 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_core_state_machine.c:40 sofia/default/27218353804 Standard INIT
  458. 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_core_state_machine.c:48 (sofia/default/27218353804) State Change CS_INIT -> CS_ROUTING
  459. 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27218353804) State INIT going to sleep
  460. 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27218353804) Running State Change CS_ROUTING (Cur 2 Tot 36509)
  461. 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27218353804) State ROUTING
  462. 2024-10-04 09:56:00.793545 100.00% [DEBUG] mod_sofia.c:158 sofia/default/27218353804 SOFIA ROUTING
  463. 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_ivr_originate.c:67 (sofia/default/27218353804) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  464. 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27218353804) State ROUTING going to sleep
  465. 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27218353804) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 36509)
  466. 2024-10-04 09:56:00.793545 100.00% [DEBUG] sofia.c:7499 Channel sofia/default/27218353804 entering state [calling][0]
  467. 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_core_state_machine.c:659 (sofia/default/27218353804) State CONSUME_MEDIA
  468. 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_core_state_machine.c:659 (sofia/default/27218353804) State CONSUME_MEDIA going to sleep
  469. 2024-10-04 09:56:02.013546 99.97% [INFO] sofia.c:1348 sofia/default/27218353804 Update Callee ID to "Outbound Call" <27218353804>
  470. 2024-10-04 09:56:02.013546 99.97% [DEBUG] sofia.c:7499 Channel sofia/default/27218353804 entering state [proceeding][180]
  471. 2024-10-04 09:56:02.013546 99.97% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/27218353804!
  472. 2024-10-04 09:56:02.013546 99.97% [DEBUG] switch_channel.c:3494 (sofia/default/27218353804) Callstate Change DOWN -> RINGING
  473. 2024-10-04 09:56:02.013546 99.97% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/27876300012@196.7.219.43:8356!
  474. 2024-10-04 09:56:02.013546 99.97% [DEBUG] sofia.c:7499 Channel sofia/default/27876300012@196.7.219.43:8356 entering state [early][180]
  475. 2024-10-04 09:56:02.013546 99.97% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/27876300012@196.7.219.43:8356!
  476. 2024-10-04 09:56:05.093543 99.93% [DEBUG] sofia.c:7499 Channel sofia/default/27218353804 entering state [completing][200]
  477. 2024-10-04 09:56:05.093543 99.93% [DEBUG] sofia.c:7509 Remote SDP:
  478. v=0                                                                                                                                                                                                                
  479. o=FreeSWITCH 1728009171 1728009172 IN IP4 196.31.25.88                                                                                                                                                            
  480. s=FreeSWITCH                                                                                                                                                                                                      
  481. c=IN IP4 196.31.25.88                                                                                                                                                                                              
  482. t=0 0                                                                                                                                                                                                              
  483. m=audio 26592 RTP/AVP 8 101                                                                                                                                                                                        
  484. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  485. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  486. a=fmtp:101 0-16                                                                                                                                                                                                    
  487. a=ptime:20                                                                                                                                                                                                        
  488.  
  489. 2024-10-04 09:56:05.093543 99.93% [DEBUG] sofia.c:7499 Channel sofia/default/27218353804 entering state [ready][200]
  490. 2024-10-04 09:56:05.093543 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  491. 2024-10-04 09:56:05.093543 99.93% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  492. 2024-10-04 09:56:05.093543 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  493. 2024-10-04 09:56:05.093543 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  494. 2024-10-04 09:56:05.093543 99.93% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  495. 2024-10-04 09:56:05.093543 99.93% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/27218353804 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  496. 2024-10-04 09:56:05.093543 99.93% [DEBUG] switch_core_codec.c:111 sofia/default/27218353804 Original read codec set to PCMA:8
  497. 2024-10-04 09:56:05.093543 99.93% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  498. 2024-10-04 09:56:05.093543 99.93% [DEBUG] switch_core_media.c:5973 sofia/default/27218353804 Set 2833 dtmf send payload to 101 recv payload to 101
  499. 2024-10-04 09:56:05.093543 99.93% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/27218353804] 102.220.232.20 port 23212 -> 196.31.25.88 port 26592 codec: 8 ms: 20
  500. 2024-10-04 09:56:05.093543 99.93% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  501. 2024-10-04 09:56:05.093543 99.93% [DEBUG] switch_core_media.c:9089 sofia/default/27218353804 Set 2833 dtmf send payload to 101
  502. 2024-10-04 09:56:05.093543 99.93% [DEBUG] switch_core_media.c:9096 sofia/default/27218353804 Set 2833 dtmf receive payload to 101
  503. 2024-10-04 09:56:05.093543 99.93% [DEBUG] switch_core_media.c:9119 sofia/default/27218353804 Set rtp dtmf delay to 40
  504. 2024-10-04 09:56:05.093543 99.93% [NOTICE] sofia.c:8683 Channel [sofia/default/27218353804] has been answered
  505. EXECUTE [depth=1] sofia/default/27218353804 record_session(/usr/local/freeswitch/recordings/1bc14b86-c779-4eca-b57e-1efbbf904a9e.wav)
  506. 2024-10-04 09:56:05.093543 99.93% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/27876300012@196.7.219.43:8356] 102.220.232.20 port 28062 -> 196.7.219.43 port 40606 codec: 8 ms: 20
  507. 2024-10-04 09:56:05.093543 99.93% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  508. 2024-10-04 09:56:05.093543 99.93% [DEBUG] switch_core_media.c:9089 sofia/default/27876300012@196.7.219.43:8356 Set 2833 dtmf send payload to 101
  509. 2024-10-04 09:56:05.093543 99.93% [DEBUG] switch_core_media.c:9096 sofia/default/27876300012@196.7.219.43:8356 Set 2833 dtmf receive payload to 101
  510. 2024-10-04 09:56:05.093543 99.93% [DEBUG] switch_core_media.c:9119 sofia/default/27876300012@196.7.219.43:8356 Set rtp dtmf delay to 40
  511. 2024-10-04 09:56:05.093543 99.93% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/27876300012@196.7.219.43:8356:
  512. v=0                                                                                                                                                                                                                
  513. o=FreeSWITCH 1728007703 1728007704 IN IP4 102.220.232.20                                                                                                                                                          
  514. s=FreeSWITCH                                                                                                                                                                                                      
  515. c=IN IP4 102.220.232.20                                                                                                                                                                                            
  516. t=0 0                                                                                                                                                                                                              
  517. m=audio 28062 RTP/AVP 8 101                                                                                                                                                                                        
  518. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  519. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  520. a=fmtp:101 0-15                                                                                                                                                                                                    
  521. a=ptime:20                                                                                                                                                                                                        
  522. a=sendrecv                                                                                                                                                                                                        
  523.  
  524. 2024-10-04 09:56:05.093543 99.93% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/27876300012@196.7.219.43:8356] has been answered
  525. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 sched_hangup(+3600 normal_clearing)
  526. 2024-10-04 09:56:05.093543 99.93% [DEBUG] sofia.c:7499 Channel sofia/default/27876300012@196.7.219.43:8356 entering state [completed][200]
  527. 2024-10-04 09:56:05.093543 99.93% [DEBUG] switch_scheduler.c:263 Added task 4231 switch_ivr_schedule_hangup (1bc14b86-c779-4eca-b57e-1efbbf904a9e) to run at 1728039365
  528. EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 record_session(/usr/local/freeswitch/recordings/1bc14b86-c779-4eca-b57e-1efbbf904a9e.wav)
  529. 2024-10-04 09:56:05.113538 99.93% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  530. 2024-10-04 09:56:05.113538 99.93% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/27218353804
  531. 2024-10-04 09:56:05.113538 99.93% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  532. 2024-10-04 09:56:05.113538 99.93% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/27876300012@196.7.219.43:8356
  533. 2024-10-04 09:56:05.113538 99.93% [DEBUG] switch_channel.c:3950 (sofia/default/27218353804) Callstate Change RINGING -> ACTIVE
  534. 2024-10-04 09:56:05.113538 99.93% [DEBUG] switch_channel.c:3950 (sofia/default/27876300012@196.7.219.43:8356) Callstate Change RINGING -> ACTIVE
  535. 2024-10-04 09:56:05.113538 99.93% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/27218353804] Peer UUID: df5c69cf-058e-4802-80b2-4ab11aebc016
  536. 2024-10-04 09:56:05.113538 99.93% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/27218353804) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  537. 2024-10-04 09:56:05.113538 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27218353804) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 36509)
  538. 2024-10-04 09:56:05.113538 99.93% [DEBUG] switch_core_state_machine.c:650 (sofia/default/27218353804) State EXCHANGE_MEDIA
  539. 2024-10-04 09:56:05.113538 99.93% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  540. 2024-10-04 09:56:05.113538 99.93% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  541. 2024-10-04 09:56:05.113538 99.93% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  542. 2024-10-04 09:56:05.253538 99.93% [DEBUG] sofia.c:7499 Channel sofia/default/27876300012@196.7.219.43:8356 entering state [ready][200]
  543. 2024-10-04 09:56:05.353542 99.93% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  544. 2024-10-04 09:56:05.353542 99.93% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
  545. 2024-10-04 09:56:05.373542 99.93% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  546. 2024-10-04 09:56:05.373542 99.93% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
  547. 2024-10-04 09:58:01.033542 99.97% [NOTICE] sofia.c:1065 Hangup sofia/default/27876300012@196.7.219.43:8356 [CS_EXECUTE] [NORMAL_CLEARING]
  548. 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_ivr_bridge.c:820 sofia/default/27876300012@196.7.219.43:8356 ending bridge by request from write function
  549. 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/27218353804]
  550. 2024-10-04 09:58:01.053542 99.97% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/27218353804 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  551. 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_core_state_machine.c:650 (sofia/default/27218353804) State EXCHANGE_MEDIA going to sleep
  552. 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27218353804) Running State Change CS_HANGUP (Cur 2 Tot 36509)
  553. 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/1bc14b86-c779-4eca-b57e-1efbbf904a9e.wav
  554. 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  555. 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/27218353804
  556. 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_core_state_machine.c:844 (sofia/default/27218353804) Callstate Change ACTIVE -> HANGUP
  557. 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27218353804) State HANGUP
  558. 2024-10-04 09:58:01.053542 99.97% [DEBUG] mod_sofia.c:462 sofia/default/27218353804 Overriding SIP cause 480 with 200 from the other leg
  559. 2024-10-04 09:58:01.053542 99.97% [DEBUG] mod_sofia.c:468 Channel sofia/default/27218353804 hanging up, cause: NORMAL_CLEARING
  560. 2024-10-04 09:58:01.053542 99.97% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/27218353804
  561. 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_core_state_machine.c:59 sofia/default/27218353804 Standard HANGUP, cause: NORMAL_CLEARING
  562. 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27218353804) State HANGUP going to sleep
  563. 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_core_state_machine.c:616 (sofia/default/27218353804) State Change CS_HANGUP -> CS_REPORTING
  564. 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27218353804) Running State Change CS_REPORTING (Cur 2 Tot 36509)
  565. 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27218353804) State REPORTING
  566. 2024-10-04 09:58:01.053542 99.97% [INFO] mod_json_cdr.c:271 Process [df5c69cf-058e-4802-80b2-4ab11aebc016.cdr.json]
  567. 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/27876300012@196.7.219.43:8356]
  568. 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/27218353804 skip receive message [UNBRIDGE] (channel is hungup already)
  569. 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/27876300012@196.7.219.43:8356 skip receive message [UNBRIDGE] (channel is hungup already)
  570. 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_core_session.c:2983 sofia/default/27876300012@196.7.219.43:8356 skip receive message [PHONE_EVENT] (channel is hungup already)
  571. 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27876300012@196.7.219.43:8356) State EXECUTE going to sleep
  572. 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_HANGUP (Cur 2 Tot 36509)
  573. 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/1bc14b86-c779-4eca-b57e-1efbbf904a9e.wav
  574. 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  575. 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/27876300012@196.7.219.43:8356
  576. 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_core_state_machine.c:844 (sofia/default/27876300012@196.7.219.43:8356) Callstate Change ACTIVE -> HANGUP
  577. 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876300012@196.7.219.43:8356) State HANGUP
  578. 2024-10-04 09:58:01.053542 99.97% [DEBUG] mod_sofia.c:468 Channel sofia/default/27876300012@196.7.219.43:8356 hanging up, cause: NORMAL_CLEARING
  579. 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_core_state_machine.c:59 sofia/default/27876300012@196.7.219.43:8356 Standard HANGUP, cause: NORMAL_CLEARING
  580. 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876300012@196.7.219.43:8356) State HANGUP going to sleep
  581. 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_core_state_machine.c:616 (sofia/default/27876300012@196.7.219.43:8356) State Change CS_HANGUP -> CS_REPORTING
  582. 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_REPORTING (Cur 2 Tot 36509)
  583. 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876300012@196.7.219.43:8356) State REPORTING
  584. 2024-10-04 09:58:01.053542 99.97% [INFO] mod_json_cdr.c:271 Process [1bc14b86-c779-4eca-b57e-1efbbf904a9e.cdr.json]
  585. 2024-10-04 09:58:01.133543 99.97% [DEBUG] switch_core_state_machine.c:168 sofia/default/27218353804 Standard REPORTING, cause: NORMAL_CLEARING
  586. 2024-10-04 09:58:01.133543 99.97% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27218353804) State REPORTING going to sleep
  587. 2024-10-04 09:58:01.133543 99.97% [DEBUG] switch_core_state_machine.c:607 (sofia/default/27218353804) State Change CS_REPORTING -> CS_DESTROY
  588. 2024-10-04 09:58:01.133543 99.97% [DEBUG] switch_core_session.c:1753 Session 36509 (sofia/default/27218353804) Locked, Waiting on external entities
  589. 2024-10-04 09:58:01.133543 99.97% [NOTICE] switch_core_session.c:1771 Session 36509 (sofia/default/27218353804) Ended
  590. 2024-10-04 09:58:01.133543 99.97% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/27218353804 [CS_DESTROY]
  591. 2024-10-04 09:58:01.133543 99.97% [DEBUG] switch_core_state_machine.c:735 (sofia/default/27218353804) Running State Change CS_DESTROY (Cur 1 Tot 36509)
  592. 2024-10-04 09:58:01.133543 99.97% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27218353804) State DESTROY
  593. 2024-10-04 09:58:01.133543 99.97% [DEBUG] mod_sofia.c:379 sofia/default/27218353804 SOFIA DESTROY
  594. 2024-10-04 09:58:01.133543 99.97% [DEBUG] switch_core_state_machine.c:175 sofia/default/27218353804 Standard DESTROY
  595. 2024-10-04 09:58:01.133543 99.97% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27218353804) State DESTROY going to sleep
  596. 2024-10-04 09:58:01.133543 99.97% [DEBUG] switch_core_state_machine.c:168 sofia/default/27876300012@196.7.219.43:8356 Standard REPORTING, cause: NORMAL_CLEARING
  597. 2024-10-04 09:58:01.133543 99.97% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876300012@196.7.219.43:8356) State REPORTING going to sleep
  598. 2024-10-04 09:58:01.133543 99.97% [DEBUG] switch_core_state_machine.c:607 (sofia/default/27876300012@196.7.219.43:8356) State Change CS_REPORTING -> CS_DESTROY
  599. 2024-10-04 09:58:01.133543 99.97% [DEBUG] switch_core_session.c:1753 Session 36508 (sofia/default/27876300012@196.7.219.43:8356) Locked, Waiting on external entities
  600. 2024-10-04 09:58:01.133543 99.97% [NOTICE] switch_core_session.c:1771 Session 36508 (sofia/default/27876300012@196.7.219.43:8356) Ended
  601. 2024-10-04 09:58:01.133543 99.97% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/27876300012@196.7.219.43:8356 [CS_DESTROY]
  602. 2024-10-04 09:58:01.133543 99.97% [DEBUG] switch_core_state_machine.c:735 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_DESTROY (Cur 0 Tot 36509)
  603. 2024-10-04 09:58:01.133543 99.97% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876300012@196.7.219.43:8356) State DESTROY
  604. 2024-10-04 09:58:01.133543 99.97% [DEBUG] mod_sofia.c:379 sofia/default/27876300012@196.7.219.43:8356 SOFIA DESTROY
  605. 2024-10-04 09:58:01.133543 99.97% [DEBUG] switch_core_state_machine.c:175 sofia/default/27876300012@196.7.219.43:8356 Standard DESTROY
  606. 2024-10-04 09:58:01.133543 99.97% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876300012@196.7.219.43:8356) State DESTROY going to sleep
  607. 2024-10-04 09:58:01.613542 99.93% [DEBUG] switch_scheduler.c:147 Deleting task 4231 switch_ivr_schedule_hangup (1bc14b86-c779-4eca-b57e-1efbbf904a9e)
  608. 2024-10-04 09:58:46.973542 99.37% [NOTICE] switch_channel.c:1123 New Channel sofia/default/27219489171@196.31.25.88 [25883202-e6bd-4c03-80b4-0d2b0e1c0321]
  609. 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27219489171@196.31.25.88) Running State Change CS_NEW (Cur 1 Tot 36510)
  610. 2024-10-04 09:58:46.973542 99.37% [INFO] sofia.c:10462 sofia/default/27219489171@196.31.25.88 receiving invite from 102.220.232.100:5060 version: 1.10.7 -release 64bit call-id: 15b08896-fcda-123d-fb88-0024e83afa77                                                                                                                                                                                                                
  611. 2024-10-04 09:58:46.973542 99.37% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 102.220.232.100:0.
  612. 2024-10-04 09:58:46.973542 99.37% [DEBUG] sofia.c:10585 IP 102.220.232.100 Approved by acl "default[]". Access Granted.
  613. 2024-10-04 09:58:46.973542 99.37% [DEBUG] sofia.c:7499 Channel sofia/default/27219489171@196.31.25.88 entering state [received][100]
  614. 2024-10-04 09:58:46.973542 99.37% [DEBUG] sofia.c:7509 Remote SDP:
  615. v=0                                                                                                                                                                                                                
  616. o=FreeSWITCH 1728013041 1728013042 IN IP4 196.31.25.88                                                                                                                                                            
  617. s=FreeSWITCH                                                                                                                                                                                                      
  618. c=IN IP4 196.31.25.88                                                                                                                                                                                              
  619. t=0 0                                                                                                                                                                                                              
  620. m=audio 22884 RTP/AVP 18 8 0 101                                                                                                                                                                                  
  621. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  622. a=fmtp:18 annexb=no                                                                                                                                                                                                
  623. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  624. a=rtpmap:0 PCMU/8000                                                                                                                                                                                              
  625. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  626. a=fmtp:101 0-16                                                                                                                                                                                                    
  627. a=ptime:20                                                                                                                                                                                                        
  628.  
  629. 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  630. 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  631. 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  632. 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  633. 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G722:9:8000:20:64000:1]
  634. 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  635. 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  636. 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  637. 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  638. 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  639. 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  640. 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  641. 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  642. 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  643. 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  644. 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  645. 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/27219489171@196.31.25.88 G729/8000 20 ms 160 samples 8000 bits 1 channels
  646. 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_codec.c:111 sofia/default/27219489171@196.31.25.88 Original read codec set to G729:18
  647. 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  648. 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_media.c:5973 sofia/default/27219489171@196.31.25.88 Set 2833 dtmf send payload to 101 recv payload to 101
  649. 2024-10-04 09:58:46.973542 99.37% [DEBUG] sofia.c:7933 (sofia/default/27219489171@196.31.25.88) State Change CS_NEW -> CS_INIT
  650. 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_state_machine.c:600 (sofia/default/27219489171@196.31.25.88) State NEW
  651. 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27219489171@196.31.25.88) Running State Change CS_INIT (Cur 1 Tot 36510)
  652. 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27219489171@196.31.25.88) State INIT
  653. 2024-10-04 09:58:46.973542 99.37% [DEBUG] mod_sofia.c:97 sofia/default/27219489171@196.31.25.88 SOFIA INIT
  654. 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_state_machine.c:40 sofia/default/27219489171@196.31.25.88 Standard INIT
  655. 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_state_machine.c:48 (sofia/default/27219489171@196.31.25.88) State Change CS_INIT -> CS_ROUTING
  656. 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27219489171@196.31.25.88) State INIT going to sleep
  657. 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27219489171@196.31.25.88) Running State Change CS_ROUTING (Cur 1 Tot 36510)
  658. 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_channel.c:2380 (sofia/default/27219489171@196.31.25.88) Callstate Change DOWN -> RINGING
  659. 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27219489171@196.31.25.88) State ROUTING
  660. 2024-10-04 09:58:46.973542 99.37% [DEBUG] mod_sofia.c:158 sofia/default/27219489171@196.31.25.88 SOFIA ROUTING
  661. 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_state_machine.c:230 sofia/default/27219489171@196.31.25.88 Standard ROUTING
  662. 2024-10-04 09:58:46.973542 99.37% [INFO] mod_dialplan_xml.c:639 Processing +27219489171 <27219489171>->27218873403 in context default
  663. 2024-10-04 09:58:47.013543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  664. 2024-10-04 09:58:47.053542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  665. 2024-10-04 09:58:47.053542 99.37% [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')                                                                                                                                                                                                
  666. 2024-10-04 09:58:47.053542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  667. 2024-10-04 09:58:47.093542 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 27218873403
  668. 2024-10-04 09:58:47.093542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '27218873403' AND status=0 limit 1
  669. 2024-10-04 09:58:47.093542 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+GoldtelASTPPv5JB1
  670. 2024-10-04 09:58:47.093542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  671. 2024-10-04 09:58:47.093542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '27218873403' limit 1
  672. 2024-10-04 09:58:47.113542 99.37% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  673. 2024-10-04 09:58:47.113542 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : "+27219489171" / 27219489171
  674. 2024-10-04 09:58:47.113542 99.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  675. 2024-10-04 09:58:47.113542 99.37% [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                                                                                                                                                                                          
  676. 2024-10-04 09:58:47.113542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218873403
  677. 2024-10-04 09:58:47.113542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218873403
  678. 2024-10-04 09:58:47.113542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218873403
  679. 2024-10-04 09:58:47.113542 99.37% [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 ="27218873403" LIMIT 1                                    
  680. 2024-10-04 09:58:47.113542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  681. 2024-10-04 09:58:47.113542 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  682. 2024-10-04 09:58:47.113542 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 196.31.25.91
  683. 2024-10-04 09:58:47.113542 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3786491283]
  684. 2024-10-04 09:58:47.113542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "3786491283" OR id = "3786491283") AND deleted = 0 limit 1
  685. 2024-10-04 09:58:47.113542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =447
  686. 2024-10-04 09:58:47.113542 99.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 43
  687. 2024-10-04 09:58:47.113542 99.37% [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                                                                                                                                                                                          
  688. 2024-10-04 09:58:47.113542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218873403
  689. 2024-10-04 09:58:47.113542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218873403
  690. 2024-10-04 09:58:47.113542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218873403
  691. 2024-10-04 09:58:47.113542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="27218873403" AND (accountid = 0 OR status = 1) LIMIT 1
  692. 2024-10-04 09:58:47.113542 99.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 55
  693. 2024-10-04 09:58:47.113542 99.37% [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 = 55 AND status=0 limit 1                                                                                                                                                                                          
  694. 2024-10-04 09:58:47.113542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  695. 2024-10-04 09:58:47.113542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 447
  696. 2024-10-04 09:58:47.113542 99.37% [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 = '^27218873403.*' OR patterns = '^2721887340.*' OR patterns = '^272188734.*' OR patterns = '^27218873.*' OR patterns = '^2721887.*' OR patterns = '^272188.*' OR patterns = '^27218.*' OR patterns = '^2721.*' OR patterns = '^272.*' OR patterns = '^27.*' OR patterns = '^2.*' OR patterns ='--') AND accountid = 447 ORDER BY LENGTH(PKGPTR.patterns) DESC                                                                                                                                                                                                            
  697. 2024-10-04 09:58:47.113542 99.37% [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 ="27218873403" AND A.accountid = '159' limit 1                                                                                                                                                                
  698. 2024-10-04 09:58:47.113542 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 27218873403
  699. 2024-10-04 09:58:47.113542 99.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  700. 2024-10-04 09:58:47.113542 99.37% [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                                                                                                                                                                                          
  701. 2024-10-04 09:58:47.113542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218873403
  702. 2024-10-04 09:58:47.113542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218873403
  703. 2024-10-04 09:58:47.113542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218873403
  704. 2024-10-04 09:58:47.113542 99.37% [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 ="27218873403" LIMIT 1                                    
  705. 2024-10-04 09:58:47.113542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  706. 2024-10-04 09:58:47.113542 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  707. 2024-10-04 09:58:47.113542 99.37% [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 = '27218873403' OR number = '2721887340' OR number = '272188734' OR number = '27218873' OR number = '2721887' OR number = '272188' OR number = '27218' OR number = '2721' OR number = '272' OR number = '27' OR number = '2' OR number ='--') OR (number = '27218873403*' OR number = '2721887340*' OR number = '272188734*' OR number = '27218873*' OR number = '2721887*' OR number = '272188*' OR number = '27218*' OR number = '2721*' OR number = '272*' OR number = '27*' OR number = '2*' OR number ='--') OR (number = '27219489171' OR number = '2721948917' OR number = '272194891' OR number = '27219489' OR number = '2721948' OR number = '272194' OR number = '27219' OR number = '2721' OR number = '272' OR number = '27' OR number = '2' OR number ='--') OR (number = '27219489171*' OR number = '2721948917*' OR number = '272194891*' OR number = '27219489*' OR number = '2721948*' OR number = '272194*' OR number = '27219*' OR number = '2721*' OR number = '272*' OR number = '27*' OR number = '2*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC                                                                                                                                                                                  
  708. 2024-10-04 09:58:47.113542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  709. 2024-10-04 09:58:47.113542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '27218873403' OR routing_prefix = '2721887340' OR routing_prefix = '272188734' OR routing_prefix = '27218873' OR routing_prefix = '2721887' OR routing_prefix = '272188' OR routing_prefix = '27218' 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 = 0 limit 1                                                                            
  710. 2024-10-04 09:58:47.113542 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  711. 2024-10-04 09:58:47.113542 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 159
  712. 2024-10-04 09:58:47.113542 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3786491283
  713. 2024-10-04 09:58:47.113542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =447
  714. 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 10
  715. 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  716. 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 215
  717. 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 6
  718. 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  719. 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 215 AND status = 0
  720. 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  721. 2024-10-04 09:58:47.133543 99.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  722. 2024-10-04 09:58:47.133543 99.37% [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                                                                                                                                                                                          
  723. 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218873403
  724. 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218873403
  725. 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218873403
  726. 2024-10-04 09:58:47.133543 99.37% [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 ="27218873403" LIMIT 1                                    
  727. 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  728. 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 447  and status = 0 limit 1
  729. 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :43.....27218873403
  730. 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_RESELLER] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.connectcost,A.includedseconds,A.cost,C.reseller_cost as reseller_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,D.id as product_id FROM dids AS A,accounts AS B, reseller_products AS C, products AS D WHERE B.status=0 AND B.deleted=0 AND A.product_id=C.product_id AND A.parent_id=C.account_id AND B.id=A.accountid AND A.number ="27218873403" LIMIT 1                                                                                                              
  731. 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  732. 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  733. 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 219
  734. 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  735. 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  736. 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  737. 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Kampus Western Cape
  738. 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 171
  739. 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 159
  740. 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  741. 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =447
  742. 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your10 balance Accountid 159 !!!
  743. 2024-10-04 09:58:47.133543 99.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  744. 2024-10-04 09:58:47.133543 99.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 405
  745. 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "405" OR number = "405") AND deleted = 0 limit 1
  746. 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =447
  747. 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
  748. 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 405
  749. 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 6840389175
  750. 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =447
  751. 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 10
  752. 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  753. 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 189
  754. 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 189 AND status = 0
  755. 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  756. 2024-10-04 09:58:47.133543 99.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  757. 2024-10-04 09:58:47.133543 99.37% [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                                                                                                                                                                                          
  758. 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218873403
  759. 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218873403
  760. 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218873403
  761. 2024-10-04 09:58:47.133543 99.37% [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 ="27218873403" LIMIT 1                                    
  762. 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  763. 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  764. 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  765. 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 219
  766. 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  767. 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  768. 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  769. 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Kampus Western Cape
  770. 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 171
  771. 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 405
  772. 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  773. 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =447
  774. 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your10 balance Accountid 405 !!!
  775. 2024-10-04 09:58:47.133543 99.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  776. 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] check_routing_type for resellers origination rates  
  777. 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:219|CODE:^27218873403.*|DESTINATION:Kampus Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:447||ID:219|CODE:^27218873403.*|DESTINATION:Kampus Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:405                                                                                                                                                                                        
  778. 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  779. 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 0
  780. 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 60 minutes
  781. 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  782. 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  783. 2024-10-04 09:58:47.133543 99.37% [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 = 159 AND status=0 LIMIT 1                                                                                                                                                                                      
  784. 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "447" OR number = "447") AND deleted = 0 limit 1
  785. 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =447
  786. 2024-10-04 09:58:47.153542 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:159
  787. 2024-10-04 09:58:47.153542 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:159
  788. 2024-10-04 09:58:47.153542 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 159
  789. 2024-10-04 09:58:47.153542 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 60
  790. 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = 'gw+GoldtelASTPPv5JB1' and status = 0 limit 1                                                                                                                                                                                                                  
  791. 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  792. 2024-10-04 09:58:47.153542 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  793. 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_6
  794. 2024-10-04 09:58:47.153542 99.37% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Inbound Dialplan
  795. 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  796. <document type="freeswitch/xml">                                                                                                                                                                                  
  797. <section name="dialplan" description="ASTPP Dialplan">                                                                                                                                                            
  798. <context name="default">                                                                                                                                                                                          
  799. <extension name="27218873403">                                                                                                                                                                                    
  800. <condition field="destination_number" expression="27218873403">                                                                                                                                                    
  801. <action application="set" data="effective_destination_number=27218873403"/>                                                                                                                                        
  802. <action application="set" data="execute_on_answer_1=sched_hangup +3600 normal_clearing"/>                                                                                                                          
  803. <action application="set" data="notify_flag=0"/>                                                                                                                                                                  
  804. <action application="set" data="notify_credit_limit=1.00000"/>                                                                                                                                                    
  805. <action application="set" data="type=3"/>                                                                                                                                                                          
  806. <action application="set" data="callstart=2024-10-04 09:58:47"/>                                                                                                                                                  
  807. <action application="set" data="hangup_after_bridge=true"/>                                                                                                                                                        
  808. <action application="set" data="continue_on_fail=TRUE"/>                                                                                                                                                          
  809. <action application="set" data="account_id=159"/>                                                                                                                                                                  
  810. <action application="set" data="parent_id=405"/>                                                                                                                                                                  
  811. <action application="set" data="entity_id=3"/>                                                                                                                                                                    
  812. <action application="set" data="call_processed=internal"/>                                                                                                                                                        
  813. <action application="set" data="call_direction=inbound"/>                                                                                                                                                          
  814. <action application="set" data="accountname=default"/>                                                                                                                                                            
  815. <action application="set" data="origination_rates_did=ID:219|CODE:^27218873403.*|DESTINATION:Kampus Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:447||ID:219|CODE:^27218873403.*|DESTINATION:Kampus Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:405"/>          
  816. <action application="set" data="origination_rates=0"/>                                                                                                                                                            
  817. <action application="set" data="original_caller_id_name="+27219489171""/>                                                                                                                                          
  818. <action application="set" data="original_caller_id_number=27219489171"/>                                                                                                                                          
  819. <action application="limit" data="db 3786491283 user_3786491283 10 "/>                                                                                                                                            
  820. <action application="export" data="is_recording=1"/>                                                                                                                                                              
  821. <action application="export" data="media_bug_answer_req=true"/>                                                                                                                                                    
  822. <action application="export" data="record_sample_rate=8000"/>                                                                                                                                                      
  823. <action application="export" data="execute_on_answer_2=record_session $${recordings_dir}/${uuid}.wav"/>                                                                                                            
  824. <action application="set" data="effective_caller_id_name="+27219489171""/>                                                                                                                                        
  825. <action application="set" data="effective_caller_id_number=27219489171"/>                                                                                                                                          
  826. <action application="set" data="receiver_accid=447"/>                                                                                                                                                              
  827. <action application="export" data="domain_name="/>                                                                                                                                                                
  828. <action application="export" data="sip_to_host="/>                                                                                                                                                                
  829. <action application="export" data="presence_data=x//405|||Dimension Data(3786491283)|||^27218873403.* // Kampus Western Cape // 0.00000|||||||||DID|||196.31.25.91"/>                                              
  830. <action application="export" data="call_type=6"/>                                                                                                                                                                  
  831. <action application="set" data="calltype=FAX"/>                                                                                                                                                                    
  832. <action application="answer"/>                                                                                                                                                                                    
  833. <action application="set" data="callfax=true"/>                                                                                                                                                                    
  834. <action application="playback" data="silence_stream://2000"/>                                                                                                                                                      
  835. <action application="set" data="fax_enable_t38_request=true"/>                                                                                                                                                    
  836. <action application="set" data="sip_require_timer=false"/>                                                                                                                                                        
  837. <action application="set" data="call_request=6"/>                                                                                                                                                                  
  838. <action application="set" data="module_name=apfax"/>                                                                                                                                                              
  839. <action application="set" data="fax_transfer_rate=9600"/>                                                                                                                                                          
  840. <action application="set" data="fax_use_ecm=false"/>                                                                                                                                                              
  841. <action application="set" data="fax_v17_disabled=false"/>                                                                                                                                                          
  842. <action application="set" data="fax_disable_v17=true"/>                                                                                                                                                            
  843. <action application="set" data="fax_enable_t38=true"/>                                                                                                                                                            
  844. <action application="set" data="api_hangup_hook=system /var/www/html/astpp/FAX/scripts/emailfax.sh /var/www/html/astpp/FAX/receive_fax_files/25883202-e6bd-4c03-80b4-0d2b0e1c0321-FAX.tif 3124291998 Dimension+Data_ kampus@stelkor.co.za /var/www/html/astpp/attachments/25883202-e6bd-4c03-80b4-0d2b0e1c0321-FAX.pdf kampus@stelkor.co.za 27218873403 27219489171"/>                                                                
  845. <action application="rxfax" data="/var/www/html/astpp/FAX/receive_fax_files/25883202-e6bd-4c03-80b4-0d2b0e1c0321-FAX.tif"/>                                                                                        
  846. <action application="hangup"/>                                                                                                                                                                                    
  847. </condition>                                                                                                                                                                                                      
  848. </extension>                                                                                                                                                                                                      
  849. </context>                                                                                                                                                                                                        
  850. </section>                                                                                                                                                                                                        
  851. </document>                                                                                                                                                                                                        
  852. Dialplan: sofia/default/27219489171@196.31.25.88 parsing [default->27218873403] continue=false
  853. Dialplan: sofia/default/27219489171@196.31.25.88 Regex (PASS) [27218873403] destination_number(27218873403) =~ /27218873403/ break=on-false
  854. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(effective_destination_number=27218873403)
  855. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(execute_on_answer_1=sched_hangup +3600 normal_clearing)
  856. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(notify_flag=0)
  857. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(notify_credit_limit=1.00000)
  858. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(type=3)
  859. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(callstart=2024-10-04 09:58:47)
  860. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(hangup_after_bridge=true)
  861. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(continue_on_fail=TRUE)
  862. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(account_id=159)
  863. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(parent_id=405)
  864. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(entity_id=3)
  865. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(call_processed=internal)
  866. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(call_direction=inbound)
  867. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(accountname=default)
  868. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(origination_rates_did=ID:219|CODE:^27218873403.*|DESTINATION:Kampus Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:447||ID:219|CODE:^27218873403.*|DESTINATION:Kampus Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:405)                                                                                                                                                                                                    
  869. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(origination_rates=0)
  870. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(original_caller_id_name=)
  871. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(original_caller_id_number=27219489171)
  872. Dialplan: sofia/default/27219489171@196.31.25.88 Action limit(db 3786491283 user_3786491283 10 )
  873. Dialplan: sofia/default/27219489171@196.31.25.88 Action export(is_recording=1)
  874. Dialplan: sofia/default/27219489171@196.31.25.88 Action export(media_bug_answer_req=true)
  875. Dialplan: sofia/default/27219489171@196.31.25.88 Action export(record_sample_rate=8000)
  876. Dialplan: sofia/default/27219489171@196.31.25.88 Action export(execute_on_answer_2=record_session $${recordings_dir}/${uuid}.wav)
  877. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(effective_caller_id_name=)
  878. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(effective_caller_id_number=27219489171)
  879. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(receiver_accid=447)
  880. Dialplan: sofia/default/27219489171@196.31.25.88 Action export(domain_name=)
  881. Dialplan: sofia/default/27219489171@196.31.25.88 Action export(sip_to_host=)
  882. Dialplan: sofia/default/27219489171@196.31.25.88 Action export(presence_data=x//405|||Dimension Data(3786491283)|||^27218873403.* // Kampus Western Cape // 0.00000|||||||||DID|||196.31.25.91)
  883. Dialplan: sofia/default/27219489171@196.31.25.88 Action export(call_type=6)
  884. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(calltype=FAX)
  885. Dialplan: sofia/default/27219489171@196.31.25.88 Action answer()
  886. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(callfax=true)
  887. Dialplan: sofia/default/27219489171@196.31.25.88 Action playback(silence_stream://2000)
  888. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(fax_enable_t38_request=true)
  889. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(sip_require_timer=false)
  890. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(call_request=6)
  891. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(module_name=apfax)
  892. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(fax_transfer_rate=9600)
  893. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(fax_use_ecm=false)
  894. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(fax_v17_disabled=false)
  895. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(fax_disable_v17=true)
  896. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(fax_enable_t38=true)
  897. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(api_hangup_hook=system /var/www/html/astpp/FAX/scripts/emailfax.sh /var/www/html/astpp/FAX/receive_fax_files/25883202-e6bd-4c03-80b4-0d2b0e1c0321-FAX.tif 3124291998 Dimension+Data_ kampus@stelkor.co.za /var/www/html/astpp/attachments/25883202-e6bd-4c03-80b4-0d2b0e1c0321-FAX.pdf kampus@stelkor.co.za 27218873403 27219489171)                                      
  898. Dialplan: sofia/default/27219489171@196.31.25.88 Action rxfax(/var/www/html/astpp/FAX/receive_fax_files/25883202-e6bd-4c03-80b4-0d2b0e1c0321-FAX.tif)
  899. Dialplan: sofia/default/27219489171@196.31.25.88 Action hangup()
  900. 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_core_state_machine.c:281 (sofia/default/27219489171@196.31.25.88) State Change CS_ROUTING -> CS_EXECUTE
  901. 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27219489171@196.31.25.88) State ROUTING going to sleep
  902. 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27219489171@196.31.25.88) Running State Change CS_EXECUTE (Cur 1 Tot 36510)
  903. 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27219489171@196.31.25.88) State EXECUTE
  904. 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_sofia.c:213 sofia/default/27219489171@196.31.25.88 SOFIA EXECUTE
  905. 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_core_state_machine.c:323 sofia/default/27219489171@196.31.25.88 Standard EXECUTE
  906. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(effective_destination_number=27218873403)
  907. 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [effective_destination_number]=[27218873403]
  908. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(execute_on_answer_1=sched_hangup +3600 normal_clearing)
  909. 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [execute_on_answer_1]=[sched_hangup +3600 normal_clearing]
  910. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(notify_flag=0)
  911. 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [notify_flag]=[0]
  912. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(notify_credit_limit=1.00000)
  913. 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [notify_credit_limit]=[1.00000]
  914. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(type=3)
  915. 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [type]=[3]
  916. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(callstart=2024-10-04 09:58:47)
  917. 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [callstart]=[2024-10-04 09:58:47]
  918. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(hangup_after_bridge=true)
  919. 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [hangup_after_bridge]=[true]
  920. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(continue_on_fail=TRUE)
  921. 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [continue_on_fail]=[TRUE]
  922. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(account_id=159)
  923. 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [account_id]=[159]
  924. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(parent_id=405)
  925. 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [parent_id]=[405]
  926. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(entity_id=3)
  927. 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [entity_id]=[3]
  928. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(call_processed=internal)
  929. 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [call_processed]=[internal]
  930. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(call_direction=inbound)
  931. 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [call_direction]=[inbound]
  932. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(accountname=default)
  933. 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [accountname]=[default]
  934. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(origination_rates_did=ID:219|CODE:^27218873403.*|DESTINATION:Kampus Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:447||ID:219|CODE:^27218873403.*|DESTINATION:Kampus Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:405)                                                                                                                                                                                                  
  935. 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [origination_rates_did]=[ID:219|CODE:^27218873403.*|DESTINATION:Kampus Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:447||ID:219|CODE:^27218873403.*|DESTINATION:Kampus Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:405]                                                                                                                                                    
  936. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(origination_rates=0)
  937. 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [origination_rates]=[0]
  938. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(original_caller_id_name=)
  939. 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [original_caller_id_name]=[UNDEF]
  940. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(original_caller_id_number=27219489171)
  941. 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [original_caller_id_number]=[27219489171]
  942. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 limit(db 3786491283 user_3786491283 10 )
  943. 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_limit.c:124 incr called: 3786491283_user_3786491283 max:10, interval:0
  944. 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_db.c:194 Usage for 3786491283_user_3786491283 is now 1/10
  945. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 export(is_recording=1)
  946. 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  947. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 export(media_bug_answer_req=true)
  948. 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  949. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 export(record_sample_rate=8000)
  950. 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  951. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 export(execute_on_answer_2=record_session /usr/local/freeswitch/recordings/25883202-e6bd-4c03-80b4-0d2b0e1c0321.wav)
  952. 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer_2]=[record_session /usr/local/freeswitch/recordings/25883202-e6bd-4c03-80b4-0d2b0e1c0321.wav]
  953. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(effective_caller_id_name=)
  954. 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [effective_caller_id_name]=[UNDEF]
  955. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(effective_caller_id_number=27219489171)
  956. 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [effective_caller_id_number]=[27219489171]
  957. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(receiver_accid=447)
  958. 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [receiver_accid]=[447]
  959. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 export(domain_name=)
  960. 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[UNDEF]
  961. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 export(sip_to_host=)
  962. 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[UNDEF]
  963. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 export(presence_data=x//405|||Dimension Data(3786491283)|||^27218873403.* // Kampus Western Cape // 0.00000|||||||||DID|||196.31.25.91)
  964. 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x//405|||Dimension Data(3786491283)|||^27218873403.* // Kampus Western Cape // 0.00000|||||||||DID|||196.31.25.91]                                                                                                                                                                                                              
  965. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 export(call_type=6)
  966. 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[6]
  967. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(calltype=FAX)
  968. 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [calltype]=[FAX]
  969. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 answer()
  970. 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/27219489171@196.31.25.88] 102.220.232.20 port 28920 -> 196.31.25.88 port 22884 codec: 18 ms: 20
  971. 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  972. 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_core_media.c:9089 sofia/default/27219489171@196.31.25.88 Set 2833 dtmf send payload to 101
  973. 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_core_media.c:9096 sofia/default/27219489171@196.31.25.88 Set 2833 dtmf receive payload to 101
  974. 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_core_media.c:9119 sofia/default/27219489171@196.31.25.88 Set rtp dtmf delay to 40
  975. 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/27219489171@196.31.25.88:
  976. v=0                                                                                                                                                                                                                
  977. o=FreeSWITCH 1728007007 1728007008 IN IP4 102.220.232.20                                                                                                                                                          
  978. s=FreeSWITCH                                                                                                                                                                                                      
  979. c=IN IP4 102.220.232.20                                                                                                                                                                                            
  980. t=0 0                                                                                                                                                                                                              
  981. m=audio 28920 RTP/AVP 18 101                                                                                                                                                                                      
  982. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  983. a=fmtp:18 annexb=no                                                                                                                                                                                                
  984. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  985. a=fmtp:101 0-15                                                                                                                                                                                                    
  986. a=ptime:20                                                                                                                                                                                                        
  987. a=sendrecv                                                                                                                                                                                                        
  988.  
  989. 2024-10-04 09:58:47.153542 99.37% [NOTICE] mod_dptools.c:1419 Channel [sofia/default/27219489171@196.31.25.88] has been answered
  990. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 sched_hangup(+3600 normal_clearing)
  991. 2024-10-04 09:58:47.153542 99.37% [DEBUG] sofia.c:7499 Channel sofia/default/27219489171@196.31.25.88 entering state [completed][200]
  992. 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_scheduler.c:263 Added task 4232 switch_ivr_schedule_hangup (25883202-e6bd-4c03-80b4-0d2b0e1c0321) to run at 1728039527
  993. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 record_session(/usr/local/freeswitch/recordings/25883202-e6bd-4c03-80b4-0d2b0e1c0321.wav)
  994. 2024-10-04 09:58:47.173542 99.37% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  995. 2024-10-04 09:58:47.173542 99.37% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/27219489171@196.31.25.88
  996. 2024-10-04 09:58:47.173542 99.37% [DEBUG] sofia.c:7499 Channel sofia/default/27219489171@196.31.25.88 entering state [ready][200]
  997. 2024-10-04 09:58:47.173542 99.37% [DEBUG] switch_channel.c:3950 (sofia/default/27219489171@196.31.25.88) Callstate Change RINGING -> ACTIVE
  998. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(callfax=true)
  999. 2024-10-04 09:58:47.173542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [callfax]=[true]
  1000. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 playback(silence_stream://2000)
  1001. 2024-10-04 09:58:47.173542 99.37% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  1002. 2024-10-04 09:58:47.173542 99.37% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  1003. 2024-10-04 09:58:47.293542 99.37% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  1004. 2024-10-04 09:58:47.293542 99.37% [DEBUG] switch_core_io.c:448 Setting BUG Codec G729:18
  1005. 2024-10-04 09:58:49.153543 99.33% [DEBUG] switch_ivr_play_say.c:2001 done playing file silence_stream://2000
  1006. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(fax_enable_t38_request=true)
  1007. 2024-10-04 09:58:49.153543 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [fax_enable_t38_request]=[true]
  1008. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(sip_require_timer=false)
  1009. 2024-10-04 09:58:49.153543 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [sip_require_timer]=[false]
  1010. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(call_request=6)
  1011. 2024-10-04 09:58:49.153543 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [call_request]=[6]
  1012. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(module_name=apfax)
  1013. 2024-10-04 09:58:49.153543 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [module_name]=[apfax]
  1014. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(fax_transfer_rate=9600)
  1015. 2024-10-04 09:58:49.153543 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [fax_transfer_rate]=[9600]
  1016. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(fax_use_ecm=false)
  1017. 2024-10-04 09:58:49.173539 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [fax_use_ecm]=[false]
  1018. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(fax_v17_disabled=false)
  1019. 2024-10-04 09:58:49.173539 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [fax_v17_disabled]=[false]
  1020. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(fax_disable_v17=true)
  1021. 2024-10-04 09:58:49.173539 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [fax_disable_v17]=[true]
  1022. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(fax_enable_t38=true)
  1023. 2024-10-04 09:58:49.173539 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [fax_enable_t38]=[true]
  1024. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(api_hangup_hook=system /var/www/html/astpp/FAX/scripts/emailfax.sh /var/www/html/astpp/FAX/receive_fax_files/25883202-e6bd-4c03-80b4-0d2b0e1c0321-FAX.tif 3124291998 Dimension+Data_ kampus@stelkor.co.za /var/www/html/astpp/attachments/25883202-e6bd-4c03-80b4-0d2b0e1c0321-FAX.pdf kampus@stelkor.co.za 27218873403 27219489171)                                    
  1025. 2024-10-04 09:58:49.173539 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [api_hangup_hook]=[system /var/www/html/astpp/FAX/scripts/emailfax.sh /var/www/html/astpp/FAX/receive_fax_files/25883202-e6bd-4c03-80b4-0d2b0e1c0321-FAX.tif 3124291998 Dimension+Data_ kampus@stelkor.co.za /var/www/html/astpp/attachments/25883202-e6bd-4c03-80b4-0d2b0e1c0321-FAX.pdf kampus@stelkor.co.za 27218873403 27219489171]                                                                                                                                                                                                          
  1026. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 rxfax(/var/www/html/astpp/FAX/receive_fax_files/25883202-e6bd-4c03-80b4-0d2b0e1c0321-FAX.tif)
  1027. 2024-10-04 09:58:49.173539 99.33% [DEBUG] mod_spandsp_fax.c:1610 Raw read codec activation Success L16 20000
  1028. 2024-10-04 09:58:49.173539 99.33% [DEBUG] switch_core_codec.c:223 sofia/default/27219489171@196.31.25.88 Push codec L16:100
  1029. 2024-10-04 09:58:49.173539 99.33% [DEBUG] mod_spandsp_fax.c:1628 Raw write codec activation Success L16
  1030. 2024-10-04 09:58:50.433542 99.40% [DEBUG] switch_core_media.c:12065 sofia/default/27219489171@196.31.25.88 image media sdp:
  1031. v=0                                                                                                                                                                                                                
  1032. o=FreeSWITCH 1728007007 1728007009 IN IP4 102.220.232.20                                                                                                                                                          
  1033. s=FreeSWITCH                                                                                                                                                                                                      
  1034. c=IN IP4 102.220.232.20                                                                                                                                                                                            
  1035. t=0 0                                                                                                                                                                                                              
  1036. m=image 28920 udptl t38                                                                                                                                                                                            
  1037. a=T38FaxVersion:0                                                                                                                                                                                                  
  1038. a=T38MaxBitRate:9600                                                                                                                                                                                              
  1039. a=T38FaxFillBitRemoval                                                                                                                                                                                            
  1040. a=T38FaxRateManagement:transferredTCF                                                                                                                                                                              
  1041. a=T38FaxMaxBuffer:2000                                                                                                                                                                                            
  1042. a=T38FaxMaxDatagram:400                                                                                                                                                                                            
  1043. a=T38FaxUdpEC:t38UDPRedundancy                                                                                                                                                                                    
  1044.  
  1045. 2024-10-04 09:58:50.433542 99.40% [INFO] sofia_glue.c:1651 sofia/default/27219489171@196.31.25.88 sending invite call-id: (null)
  1046. 2024-10-04 09:58:50.433542 99.40% [DEBUG] sofia_glue.c:1654 sofia/default/27219489171@196.31.25.88 sending invite version: 1.10.7 -release 64bit
  1047. Local SDP:                                                                                                                                                                                                        
  1048. v=0                                                                                                                                                                                                                
  1049. o=FreeSWITCH 1728007007 1728007009 IN IP4 102.220.232.20                                                                                                                                                          
  1050. s=FreeSWITCH                                                                                                                                                                                                      
  1051. c=IN IP4 102.220.232.20                                                                                                                                                                                            
  1052. t=0 0                                                                                                                                                                                                              
  1053. m=image 28920 udptl t38                                                                                                                                                                                            
  1054. a=T38FaxVersion:0                                                                                                                                                                                                  
  1055. a=T38MaxBitRate:9600                                                                                                                                                                                              
  1056. a=T38FaxFillBitRemoval                                                                                                                                                                                            
  1057. a=T38FaxRateManagement:transferredTCF                                                                                                                                                                              
  1058. a=T38FaxMaxBuffer:2000                                                                                                                                                                                            
  1059. a=T38FaxMaxDatagram:400                                                                                                                                                                                            
  1060. a=T38FaxUdpEC:t38UDPRedundancy                                                                                                                                                                                    
  1061.  
  1062. 2024-10-04 09:58:50.433542 99.40% [DEBUG] sofia.c:7499 Channel sofia/default/27219489171@196.31.25.88 entering state [calling][0]
  1063. 2024-10-04 09:58:50.553551 99.47% [DEBUG] switch_core_io.c:780 Engaging Read Buffer at 320 bytes vs 30
  1064. 2024-10-04 09:58:51.273542 99.47% [DEBUG] sofia.c:7499 Channel sofia/default/27219489171@196.31.25.88 entering state [completing][200]
  1065. 2024-10-04 09:58:51.273542 99.47% [DEBUG] sofia.c:7509 Remote SDP:
  1066. v=0                                                                                                                                                                                                                
  1067. o=FreeSWITCH 1728013041 1728013043 IN IP4 196.31.25.88                                                                                                                                                            
  1068. s=FreeSWITCH                                                                                                                                                                                                      
  1069. c=IN IP4 196.31.25.88                                                                                                                                                                                              
  1070. t=0 0                                                                                                                                                                                                              
  1071. m=image 22884 udptl t38                                                                                                                                                                                            
  1072. a=T38FaxVersion:0                                                                                                                                                                                                  
  1073. a=T38MaxBitRate:14400                                                                                                                                                                                              
  1074. a=T38FaxFillBitRemoval                                                                                                                                                                                            
  1075. a=T38FaxRateManagement:transferredTCF                                                                                                                                                                              
  1076. a=T38FaxMaxBuffer:2000                                                                                                                                                                                            
  1077. a=T38FaxMaxDatagram:400                                                                                                                                                                                            
  1078. a=T38FaxUdpEC:t38UDPRedundancy                                                                                                                                                                                    
  1079.  
  1080. 2024-10-04 09:58:51.293542 99.47% [DEBUG] sofia.c:7499 Channel sofia/default/27219489171@196.31.25.88 entering state [ready][200]
  1081. 2024-10-04 09:58:51.293542 99.47% [DEBUG] switch_core_media.c:5241 sofia/default/27219489171@196.31.25.88 T38 ACCEPT on response
  1082. 2024-10-04 09:58:51.293542 99.47% [DEBUG] switch_core_media.c:5345 sofia/default/27219489171@196.31.25.88 T38 IS POSSIBLE on response
  1083. 2024-10-04 09:58:51.293542 99.47% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/27219489171@196.31.25.88.
  1084. 2024-10-04 09:58:51.313543 99.47% [DEBUG] switch_core_media.c:12494 Remote address:port [196.31.25.88:22884] has not changed.
  1085. 2024-10-04 09:58:51.313543 99.47% [DEBUG] switch_core_media.c:12494 Remote address:port [196.31.25.88:22884] has not changed.
  1086. 2024-10-04 09:58:58.493542 99.93% [INFO] mod_spandsp_fax.c:360 === Negotiation Result =======================================================
  1087. Remote station id:                                                                                                                                                                                                
  1088. Local station id:  SpanDSP Fax Ident                                                                                                                                                                              
  1089. Transfer Rate:     9600                                                                                                                                                                                            
  1090. ECM status         off                                                                                                                                                                                            
  1091. T38 status         negotiated                                                                                                                                                                                      
  1092. remote country:                                                                                                                                                                                                    
  1093. remote vendor:                                                                                                                                                                                                    
  1094. remote model:                                                                                                                                                                                                      
  1095. ==============================================================================                                                                                                                                    
  1096. 2024-10-04 09:59:09.173544 99.67% [NOTICE] sofia.c:1065 Hangup sofia/default/27219489171@196.31.25.88 [CS_EXECUTE] [NORMAL_CLEARING]
  1097. 2024-10-04 09:59:09.173544 99.67% [INFO] mod_spandsp_fax.c:596 ==============================================================================
  1098. Fax processing not successful - result (26) Carrier lost during fax receive.                                                                                                                                      
  1099. Remote station id:                                                                                                                                                                                                
  1100. Local station id:  SpanDSP Fax Ident                                                                                                                                                                              
  1101. Pages transferred: 0                                                                                                                                                                                              
  1102. Total fax pages:   0                                                                                                                                                                                              
  1103. Image resolution:  8040x7700                                                                                                                                                                                      
  1104. Transfer Rate:     9600                                                                                                                                                                                            
  1105. ECM status         off                                                                                                                                                                                            
  1106. T38 status         negotiated                                                                                                                                                                                      
  1107. remote country:                                                                                                                                                                                                    
  1108. remote vendor:                                                                                                                                                                                                    
  1109. remote model:                                                                                                                                                                                                      
  1110. ==============================================================================                                                                                                                                    
  1111. 2024-10-04 09:59:09.173544 99.67% [DEBUG] switch_core_codec.c:248 sofia/default/27219489171@196.31.25.88 Restore previous codec G729:18.
  1112. 2024-10-04 09:59:09.173544 99.67% [DEBUG] switch_core_session.c:2983 sofia/default/27219489171@196.31.25.88 skip receive message [PHONE_EVENT] (channel is hungup already)
  1113. 2024-10-04 09:59:09.173544 99.67% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27219489171@196.31.25.88) State EXECUTE going to sleep
  1114. 2024-10-04 09:59:09.173544 99.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27219489171@196.31.25.88) Running State Change CS_HANGUP (Cur 1 Tot 36510)
  1115. 2024-10-04 09:59:09.173544 99.67% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/25883202-e6bd-4c03-80b4-0d2b0e1c0321.wav
  1116. 2024-10-04 09:59:09.173544 99.67% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  1117. 2024-10-04 09:59:09.173544 99.67% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/27219489171@196.31.25.88
  1118. 2024-10-04 09:59:09.173544 99.67% [DEBUG] switch_core_state_machine.c:844 (sofia/default/27219489171@196.31.25.88) Callstate Change ACTIVE -> HANGUP
  1119. 2024-10-04 09:59:09.173544 99.67% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27219489171@196.31.25.88) State HANGUP
  1120. 2024-10-04 09:59:09.173544 99.67% [DEBUG] mod_sofia.c:468 Channel sofia/default/27219489171@196.31.25.88 hanging up, cause: NORMAL_CLEARING
  1121. 2024-10-04 09:59:09.173544 99.67% [DEBUG] switch_core_state_machine.c:59 sofia/default/27219489171@196.31.25.88 Standard HANGUP, cause: NORMAL_CLEARING
  1122. 2024-10-04 09:59:09.173544 99.67% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27219489171@196.31.25.88) State HANGUP going to sleep
  1123. 2024-10-04 09:59:10.133543 99.63% [DEBUG] switch_core_state_machine.c:777 Hangup Command with no Session system(/var/www/html/astpp/FAX/scripts/emailfax.sh /var/www/html/astpp/FAX/receive_fax_files/25883202-e6bd-4c03-80b4-0d2b0e1c0321-FAX.tif 3124291998 Dimension+Data_ kampus@stelkor.co.za /var/www/html/astpp/attachments/25883202-e6bd-4c03-80b4-0d2b0e1c0321-FAX.pdf kampus@stelkor.co.za 27218873403 27219489171):        
  1124. HERE                                                                                                                                                                                                              
  1125. /usr/bin/php /var/www/html/astpp/FAX/scripts/emailfax.php /var/www/html/astpp/FAX/receive_fax_files/25883202-e6bd-4c03-80b4-0d2b0e1c0321-FAX.tif 3124291998 Dimension+Data_ kampus@stelkor.co.za 27218873403 /var/www/html/astpp/attachments/25883202-e6bd-4c03-80b4-0d2b0e1c0321-FAX.pdf 27219489171                                                                                                                                
  1126. HERE                                                                                                                                                                                                              
  1127.  
  1128. 2024-10-04 09:59:10.133543 99.63% [DEBUG] switch_core_state_machine.c:616 (sofia/default/27219489171@196.31.25.88) State Change CS_HANGUP -> CS_REPORTING
  1129. 2024-10-04 09:59:10.133543 99.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27219489171@196.31.25.88) Running State Change CS_REPORTING (Cur 1 Tot 36510)
  1130. 2024-10-04 09:59:10.133543 99.63% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27219489171@196.31.25.88) State REPORTING
  1131. 2024-10-04 09:59:10.133543 99.63% [INFO] mod_json_cdr.c:271 Process [25883202-e6bd-4c03-80b4-0d2b0e1c0321.cdr.json]
  1132. 2024-10-04 09:59:10.213542 99.63% [DEBUG] switch_core_state_machine.c:168 sofia/default/27219489171@196.31.25.88 Standard REPORTING, cause: NORMAL_CLEARING
  1133. 2024-10-04 09:59:10.213542 99.63% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27219489171@196.31.25.88) State REPORTING going to sleep
  1134. 2024-10-04 09:59:10.213542 99.63% [DEBUG] switch_core_state_machine.c:607 (sofia/default/27219489171@196.31.25.88) State Change CS_REPORTING -> CS_DESTROY
  1135. 2024-10-04 09:59:10.213542 99.63% [DEBUG] switch_core_session.c:1753 Session 36510 (sofia/default/27219489171@196.31.25.88) Locked, Waiting on external entities
  1136. 2024-10-04 09:59:10.213542 99.63% [NOTICE] switch_core_session.c:1771 Session 36510 (sofia/default/27219489171@196.31.25.88) Ended
  1137. 2024-10-04 09:59:10.213542 99.63% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/27219489171@196.31.25.88 [CS_DESTROY]
  1138. 2024-10-04 09:59:10.213542 99.63% [DEBUG] switch_core_state_machine.c:735 (sofia/default/27219489171@196.31.25.88) Running State Change CS_DESTROY (Cur 0 Tot 36510)
  1139. 2024-10-04 09:59:10.213542 99.63% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27219489171@196.31.25.88) State DESTROY
  1140. 2024-10-04 09:59:10.213542 99.63% [DEBUG] mod_sofia.c:379 sofia/default/27219489171@196.31.25.88 SOFIA DESTROY
  1141. 2024-10-04 09:59:10.213542 99.63% [DEBUG] switch_core_state_machine.c:175 sofia/default/27219489171@196.31.25.88 Standard DESTROY
  1142. 2024-10-04 09:59:10.213542 99.63% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27219489171@196.31.25.88) State DESTROY going to sleep
  1143. 2024-10-04 09:59:10.673545 99.57% [DEBUG] switch_scheduler.c:147 Deleting task 4232 switch_ivr_schedule_hangup (25883202-e6bd-4c03-80b4-0d2b0e1c0321)
  1144. 2024-10-04 09:59:28.793550 98.90% [NOTICE] switch_channel.c:1123 New Channel sofia/default/27219489171@196.31.25.88 [aed46086-996f-486f-bafd-d7ae1023b447]
  1145. 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27219489171@196.31.25.88) Running State Change CS_NEW (Cur 1 Tot 36511)
  1146. 2024-10-04 09:59:28.793550 98.90% [INFO] sofia.c:10462 sofia/default/27219489171@196.31.25.88 receiving invite from 102.220.232.100:5060 version: 1.10.7 -release 64bit call-id: 2e9df4ba-fcda-123d-fb88-0024e83afa77                                                                                                                                                                                                                
  1147. 2024-10-04 09:59:28.793550 98.90% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 102.220.232.100:0.
  1148. 2024-10-04 09:59:28.793550 98.90% [DEBUG] sofia.c:10585 IP 102.220.232.100 Approved by acl "default[]". Access Granted.
  1149. 2024-10-04 09:59:28.793550 98.90% [DEBUG] sofia.c:7499 Channel sofia/default/27219489171@196.31.25.88 entering state [received][100]
  1150. 2024-10-04 09:59:28.793550 98.90% [DEBUG] sofia.c:7509 Remote SDP:
  1151. v=0                                                                                                                                                                                                                
  1152. o=FreeSWITCH 1728007461 1728007462 IN IP4 196.31.25.88                                                                                                                                                            
  1153. s=FreeSWITCH                                                                                                                                                                                                      
  1154. c=IN IP4 196.31.25.88                                                                                                                                                                                              
  1155. t=0 0                                                                                                                                                                                                              
  1156. m=audio 28506 RTP/AVP 18 8 0 101                                                                                                                                                                                  
  1157. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  1158. a=fmtp:18 annexb=no                                                                                                                                                                                                
  1159. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  1160. a=rtpmap:0 PCMU/8000                                                                                                                                                                                              
  1161. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  1162. a=fmtp:101 0-16                                                                                                                                                                                                    
  1163. a=ptime:20                                                                                                                                                                                                        
  1164.  
  1165. 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  1166. 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  1167. 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  1168. 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  1169. 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G722:9:8000:20:64000:1]
  1170. 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1171. 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1172. 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1173. 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  1174. 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  1175. 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1176. 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1177. 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  1178. 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  1179. 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  1180. 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  1181. 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/27219489171@196.31.25.88 G729/8000 20 ms 160 samples 8000 bits 1 channels
  1182. 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_codec.c:111 sofia/default/27219489171@196.31.25.88 Original read codec set to G729:18
  1183. 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  1184. 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_media.c:5973 sofia/default/27219489171@196.31.25.88 Set 2833 dtmf send payload to 101 recv payload to 101
  1185. 2024-10-04 09:59:28.793550 98.90% [DEBUG] sofia.c:7933 (sofia/default/27219489171@196.31.25.88) State Change CS_NEW -> CS_INIT
  1186. 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_state_machine.c:600 (sofia/default/27219489171@196.31.25.88) State NEW
  1187. 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27219489171@196.31.25.88) Running State Change CS_INIT (Cur 1 Tot 36511)
  1188. 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27219489171@196.31.25.88) State INIT
  1189. 2024-10-04 09:59:28.793550 98.90% [DEBUG] mod_sofia.c:97 sofia/default/27219489171@196.31.25.88 SOFIA INIT
  1190. 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_state_machine.c:40 sofia/default/27219489171@196.31.25.88 Standard INIT
  1191. 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_state_machine.c:48 (sofia/default/27219489171@196.31.25.88) State Change CS_INIT -> CS_ROUTING
  1192. 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27219489171@196.31.25.88) State INIT going to sleep
  1193. 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27219489171@196.31.25.88) Running State Change CS_ROUTING (Cur 1 Tot 36511)
  1194. 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_channel.c:2380 (sofia/default/27219489171@196.31.25.88) Callstate Change DOWN -> RINGING
  1195. 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27219489171@196.31.25.88) State ROUTING
  1196. 2024-10-04 09:59:28.793550 98.90% [DEBUG] mod_sofia.c:158 sofia/default/27219489171@196.31.25.88 SOFIA ROUTING
  1197. 2024-10-04 09:59:28.813543 98.90% [DEBUG] switch_core_state_machine.c:230 sofia/default/27219489171@196.31.25.88 Standard ROUTING
  1198. 2024-10-04 09:59:28.813543 98.90% [INFO] mod_dialplan_xml.c:639 Processing +27219489171 <27219489171>->27218868674 in context default
  1199. 2024-10-04 09:59:28.853543 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  1200. 2024-10-04 09:59:28.893543 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  1201. 2024-10-04 09:59:28.893543 98.90% [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')                                                                                                                                                                                                
  1202. 2024-10-04 09:59:28.893543 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1203. 2024-10-04 09:59:28.933549 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 27218868674
  1204. 2024-10-04 09:59:28.933549 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '27218868674' AND status=0 limit 1
  1205. 2024-10-04 09:59:28.933549 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+GoldtelASTPPv5JB1
  1206. 2024-10-04 09:59:28.933549 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1207. 2024-10-04 09:59:28.933549 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '27218868674' limit 1
  1208. 2024-10-04 09:59:28.933549 98.90% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  1209. 2024-10-04 09:59:28.933549 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : "+27219489171" / 27219489171
  1210. 2024-10-04 09:59:28.933549 98.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  1211. 2024-10-04 09:59:28.933549 98.90% [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                                                                                                                                                                                          
  1212. 2024-10-04 09:59:28.933549 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218868674
  1213. 2024-10-04 09:59:28.933549 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218868674
  1214. 2024-10-04 09:59:28.933549 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218868674
  1215. 2024-10-04 09:59:28.933549 98.90% [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 ="27218868674" LIMIT 1                                    
  1216. 2024-10-04 09:59:28.933549 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1217. 2024-10-04 09:59:28.933549 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  1218. 2024-10-04 09:59:28.933549 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 196.31.25.91
  1219. 2024-10-04 09:59:28.933549 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3786491283]
  1220. 2024-10-04 09:59:28.933549 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "3786491283" OR id = "3786491283") AND deleted = 0 limit 1
  1221. 2024-10-04 09:59:28.933549 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =447
  1222. 2024-10-04 09:59:28.933549 98.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 43
  1223. 2024-10-04 09:59:28.933549 98.90% [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                                                                                                                                                                                          
  1224. 2024-10-04 09:59:28.933549 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218868674
  1225. 2024-10-04 09:59:28.933549 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218868674
  1226. 2024-10-04 09:59:28.933549 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218868674
  1227. 2024-10-04 09:59:28.933549 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="27218868674" AND (accountid = 0 OR status = 1) LIMIT 1
  1228. 2024-10-04 09:59:28.933549 98.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 55
  1229. 2024-10-04 09:59:28.933549 98.90% [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 = 55 AND status=0 limit 1                                                                                                                                                                                          
  1230. 2024-10-04 09:59:28.933549 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  1231. 2024-10-04 09:59:28.933549 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 447
  1232. 2024-10-04 09:59:28.933549 98.90% [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 = '^27218868674.*' OR patterns = '^2721886867.*' OR patterns = '^272188686.*' OR patterns = '^27218868.*' OR patterns = '^2721886.*' OR patterns = '^272188.*' OR patterns = '^27218.*' OR patterns = '^2721.*' OR patterns = '^272.*' OR patterns = '^27.*' OR patterns = '^2.*' OR patterns ='--') AND accountid = 447 ORDER BY LENGTH(PKGPTR.patterns) DESC                                                                                                                                                                                                            
  1233. 2024-10-04 09:59:28.933549 98.90% [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 ="27218868674" AND A.accountid = '159' limit 1                                                                                                                                                                
  1234. 2024-10-04 09:59:28.933549 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 27218868674
  1235. 2024-10-04 09:59:28.933549 98.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  1236. 2024-10-04 09:59:28.933549 98.90% [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                                                                                                                                                                                          
  1237. 2024-10-04 09:59:28.933549 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218868674
  1238. 2024-10-04 09:59:28.933549 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218868674
  1239. 2024-10-04 09:59:28.933549 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218868674
  1240. 2024-10-04 09:59:28.933549 98.90% [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 ="27218868674" LIMIT 1                                    
  1241. 2024-10-04 09:59:28.953542 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1242. 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  1243. 2024-10-04 09:59:28.953542 98.90% [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 = '27218868674' OR number = '2721886867' OR number = '272188686' OR number = '27218868' OR number = '2721886' OR number = '272188' OR number = '27218' OR number = '2721' OR number = '272' OR number = '27' OR number = '2' OR number ='--') OR (number = '27218868674*' OR number = '2721886867*' OR number = '272188686*' OR number = '27218868*' OR number = '2721886*' OR number = '272188*' OR number = '27218*' OR number = '2721*' OR number = '272*' OR number = '27*' OR number = '2*' OR number ='--') OR (number = '27219489171' OR number = '2721948917' OR number = '272194891' OR number = '27219489' OR number = '2721948' OR number = '272194' OR number = '27219' OR number = '2721' OR number = '272' OR number = '27' OR number = '2' OR number ='--') OR (number = '27219489171*' OR number = '2721948917*' OR number = '272194891*' OR number = '27219489*' OR number = '2721948*' OR number = '272194*' OR number = '27219*' OR number = '2721*' OR number = '272*' OR number = '27*' OR number = '2*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC                                                                                                                                                                                  
  1244. 2024-10-04 09:59:28.953542 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  1245. 2024-10-04 09:59:28.953542 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '27218868674' OR routing_prefix = '2721886867' OR routing_prefix = '272188686' OR routing_prefix = '27218868' OR routing_prefix = '2721886' OR routing_prefix = '272188' OR routing_prefix = '27218' 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 = 0 limit 1                                                                            
  1246. 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  1247. 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 159
  1248. 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3786491283
  1249. 2024-10-04 09:59:28.953542 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =447
  1250. 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 10
  1251. 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  1252. 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 215
  1253. 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 6
  1254. 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  1255. 2024-10-04 09:59:28.953542 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 215 AND status = 0
  1256. 2024-10-04 09:59:28.953542 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  1257. 2024-10-04 09:59:28.953542 98.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  1258. 2024-10-04 09:59:28.953542 98.90% [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                                                                                                                                                                                          
  1259. 2024-10-04 09:59:28.953542 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218868674
  1260. 2024-10-04 09:59:28.953542 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218868674
  1261. 2024-10-04 09:59:28.953542 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218868674
  1262. 2024-10-04 09:59:28.953542 98.90% [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 ="27218868674" LIMIT 1                                    
  1263. 2024-10-04 09:59:28.953542 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1264. 2024-10-04 09:59:28.953542 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 447  and status = 0 limit 1
  1265. 2024-10-04 09:59:28.953542 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :43.....27218868674
  1266. 2024-10-04 09:59:28.953542 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_RESELLER] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.connectcost,A.includedseconds,A.cost,C.reseller_cost as reseller_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,D.id as product_id FROM dids AS A,accounts AS B, reseller_products AS C, products AS D WHERE B.status=0 AND B.deleted=0 AND A.product_id=C.product_id AND A.parent_id=C.account_id AND B.id=A.accountid AND A.number ="27218868674" LIMIT 1                                                                                                              
  1267. 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  1268. 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  1269. 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 217
  1270. 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  1271. 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  1272. 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  1273. 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Simonsrust Western Cape
  1274. 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 171
  1275. 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 159
  1276. 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  1277. 2024-10-04 09:59:28.953542 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =447
  1278. 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your10 balance Accountid 159 !!!
  1279. 2024-10-04 09:59:28.953542 98.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  1280. 2024-10-04 09:59:28.953542 98.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 405
  1281. 2024-10-04 09:59:28.953542 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "405" OR number = "405") AND deleted = 0 limit 1
  1282. 2024-10-04 09:59:28.953542 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =447
  1283. 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
  1284. 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 405
  1285. 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 6840389175
  1286. 2024-10-04 09:59:28.953542 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =447
  1287. 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 10
  1288. 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  1289. 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 189
  1290. 2024-10-04 09:59:28.953542 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 189 AND status = 0
  1291. 2024-10-04 09:59:28.953542 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  1292. 2024-10-04 09:59:28.953542 98.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  1293. 2024-10-04 09:59:28.953542 98.90% [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                                                                                                                                                                                          
  1294. 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218868674
  1295. 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218868674
  1296. 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218868674
  1297. 2024-10-04 09:59:28.973539 98.90% [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 ="27218868674" LIMIT 1                                    
  1298. 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1299. 2024-10-04 09:59:28.973539 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  1300. 2024-10-04 09:59:28.973539 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  1301. 2024-10-04 09:59:28.973539 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 217
  1302. 2024-10-04 09:59:28.973539 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  1303. 2024-10-04 09:59:28.973539 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  1304. 2024-10-04 09:59:28.973539 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  1305. 2024-10-04 09:59:28.973539 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Simonsrust Western Cape
  1306. 2024-10-04 09:59:28.973539 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 171
  1307. 2024-10-04 09:59:28.973539 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 405
  1308. 2024-10-04 09:59:28.973539 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  1309. 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =447
  1310. 2024-10-04 09:59:28.973539 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your10 balance Accountid 405 !!!
  1311. 2024-10-04 09:59:28.973539 98.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  1312. 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] check_routing_type for resellers origination rates  
  1313. 2024-10-04 09:59:28.973539 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:217|CODE:^27218868674.*|DESTINATION:Simonsrust Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:447||ID:217|CODE:^27218868674.*|DESTINATION:Simonsrust Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:405                                                                                                                                                                                
  1314. 2024-10-04 09:59:28.973539 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  1315. 2024-10-04 09:59:28.973539 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 0
  1316. 2024-10-04 09:59:28.973539 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 60 minutes
  1317. 2024-10-04 09:59:28.973539 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  1318. 2024-10-04 09:59:28.973539 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  1319. 2024-10-04 09:59:28.973539 98.90% [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 = 159 AND status=0 LIMIT 1                                                                                                                                                                                      
  1320. 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "447" OR number = "447") AND deleted = 0 limit 1
  1321. 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =447
  1322. 2024-10-04 09:59:28.973539 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:159
  1323. 2024-10-04 09:59:28.973539 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:159
  1324. 2024-10-04 09:59:28.973539 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 159
  1325. 2024-10-04 09:59:28.973539 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 60
  1326. 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = 'gw+GoldtelASTPPv5JB1' and status = 0 limit 1                                                                                                                                                                                                                  
  1327. 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1328. 2024-10-04 09:59:28.973539 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  1329. 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_6
  1330. 2024-10-04 09:59:28.973539 98.90% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Inbound Dialplan
  1331. 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  1332. <document type="freeswitch/xml">                                                                                                                                                                                  
  1333. <section name="dialplan" description="ASTPP Dialplan">                                                                                                                                                            
  1334. <context name="default">                                                                                                                                                                                          
  1335. <extension name="27218868674">                                                                                                                                                                                    
  1336. <condition field="destination_number" expression="27218868674">                                                                                                                                                    
  1337. <action application="set" data="effective_destination_number=27218868674"/>                                                                                                                                        
  1338. <action application="set" data="execute_on_answer_1=sched_hangup +3600 normal_clearing"/>                                                                                                                          
  1339. <action application="set" data="notify_flag=0"/>                                                                                                                                                                  
  1340. <action application="set" data="notify_credit_limit=1.00000"/>                                                                                                                                                    
  1341. <action application="set" data="type=3"/>                                                                                                                                                                          
  1342. <action application="set" data="callstart=2024-10-04 09:59:28"/>                                                                                                                                                  
  1343. <action application="set" data="hangup_after_bridge=true"/>                                                                                                                                                        
  1344. <action application="set" data="continue_on_fail=TRUE"/>                                                                                                                                                          
  1345. <action application="set" data="account_id=159"/>                                                                                                                                                                  
  1346. <action application="set" data="parent_id=405"/>                                                                                                                                                                  
  1347. <action application="set" data="entity_id=3"/>                                                                                                                                                                    
  1348. <action application="set" data="call_processed=internal"/>                                                                                                                                                        
  1349. <action application="set" data="call_direction=inbound"/>                                                                                                                                                          
  1350. <action application="set" data="accountname=default"/>                                                                                                                                                            
  1351. <action application="set" data="origination_rates_did=ID:217|CODE:^27218868674.*|DESTINATION:Simonsrust Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:447||ID:217|CODE:^27218868674.*|DESTINATION:Simonsrust Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:405"/>  
  1352. <action application="set" data="origination_rates=0"/>                                                                                                                                                            
  1353. <action application="set" data="original_caller_id_name="+27219489171""/>                                                                                                                                          
  1354. <action application="set" data="original_caller_id_number=27219489171"/>                                                                                                                                          
  1355. <action application="limit" data="db 3786491283 user_3786491283 10 "/>                                                                                                                                            
  1356. <action application="export" data="is_recording=1"/>                                                                                                                                                              
  1357. <action application="export" data="media_bug_answer_req=true"/>                                                                                                                                                    
  1358. <action application="export" data="record_sample_rate=8000"/>                                                                                                                                                      
  1359. <action application="export" data="execute_on_answer_2=record_session $${recordings_dir}/${uuid}.wav"/>                                                                                                            
  1360. <action application="set" data="effective_caller_id_name="+27219489171""/>                                                                                                                                        
  1361. <action application="set" data="effective_caller_id_number=27219489171"/>                                                                                                                                          
  1362. <action application="set" data="receiver_accid=447"/>                                                                                                                                                              
  1363. <action application="export" data="domain_name="/>                                                                                                                                                                
  1364. <action application="export" data="sip_to_host="/>                                                                                                                                                                
  1365. <action application="export" data="presence_data=x//405|||Dimension Data(3786491283)|||^27218868674.* // Simonsrust Western Cape // 0.00000|||||||||DID|||196.31.25.91"/>                                          
  1366. <action application="export" data="call_type=6"/>                                                                                                                                                                  
  1367. <action application="set" data="calltype=FAX"/>                                                                                                                                                                    
  1368. <action application="answer"/>                                                                                                                                                                                    
  1369. <action application="set" data="callfax=true"/>                                                                                                                                                                    
  1370. <action application="playback" data="silence_stream://2000"/>                                                                                                                                                      
  1371. <action application="set" data="fax_enable_t38_request=true"/>                                                                                                                                                    
  1372. <action application="set" data="sip_require_timer=false"/>                                                                                                                                                        
  1373. <action application="set" data="call_request=6"/>                                                                                                                                                                  
  1374. <action application="set" data="module_name=apfax"/>                                                                                                                                                              
  1375. <action application="set" data="fax_transfer_rate=9600"/>                                                                                                                                                          
  1376. <action application="set" data="fax_use_ecm=false"/>                                                                                                                                                              
  1377. <action application="set" data="fax_v17_disabled=false"/>                                                                                                                                                          
  1378. <action application="set" data="fax_disable_v17=true"/>                                                                                                                                                            
  1379. <action application="set" data="fax_enable_t38=true"/>                                                                                                                                                            
  1380. <action application="set" data="api_hangup_hook=system /var/www/html/astpp/FAX/scripts/emailfax.sh /var/www/html/astpp/FAX/receive_fax_files/aed46086-996f-486f-bafd-d7ae1023b447-FAX.tif 3124291998 Dimension+Data_ simonsrust@stelkor.co.za /var/www/html/astpp/attachments/aed46086-996f-486f-bafd-d7ae1023b447-FAX.pdf simonsrust@stelkor.co.za 27218868674 27219489171"/>                                                        
  1381. <action application="rxfax" data="/var/www/html/astpp/FAX/receive_fax_files/aed46086-996f-486f-bafd-d7ae1023b447-FAX.tif"/>                                                                                        
  1382. <action application="hangup"/>                                                                                                                                                                                    
  1383. </condition>                                                                                                                                                                                                      
  1384. </extension>                                                                                                                                                                                                      
  1385. </context>                                                                                                                                                                                                        
  1386. </section>                                                                                                                                                                                                        
  1387. </document>                                                                                                                                                                                                        
  1388. Dialplan: sofia/default/27219489171@196.31.25.88 parsing [default->27218868674] continue=false
  1389. Dialplan: sofia/default/27219489171@196.31.25.88 Regex (PASS) [27218868674] destination_number(27218868674) =~ /27218868674/ break=on-false
  1390. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(effective_destination_number=27218868674)
  1391. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(execute_on_answer_1=sched_hangup +3600 normal_clearing)
  1392. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(notify_flag=0)
  1393. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(notify_credit_limit=1.00000)
  1394. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(type=3)
  1395. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(callstart=2024-10-04 09:59:28)
  1396. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(hangup_after_bridge=true)
  1397. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(continue_on_fail=TRUE)
  1398. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(account_id=159)
  1399. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(parent_id=405)
  1400. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(entity_id=3)
  1401. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(call_processed=internal)
  1402. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(call_direction=inbound)
  1403. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(accountname=default)
  1404. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(origination_rates_did=ID:217|CODE:^27218868674.*|DESTINATION:Simonsrust Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:447||ID:217|CODE:^27218868674.*|DESTINATION:Simonsrust Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:405)                                                                                                                                                                                            
  1405. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(origination_rates=0)
  1406. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(original_caller_id_name=)
  1407. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(original_caller_id_number=27219489171)
  1408. Dialplan: sofia/default/27219489171@196.31.25.88 Action limit(db 3786491283 user_3786491283 10 )
  1409. Dialplan: sofia/default/27219489171@196.31.25.88 Action export(is_recording=1)
  1410. Dialplan: sofia/default/27219489171@196.31.25.88 Action export(media_bug_answer_req=true)
  1411. Dialplan: sofia/default/27219489171@196.31.25.88 Action export(record_sample_rate=8000)
  1412. Dialplan: sofia/default/27219489171@196.31.25.88 Action export(execute_on_answer_2=record_session $${recordings_dir}/${uuid}.wav)
  1413. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(effective_caller_id_name=)
  1414. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(effective_caller_id_number=27219489171)
  1415. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(receiver_accid=447)
  1416. Dialplan: sofia/default/27219489171@196.31.25.88 Action export(domain_name=)
  1417. Dialplan: sofia/default/27219489171@196.31.25.88 Action export(sip_to_host=)
  1418. Dialplan: sofia/default/27219489171@196.31.25.88 Action export(presence_data=x//405|||Dimension Data(3786491283)|||^27218868674.* // Simonsrust Western Cape // 0.00000|||||||||DID|||196.31.25.91)
  1419. Dialplan: sofia/default/27219489171@196.31.25.88 Action export(call_type=6)
  1420. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(calltype=FAX)
  1421. Dialplan: sofia/default/27219489171@196.31.25.88 Action answer()
  1422. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(callfax=true)
  1423. Dialplan: sofia/default/27219489171@196.31.25.88 Action playback(silence_stream://2000)
  1424. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(fax_enable_t38_request=true)
  1425. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(sip_require_timer=false)
  1426. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(call_request=6)
  1427. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(module_name=apfax)
  1428. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(fax_transfer_rate=9600)
  1429. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(fax_use_ecm=false)
  1430. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(fax_v17_disabled=false)
  1431. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(fax_disable_v17=true)
  1432. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(fax_enable_t38=true)
  1433. Dialplan: sofia/default/27219489171@196.31.25.88 Action set(api_hangup_hook=system /var/www/html/astpp/FAX/scripts/emailfax.sh /var/www/html/astpp/FAX/receive_fax_files/aed46086-996f-486f-bafd-d7ae1023b447-FAX.tif 3124291998 Dimension+Data_ simonsrust@stelkor.co.za /var/www/html/astpp/attachments/aed46086-996f-486f-bafd-d7ae1023b447-FAX.pdf simonsrust@stelkor.co.za 27218868674 27219489171)                              
  1434. Dialplan: sofia/default/27219489171@196.31.25.88 Action rxfax(/var/www/html/astpp/FAX/receive_fax_files/aed46086-996f-486f-bafd-d7ae1023b447-FAX.tif)
  1435. Dialplan: sofia/default/27219489171@196.31.25.88 Action hangup()
  1436. 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_core_state_machine.c:281 (sofia/default/27219489171@196.31.25.88) State Change CS_ROUTING -> CS_EXECUTE
  1437. 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27219489171@196.31.25.88) State ROUTING going to sleep
  1438. 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27219489171@196.31.25.88) Running State Change CS_EXECUTE (Cur 1 Tot 36511)
  1439. 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27219489171@196.31.25.88) State EXECUTE
  1440. 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_sofia.c:213 sofia/default/27219489171@196.31.25.88 SOFIA EXECUTE
  1441. 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_core_state_machine.c:323 sofia/default/27219489171@196.31.25.88 Standard EXECUTE
  1442. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(effective_destination_number=27218868674)
  1443. 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [effective_destination_number]=[27218868674]
  1444. 2024-10-04 09:59:28.973539 98.90% [WARNING] switch_core_db.c:92 SQLite is BUSY, sane=299 [select state,status,rpid,presence_id,uuid from sip_dialogs where uuid != 'aed46086-996f-486f-bafd-d7ae1023b447' and call_info_state != 'seized' and hostname='ss2-jb1' and profile_name='default' and ((sip_from_user='27219489171' and sip_from_host='196.31.25.88') or presence_id='27219489171@196.31.25.88') order by rcd desc]        
  1445. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(execute_on_answer_1=sched_hangup +3600 normal_clearing)
  1446. 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [execute_on_answer_1]=[sched_hangup +3600 normal_clearing]
  1447. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(notify_flag=0)
  1448. 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [notify_flag]=[0]
  1449. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(notify_credit_limit=1.00000)
  1450. 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [notify_credit_limit]=[1.00000]
  1451. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(type=3)
  1452. 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [type]=[3]
  1453. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(callstart=2024-10-04 09:59:28)
  1454. 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [callstart]=[2024-10-04 09:59:28]
  1455. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(hangup_after_bridge=true)
  1456. 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [hangup_after_bridge]=[true]
  1457. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(continue_on_fail=TRUE)
  1458. 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [continue_on_fail]=[TRUE]
  1459. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(account_id=159)
  1460. 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [account_id]=[159]
  1461. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(parent_id=405)
  1462. 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [parent_id]=[405]
  1463. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(entity_id=3)
  1464. 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [entity_id]=[3]
  1465. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(call_processed=internal)
  1466. 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [call_processed]=[internal]
  1467. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(call_direction=inbound)
  1468. 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [call_direction]=[inbound]
  1469. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(accountname=default)
  1470. 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [accountname]=[default]
  1471. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(origination_rates_did=ID:217|CODE:^27218868674.*|DESTINATION:Simonsrust Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:447||ID:217|CODE:^27218868674.*|DESTINATION:Simonsrust Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:405)                                                                                                                                                                                          
  1472. 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [origination_rates_did]=[ID:217|CODE:^27218868674.*|DESTINATION:Simonsrust Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:447||ID:217|CODE:^27218868674.*|DESTINATION:Simonsrust Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:405]                                                                                                                                            
  1473. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(origination_rates=0)
  1474. 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [origination_rates]=[0]
  1475. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(original_caller_id_name=)
  1476. 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [original_caller_id_name]=[UNDEF]
  1477. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(original_caller_id_number=27219489171)
  1478. 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [original_caller_id_number]=[27219489171]
  1479. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 limit(db 3786491283 user_3786491283 10 )
  1480. 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_limit.c:124 incr called: 3786491283_user_3786491283 max:10, interval:0
  1481. 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_db.c:194 Usage for 3786491283_user_3786491283 is now 1/10
  1482. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 export(is_recording=1)
  1483. 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  1484. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 export(media_bug_answer_req=true)
  1485. 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  1486. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 export(record_sample_rate=8000)
  1487. 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  1488. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 export(execute_on_answer_2=record_session /usr/local/freeswitch/recordings/aed46086-996f-486f-bafd-d7ae1023b447.wav)
  1489. 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer_2]=[record_session /usr/local/freeswitch/recordings/aed46086-996f-486f-bafd-d7ae1023b447.wav]
  1490. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(effective_caller_id_name=)
  1491. 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [effective_caller_id_name]=[UNDEF]
  1492. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(effective_caller_id_number=27219489171)
  1493. 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [effective_caller_id_number]=[27219489171]
  1494. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(receiver_accid=447)
  1495. 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [receiver_accid]=[447]
  1496. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 export(domain_name=)
  1497. 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[UNDEF]
  1498. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 export(sip_to_host=)
  1499. 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[UNDEF]
  1500. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 export(presence_data=x//405|||Dimension Data(3786491283)|||^27218868674.* // Simonsrust Western Cape // 0.00000|||||||||DID|||196.31.25.91)
  1501. 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x//405|||Dimension Data(3786491283)|||^27218868674.* // Simonsrust Western Cape // 0.00000|||||||||DID|||196.31.25.91]                                                                                                                                                                                                          
  1502. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 export(call_type=6)
  1503. 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[6]
  1504. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(calltype=FAX)
  1505. 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [calltype]=[FAX]
  1506. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 answer()
  1507. 2024-10-04 09:59:29.073539 98.90% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/27219489171@196.31.25.88] 102.220.232.20 port 17844 -> 196.31.25.88 port 28506 codec: 18 ms: 20
  1508. 2024-10-04 09:59:29.073539 98.90% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  1509. 2024-10-04 09:59:29.073539 98.90% [DEBUG] switch_core_media.c:9089 sofia/default/27219489171@196.31.25.88 Set 2833 dtmf send payload to 101
  1510. 2024-10-04 09:59:29.073539 98.90% [DEBUG] switch_core_media.c:9096 sofia/default/27219489171@196.31.25.88 Set 2833 dtmf receive payload to 101
  1511. 2024-10-04 09:59:29.073539 98.90% [DEBUG] switch_core_media.c:9119 sofia/default/27219489171@196.31.25.88 Set rtp dtmf delay to 40
  1512. 2024-10-04 09:59:29.073539 98.90% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/27219489171@196.31.25.88:
  1513. v=0                                                                                                                                                                                                                
  1514. o=FreeSWITCH 1728018125 1728018126 IN IP4 102.220.232.20                                                                                                                                                          
  1515. s=FreeSWITCH                                                                                                                                                                                                      
  1516. c=IN IP4 102.220.232.20                                                                                                                                                                                            
  1517. t=0 0                                                                                                                                                                                                              
  1518. m=audio 17844 RTP/AVP 18 101                                                                                                                                                                                      
  1519. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  1520. a=fmtp:18 annexb=no                                                                                                                                                                                                
  1521. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  1522. a=fmtp:101 0-15                                                                                                                                                                                                    
  1523. a=ptime:20                                                                                                                                                                                                        
  1524. a=sendrecv                                                                                                                                                                                                        
  1525.  
  1526. 2024-10-04 09:59:29.073539 98.90% [NOTICE] mod_dptools.c:1419 Channel [sofia/default/27219489171@196.31.25.88] has been answered
  1527. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 sched_hangup(+3600 normal_clearing)
  1528. 2024-10-04 09:59:29.073539 98.90% [DEBUG] sofia.c:7499 Channel sofia/default/27219489171@196.31.25.88 entering state [completed][200]
  1529. 2024-10-04 09:59:29.073539 98.90% [DEBUG] switch_scheduler.c:263 Added task 4233 switch_ivr_schedule_hangup (aed46086-996f-486f-bafd-d7ae1023b447) to run at 1728039569
  1530. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 record_session(/usr/local/freeswitch/recordings/aed46086-996f-486f-bafd-d7ae1023b447.wav)
  1531. 2024-10-04 09:59:29.093546 98.90% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  1532. 2024-10-04 09:59:29.093546 98.90% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/27219489171@196.31.25.88
  1533. 2024-10-04 09:59:29.093546 98.90% [DEBUG] sofia.c:7499 Channel sofia/default/27219489171@196.31.25.88 entering state [ready][200]
  1534. 2024-10-04 09:59:29.093546 98.90% [DEBUG] switch_channel.c:3950 (sofia/default/27219489171@196.31.25.88) Callstate Change RINGING -> ACTIVE
  1535. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(callfax=true)
  1536. 2024-10-04 09:59:29.093546 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [callfax]=[true]
  1537. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 playback(silence_stream://2000)
  1538. 2024-10-04 09:59:29.093546 98.90% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  1539. 2024-10-04 09:59:29.093546 98.90% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  1540. 2024-10-04 09:59:29.233549 98.90% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  1541. 2024-10-04 09:59:29.233549 98.90% [DEBUG] switch_core_io.c:448 Setting BUG Codec G729:18
  1542. 2024-10-04 09:59:31.073542 98.87% [DEBUG] switch_ivr_play_say.c:2001 done playing file silence_stream://2000
  1543. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(fax_enable_t38_request=true)
  1544. 2024-10-04 09:59:31.073542 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [fax_enable_t38_request]=[true]
  1545. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(sip_require_timer=false)
  1546. 2024-10-04 09:59:31.073542 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [sip_require_timer]=[false]
  1547. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(call_request=6)
  1548. 2024-10-04 09:59:31.073542 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [call_request]=[6]
  1549. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(module_name=apfax)
  1550. 2024-10-04 09:59:31.073542 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [module_name]=[apfax]
  1551. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(fax_transfer_rate=9600)
  1552. 2024-10-04 09:59:31.073542 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [fax_transfer_rate]=[9600]
  1553. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(fax_use_ecm=false)
  1554. 2024-10-04 09:59:31.073542 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [fax_use_ecm]=[false]
  1555. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(fax_v17_disabled=false)
  1556. 2024-10-04 09:59:31.073542 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [fax_v17_disabled]=[false]
  1557. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(fax_disable_v17=true)
  1558. 2024-10-04 09:59:31.073542 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [fax_disable_v17]=[true]
  1559. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(fax_enable_t38=true)
  1560. 2024-10-04 09:59:31.073542 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [fax_enable_t38]=[true]
  1561. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(api_hangup_hook=system /var/www/html/astpp/FAX/scripts/emailfax.sh /var/www/html/astpp/FAX/receive_fax_files/aed46086-996f-486f-bafd-d7ae1023b447-FAX.tif 3124291998 Dimension+Data_ simonsrust@stelkor.co.za /var/www/html/astpp/attachments/aed46086-996f-486f-bafd-d7ae1023b447-FAX.pdf simonsrust@stelkor.co.za 27218868674 27219489171)                            
  1562. 2024-10-04 09:59:31.073542 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [api_hangup_hook]=[system /var/www/html/astpp/FAX/scripts/emailfax.sh /var/www/html/astpp/FAX/receive_fax_files/aed46086-996f-486f-bafd-d7ae1023b447-FAX.tif 3124291998 Dimension+Data_ simonsrust@stelkor.co.za /var/www/html/astpp/attachments/aed46086-996f-486f-bafd-d7ae1023b447-FAX.pdf simonsrust@stelkor.co.za 27218868674 27219489171]                                                                                                                                                                                                  
  1563. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 rxfax(/var/www/html/astpp/FAX/receive_fax_files/aed46086-996f-486f-bafd-d7ae1023b447-FAX.tif)
  1564. 2024-10-04 09:59:31.073542 98.87% [DEBUG] mod_spandsp_fax.c:1610 Raw read codec activation Success L16 20000
  1565. 2024-10-04 09:59:31.073542 98.87% [DEBUG] switch_core_codec.c:223 sofia/default/27219489171@196.31.25.88 Push codec L16:100
  1566. 2024-10-04 09:59:31.073542 98.87% [DEBUG] mod_spandsp_fax.c:1628 Raw write codec activation Success L16
  1567. 2024-10-04 09:59:32.333544 98.87% [DEBUG] switch_core_media.c:12065 sofia/default/27219489171@196.31.25.88 image media sdp:
  1568. v=0                                                                                                                                                                                                                
  1569. o=FreeSWITCH 1728018125 1728018127 IN IP4 102.220.232.20                                                                                                                                                          
  1570. s=FreeSWITCH                                                                                                                                                                                                      
  1571. c=IN IP4 102.220.232.20                                                                                                                                                                                            
  1572. t=0 0                                                                                                                                                                                                              
  1573. m=image 17844 udptl t38                                                                                                                                                                                            
  1574. a=T38FaxVersion:0                                                                                                                                                                                                  
  1575. a=T38MaxBitRate:9600                                                                                                                                                                                              
  1576. a=T38FaxFillBitRemoval                                                                                                                                                                                            
  1577. a=T38FaxRateManagement:transferredTCF                                                                                                                                                                              
  1578. a=T38FaxMaxBuffer:2000                                                                                                                                                                                            
  1579. a=T38FaxMaxDatagram:400                                                                                                                                                                                            
  1580. a=T38FaxUdpEC:t38UDPRedundancy                                                                                                                                                                                    
  1581.  
  1582. 2024-10-04 09:59:32.333544 98.87% [INFO] sofia_glue.c:1651 sofia/default/27219489171@196.31.25.88 sending invite call-id: (null)
  1583. 2024-10-04 09:59:32.333544 98.87% [DEBUG] sofia_glue.c:1654 sofia/default/27219489171@196.31.25.88 sending invite version: 1.10.7 -release 64bit
  1584. Local SDP:                                                                                                                                                                                                        
  1585. v=0                                                                                                                                                                                                                
  1586. o=FreeSWITCH 1728018125 1728018127 IN IP4 102.220.232.20                                                                                                                                                          
  1587. s=FreeSWITCH                                                                                                                                                                                                      
  1588. c=IN IP4 102.220.232.20                                                                                                                                                                                            
  1589. t=0 0                                                                                                                                                                                                              
  1590. m=image 17844 udptl t38                                                                                                                                                                                            
  1591. a=T38FaxVersion:0                                                                                                                                                                                                  
  1592. a=T38MaxBitRate:9600                                                                                                                                                                                              
  1593. a=T38FaxFillBitRemoval                                                                                                                                                                                            
  1594. a=T38FaxRateManagement:transferredTCF                                                                                                                                                                              
  1595. a=T38FaxMaxBuffer:2000                                                                                                                                                                                            
  1596. a=T38FaxMaxDatagram:400                                                                                                                                                                                            
  1597. a=T38FaxUdpEC:t38UDPRedundancy                                                                                                                                                                                    
  1598.  
  1599. 2024-10-04 09:59:32.333544 98.87% [DEBUG] sofia.c:7499 Channel sofia/default/27219489171@196.31.25.88 entering state [calling][0]
  1600. 2024-10-04 09:59:32.473542 98.87% [DEBUG] switch_core_io.c:780 Engaging Read Buffer at 320 bytes vs 30
  1601. 2024-10-04 09:59:32.773542 98.97% [DEBUG] switch_core_media.c:3314 alternate payload received (received 8, expecting 18)
  1602. 2024-10-04 09:59:32.773542 98.97% [WARNING] switch_core_media.c:3325 Changing current codec to PCMA (payload type 8).
  1603. 2024-10-04 09:59:32.773542 98.97% [DEBUG] sofia.c:7499 Channel sofia/default/27219489171@196.31.25.88 entering state [completing][200]
  1604. 2024-10-04 09:59:32.773542 98.97% [DEBUG] sofia.c:7509 Remote SDP:
  1605. v=0                                                                                                                                                                                                                
  1606. o=FreeSWITCH 1728007461 1728007463 IN IP4 196.31.25.88                                                                                                                                                            
  1607. s=FreeSWITCH                                                                                                                                                                                                      
  1608. c=IN IP4 196.31.25.88                                                                                                                                                                                              
  1609. t=0 0                                                                                                                                                                                                              
  1610. m=image 28506 udptl t38                                                                                                                                                                                            
  1611. a=T38FaxVersion:0                                                                                                                                                                                                  
  1612. a=T38MaxBitRate:14400                                                                                                                                                                                              
  1613. a=T38FaxFillBitRemoval                                                                                                                                                                                            
  1614. a=T38FaxRateManagement:transferredTCF                                                                                                                                                                              
  1615. a=T38FaxMaxBuffer:2000                                                                                                                                                                                            
  1616. a=T38FaxMaxDatagram:400                                                                                                                                                                                            
  1617. a=T38FaxUdpEC:t38UDPRedundancy                                                                                                                                                                                    
  1618.  
  1619. 2024-10-04 09:59:32.793541 98.97% [DEBUG] switch_core_media.c:3768 Changing Codec from G729@20ms@8000hz to PCMA@20ms@8000hz
  1620. 2024-10-04 09:59:32.833552 98.97% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/27219489171@196.31.25.88 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  1621. 2024-10-04 09:59:32.833552 98.97% [DEBUG] switch_core_codec.c:123 sofia/default/27219489171@196.31.25.88 Original read codec replaced with PCMA:8
  1622. 2024-10-04 09:59:32.833552 98.97% [DEBUG] switch_core_codec.c:153 Destroying BUG Codec G729:18
  1623. 2024-10-04 09:59:32.833552 98.97% [DEBUG] sofia.c:7499 Channel sofia/default/27219489171@196.31.25.88 entering state [ready][200]
  1624. 2024-10-04 09:59:32.833552 98.97% [DEBUG] switch_core_media.c:5241 sofia/default/27219489171@196.31.25.88 T38 ACCEPT on response
  1625. 2024-10-04 09:59:32.833552 98.97% [DEBUG] switch_core_media.c:5345 sofia/default/27219489171@196.31.25.88 T38 IS POSSIBLE on response
  1626. 2024-10-04 09:59:32.833552 98.97% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/27219489171@196.31.25.88.
  1627. 2024-10-04 09:59:32.833552 98.97% [DEBUG] switch_core_media.c:12494 Remote address:port [196.31.25.88:28506] has not changed.
  1628. 2024-10-04 09:59:32.833552 98.97% [DEBUG] switch_core_media.c:12494 Remote address:port [196.31.25.88:28506] has not changed.
  1629. 2024-10-04 09:59:36.373545 99.00% [NOTICE] switch_channel.c:1123 New Channel sofia/default/27876300018@196.7.219.43:8356 [de90e644-a83d-40ea-9b00-dea562bb6da7]
  1630. 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300018@196.7.219.43:8356) Running State Change CS_NEW (Cur 2 Tot 36512)
  1631. 2024-10-04 09:59:36.373545 99.00% [INFO] sofia.c:10462 sofia/default/27876300018@196.7.219.43:8356 receiving invite from 102.220.232.100:5060 version: 1.10.7 -release 64bit call-id: f3f8e7ef-41000214-72124aa0-8bf4e3da                                                                                                                                                                                                            
  1632. 2024-10-04 09:59:36.373545 99.00% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 102.220.232.100:0.
  1633. 2024-10-04 09:59:36.373545 99.00% [DEBUG] sofia.c:10585 IP 102.220.232.100 Approved by acl "default[]". Access Granted.
  1634. 2024-10-04 09:59:36.373545 99.00% [DEBUG] sofia.c:7499 Channel sofia/default/27876300018@196.7.219.43:8356 entering state [received][100]
  1635. 2024-10-04 09:59:36.373545 99.00% [DEBUG] sofia.c:7509 Remote SDP:
  1636. v=0                                                                                                                                                                                                                
  1637. o=bk 1701378 1 IN IP4 196.7.219.43                                                                                                                                                                                
  1638. s=-                                                                                                                                                                                                                
  1639. c=IN IP4 196.7.219.43                                                                                                                                                                                              
  1640. t=0 0                                                                                                                                                                                                              
  1641. m=audio 41970 RTP/AVP 8 18 0 101                                                                                                                                                                                  
  1642. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  1643. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  1644. a=fmtp:18 annexb=no                                                                                                                                                                                                
  1645. a=rtpmap:0 PCMU/8000                                                                                                                                                                                              
  1646. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  1647. a=fmtp:101 0-16                                                                                                                                                                                                    
  1648. a=ptime:20                                                                                                                                                                                                        
  1649. a=ptime:20                                                                                                                                                                                                        
  1650. a=ptime:20                                                                                                                                                                                                        
  1651.  
  1652. 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1653. 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1654. 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1655. 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  1656. 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  1657. 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  1658. 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  1659. 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  1660. 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  1661. 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G722:9:8000:20:64000:1]
  1662. 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1663. 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1664. 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  1665. 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  1666. 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  1667. 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  1668. 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/27876300018@196.7.219.43:8356 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  1669. 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_codec.c:111 sofia/default/27876300018@196.7.219.43:8356 Original read codec set to PCMA:8
  1670. 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  1671. 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_media.c:5973 sofia/default/27876300018@196.7.219.43:8356 Set 2833 dtmf send payload to 101 recv payload to 101
  1672. 2024-10-04 09:59:36.373545 99.00% [DEBUG] sofia.c:7933 (sofia/default/27876300018@196.7.219.43:8356) State Change CS_NEW -> CS_INIT
  1673. 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_state_machine.c:600 (sofia/default/27876300018@196.7.219.43:8356) State NEW
  1674. 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300018@196.7.219.43:8356) Running State Change CS_INIT (Cur 2 Tot 36512)
  1675. 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27876300018@196.7.219.43:8356) State INIT
  1676. 2024-10-04 09:59:36.373545 99.00% [DEBUG] mod_sofia.c:97 sofia/default/27876300018@196.7.219.43:8356 SOFIA INIT
  1677. 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_state_machine.c:40 sofia/default/27876300018@196.7.219.43:8356 Standard INIT
  1678. 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_state_machine.c:48 (sofia/default/27876300018@196.7.219.43:8356) State Change CS_INIT -> CS_ROUTING
  1679. 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27876300018@196.7.219.43:8356) State INIT going to sleep
  1680. 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300018@196.7.219.43:8356) Running State Change CS_ROUTING (Cur 2 Tot 36512)
  1681. 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_channel.c:2380 (sofia/default/27876300018@196.7.219.43:8356) Callstate Change DOWN -> RINGING
  1682. 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876300018@196.7.219.43:8356) State ROUTING
  1683. 2024-10-04 09:59:36.373545 99.00% [DEBUG] mod_sofia.c:158 sofia/default/27876300018@196.7.219.43:8356 SOFIA ROUTING
  1684. 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_state_machine.c:230 sofia/default/27876300018@196.7.219.43:8356 Standard ROUTING
  1685. 2024-10-04 09:59:36.373545 99.00% [INFO] mod_dialplan_xml.c:639 Processing Ext 118 <27876300018>->0183811754 in context default
  1686. 2024-10-04 09:59:36.373545 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  1687. 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  1688. 2024-10-04 09:59:36.373545 99.00% [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')                                                                                                                                                                                                
  1689. 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1690. 2024-10-04 09:59:36.393542 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 0183811754
  1691. 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0183811754' AND status=0 limit 1
  1692. 2024-10-04 09:59:36.393542 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER27876300018
  1693. 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1694. 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '0183811754' limit 1
  1695. 2024-10-04 09:59:36.393542 99.00% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  1696. 2024-10-04 09:59:36.393542 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 27876300018 / 27876300018
  1697. 2024-10-04 09:59:36.393542 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  1698. 2024-10-04 09:59:36.393542 99.00% [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                                                                                                                                                                                          
  1699. 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....0183811754
  1700. 2024-10-04 09:59:36.393542 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0183811754
  1701. 2024-10-04 09:59:36.393542 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27183811754
  1702. 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27183811754
  1703. 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27183811754
  1704. 2024-10-04 09:59:36.393542 99.00% [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 ="27183811754" LIMIT 1                                    
  1705. 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1706. 2024-10-04 09:59:36.393542 99.00% [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="0183811754" limit 1                                                                                                                                                                    
  1707. 2024-10-04 09:59:36.393542 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  1708. 2024-10-04 09:59:36.393542 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 196.7.219.43
  1709. 2024-10-04 09:59:36.393542 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 8773282952]
  1710. 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "8773282952" OR id = "8773282952") AND deleted = 0 limit 1
  1711. 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0183811754.*' OR blocked_patterns = '^018381175.*' OR blocked_patterns = '^01838117.*' OR blocked_patterns = '^0183811.*' OR blocked_patterns = '^018381.*' OR blocked_patterns = '^01838.*' OR blocked_patterns = '^0183.*' OR blocked_patterns = '^018.*' OR blocked_patterns = '^01.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 419 limit 1                                                                                                              
  1712. 2024-10-04 09:59:36.393542 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 43
  1713. 2024-10-04 09:59:36.393542 99.00% [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                                                                                                                                                                                          
  1714. 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....0183811754
  1715. 2024-10-04 09:59:36.393542 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0183811754
  1716. 2024-10-04 09:59:36.393542 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27183811754
  1717. 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27183811754
  1718. 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27183811754
  1719. 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="27183811754" AND (accountid = 0 OR status = 1) LIMIT 1
  1720. 2024-10-04 09:59:36.393542 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 55
  1721. 2024-10-04 09:59:36.393542 99.00% [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 = 55 AND status=0 limit 1                                                                                                                                                                                          
  1722. 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0183811754                                                                                                              
  1723. 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0183811754                                                                                                              
  1724. 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0183811754                                                                                                              
  1725. 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0183811754                                                                                                              
  1726. 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0183811754                                                                                                              
  1727. 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0183811754                                                                                                              
  1728. 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0183811754                                                                                                              
  1729. 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0183811754                                                                                                              
  1730. 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0183811754                                                                                                              
  1731. 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0183811754                                                                                                              
  1732. 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0183811754                                                                                                              
  1733. 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0183811754                                                                                                              
  1734. 2024-10-04 09:59:36.393542 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0183811754
  1735. 2024-10-04 09:59:36.393542 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27183811754
  1736. 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....27183811754                                                                                                            
  1737. 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....27183811754                                                                                                            
  1738. 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....27183811754                                                                                                            
  1739. 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....27183811754                                                                                                            
  1740. 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....27183811754                                                                                                            
  1741. 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....27183811754                                                                                                            
  1742. 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....27183811754                                                                                                            
  1743. 2024-10-04 09:59:36.393542 99.00% [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 = '^27183811754.*' OR patterns = '^2718381175.*' OR patterns = '^271838117.*' OR patterns = '^27183811.*' OR patterns = '^2718381.*' OR patterns = '^271838.*' OR patterns = '^27183.*' OR patterns = '^2718.*' OR patterns = '^271.*' OR patterns = '^27.*' OR patterns = '^2.*' OR patterns ='--') AND accountid = 419 ORDER BY LENGTH(PKGPTR.patterns) DESC                                                                                                                                                                                                            
  1744. 2024-10-04 09:59:36.393542 99.00% [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 ="27183811754" AND A.accountid = '419' limit 1                                                                                                                                                                
  1745. 2024-10-04 09:59:36.393542 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 27183811754
  1746. 2024-10-04 09:59:36.393542 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  1747. 2024-10-04 09:59:36.393542 99.00% [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                                                                                                                                                                                          
  1748. 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27183811754
  1749. 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27183811754
  1750. 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27183811754
  1751. 2024-10-04 09:59:36.393542 99.00% [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 ="27183811754" LIMIT 1                                    
  1752. 2024-10-04 09:59:36.413551 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1753. 2024-10-04 09:59:36.413551 99.00% [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="27183811754" limit 1                                                                                                                                                                  
  1754. 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  1755. 2024-10-04 09:59:36.413551 99.00% [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 = '27183811754' OR number = '2718381175' OR number = '271838117' OR number = '27183811' OR number = '2718381' OR number = '271838' OR number = '27183' OR number = '2718' OR number = '271' OR number = '27' OR number = '2' OR number ='--') OR (number = '27183811754*' OR number = '2718381175*' OR number = '271838117*' OR number = '27183811*' OR number = '2718381*' OR number = '271838*' OR number = '27183*' OR number = '2718*' OR number = '271*' OR number = '27*' OR number = '2*' OR number ='--') OR (number = '27876300018' 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 = '27876300018*' 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                                                                                                                                                                                  
  1756. 2024-10-04 09:59:36.413551 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  1757. 2024-10-04 09:59:36.413551 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : 27876300018
  1758. 2024-10-04 09:59:36.413551 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 8
  1759. 2024-10-04 09:59:36.413551 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Query :Select count(*) as count from dids where number='27876300018' and accountid = "419" and status=0
  1760. 2024-10-04 09:59:36.413551 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_COUNT] COUNT :1
  1761. 2024-10-04 09:59:36.413551 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '27183811754' OR routing_prefix = '2718381175' OR routing_prefix = '271838117' OR routing_prefix = '27183811' OR routing_prefix = '2718381' OR routing_prefix = '271838' OR routing_prefix = '27183' OR routing_prefix = '2718' OR routing_prefix = '271' OR routing_prefix = '27' OR routing_prefix = '2' OR routing_prefix ='--') AND status = 0 and reseller_id = 405 limit 1                                                                          
  1762. 2024-10-04 09:59:36.413551 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] Get Destination Number (27183811754)!!!!
  1763. 2024-10-04 09:59:36.413551 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] After Append Ported Number : (27183811754)!!!!
  1764. 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  1765. 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 419
  1766. 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 8773282952
  1767. 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 9322.86078
  1768. 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  1769. 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 187
  1770. 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 8
  1771. 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  1772. 2024-10-04 09:59:36.413551 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 187 AND status = 0
  1773. 2024-10-04 09:59:36.413551 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  1774. 2024-10-04 09:59:36.413551 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 187 AND status = 0
  1775. 2024-10-04 09:59:36.413551 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^27183811754.*' OR pattern = '^2718381175.*' OR pattern = '^271838117.*' OR pattern = '^27183811.*' OR pattern = '^2718381.*' OR pattern = '^271838.*' OR pattern = '^27183.*' OR pattern = '^2718.*' OR pattern = '^271.*' OR pattern = '^27.*' OR pattern = '^2.*' OR pattern ='--') AND (caller_id_pattern = '^27876300018.*' 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                      
  1776. 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  1777. 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  1778. 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 22665375
  1779. 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
  1780. 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  1781. 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.3300000000
  1782. 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : RSA Telkom Geographic
  1783. 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  1784. 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 419
  1785. 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 97
  1786. 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  1787. 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  1788. 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your9322.86078 balance Accountid 419 !!!
  1789. 2024-10-04 09:59:36.413551 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 60 mins!
  1790. 2024-10-04 09:59:36.413551 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 60 mins!
  1791. 2024-10-04 09:59:36.413551 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Daily call credit limit : 60
  1792. 2024-10-04 09:59:36.413551 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 405
  1793. 2024-10-04 09:59:36.413551 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "405" OR number = "405") AND deleted = 0 limit 1
  1794. 2024-10-04 09:59:36.413551 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^27183811754.*' OR blocked_patterns = '^2718381175.*' OR blocked_patterns = '^271838117.*' OR blocked_patterns = '^27183811.*' OR blocked_patterns = '^2718381.*' OR blocked_patterns = '^271838.*' OR blocked_patterns = '^27183.*' OR blocked_patterns = '^2718.*' OR blocked_patterns = '^271.*' OR blocked_patterns = '^27.*' OR blocked_patterns = '^2.*' OR blocked_patterns ='--') AND accountid = 405 limit 1                                                                        
  1795. 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
  1796. 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 405
  1797. 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 6840389175
  1798. 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 19424.0277
  1799. 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  1800. 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 189
  1801. 2024-10-04 09:59:36.413551 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 189 AND status = 0
  1802. 2024-10-04 09:59:36.413551 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  1803. 2024-10-04 09:59:36.413551 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 189 AND status = 0
  1804. 2024-10-04 09:59:36.413551 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^27183811754.*' OR pattern = '^2718381175.*' OR pattern = '^271838117.*' OR pattern = '^27183811.*' OR pattern = '^2718381.*' OR pattern = '^271838.*' OR pattern = '^27183.*' OR pattern = '^2718.*' OR pattern = '^271.*' OR pattern = '^27.*' OR pattern = '^2.*' OR pattern ='--') AND (caller_id_pattern = '^27876300018.*' 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                      
  1805. 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  1806. 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  1807. 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 22493329
  1808. 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
  1809. 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  1810. 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.2805000000
  1811. 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : RSA Telkom Geographic
  1812. 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  1813. 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 405
  1814. 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 97
  1815. 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  1816. 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  1817. 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your19424.0277 balance Accountid 405 !!!
  1818. 2024-10-04 09:59:36.433539 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 60 mins!
  1819. 2024-10-04 09:59:36.433539 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 60 mins!
  1820. 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Daily call credit limit : 60
  1821. 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] check_routing_type for resellers origination rates  
  1822. 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:22665375|CODE:^2718381.*|DESTINATION:RSA Telkom Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.3300000000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:419||ID:22493329|CODE:^2718381.*|DESTINATION:RSA Telkom Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.2805000000|INC:1|INITIALBLOCK:1|RATEGROUP:189|MARKUP:0|CI:0|ACCID:405                                                                                                                                                                
  1823. 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  1824. 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 0
  1825. 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 60 minutes
  1826. 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 22665375
  1827. 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :97
  1828. 2024-10-04 09:59:36.433539 99.00% [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 = '^27183811754.*' OR pattern = '^2718381175.*' OR pattern = '^271838117.*' OR pattern = '^27183811.*' OR pattern = '^2718381.*' OR pattern = '^271838.*' OR pattern = '^27183.*' OR pattern = '^2718.*' OR pattern = '^271.*' 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                                                                            
  1829. 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [HYBRID_ROUTING] LCR With Cost In 2nd Stage
  1830. 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  1831. 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 4792663
  1832. 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^2718381.*
  1833. 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : RSA Telkom Geographic
  1834. 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
  1835. 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  1836. 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^2718381.*
  1837. 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  1838. 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  1839. 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 97
  1840. 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : Goldtel
  1841. 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  1842. 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : Goldtel
  1843. 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 159
  1844. 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 20
  1845. 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  1846. 2024-10-04 09:59:36.433539 99.00% [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                                                                                                                                                                                      
  1847. 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 60
  1848. 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = '27876300018' and status = 0 limit 1
  1849. 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1850. 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  1851. 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 189 AND status = 0
  1852. 2024-10-04 09:59:36.433539 99.00% [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                                                                                                                                                                
  1853. 2024-10-04 09:59:36.433539 99.00% [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                                                                                                                                                                    
  1854. 2024-10-04 09:59:36.433539 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  1855. 2024-10-04 09:59:36.433539 99.00% [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                                                                                                                                                                                          
  1856. 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....0183811754
  1857. 2024-10-04 09:59:36.433539 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0183811754
  1858. 2024-10-04 09:59:36.433539 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27183811754
  1859. 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27183811754
  1860. 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27183811754
  1861. 2024-10-04 09:59:36.433539 99.00% [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 ="27183811754" LIMIT 1                                    
  1862. 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1863. 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  1864. <?xml version="1.0" encoding="UTF-8" standalone="no"?>                                                                                                                                                            
  1865. <document type="freeswitch/xml">                                                                                                                                                                                  
  1866. <section name="dialplan" description="ASTPP Dialplan">                                                                                                                                                            
  1867. <context name="default">                                                                                                                                                                                          
  1868. <extension name="27183811754">                                                                                                                                                                                    
  1869. <condition field="destination_number" expression="0183811754">                                                                                                                                                    
  1870. <action application="set" data="effective_destination_number=27183811754"/>                                                                                                                                        
  1871. <action application="set" data="execute_on_answer_1=sched_hangup +3600 normal_clearing"/>                                                                                                                          
  1872. <action application="set" data="notify_flag=0"/>                                                                                                                                                                  
  1873. <action application="set" data="notify_credit_limit=450.00000"/>                                                                                                                                                  
  1874. <action application="set" data="type=0"/>                                                                                                                                                                          
  1875. <action application="set" data="callstart=2024-10-04 09:59:36"/>                                                                                                                                                  
  1876. <action application="set" data="hangup_after_bridge=true"/>                                                                                                                                                        
  1877. <action application="set" data="continue_on_fail=TRUE"/>                                                                                                                                                          
  1878. <action application="set" data="account_id=419"/>                                                                                                                                                                  
  1879. <action application="set" data="parent_id=405"/>                                                                                                                                                                  
  1880. <action application="set" data="entity_id=0"/>                                                                                                                                                                    
  1881. <action application="set" data="call_processed=internal"/>                                                                                                                                                        
  1882. <action application="set" data="call_direction=outbound"/>                                                                                                                                                        
  1883. <action application="set" data="accountname=default"/>                                                                                                                                                            
  1884. <action application="set" data="origination_rates=ID:22665375|CODE:^2718381.*|DESTINATION:RSA Telkom Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.3300000000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:419||ID:22493329|CODE:^2718381.*|DESTINATION:RSA Telkom Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.2805000000|INC:1|INITIALBLOCK:1|RATEGROUP:189|MARKUP:0|CI:0|ACCID:405"/>                                                                                                                                                                                                          
  1885. <action application="set" data="original_caller_id_name=27876300018"/>                                                                                                                                            
  1886. <action application="set" data="original_caller_id_number=27876300018"/>                                                                                                                                          
  1887. <action application="limit" data="db 8773282952 user_8773282952 16 "/>                                                                                                                                            
  1888. <action application="limit" data="db 6840389175 user_6840389175 20 "/>                                                                                                                                            
  1889. <action application="export" data="is_recording=1"/>                                                                                                                                                              
  1890. <action application="export" data="media_bug_answer_req=true"/>                                                                                                                                                    
  1891. <action application="export" data="record_sample_rate=8000"/>                                                                                                                                                      
  1892. <action application="export" data="execute_on_answer_2=record_session $${recordings_dir}/${uuid}.wav"/>                                                                                                            
  1893. <action application="set" data="effective_caller_id_name=27876300018"/>                                                                                                                                            
  1894. <action application="set" data="effective_caller_id_number=27876300018"/>                                                                                                                                          
  1895. <action application="set" data="calltype=STANDARD"/>                                                                                                                                                              
  1896. <action application="set" data="termination_rates=ID:4792663|CODE:^2718381.*|DESTINATION:RSA Telkom Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0900000000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159"/>                                                                                                                                                                                                          
  1897. <action application="set" data="trunk_id=97"/>                                                                                                                                                                    
  1898. <action application="set" data="provider_id=159"/>                                                                                                                                                                
  1899. <action application="set" data="rate_flag=0"/>                                                                                                                                                                    
  1900. <action application="set" data="daily_call_credit_limit=10000.00000"/>                                                                                                                                            
  1901. <action application="set" data="monthly_call_credit_limit=20000.00000"/>                                                                                                                                          
  1902. <action application="set" data="daily_call_used_limit=43.28510"/>                                                                                                                                                  
  1903. <action application="set" data="monthly_call_used_limit=278.99110"/>                                                                                                                                              
  1904. <action application="set" data="quality_trunk_seq=97"/>                                                                                                                                                            
  1905. <action application="set" data="force_trunk_flag=22665375"/>                                                                                                                                                      
  1906. <action application="export" data="presence_data=trunk_id=97"/>                                                                                                                                                    
  1907. <action application="set" data="intcall=0"/>                                                                                                                                                                      
  1908. <action application="export" data="presence_id=27183811754"/>                                                                                                                                                      
  1909. <action application="export" data="presence_data=x//405|||Goldtel Industries(8773282952)|||^2718381.* // RSA Telkom Geographic // 0.3300000000 |||Goldtel // ^2718381.* // RSA Telkom Geographic // 0.0900000000 // trunk_id=97|||STD|||196.7.219.43|||0.2805000000 // ^2718381.* // RSA Telkom Geographic"/>                                                                                                                        
  1910. <action application="limit" data="db Goldtel gw_Goldtel 20 "/>                                                                                                                                                    
  1911. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/Goldtel/27183811754;fs_path=sip:102.220.232.100:5060"/>                                
  1912. </condition>                                                                                                                                                                                                      
  1913. </extension>                                                                                                                                                                                                      
  1914. </context>                                                                                                                                                                                                        
  1915. </section>                                                                                                                                                                                                        
  1916. </document>                                                                                                                                                                                                        
  1917. Dialplan: sofia/default/27876300018@196.7.219.43:8356 parsing [default->27183811754] continue=false
  1918. Dialplan: sofia/default/27876300018@196.7.219.43:8356 Regex (PASS) [27183811754] destination_number(0183811754) =~ /0183811754/ break=on-false
  1919. Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(effective_destination_number=27183811754)
  1920. Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(execute_on_answer_1=sched_hangup +3600 normal_clearing)
  1921. Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(notify_flag=0)
  1922. Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(notify_credit_limit=450.00000)
  1923. Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(type=0)
  1924. Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(callstart=2024-10-04 09:59:36)
  1925. Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(hangup_after_bridge=true)
  1926. Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(continue_on_fail=TRUE)
  1927. Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(account_id=419)
  1928. Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(parent_id=405)
  1929. Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(entity_id=0)
  1930. Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(call_processed=internal)
  1931. Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(call_direction=outbound)
  1932. Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(accountname=default)
  1933. Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(origination_rates=ID:22665375|CODE:^2718381.*|DESTINATION:RSA Telkom Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.3300000000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:419||ID:22493329|CODE:^2718381.*|DESTINATION:RSA Telkom Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.2805000000|INC:1|INITIALBLOCK:1|RATEGROUP:189|MARKUP:0|CI:0|ACCID:405)                                                                                                                                                                          
  1934. Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(original_caller_id_name=27876300018)
  1935. Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(original_caller_id_number=27876300018)
  1936. Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action limit(db 8773282952 user_8773282952 16 )
  1937. Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action limit(db 6840389175 user_6840389175 20 )
  1938. Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action export(is_recording=1)
  1939. Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action export(media_bug_answer_req=true)
  1940. Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action export(record_sample_rate=8000)
  1941. Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action export(execute_on_answer_2=record_session $${recordings_dir}/${uuid}.wav)
  1942. Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(effective_caller_id_name=27876300018)
  1943. Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(effective_caller_id_number=27876300018)
  1944. Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(calltype=STANDARD)
  1945. Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(termination_rates=ID:4792663|CODE:^2718381.*|DESTINATION:RSA Telkom Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0900000000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159)                                                                                                                                                                          
  1946. Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(trunk_id=97)
  1947. Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(provider_id=159)
  1948. Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(rate_flag=0)
  1949. Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(daily_call_credit_limit=10000.00000)
  1950. Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(monthly_call_credit_limit=20000.00000)
  1951. Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(daily_call_used_limit=43.28510)
  1952. Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(monthly_call_used_limit=278.99110)
  1953. Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(quality_trunk_seq=97)
  1954. Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(force_trunk_flag=22665375)
  1955. Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action export(presence_data=trunk_id=97)
  1956. Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(intcall=0)
  1957. Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action export(presence_id=27183811754)
  1958. Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action export(presence_data=x//405|||Goldtel Industries(8773282952)|||^2718381.* // RSA Telkom Geographic // 0.3300000000 |||Goldtel // ^2718381.* // RSA Telkom Geographic // 0.0900000000 // trunk_id=97|||STD|||196.7.219.43|||0.2805000000 // ^2718381.* // RSA Telkom Geographic)                                                                                          
  1959. Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action limit(db Goldtel gw_Goldtel 20 )
  1960. Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action bridge({sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/Goldtel/27183811754;fs_path=sip:102.220.232.100:5060)
  1961. 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_core_state_machine.c:281 (sofia/default/27876300018@196.7.219.43:8356) State Change CS_ROUTING -> CS_EXECUTE
  1962. 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876300018@196.7.219.43:8356) State ROUTING going to sleep
  1963. 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300018@196.7.219.43:8356) Running State Change CS_EXECUTE (Cur 2 Tot 36512)
  1964. 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27876300018@196.7.219.43:8356) State EXECUTE
  1965. 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_sofia.c:213 sofia/default/27876300018@196.7.219.43:8356 SOFIA EXECUTE
  1966. 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_core_state_machine.c:323 sofia/default/27876300018@196.7.219.43:8356 Standard EXECUTE
  1967. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(effective_destination_number=27183811754)
  1968. 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [effective_destination_number]=[27183811754]
  1969. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(execute_on_answer_1=sched_hangup +3600 normal_clearing)
  1970. 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [execute_on_answer_1]=[sched_hangup +3600 normal_clearing]
  1971. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(notify_flag=0)
  1972. 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [notify_flag]=[0]
  1973. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(notify_credit_limit=450.00000)
  1974. 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [notify_credit_limit]=[450.00000]
  1975. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(type=0)
  1976. 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [type]=[0]
  1977. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(callstart=2024-10-04 09:59:36)
  1978. 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [callstart]=[2024-10-04 09:59:36]
  1979. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(hangup_after_bridge=true)
  1980. 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [hangup_after_bridge]=[true]
  1981. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(continue_on_fail=TRUE)
  1982. 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [continue_on_fail]=[TRUE]
  1983. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(account_id=419)
  1984. 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [account_id]=[419]
  1985. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(parent_id=405)
  1986. 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [parent_id]=[405]
  1987. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(entity_id=0)
  1988. 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [entity_id]=[0]
  1989. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(call_processed=internal)
  1990. 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [call_processed]=[internal]
  1991. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(call_direction=outbound)
  1992. 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [call_direction]=[outbound]
  1993. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(accountname=default)
  1994. 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [accountname]=[default]
  1995. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(origination_rates=ID:22665375|CODE:^2718381.*|DESTINATION:RSA Telkom Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.3300000000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:419||ID:22493329|CODE:^2718381.*|DESTINATION:RSA Telkom Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.2805000000|INC:1|INITIALBLOCK:1|RATEGROUP:189|MARKUP:0|CI:0|ACCID:405)                                                                                                                                                                          
  1996. 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [origination_rates]=[ID:22665375|CODE:^2718381.*|DESTINATION:RSA Telkom Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.3300000000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:419||ID:22493329|CODE:^2718381.*|DESTINATION:RSA Telkom Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.2805000000|INC:1|INITIALBLOCK:1|RATEGROUP:189|MARKUP:0|CI:0|ACCID:405]                                                                                                                            
  1997. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(original_caller_id_name=27876300018)
  1998. 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [original_caller_id_name]=[27876300018]
  1999. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(original_caller_id_number=27876300018)
  2000. 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [original_caller_id_number]=[27876300018]
  2001. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 limit(db 8773282952 user_8773282952 16 )
  2002. 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_limit.c:124 incr called: 8773282952_user_8773282952 max:16, interval:0
  2003. 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_db.c:194 Usage for 8773282952_user_8773282952 is now 1/16
  2004. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 limit(db 6840389175 user_6840389175 20 )
  2005. 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_limit.c:124 incr called: 6840389175_user_6840389175 max:20, interval:0
  2006. 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_db.c:194 Usage for 6840389175_user_6840389175 is now 1/20
  2007. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 export(is_recording=1)
  2008. 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  2009. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 export(media_bug_answer_req=true)
  2010. 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  2011. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 export(record_sample_rate=8000)
  2012. 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  2013. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 export(execute_on_answer_2=record_session /usr/local/freeswitch/recordings/de90e644-a83d-40ea-9b00-dea562bb6da7.wav)
  2014. 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer_2]=[record_session /usr/local/freeswitch/recordings/de90e644-a83d-40ea-9b00-dea562bb6da7.wav]
  2015. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(effective_caller_id_name=27876300018)
  2016. 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [effective_caller_id_name]=[27876300018]
  2017. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(effective_caller_id_number=27876300018)
  2018. 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [effective_caller_id_number]=[27876300018]
  2019. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(calltype=STANDARD)
  2020. 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [calltype]=[STANDARD]
  2021. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(termination_rates=ID:4792663|CODE:^2718381.*|DESTINATION:RSA Telkom Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0900000000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159)                                                                                                                                                                          
  2022. 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [termination_rates]=[ID:4792663|CODE:^2718381.*|DESTINATION:RSA Telkom Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0900000000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159]                                                                                                                            
  2023. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(trunk_id=97)
  2024. 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [trunk_id]=[97]
  2025. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(provider_id=159)
  2026. 2024-10-04 09:59:36.453544 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [provider_id]=[159]
  2027. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(rate_flag=0)
  2028. 2024-10-04 09:59:36.453544 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [rate_flag]=[0]
  2029. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(daily_call_credit_limit=10000.00000)
  2030. 2024-10-04 09:59:36.453544 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [daily_call_credit_limit]=[10000.00000]
  2031. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(monthly_call_credit_limit=20000.00000)
  2032. 2024-10-04 09:59:36.453544 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [monthly_call_credit_limit]=[20000.00000]
  2033. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(daily_call_used_limit=43.28510)
  2034. 2024-10-04 09:59:36.453544 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [daily_call_used_limit]=[43.28510]
  2035. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(monthly_call_used_limit=278.99110)
  2036. 2024-10-04 09:59:36.453544 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [monthly_call_used_limit]=[278.99110]
  2037. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(quality_trunk_seq=97)
  2038. 2024-10-04 09:59:36.453544 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [quality_trunk_seq]=[97]
  2039. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(force_trunk_flag=22665375)
  2040. 2024-10-04 09:59:36.453544 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [force_trunk_flag]=[22665375]
  2041. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 export(presence_data=trunk_id=97)
  2042. 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=97]
  2043. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(intcall=0)
  2044. 2024-10-04 09:59:36.453544 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [intcall]=[0]
  2045. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 export(presence_id=27183811754)
  2046. 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[27183811754]
  2047. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 export(presence_data=x//405|||Goldtel Industries(8773282952)|||^2718381.* // RSA Telkom Geographic // 0.3300000000 |||Goldtel // ^2718381.* // RSA Telkom Geographic // 0.0900000000 // trunk_id=97|||STD|||196.7.219.43|||0.2805000000 // ^2718381.* // RSA Telkom Geographic)                                                                                        
  2048. 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x//405|||Goldtel Industries(8773282952)|||^2718381.* // RSA Telkom Geographic // 0.3300000000 |||Goldtel // ^2718381.* // RSA Telkom Geographic // 0.0900000000 // trunk_id=97|||STD|||196.7.219.43|||0.2805000000 // ^2718381.* // RSA Telkom Geographic]                                                                      
  2049. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 limit(db Goldtel gw_Goldtel 20 )
  2050. 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_limit.c:124 incr called: Goldtel_gw_Goldtel max:20, interval:0
  2051. 2024-10-04 09:59:36.453544 99.00% [DEBUG] mod_db.c:194 Usage for Goldtel_gw_Goldtel is now 1/20
  2052. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 bridge({sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/Goldtel/27183811754;fs_path=sip:102.220.232.100:5060)
  2053. 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_channel.c:1269 sofia/default/27876300018@196.7.219.43:8356 EXPORTING[export_vars] [is_recording]=[1] to event
  2054. 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_channel.c:1269 sofia/default/27876300018@196.7.219.43:8356 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  2055. 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_channel.c:1269 sofia/default/27876300018@196.7.219.43:8356 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  2056. 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_channel.c:1269 sofia/default/27876300018@196.7.219.43:8356 EXPORTING[export_vars] [execute_on_answer_2]=[record_session /usr/local/freeswitch/recordings/de90e644-a83d-40ea-9b00-dea562bb6da7.wav] to event                                                                                                                                                                          
  2057. 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_channel.c:1269 sofia/default/27876300018@196.7.219.43:8356 EXPORTING[export_vars] [presence_data]=[x//405|||Goldtel Industries(8773282952)|||^2718381.* // RSA Telkom Geographic // 0.3300000000 |||Goldtel // ^2718381.* // RSA Telkom Geographic // 0.0900000000 // trunk_id=97|||STD|||196.7.219.43|||0.2805000000 // ^2718381.* // RSA Telkom Geographic] to event              
  2058. 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_channel.c:1269 sofia/default/27876300018@196.7.219.43:8356 EXPORTING[export_vars] [presence_id]=[27183811754] to event
  2059. 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_channel.c:1269 sofia/default/27876300018@196.7.219.43:8356 EXPORTING[export_vars] [presence_data]=[x//405|||Goldtel Industries(8773282952)|||^2718381.* // RSA Telkom Geographic // 0.3300000000 |||Goldtel // ^2718381.* // RSA Telkom Geographic // 0.0900000000 // trunk_id=97|||STD|||196.7.219.43|||0.2805000000 // ^2718381.* // RSA Telkom Geographic] to event              
  2060. 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  2061. 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  2062. 2024-10-04 09:59:36.453544 99.00% [NOTICE] switch_channel.c:1123 New Channel sofia/default/27183811754 [8ebfd1ca-9d62-4c3b-9f40-dae66afd359c]
  2063. 2024-10-04 09:59:36.453544 99.00% [DEBUG] mod_sofia.c:5121 (sofia/default/27183811754) State Change CS_NEW -> CS_INIT
  2064. 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27183811754) Running State Change CS_INIT (Cur 3 Tot 36513)
  2065. 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27183811754) State INIT
  2066. 2024-10-04 09:59:36.453544 99.00% [DEBUG] mod_sofia.c:97 sofia/default/27183811754 SOFIA INIT
  2067. 2024-10-04 09:59:36.453544 99.00% [DEBUG] sofia_glue.c:1620 sip:102.220.232.100 Setting proxy route to sofia/default/27183811754
  2068. 2024-10-04 09:59:36.453544 99.00% [INFO] sofia_glue.c:1651 sofia/default/27183811754 sending invite call-id: (null)
  2069. 2024-10-04 09:59:36.453544 99.00% [DEBUG] sofia_glue.c:1654 sofia/default/27183811754 sending invite version: 1.10.7 -release 64bit
  2070. Local SDP:                                                                                                                                                                                                        
  2071. v=0                                                                                                                                                                                                                
  2072. o=FreeSWITCH 1728009200 1728009201 IN IP4 102.220.232.20                                                                                                                                                          
  2073. s=FreeSWITCH                                                                                                                                                                                                      
  2074. c=IN IP4 102.220.232.20                                                                                                                                                                                            
  2075. t=0 0                                                                                                                                                                                                              
  2076. m=audio 26776 RTP/AVP 8 0 18 101                                                                                                                                                                                  
  2077. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  2078. a=rtpmap:0 PCMU/8000                                                                                                                                                                                              
  2079. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  2080. a=fmtp:18 annexb=no                                                                                                                                                                                                
  2081. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  2082. a=fmtp:101 0-15                                                                                                                                                                                                    
  2083. a=ptime:20                                                                                                                                                                                                        
  2084. a=sendrecv                                                                                                                                                                                                        
  2085.  
  2086. 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_core_state_machine.c:40 sofia/default/27183811754 Standard INIT
  2087. 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_core_state_machine.c:48 (sofia/default/27183811754) State Change CS_INIT -> CS_ROUTING
  2088. 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27183811754) State INIT going to sleep
  2089. 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27183811754) Running State Change CS_ROUTING (Cur 3 Tot 36513)
  2090. 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27183811754) State ROUTING
  2091. 2024-10-04 09:59:36.453544 99.00% [DEBUG] mod_sofia.c:158 sofia/default/27183811754 SOFIA ROUTING
  2092. 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_ivr_originate.c:67 (sofia/default/27183811754) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  2093. 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27183811754) State ROUTING going to sleep
  2094. 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27183811754) Running State Change CS_CONSUME_MEDIA (Cur 3 Tot 36513)
  2095. 2024-10-04 09:59:36.453544 99.00% [DEBUG] sofia.c:7499 Channel sofia/default/27183811754 entering state [calling][0]
  2096. 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_core_state_machine.c:659 (sofia/default/27183811754) State CONSUME_MEDIA
  2097. 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_core_state_machine.c:659 (sofia/default/27183811754) State CONSUME_MEDIA going to sleep
  2098. 2024-10-04 09:59:37.873542 99.07% [INFO] sofia.c:1348 sofia/default/27183811754 Update Callee ID to "Outbound Call" <27183811754>
  2099. 2024-10-04 09:59:37.873542 99.07% [DEBUG] sofia.c:7499 Channel sofia/default/27183811754 entering state [proceeding][180]
  2100. 2024-10-04 09:59:37.873542 99.07% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/27183811754!
  2101. 2024-10-04 09:59:37.873542 99.07% [DEBUG] switch_channel.c:3494 (sofia/default/27183811754) Callstate Change DOWN -> RINGING
  2102. 2024-10-04 09:59:37.893544 99.07% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/27876300018@196.7.219.43:8356!
  2103. 2024-10-04 09:59:37.893544 99.07% [DEBUG] sofia.c:7499 Channel sofia/default/27876300018@196.7.219.43:8356 entering state [early][180]
  2104. 2024-10-04 09:59:37.893544 99.07% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/27876300018@196.7.219.43:8356!
  2105. 2024-10-04 09:59:39.993544 99.17% [INFO] mod_spandsp_fax.c:360 === Negotiation Result =======================================================
  2106. Remote station id:                                                                                                                                                                                                
  2107. Local station id:  SpanDSP Fax Ident                                                                                                                                                                              
  2108. Transfer Rate:     9600                                                                                                                                                                                            
  2109. ECM status         off                                                                                                                                                                                            
  2110. T38 status         negotiated                                                                                                                                                                                      
  2111. remote country:                                                                                                                                                                                                    
  2112. remote vendor:                                                                                                                                                                                                    
  2113. remote model:                                                                                                                                                                                                      
  2114. ==============================================================================                                                                                                                                    
  2115. 2024-10-04 09:59:41.653542 99.23% [DEBUG] sofia.c:7499 Channel sofia/default/27183811754 entering state [completing][200]
  2116. 2024-10-04 09:59:41.653542 99.23% [DEBUG] sofia.c:7509 Remote SDP:
  2117. v=0                                                                                                                                                                                                                
  2118. o=FreeSWITCH 1728015181 1728015182 IN IP4 196.31.25.88                                                                                                                                                            
  2119. s=FreeSWITCH                                                                                                                                                                                                      
  2120. c=IN IP4 196.31.25.88                                                                                                                                                                                              
  2121. t=0 0                                                                                                                                                                                                              
  2122. m=audio 20798 RTP/AVP 8 101                                                                                                                                                                                        
  2123. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  2124. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  2125. a=fmtp:101 0-16                                                                                                                                                                                                    
  2126. a=ptime:20                                                                                                                                                                                                        
  2127.  
  2128. 2024-10-04 09:59:41.653542 99.23% [DEBUG] sofia.c:7499 Channel sofia/default/27183811754 entering state [ready][200]
  2129. 2024-10-04 09:59:41.653542 99.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  2130. 2024-10-04 09:59:41.653542 99.23% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  2131. 2024-10-04 09:59:41.653542 99.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  2132. 2024-10-04 09:59:41.653542 99.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  2133. 2024-10-04 09:59:41.653542 99.23% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  2134. 2024-10-04 09:59:41.653542 99.23% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/27183811754 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  2135. 2024-10-04 09:59:41.653542 99.23% [DEBUG] switch_core_codec.c:111 sofia/default/27183811754 Original read codec set to PCMA:8
  2136. 2024-10-04 09:59:41.653542 99.23% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  2137. 2024-10-04 09:59:41.653542 99.23% [DEBUG] switch_core_media.c:5973 sofia/default/27183811754 Set 2833 dtmf send payload to 101 recv payload to 101
  2138. 2024-10-04 09:59:41.653542 99.23% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/27183811754] 102.220.232.20 port 26776 -> 196.31.25.88 port 20798 codec: 8 ms: 20
  2139. 2024-10-04 09:59:41.653542 99.23% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  2140. 2024-10-04 09:59:41.653542 99.23% [DEBUG] switch_core_media.c:9089 sofia/default/27183811754 Set 2833 dtmf send payload to 101
  2141. 2024-10-04 09:59:41.653542 99.23% [DEBUG] switch_core_media.c:9096 sofia/default/27183811754 Set 2833 dtmf receive payload to 101
  2142. 2024-10-04 09:59:41.653542 99.23% [DEBUG] switch_core_media.c:9119 sofia/default/27183811754 Set rtp dtmf delay to 40
  2143. 2024-10-04 09:59:41.653542 99.23% [NOTICE] sofia.c:8683 Channel [sofia/default/27183811754] has been answered
  2144. EXECUTE [depth=1] sofia/default/27183811754 record_session(/usr/local/freeswitch/recordings/de90e644-a83d-40ea-9b00-dea562bb6da7.wav)
  2145. 2024-10-04 09:59:41.673542 99.23% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  2146. 2024-10-04 09:59:41.673542 99.23% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/27183811754
  2147. 2024-10-04 09:59:41.673542 99.23% [DEBUG] switch_channel.c:3950 (sofia/default/27183811754) Callstate Change RINGING -> ACTIVE
  2148. 2024-10-04 09:59:41.673542 99.23% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/27876300018@196.7.219.43:8356] 102.220.232.20 port 17372 -> 196.7.219.43 port 41970 codec: 8 ms: 20
  2149. 2024-10-04 09:59:41.673542 99.23% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  2150. 2024-10-04 09:59:41.673542 99.23% [DEBUG] switch_core_media.c:9089 sofia/default/27876300018@196.7.219.43:8356 Set 2833 dtmf send payload to 101
  2151. 2024-10-04 09:59:41.673542 99.23% [DEBUG] switch_core_media.c:9096 sofia/default/27876300018@196.7.219.43:8356 Set 2833 dtmf receive payload to 101
  2152. 2024-10-04 09:59:41.673542 99.23% [DEBUG] switch_core_media.c:9119 sofia/default/27876300018@196.7.219.43:8356 Set rtp dtmf delay to 40
  2153. 2024-10-04 09:59:41.673542 99.23% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/27876300018@196.7.219.43:8356:
  2154. v=0                                                                                                                                                                                                                
  2155. o=FreeSWITCH 1728018609 1728018610 IN IP4 102.220.232.20                                                                                                                                                          
  2156. s=FreeSWITCH                                                                                                                                                                                                      
  2157. c=IN IP4 102.220.232.20                                                                                                                                                                                            
  2158. t=0 0                                                                                                                                                                                                              
  2159. m=audio 17372 RTP/AVP 8 101                                                                                                                                                                                        
  2160. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  2161. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  2162. a=fmtp:101 0-15                                                                                                                                                                                                    
  2163. a=ptime:20                                                                                                                                                                                                        
  2164. a=sendrecv                                                                                                                                                                                                        
  2165.  
  2166. 2024-10-04 09:59:41.673542 99.23% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/27876300018@196.7.219.43:8356] has been answered
  2167. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 sched_hangup(+3600 normal_clearing)
  2168. 2024-10-04 09:59:41.673542 99.23% [DEBUG] sofia.c:7499 Channel sofia/default/27876300018@196.7.219.43:8356 entering state [completed][200]
  2169. 2024-10-04 09:59:41.673542 99.23% [DEBUG] switch_scheduler.c:263 Added task 4234 switch_ivr_schedule_hangup (de90e644-a83d-40ea-9b00-dea562bb6da7) to run at 1728039581
  2170. EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 record_session(/usr/local/freeswitch/recordings/de90e644-a83d-40ea-9b00-dea562bb6da7.wav)
  2171. 2024-10-04 09:59:41.693544 99.23% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  2172. 2024-10-04 09:59:41.693544 99.23% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/27876300018@196.7.219.43:8356
  2173. 2024-10-04 09:59:41.693544 99.23% [DEBUG] switch_channel.c:3950 (sofia/default/27876300018@196.7.219.43:8356) Callstate Change RINGING -> ACTIVE
  2174. 2024-10-04 09:59:41.693544 99.23% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/27183811754] Peer UUID: 8ebfd1ca-9d62-4c3b-9f40-dae66afd359c
  2175. 2024-10-04 09:59:41.693544 99.23% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/27183811754) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  2176. 2024-10-04 09:59:41.693544 99.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27183811754) Running State Change CS_EXCHANGE_MEDIA (Cur 3 Tot 36513)
  2177. 2024-10-04 09:59:41.693544 99.23% [DEBUG] switch_core_state_machine.c:650 (sofia/default/27183811754) State EXCHANGE_MEDIA
  2178. 2024-10-04 09:59:41.693544 99.23% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  2179. 2024-10-04 09:59:41.693544 99.23% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  2180. 2024-10-04 09:59:41.693544 99.23% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  2181. 2024-10-04 09:59:41.733542 99.23% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  2182. 2024-10-04 09:59:41.733542 99.23% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
  2183. 2024-10-04 09:59:41.753542 99.23% [DEBUG] sofia.c:7499 Channel sofia/default/27876300018@196.7.219.43:8356 entering state [ready][200]
  2184. 2024-10-04 09:59:41.993543 99.23% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  2185. 2024-10-04 09:59:41.993543 99.23% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
  2186. 2024-10-04 09:59:44.353542 99.23% [NOTICE] sofia.c:1065 Hangup sofia/default/27876300018@196.7.219.43:8356 [CS_EXECUTE] [NORMAL_CLEARING]
  2187. 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/27876300018@196.7.219.43:8356]
  2188. 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_ivr_bridge.c:820 sofia/default/27876300018@196.7.219.43:8356 ending bridge by request from write function
  2189. 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/27183811754]
  2190. 2024-10-04 09:59:44.353542 99.23% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/27183811754 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  2191. 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_core_state_machine.c:650 (sofia/default/27183811754) State EXCHANGE_MEDIA going to sleep
  2192. 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27183811754) Running State Change CS_HANGUP (Cur 3 Tot 36513)
  2193. 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/de90e644-a83d-40ea-9b00-dea562bb6da7.wav
  2194. 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/27183811754 skip receive message [UNBRIDGE] (channel is hungup already)
  2195. 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/27876300018@196.7.219.43:8356 skip receive message [UNBRIDGE] (channel is hungup already)
  2196. 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  2197. 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_core_session.c:2983 sofia/default/27876300018@196.7.219.43:8356 skip receive message [PHONE_EVENT] (channel is hungup already)
  2198. 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27876300018@196.7.219.43:8356) State EXECUTE going to sleep
  2199. 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300018@196.7.219.43:8356) Running State Change CS_HANGUP (Cur 3 Tot 36513)
  2200. 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/de90e644-a83d-40ea-9b00-dea562bb6da7.wav
  2201. 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  2202. 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/27183811754
  2203. 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_core_state_machine.c:844 (sofia/default/27183811754) Callstate Change ACTIVE -> HANGUP
  2204. 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27183811754) State HANGUP
  2205. 2024-10-04 09:59:44.353542 99.23% [DEBUG] mod_sofia.c:462 sofia/default/27183811754 Overriding SIP cause 480 with 200 from the other leg
  2206. 2024-10-04 09:59:44.353542 99.23% [DEBUG] mod_sofia.c:468 Channel sofia/default/27183811754 hanging up, cause: NORMAL_CLEARING
  2207. 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/27876300018@196.7.219.43:8356
  2208. 2024-10-04 09:59:44.353542 99.23% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/27183811754
  2209. 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_core_state_machine.c:59 sofia/default/27183811754 Standard HANGUP, cause: NORMAL_CLEARING
  2210. 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27183811754) State HANGUP going to sleep
  2211. 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_core_state_machine.c:844 (sofia/default/27876300018@196.7.219.43:8356) Callstate Change ACTIVE -> HANGUP
  2212. 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_core_state_machine.c:616 (sofia/default/27183811754) State Change CS_HANGUP -> CS_REPORTING
  2213. 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876300018@196.7.219.43:8356) State HANGUP
  2214. 2024-10-04 09:59:44.353542 99.23% [DEBUG] mod_sofia.c:468 Channel sofia/default/27876300018@196.7.219.43:8356 hanging up, cause: NORMAL_CLEARING
  2215. 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27183811754) Running State Change CS_REPORTING (Cur 3 Tot 36513)
  2216. 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27183811754) State REPORTING
  2217. 2024-10-04 09:59:44.353542 99.23% [INFO] mod_json_cdr.c:271 Process [8ebfd1ca-9d62-4c3b-9f40-dae66afd359c.cdr.json]
  2218. 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_core_state_machine.c:59 sofia/default/27876300018@196.7.219.43:8356 Standard HANGUP, cause: NORMAL_CLEARING
  2219. 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876300018@196.7.219.43:8356) State HANGUP going to sleep
  2220. 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_core_state_machine.c:616 (sofia/default/27876300018@196.7.219.43:8356) State Change CS_HANGUP -> CS_REPORTING
  2221. 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300018@196.7.219.43:8356) Running State Change CS_REPORTING (Cur 3 Tot 36513)
  2222. 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876300018@196.7.219.43:8356) State REPORTING
  2223. 2024-10-04 09:59:44.353542 99.23% [INFO] mod_json_cdr.c:271 Process [de90e644-a83d-40ea-9b00-dea562bb6da7.cdr.json]
  2224. 2024-10-04 09:59:44.373544 99.23% [DEBUG] switch_core_state_machine.c:168 sofia/default/27183811754 Standard REPORTING, cause: NORMAL_CLEARING
  2225. 2024-10-04 09:59:44.373544 99.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27183811754) State REPORTING going to sleep
  2226. 2024-10-04 09:59:44.373544 99.23% [DEBUG] switch_core_state_machine.c:607 (sofia/default/27183811754) State Change CS_REPORTING -> CS_DESTROY
  2227. 2024-10-04 09:59:44.373544 99.23% [DEBUG] switch_core_session.c:1753 Session 36513 (sofia/default/27183811754) Locked, Waiting on external entities
  2228. 2024-10-04 09:59:44.373544 99.23% [NOTICE] switch_core_session.c:1771 Session 36513 (sofia/default/27183811754) Ended
  2229. 2024-10-04 09:59:44.373544 99.23% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/27183811754 [CS_DESTROY]
  2230. 2024-10-04 09:59:44.373544 99.23% [DEBUG] switch_core_state_machine.c:735 (sofia/default/27183811754) Running State Change CS_DESTROY (Cur 2 Tot 36513)
  2231. 2024-10-04 09:59:44.373544 99.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27183811754) State DESTROY
  2232. 2024-10-04 09:59:44.373544 99.23% [DEBUG] mod_sofia.c:379 sofia/default/27183811754 SOFIA DESTROY
  2233. 2024-10-04 09:59:44.373544 99.23% [DEBUG] switch_core_state_machine.c:175 sofia/default/27183811754 Standard DESTROY
  2234. 2024-10-04 09:59:44.373544 99.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27183811754) State DESTROY going to sleep
  2235. 2024-10-04 09:59:44.373544 99.23% [DEBUG] switch_core_state_machine.c:168 sofia/default/27876300018@196.7.219.43:8356 Standard REPORTING, cause: NORMAL_CLEARING
  2236. 2024-10-04 09:59:44.373544 99.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876300018@196.7.219.43:8356) State REPORTING going to sleep
  2237. 2024-10-04 09:59:44.373544 99.23% [DEBUG] switch_core_state_machine.c:607 (sofia/default/27876300018@196.7.219.43:8356) State Change CS_REPORTING -> CS_DESTROY
  2238. 2024-10-04 09:59:44.373544 99.23% [DEBUG] switch_core_session.c:1753 Session 36512 (sofia/default/27876300018@196.7.219.43:8356) Locked, Waiting on external entities
  2239. 2024-10-04 09:59:44.373544 99.23% [NOTICE] switch_core_session.c:1771 Session 36512 (sofia/default/27876300018@196.7.219.43:8356) Ended
  2240. 2024-10-04 09:59:44.373544 99.23% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/27876300018@196.7.219.43:8356 [CS_DESTROY]
  2241. 2024-10-04 09:59:44.373544 99.23% [DEBUG] switch_core_state_machine.c:735 (sofia/default/27876300018@196.7.219.43:8356) Running State Change CS_DESTROY (Cur 1 Tot 36513)
  2242. 2024-10-04 09:59:44.373544 99.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876300018@196.7.219.43:8356) State DESTROY
  2243. 2024-10-04 09:59:44.373544 99.23% [DEBUG] mod_sofia.c:379 sofia/default/27876300018@196.7.219.43:8356 SOFIA DESTROY
  2244. 2024-10-04 09:59:44.373544 99.23% [DEBUG] switch_core_state_machine.c:175 sofia/default/27876300018@196.7.219.43:8356 Standard DESTROY
  2245. 2024-10-04 09:59:44.373544 99.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876300018@196.7.219.43:8356) State DESTROY going to sleep
  2246. 2024-10-04 09:59:44.673543 99.23% [DEBUG] switch_scheduler.c:147 Deleting task 4234 switch_ivr_schedule_hangup (de90e644-a83d-40ea-9b00-dea562bb6da7)
  2247. 2024-10-04 09:59:49.073539 99.23% [INFO] mod_spandsp_fax.c:596 ==============================================================================
  2248. Fax processing not successful - result (26) Carrier lost during fax receive.                                                                                                                                      
  2249. Remote station id:                                                                                                                                                                                                
  2250. Local station id:  SpanDSP Fax Ident                                                                                                                                                                              
  2251. Pages transferred: 0                                                                                                                                                                                              
  2252. Total fax pages:   0                                                                                                                                                                                              
  2253. Image resolution:  8040x7700                                                                                                                                                                                      
  2254. Transfer Rate:     9600                                                                                                                                                                                            
  2255. ECM status         off                                                                                                                                                                                            
  2256. T38 status         negotiated                                                                                                                                                                                      
  2257. remote country:                                                                                                                                                                                                    
  2258. remote vendor:                                                                                                                                                                                                    
  2259. remote model:                                                                                                                                                                                                      
  2260. ==============================================================================                                                                                                                                    
  2261. 2024-10-04 09:59:51.713543 99.47% [DEBUG] switch_core_codec.c:248 sofia/default/27219489171@196.31.25.88 Restore previous codec PCMA:8.
  2262. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 hangup()
  2263. 2024-10-04 09:59:51.713543 99.47% [NOTICE] mod_dptools.c:1387 Hangup sofia/default/27219489171@196.31.25.88 [CS_EXECUTE] [NORMAL_CLEARING]
  2264. 2024-10-04 09:59:51.713543 99.47% [DEBUG] switch_core_session.c:2983 sofia/default/27219489171@196.31.25.88 skip receive message [PHONE_EVENT] (channel is hungup already)
  2265. 2024-10-04 09:59:51.713543 99.47% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27219489171@196.31.25.88) State EXECUTE going to sleep
  2266. 2024-10-04 09:59:51.713543 99.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27219489171@196.31.25.88) Running State Change CS_HANGUP (Cur 1 Tot 36513)
  2267. 2024-10-04 09:59:51.713543 99.47% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/aed46086-996f-486f-bafd-d7ae1023b447.wav
  2268. 2024-10-04 09:59:51.713543 99.47% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  2269. 2024-10-04 09:59:51.713543 99.47% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/27219489171@196.31.25.88
  2270. 2024-10-04 09:59:51.713543 99.47% [DEBUG] switch_core_state_machine.c:844 (sofia/default/27219489171@196.31.25.88) Callstate Change ACTIVE -> HANGUP
  2271. 2024-10-04 09:59:51.713543 99.47% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27219489171@196.31.25.88) State HANGUP
  2272. 2024-10-04 09:59:51.713543 99.47% [DEBUG] mod_sofia.c:468 Channel sofia/default/27219489171@196.31.25.88 hanging up, cause: NORMAL_CLEARING
  2273. 2024-10-04 09:59:51.713543 99.47% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/27219489171@196.31.25.88
  2274. 2024-10-04 09:59:51.713543 99.47% [DEBUG] switch_core_state_machine.c:59 sofia/default/27219489171@196.31.25.88 Standard HANGUP, cause: NORMAL_CLEARING
  2275. 2024-10-04 09:59:51.713543 99.47% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27219489171@196.31.25.88) State HANGUP going to sleep
  2276. 2024-10-04 09:59:51.753545 99.47% [DEBUG] switch_core_state_machine.c:777 Hangup Command with no Session system(/var/www/html/astpp/FAX/scripts/emailfax.sh /var/www/html/astpp/FAX/receive_fax_files/aed46086-996f-486f-bafd-d7ae1023b447-FAX.tif 3124291998 Dimension+Data_ simonsrust@stelkor.co.za /var/www/html/astpp/attachments/aed46086-996f-486f-bafd-d7ae1023b447-FAX.pdf simonsrust@stelkor.co.za 27218868674 27219489171):
  2277. HERE                                                                                                                                                                                                              
  2278. /usr/bin/php /var/www/html/astpp/FAX/scripts/emailfax.php /var/www/html/astpp/FAX/receive_fax_files/aed46086-996f-486f-bafd-d7ae1023b447-FAX.tif 3124291998 Dimension+Data_ simonsrust@stelkor.co.za 27218868674 /var/www/html/astpp/attachments/aed46086-996f-486f-bafd-d7ae1023b447-FAX.pdf 27219489171                                                                                                                            
  2279. HERE                                                                                                                                                                                                              
  2280.  
  2281. 2024-10-04 09:59:51.753545 99.47% [DEBUG] switch_core_state_machine.c:616 (sofia/default/27219489171@196.31.25.88) State Change CS_HANGUP -> CS_REPORTING
  2282. 2024-10-04 09:59:51.753545 99.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27219489171@196.31.25.88) Running State Change CS_REPORTING (Cur 1 Tot 36513)
  2283. 2024-10-04 09:59:51.753545 99.47% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27219489171@196.31.25.88) State REPORTING
  2284. 2024-10-04 09:59:51.753545 99.47% [INFO] mod_json_cdr.c:271 Process [aed46086-996f-486f-bafd-d7ae1023b447.cdr.json]
  2285. 2024-10-04 09:59:51.793558 99.47% [DEBUG] switch_core_state_machine.c:168 sofia/default/27219489171@196.31.25.88 Standard REPORTING, cause: NORMAL_CLEARING
  2286. 2024-10-04 09:59:51.793558 99.47% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27219489171@196.31.25.88) State REPORTING going to sleep
  2287. 2024-10-04 09:59:51.793558 99.47% [DEBUG] switch_core_state_machine.c:607 (sofia/default/27219489171@196.31.25.88) State Change CS_REPORTING -> CS_DESTROY
  2288. 2024-10-04 09:59:51.793558 99.47% [DEBUG] switch_core_session.c:1753 Session 36511 (sofia/default/27219489171@196.31.25.88) Locked, Waiting on external entities
  2289. 2024-10-04 09:59:51.793558 99.47% [NOTICE] switch_core_session.c:1771 Session 36511 (sofia/default/27219489171@196.31.25.88) Ended
  2290. 2024-10-04 09:59:51.793558 99.47% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/27219489171@196.31.25.88 [CS_DESTROY]
  2291. 2024-10-04 09:59:51.793558 99.47% [DEBUG] switch_core_state_machine.c:735 (sofia/default/27219489171@196.31.25.88) Running State Change CS_DESTROY (Cur 0 Tot 36513)
  2292. 2024-10-04 09:59:51.793558 99.47% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27219489171@196.31.25.88) State DESTROY
  2293. 2024-10-04 09:59:51.793558 99.47% [DEBUG] mod_sofia.c:379 sofia/default/27219489171@196.31.25.88 SOFIA DESTROY
  2294. 2024-10-04 09:59:51.793558 99.47% [DEBUG] switch_core_state_machine.c:175 sofia/default/27219489171@196.31.25.88 Standard DESTROY
  2295. 2024-10-04 09:59:51.793558 99.47% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27219489171@196.31.25.88) State DESTROY going to sleep
  2296. 2024-10-04 09:59:52.173542 99.47% [DEBUG] switch_scheduler.c:147 Deleting task 4233 switch_ivr_schedule_hangup (aed46086-996f-486f-bafd-d7ae1023b447)
  2297. 2024-10-04 10:03:31.293542 99.00% [NOTICE] switch_channel.c:1123 New Channel sofia/default/27876300014@196.7.219.43:8356 [5ffb71f9-cc48-4e06-96df-5d6a87d8d65e]
  2298. 2024-10-04 10:03:31.293542 99.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300014@196.7.219.43:8356) Running State Change CS_NEW (Cur 1 Tot 36514)
  2299. 2024-10-04 10:03:31.293542 99.00% [INFO] sofia.c:10462 sofia/default/27876300014@196.7.219.43:8356 receiving invite from 102.220.232.100:5060 version: 1.10.7 -release 64bit call-id: 157d5de8-6d54a14-e64a02a0-80c89bda