From FAX Dewald , 10 Months ago, written in FreeSWITCH.
- view diff
Embed
  1. +OK log level  [7]
  2. 2023-05-15 11:54:01.154222 98.80% [NOTICE] switch_channel.c:1123 New Channel sofia/default/27876303971@196.31.25.87 [4b8b377d-a061-41d2-88e4-2b260607dad1]
  3. 2023-05-15 11:54:01.154222 98.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876303971@196.31.25.87) Running State Change CS_NEW (Cur 1 Tot 3736)
  4. 2023-05-15 11:54:01.154222 98.80% [INFO] sofia.c:10462 sofia/default/27876303971@196.31.25.87 receiving invite from 102.220.232.100:5060 version: 1.10.7 -release 64bit call-id: 41a2d4f6-6da9-123c-1e84-b8ac6f871308                                                                                                                                  
  5. 2023-05-15 11:54:01.154222 98.80% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 102.220.232.100:0.
  6. 2023-05-15 11:54:01.154222 98.80% [DEBUG] sofia.c:10585 IP 102.220.232.100 Approved by acl "default[]". Access Granted.
  7. 2023-05-15 11:54:01.154222 98.80% [DEBUG] sofia.c:7499 Channel sofia/default/27876303971@196.31.25.87 entering state [received][100]
  8. 2023-05-15 11:54:01.154222 98.80% [DEBUG] sofia.c:7509 Remote SDP:
  9. v=0                                                                                                                                                                        
  10. o=FreeSWITCH 1684120733 1684120734 IN IP4 196.31.25.87                                                                                                                      
  11. s=FreeSWITCH                                                                                                                                                                
  12. c=IN IP4 196.31.25.87                                                                                                                                                      
  13. t=0 0                                                                                                                                                                      
  14. m=audio 23706 RTP/AVP 18 8 0 9 101                                                                                                                                          
  15. a=rtpmap:18 G729/8000                                                                                                                                                      
  16. a=rtpmap:8 PCMA/8000                                                                                                                                                        
  17. a=rtpmap:0 PCMU/8000                                                                                                                                                        
  18. a=rtpmap:9 G722/8000                                                                                                                                                        
  19. a=rtpmap:101 telephone-event/8000                                                                                                                                          
  20. a=fmtp:101 0-16                                                                                                                                                            
  21. a=ptime:20                                                                                                                                                                  
  22.  
  23. 2023-05-15 11:54:01.154222 98.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  24. 2023-05-15 11:54:01.154222 98.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  25. 2023-05-15 11:54:01.154222 98.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  26. 2023-05-15 11:54:01.154222 98.80% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  27. 2023-05-15 11:54:01.154222 98.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  28. 2023-05-15 11:54:01.154222 98.80% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  29. 2023-05-15 11:54:01.154222 98.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  30. 2023-05-15 11:54:01.154222 98.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  31. 2023-05-15 11:54:01.154222 98.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  32. 2023-05-15 11:54:01.154222 98.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  33. 2023-05-15 11:54:01.154222 98.80% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  34. 2023-05-15 11:54:01.154222 98.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  35. 2023-05-15 11:54:01.154222 98.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  36. 2023-05-15 11:54:01.154222 98.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  37. 2023-05-15 11:54:01.154222 98.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  38. 2023-05-15 11:54:01.154222 98.80% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  39. 2023-05-15 11:54:01.154222 98.80% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/27876303971@196.31.25.87 G729/8000 20 ms 160 samples 8000 bits 1 channels
  40. 2023-05-15 11:54:01.154222 98.80% [DEBUG] switch_core_codec.c:111 sofia/default/27876303971@196.31.25.87 Original read codec set to G729:18
  41. 2023-05-15 11:54:01.154222 98.80% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  42. 2023-05-15 11:54:01.154222 98.80% [DEBUG] switch_core_media.c:5973 sofia/default/27876303971@196.31.25.87 Set 2833 dtmf send payload to 101 recv payload to 101
  43. 2023-05-15 11:54:01.154222 98.80% [DEBUG] sofia.c:7933 (sofia/default/27876303971@196.31.25.87) State Change CS_NEW -> CS_INIT
  44. 2023-05-15 11:54:01.154222 98.80% [DEBUG] switch_core_state_machine.c:600 (sofia/default/27876303971@196.31.25.87) State NEW
  45. 2023-05-15 11:54:01.154222 98.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876303971@196.31.25.87) Running State Change CS_INIT (Cur 1 Tot 3736)
  46. 2023-05-15 11:54:01.154222 98.80% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27876303971@196.31.25.87) State INIT
  47. 2023-05-15 11:54:01.154222 98.80% [DEBUG] mod_sofia.c:97 sofia/default/27876303971@196.31.25.87 SOFIA INIT
  48. 2023-05-15 11:54:01.154222 98.80% [DEBUG] switch_core_state_machine.c:40 sofia/default/27876303971@196.31.25.87 Standard INIT
  49. 2023-05-15 11:54:01.154222 98.80% [DEBUG] switch_core_state_machine.c:48 (sofia/default/27876303971@196.31.25.87) State Change CS_INIT -> CS_ROUTING
  50. 2023-05-15 11:54:01.154222 98.80% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27876303971@196.31.25.87) State INIT going to sleep
  51. 2023-05-15 11:54:01.154222 98.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876303971@196.31.25.87) Running State Change CS_ROUTING (Cur 1 Tot 3736)
  52. 2023-05-15 11:54:01.154222 98.80% [DEBUG] switch_channel.c:2380 (sofia/default/27876303971@196.31.25.87) Callstate Change DOWN -> RINGING
  53. 2023-05-15 11:54:01.154222 98.80% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876303971@196.31.25.87) State ROUTING
  54. 2023-05-15 11:54:01.154222 98.80% [DEBUG] mod_sofia.c:158 sofia/default/27876303971@196.31.25.87 SOFIA ROUTING
  55. 2023-05-15 11:54:01.154222 98.80% [DEBUG] switch_core_state_machine.c:230 sofia/default/27876303971@196.31.25.87 Standard ROUTING
  56. 2023-05-15 11:54:01.154222 98.80% [INFO] mod_dialplan_xml.c:639 Processing 27876303971 <27876303971>->27876304009 in context default
  57. 2023-05-15 11:54:01.154222 98.80% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  58. 2023-05-15 11:54:01.174222 98.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  59. 2023-05-15 11:54:01.174222 98.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')                                                                                                                  
  60. 2023-05-15 11:54:01.174222 98.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  61. 2023-05-15 11:54:01.174222 98.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 27876304009
  62. 2023-05-15 11:54:01.174222 98.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '27876304009' AND status=0 limit 1                                                                                                                                                          
  63. 2023-05-15 11:54:01.174222 98.80% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+GoldtelASTPPv5JB1
  64. 2023-05-15 11:54:01.174222 98.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  65. 2023-05-15 11:54:01.174222 98.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '27876304009' limit 1                                                                                                                                                                    
  66. 2023-05-15 11:54:01.174222 98.80% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  67. 2023-05-15 11:54:01.174222 98.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : "27876303971" / 27876303971
  68. 2023-05-15 11:54:01.174222 98.80% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27876304009" LIMIT 1                                                                                                                                                          
  69. 2023-05-15 11:54:01.174222 98.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  70. 2023-05-15 11:54:01.174222 98.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  71. 2023-05-15 11:54:01.174222 98.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 196.31.25.91
  72. 2023-05-15 11:54:01.174222 98.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3786491283]
  73. 2023-05-15 11:54:01.174222 98.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3786491283" AND deleted = 0 limit 1
  74. 2023-05-15 11:54:01.174222 98.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =161
  75. 2023-05-15 11:54:01.174222 98.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="27876304009" AND (accountid = 0 OR status = 1) LIMIT 1                                                                                                                                                                    
  76. 2023-05-15 11:54:01.174222 98.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  77. 2023-05-15 11:54:01.174222 98.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 161
  78. 2023-05-15 11:54:01.174222 98.80% [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 = '^27876304009.*' OR patterns = '^2787630400.*' OR patterns = '^278763040.*' OR patterns = '^27876304.*' OR patterns = '^2787630.*' OR patterns = '^278763.*' OR patterns = '^27876.*' OR patterns = '^2787.*' OR patterns = '^278.*' OR patterns = '^27.*' OR patterns = '^2.*' OR patterns ='--') AND accountid = 161 ORDER BY LENGTH(PKGPTR.patterns) DESC                                                
  79. 2023-05-15 11:54:01.174222 98.80% [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 ="27876304009" AND A.accountid = '159' limit 1                                                                                  
  80. 2023-05-15 11:54:01.174222 98.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 27876304009
  81. 2023-05-15 11:54:01.174222 98.80% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27876304009" LIMIT 1                                                                                                                                                          
  82. 2023-05-15 11:54:01.174222 98.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  83. 2023-05-15 11:54:01.174222 98.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  84. 2023-05-15 11:54:01.174222 98.80% [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 = '27876304009' OR number = '2787630400' OR number = '278763040' OR number = '27876304' 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 = '27876304009*' OR number = '2787630400*' OR number = '278763040*' OR number = '27876304*' 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 = '27876303971' OR number = '2787630397' OR number = '278763039' OR number = '27876303' 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 = '27876303971*' OR number = '2787630397*' OR number = '278763039*' OR number = '27876303*' 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                                                                              
  85. 2023-05-15 11:54:01.194223 98.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  86. 2023-05-15 11:54:01.194223 98.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '27876304009' OR routing_prefix = '2787630400' OR routing_prefix = '278763040' OR routing_prefix = '27876304' OR routing_prefix = '2787630' OR routing_prefix = '278763' OR routing_prefix = '27876' OR routing_prefix = '2787' OR routing_prefix = '278' OR routing_prefix = '27' OR routing_prefix = '2' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1                                                                                                                                    
  87. 2023-05-15 11:54:01.194223 98.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  88. 2023-05-15 11:54:01.194223 98.80% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 159
  89. 2023-05-15 11:54:01.194223 98.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3786491283
  90. 2023-05-15 11:54:01.194223 98.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =161
  91. 2023-05-15 11:54:01.194223 98.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 100
  92. 2023-05-15 11:54:01.194223 98.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  93. 2023-05-15 11:54:01.194223 98.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  94. 2023-05-15 11:54:01.194223 98.80% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  95. 2023-05-15 11:54:01.194223 98.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  96. 2023-05-15 11:54:01.194223 98.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  97. 2023-05-15 11:54:01.194223 98.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  98. 2023-05-15 11:54:01.194223 98.80% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27876304009" LIMIT 1                                                                                                                                                          
  99. 2023-05-15 11:54:01.194223 98.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  100. 2023-05-15 11:54:01.194223 98.80% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  101. 2023-05-15 11:54:01.194223 98.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  102. 2023-05-15 11:54:01.194223 98.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 33
  103. 2023-05-15 11:54:01.194223 98.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  104. 2023-05-15 11:54:01.194223 98.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  105. 2023-05-15 11:54:01.194223 98.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  106. 2023-05-15 11:54:01.194223 98.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 27876304009
  107. 2023-05-15 11:54:01.194223 98.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 171
  108. 2023-05-15 11:54:01.194223 98.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 159
  109. 2023-05-15 11:54:01.194223 98.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  110. 2023-05-15 11:54:01.194223 98.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =161
  111. 2023-05-15 11:54:01.194223 98.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your100 balance Accountid 159 !!!
  112. 2023-05-15 11:54:01.194223 98.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  113. 2023-05-15 11:54:01.194223 98.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  114. 2023-05-15 11:54:01.194223 98.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  115. 2023-05-15 11:54:01.194223 98.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  116. 2023-05-15 11:54:01.194223 98.80% [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                                                                                                        
  117. 2023-05-15 11:54:01.194223 98.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "161" AND deleted = 0 limit 1
  118. 2023-05-15 11:54:01.194223 98.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =161
  119. 2023-05-15 11:54:01.194223 98.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:159
  120. 2023-05-15 11:54:01.194223 98.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:159
  121. 2023-05-15 11:54:01.194223 98.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 159
  122. 2023-05-15 11:54:01.194223 98.80% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  123. 2023-05-15 11:54:01.194223 98.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  124. 2023-05-15 11:54:01.194223 98.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  125. 2023-05-15 11:54:01.194223 98.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_6
  126. 2023-05-15 11:54:01.194223 98.80% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Inbound Dialplan
  127. 2023-05-15 11:54:01.194223 98.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  128. <document type="freeswitch/xml">                                                                                                                                            
  129. <section name="dialplan" description="ASTPP Dialplan">                                                                                                                      
  130. <context name="default">                                                                                                                                                    
  131. <extension name="27876304009">                                                                                                                                              
  132. <condition field="destination_number" expression="27876304009">                                                                                                            
  133. <action application="set" data="effective_destination_number=27876304009"/>                                                                                                
  134. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>                                                                                                
  135. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>                                                                                      
  136. <action application="set" data="notify_flag=0"/>                                                                                                                            
  137. <action application="set" data="notify_credit_limit=1.00000"/>                                                                                                              
  138. <action application="set" data="type=3"/>                                                                                                                                  
  139. <action application="set" data="callstart=2023-05-15 09:54:01"/>                                                                                                            
  140. <action application="set" data="hangup_after_bridge=true"/>                                                                                                                
  141. <action application="set" data="continue_on_fail=TRUE"/>                                                                                                                    
  142. <action application="set" data="account_id=159"/>                                                                                                                          
  143. <action application="set" data="parent_id=0"/>                                                                                                                              
  144. <action application="set" data="entity_id=3"/>                                                                                                                              
  145. <action application="set" data="call_processed=internal"/>                                                                                                                  
  146. <action application="set" data="call_direction=inbound"/>                                                                                                                  
  147. <action application="set" data="accountname=default"/>                                                                                                                      
  148. <action application="export" data="t38_passthru=true"/>                                                                                                                    
  149. <action application="set" data="fax_enable_t38=true"/>                                                                                                                      
  150. <action application="set" data="fax_enable_t38_request=true"/>                                                                                                              
  151. <action application="set" data="filename1=astpp.pbx.lua"/>                                                                                                                  
  152. <action application="sleep" data="1000"/>                                                                                                                                  
  153. <action application="playback" data="/usr/local/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav"/>                                                      
  154. <action application="set" data="ringback=%(2000,4000,440.0,480.0)"/>                                                                                                        
  155. <action application="say" data="en name_spelled iterated 1001.95"/>                                                                                                        
  156. <action application="set" data="origination_rates_did=ID:33|CODE:^27876304009.*|DESTINATION:27876304009|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:161"/>                                                                                                                        
  157. <action application="set" data="origination_rates=0"/>                                                                                                                      
  158. <action application="set" data="original_caller_id_name="27876303971""/>                                                                                                    
  159. <action application="set" data="original_caller_id_number=27876303971"/>                                                                                                    
  160. <action application="limit" data="db 3786491283 user_3786491283 10 "/>                                                                                                      
  161. <action application="export" data="is_recording=1"/>                                                                                                                        
  162. <action application="export" data="media_bug_answer_req=true"/>                                                                                                            
  163. <action application="export" data="record_sample_rate=8000"/>                                                                                                              
  164. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>                                                                      
  165. <action application="set" data="effective_caller_id_name="27876303971""/>                                                                                                  
  166. <action application="set" data="effective_caller_id_number=27876303971"/>                                                                                                  
  167. <action application="set" data="receiver_accid=161"/>                                                                                                                      
  168. <action application="export" data="domain_name="/>                                                                                                                          
  169. <action application="export" data="sip_to_host="/>                                                                                                                          
  170. <action application="export" data="presence_data=x|||Dimension Data(3786491283)|||^27876304009.* // 27876304009 // 0.00000|||||||||DID|||196.31.25.91"/>                    
  171. <action application="export" data="call_type=6"/>                                                                                                                          
  172. <action application="set" data="calltype=FAX"/>                                                                                                                            
  173. <action application="answer"/>                                                                                                                                              
  174. <action application="set" data="callfax=true"/>                                                                                                                            
  175. <action application="playback" data="silence_stream://2000"/>                                                                                                              
  176. <action application="set" data="fax_enable_t38_request=true"/>                                                                                                              
  177. <action application="set" data="sip_require_timer=false"/>                                                                                                                  
  178. <action application="set" data="call_request=6"/>                                                                                                                          
  179. <action application="set" data="module_name=apfax"/>                                                                                                                        
  180. <action application="set" data="fax_transfer_rate=9600"/>                                                                                                                  
  181. <action application="set" data="fax_use_ecm=false"/>                                                                                                                        
  182. <action application="set" data="fax_v17_disabled=false"/>                                                                                                                  
  183. <action application="set" data="fax_disable_v17=true"/>                                                                                                                    
  184. <action application="set" data="fax_enable_t38=true"/>                                                                                                                      
  185. <action application="set" data="api_hangup_hook=system /var/www/html/astpp/FAX/scripts/emailfax.sh /var/www/html/astpp/FAX/receive_fax_files/4b8b377d-a061-41d2-88e4-2b260607dad1-FAX.tif 6613105314 Dimension+Data_ dewald@goldtel.co.za /var/www/html/astpp/attachments/4b8b377d-a061-41d2-88e4-2b260607dad1-FAX.pdf dewald@goldtel.co.za 27876304009 27876303971"/>                                                                                                                                                              
  186. <action application="rxfax" data="/var/www/html/astpp/FAX/receive_fax_files/4b8b377d-a061-41d2-88e4-2b260607dad1-FAX.tif"/>                                                
  187. <action application="hangup"/>                                                                                                                                              
  188. </condition>                                                                                                                                                                
  189. </extension>                                                                                                                                                                
  190. </context>                                                                                                                                                                  
  191. </section>                                                                                                                                                                  
  192. </document>                                                                                                                                                                
  193. Dialplan: sofia/default/27876303971@196.31.25.87 parsing [default->27876304009] continue=false
  194. Dialplan: sofia/default/27876303971@196.31.25.87 Regex (PASS) [27876304009] destination_number(27876304009) =~ /27876304009/ break=on-false
  195. Dialplan: sofia/default/27876303971@196.31.25.87 Action set(effective_destination_number=27876304009)
  196. Dialplan: sofia/default/27876303971@196.31.25.87 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  197. Dialplan: sofia/default/27876303971@196.31.25.87 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  198. Dialplan: sofia/default/27876303971@196.31.25.87 Action set(notify_flag=0)
  199. Dialplan: sofia/default/27876303971@196.31.25.87 Action set(notify_credit_limit=1.00000)
  200. Dialplan: sofia/default/27876303971@196.31.25.87 Action set(type=3)
  201. Dialplan: sofia/default/27876303971@196.31.25.87 Action set(callstart=2023-05-15 09:54:01)
  202. Dialplan: sofia/default/27876303971@196.31.25.87 Action set(hangup_after_bridge=true)
  203. Dialplan: sofia/default/27876303971@196.31.25.87 Action set(continue_on_fail=TRUE)
  204. Dialplan: sofia/default/27876303971@196.31.25.87 Action set(account_id=159)
  205. Dialplan: sofia/default/27876303971@196.31.25.87 Action set(parent_id=0)
  206. Dialplan: sofia/default/27876303971@196.31.25.87 Action set(entity_id=3)
  207. Dialplan: sofia/default/27876303971@196.31.25.87 Action set(call_processed=internal)
  208. Dialplan: sofia/default/27876303971@196.31.25.87 Action set(call_direction=inbound)
  209. Dialplan: sofia/default/27876303971@196.31.25.87 Action set(accountname=default)
  210. Dialplan: sofia/default/27876303971@196.31.25.87 Action export(t38_passthru=true)
  211. Dialplan: sofia/default/27876303971@196.31.25.87 Action set(fax_enable_t38=true)
  212. Dialplan: sofia/default/27876303971@196.31.25.87 Action set(fax_enable_t38_request=true)
  213. Dialplan: sofia/default/27876303971@196.31.25.87 Action set(filename1=astpp.pbx.lua)
  214. Dialplan: sofia/default/27876303971@196.31.25.87 Action sleep(1000)
  215. Dialplan: sofia/default/27876303971@196.31.25.87 Action playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav)
  216. Dialplan: sofia/default/27876303971@196.31.25.87 Action set(ringback=%(2000,4000,440.0,480.0))
  217. Dialplan: sofia/default/27876303971@196.31.25.87 Action say(en name_spelled iterated 1001.95)
  218. Dialplan: sofia/default/27876303971@196.31.25.87 Action set(origination_rates_did=ID:33|CODE:^27876304009.*|DESTINATION:27876304009|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:161)                                                                                              
  219. Dialplan: sofia/default/27876303971@196.31.25.87 Action set(origination_rates=0)
  220. Dialplan: sofia/default/27876303971@196.31.25.87 Action set(original_caller_id_name=)
  221. Dialplan: sofia/default/27876303971@196.31.25.87 Action set(original_caller_id_number=27876303971)
  222. Dialplan: sofia/default/27876303971@196.31.25.87 Action limit(db 3786491283 user_3786491283 10 )
  223. Dialplan: sofia/default/27876303971@196.31.25.87 Action export(is_recording=1)
  224. Dialplan: sofia/default/27876303971@196.31.25.87 Action export(media_bug_answer_req=true)
  225. Dialplan: sofia/default/27876303971@196.31.25.87 Action export(record_sample_rate=8000)
  226. Dialplan: sofia/default/27876303971@196.31.25.87 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  227. Dialplan: sofia/default/27876303971@196.31.25.87 Action set(effective_caller_id_name=)
  228. Dialplan: sofia/default/27876303971@196.31.25.87 Action set(effective_caller_id_number=27876303971)
  229. Dialplan: sofia/default/27876303971@196.31.25.87 Action set(receiver_accid=161)
  230. Dialplan: sofia/default/27876303971@196.31.25.87 Action export(domain_name=)
  231. Dialplan: sofia/default/27876303971@196.31.25.87 Action export(sip_to_host=)
  232. Dialplan: sofia/default/27876303971@196.31.25.87 Action export(presence_data=x|||Dimension Data(3786491283)|||^27876304009.* // 27876304009 // 0.00000|||||||||DID|||196.31.25.91)                                                                                                                                                                      
  233. Dialplan: sofia/default/27876303971@196.31.25.87 Action export(call_type=6)
  234. Dialplan: sofia/default/27876303971@196.31.25.87 Action set(calltype=FAX)
  235. Dialplan: sofia/default/27876303971@196.31.25.87 Action answer()
  236. Dialplan: sofia/default/27876303971@196.31.25.87 Action set(callfax=true)
  237. Dialplan: sofia/default/27876303971@196.31.25.87 Action playback(silence_stream://2000)
  238. Dialplan: sofia/default/27876303971@196.31.25.87 Action set(fax_enable_t38_request=true)
  239. Dialplan: sofia/default/27876303971@196.31.25.87 Action set(sip_require_timer=false)
  240. Dialplan: sofia/default/27876303971@196.31.25.87 Action set(call_request=6)
  241. Dialplan: sofia/default/27876303971@196.31.25.87 Action set(module_name=apfax)
  242. Dialplan: sofia/default/27876303971@196.31.25.87 Action set(fax_transfer_rate=9600)
  243. Dialplan: sofia/default/27876303971@196.31.25.87 Action set(fax_use_ecm=false)
  244. Dialplan: sofia/default/27876303971@196.31.25.87 Action set(fax_v17_disabled=false)
  245. Dialplan: sofia/default/27876303971@196.31.25.87 Action set(fax_disable_v17=true)
  246. Dialplan: sofia/default/27876303971@196.31.25.87 Action set(fax_enable_t38=true)
  247. Dialplan: sofia/default/27876303971@196.31.25.87 Action set(api_hangup_hook=system /var/www/html/astpp/FAX/scripts/emailfax.sh /var/www/html/astpp/FAX/receive_fax_files/4b8b377d-a061-41d2-88e4-2b260607dad1-FAX.tif 6613105314 Dimension+Data_ dewald@goldtel.co.za /var/www/html/astpp/attachments/4b8b377d-a061-41d2-88e4-2b260607dad1-FAX.pdf dewald@goldtel.co.za 27876304009 27876303971)                                                                                                                                    
  248. Dialplan: sofia/default/27876303971@196.31.25.87 Action rxfax(/var/www/html/astpp/FAX/receive_fax_files/4b8b377d-a061-41d2-88e4-2b260607dad1-FAX.tif)
  249. Dialplan: sofia/default/27876303971@196.31.25.87 Action hangup()
  250. 2023-05-15 11:54:01.194223 98.80% [DEBUG] switch_core_state_machine.c:281 (sofia/default/27876303971@196.31.25.87) State Change CS_ROUTING -> CS_EXECUTE
  251. 2023-05-15 11:54:01.194223 98.80% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876303971@196.31.25.87) State ROUTING going to sleep
  252. 2023-05-15 11:54:01.194223 98.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876303971@196.31.25.87) Running State Change CS_EXECUTE (Cur 1 Tot 3736)
  253. 2023-05-15 11:54:01.194223 98.80% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27876303971@196.31.25.87) State EXECUTE
  254. 2023-05-15 11:54:01.194223 98.80% [DEBUG] mod_sofia.c:213 sofia/default/27876303971@196.31.25.87 SOFIA EXECUTE
  255. 2023-05-15 11:54:01.194223 98.80% [DEBUG] switch_core_state_machine.c:323 sofia/default/27876303971@196.31.25.87 Standard EXECUTE
  256. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 set(effective_destination_number=27876304009)
  257. 2023-05-15 11:54:01.194223 98.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.87 [effective_destination_number]=[27876304009]
  258. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 set(bridge_pre_execute_bleg_app=sched_hangup)
  259. 2023-05-15 11:54:01.194223 98.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.87 [bridge_pre_execute_bleg_app]=[sched_hangup]
  260. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  261. 2023-05-15 11:54:01.194223 98.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.87 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  262. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 set(notify_flag=0)
  263. 2023-05-15 11:54:01.194223 98.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.87 [notify_flag]=[0]
  264. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 set(notify_credit_limit=1.00000)
  265. 2023-05-15 11:54:01.194223 98.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.87 [notify_credit_limit]=[1.00000]
  266. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 set(type=3)
  267. 2023-05-15 11:54:01.194223 98.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.87 [type]=[3]
  268. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 set(callstart=2023-05-15 09:54:01)
  269. 2023-05-15 11:54:01.194223 98.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.87 [callstart]=[2023-05-15 09:54:01]
  270. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 set(hangup_after_bridge=true)
  271. 2023-05-15 11:54:01.194223 98.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.87 [hangup_after_bridge]=[true]
  272. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 set(continue_on_fail=TRUE)
  273. 2023-05-15 11:54:01.194223 98.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.87 [continue_on_fail]=[TRUE]
  274. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 set(account_id=159)
  275. 2023-05-15 11:54:01.194223 98.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.87 [account_id]=[159]
  276. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 set(parent_id=0)
  277. 2023-05-15 11:54:01.194223 98.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.87 [parent_id]=[0]
  278. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 set(entity_id=3)
  279. 2023-05-15 11:54:01.194223 98.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.87 [entity_id]=[3]
  280. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 set(call_processed=internal)
  281. 2023-05-15 11:54:01.214219 98.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.87 [call_processed]=[internal]
  282. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 set(call_direction=inbound)
  283. 2023-05-15 11:54:01.214219 98.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.87 [call_direction]=[inbound]
  284. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 set(accountname=default)
  285. 2023-05-15 11:54:01.214219 98.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.87 [accountname]=[default]
  286. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 export(t38_passthru=true)
  287. 2023-05-15 11:54:01.214219 98.80% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true]
  288. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 set(fax_enable_t38=true)
  289. 2023-05-15 11:54:01.214219 98.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.87 [fax_enable_t38]=[true]
  290. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 set(fax_enable_t38_request=true)
  291. 2023-05-15 11:54:01.214219 98.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.87 [fax_enable_t38_request]=[true]
  292. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 set(filename1=astpp.pbx.lua)
  293. 2023-05-15 11:54:01.214219 98.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.87 [filename1]=[astpp.pbx.lua]
  294. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 sleep(1000)
  295. 2023-05-15 11:54:02.214217 98.80% [DEBUG] switch_core_session.c:2795 Application playback Requires media! pre_answering channel sofia/default/27876303971@196.31.25.87
  296. 2023-05-15 11:54:02.214217 98.80% [INFO] switch_core_session.c:2797 Sending early media
  297. 2023-05-15 11:54:02.214217 98.80% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/27876303971@196.31.25.87] 102.220.232.19 port 31064 -> 196.31.25.87 port 23706 codec: 18 ms: 20                                                                                                                                                            
  298. 2023-05-15 11:54:02.214217 98.80% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  299. 2023-05-15 11:54:02.214217 98.80% [DEBUG] switch_core_media.c:9089 sofia/default/27876303971@196.31.25.87 Set 2833 dtmf send payload to 101
  300. 2023-05-15 11:54:02.214217 98.80% [DEBUG] switch_core_media.c:9096 sofia/default/27876303971@196.31.25.87 Set 2833 dtmf receive payload to 101
  301. 2023-05-15 11:54:02.214217 98.80% [DEBUG] switch_core_media.c:9119 sofia/default/27876303971@196.31.25.87 Set rtp dtmf delay to 40
  302. 2023-05-15 11:54:02.214217 98.80% [DEBUG] mod_sofia.c:2610 Ring SDP:
  303. v=0                                                                                                                                                                        
  304. o=FreeSWITCH 1684113378 1684113379 IN IP4 102.220.232.19                                                                                                                    
  305. s=FreeSWITCH                                                                                                                                                                
  306. c=IN IP4 102.220.232.19                                                                                                                                                    
  307. t=0 0                                                                                                                                                                      
  308. m=audio 31064 RTP/AVP 18 101                                                                                                                                                
  309. a=rtpmap:18 G729/8000                                                                                                                                                      
  310. a=fmtp:18 annexb=no                                                                                                                                                        
  311. a=rtpmap:101 telephone-event/8000                                                                                                                                          
  312. a=fmtp:101 0-15                                                                                                                                                            
  313. a=ptime:20                                                                                                                                                                  
  314. a=sendrecv                                                                                                                                                                  
  315.  
  316. 2023-05-15 11:54:02.214217 98.80% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/27876303971@196.31.25.87!
  317. 2023-05-15 11:54:02.214217 98.80% [DEBUG] switch_channel.c:3622 (sofia/default/27876303971@196.31.25.87) Callstate Change RINGING -> EARLY
  318. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav)
  319. 2023-05-15 11:54:02.214217 98.80% [DEBUG] switch_core_file.c:444 File /usr/local/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav sample rate 16000 doesn't match requested rate 8000                                                                                                                                                
  320. 2023-05-15 11:54:02.214217 98.80% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  321. 2023-05-15 11:54:02.214217 98.80% [DEBUG] sofia.c:7499 Channel sofia/default/27876303971@196.31.25.87 entering state [early][183]
  322. 2023-05-15 11:54:02.354217 98.80% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  323. 2023-05-15 11:54:03.534234 98.77% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav
  324. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 set(ringback=%(2000,4000,440.0,480.0))
  325. 2023-05-15 11:54:03.534234 98.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.87 [ringback]=[%(2000,4000,440.0,480.0)]
  326. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 say(en name_spelled iterated 1001.95)
  327. 2023-05-15 11:54:03.534234 98.77% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  328. 2023-05-15 11:54:06.994217 98.63% [DEBUG] switch_ivr_play_say.c:2001 done playing file file_string://digits/1.wav!digits/0.wav!digits/0.wav!digits/1.wav!ascii/46.wav!digits/9.wav!digits/5.wav                                                                                                                                                        
  329. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 set(origination_rates_did=ID:33|CODE:^27876304009.*|DESTINATION:27876304009|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:161)                                                                                            
  330. 2023-05-15 11:54:06.994217 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.87 [origination_rates_did]=[ID:33|CODE:^27876304009.*|DESTINATION:27876304009|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:161]                                              
  331. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 set(origination_rates=0)
  332. 2023-05-15 11:54:06.994217 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.87 [origination_rates]=[0]
  333. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 set(original_caller_id_name=)
  334. 2023-05-15 11:54:06.994217 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.87 [original_caller_id_name]=[UNDEF]
  335. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 set(original_caller_id_number=27876303971)
  336. 2023-05-15 11:54:06.994217 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.87 [original_caller_id_number]=[27876303971]
  337. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 limit(db 3786491283 user_3786491283 10 )
  338. 2023-05-15 11:54:06.994217 98.63% [DEBUG] switch_limit.c:124 incr called: 3786491283_user_3786491283 max:10, interval:0
  339. 2023-05-15 11:54:06.994217 98.63% [DEBUG] mod_db.c:194 Usage for 3786491283_user_3786491283 is now 1/10
  340. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 export(is_recording=1)
  341. 2023-05-15 11:54:06.994217 98.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  342. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 export(media_bug_answer_req=true)
  343. 2023-05-15 11:54:06.994217 98.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  344. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 export(record_sample_rate=8000)
  345. 2023-05-15 11:54:06.994217 98.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  346. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 export(execute_on_answer=record_session /usr/local/freeswitch/recordings/4b8b377d-a061-41d2-88e4-2b260607dad1.wav)
  347. 2023-05-15 11:54:06.994217 98.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/4b8b377d-a061-41d2-88e4-2b260607dad1.wav]                                                                                                                                                    
  348. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 set(effective_caller_id_name=)
  349. 2023-05-15 11:54:06.994217 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.87 [effective_caller_id_name]=[UNDEF]
  350. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 set(effective_caller_id_number=27876303971)
  351. 2023-05-15 11:54:06.994217 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.87 [effective_caller_id_number]=[27876303971]
  352. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 set(receiver_accid=161)
  353. 2023-05-15 11:54:06.994217 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.87 [receiver_accid]=[161]
  354. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 export(domain_name=)
  355. 2023-05-15 11:54:06.994217 98.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[UNDEF]
  356. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 export(sip_to_host=)
  357. 2023-05-15 11:54:06.994217 98.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[UNDEF]
  358. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 export(presence_data=x|||Dimension Data(3786491283)|||^27876304009.* // 27876304009 // 0.00000|||||||||DID|||196.31.25.91)                                                                                                                                                                    
  359. 2023-05-15 11:54:06.994217 98.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Dimension Data(3786491283)|||^27876304009.* // 27876304009 // 0.00000|||||||||DID|||196.31.25.91]                                                                                                                                            
  360. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 export(call_type=6)
  361. 2023-05-15 11:54:06.994217 98.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[6]
  362. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 set(calltype=FAX)
  363. 2023-05-15 11:54:06.994217 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.87 [calltype]=[FAX]
  364. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 answer()
  365. 2023-05-15 11:54:06.994217 98.63% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/27876303971@196.31.25.87.
  366. 2023-05-15 11:54:06.994217 98.63% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/27876303971@196.31.25.87:
  367. v=0                                                                                                                                                                        
  368. o=FreeSWITCH 1684113378 1684113380 IN IP4 102.220.232.19                                                                                                                    
  369. s=FreeSWITCH                                                                                                                                                                
  370. c=IN IP4 102.220.232.19                                                                                                                                                    
  371. t=0 0                                                                                                                                                                      
  372. m=audio 31064 RTP/AVP 18 101                                                                                                                                                
  373. a=rtpmap:18 G729/8000                                                                                                                                                      
  374. a=fmtp:18 annexb=no                                                                                                                                                        
  375. a=rtpmap:101 telephone-event/8000                                                                                                                                          
  376. a=fmtp:101 0-15                                                                                                                                                            
  377. a=ptime:20                                                                                                                                                                  
  378. a=sendrecv                                                                                                                                                                  
  379.  
  380. 2023-05-15 11:54:06.994217 98.63% [NOTICE] mod_dptools.c:1419 Channel [sofia/default/27876303971@196.31.25.87] has been answered
  381. 2023-05-15 11:54:06.994217 98.63% [DEBUG] sofia.c:7499 Channel sofia/default/27876303971@196.31.25.87 entering state [completed][200]
  382. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 record_session(/usr/local/freeswitch/recordings/4b8b377d-a061-41d2-88e4-2b260607dad1.wav)
  383. 2023-05-15 11:54:07.014222 98.63% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  384. 2023-05-15 11:54:07.014222 98.63% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/27876303971@196.31.25.87
  385. 2023-05-15 11:54:07.014222 98.63% [DEBUG] switch_channel.c:3950 (sofia/default/27876303971@196.31.25.87) Callstate Change EARLY -> ACTIVE
  386. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 set(callfax=true)
  387. 2023-05-15 11:54:07.014222 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.87 [callfax]=[true]
  388. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 playback(silence_stream://2000)
  389. 2023-05-15 11:54:07.014222 98.63% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  390. 2023-05-15 11:54:07.014222 98.63% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  391. 2023-05-15 11:54:07.034221 98.63% [DEBUG] sofia.c:7499 Channel sofia/default/27876303971@196.31.25.87 entering state [ready][200]
  392. 2023-05-15 11:54:07.054219 98.63% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  393. 2023-05-15 11:54:07.054219 98.63% [DEBUG] switch_core_io.c:448 Setting BUG Codec G729:18
  394. 2023-05-15 11:54:08.994223 98.57% [DEBUG] switch_ivr_play_say.c:2001 done playing file silence_stream://2000
  395. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 set(fax_enable_t38_request=true)
  396. 2023-05-15 11:54:08.994223 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.87 [fax_enable_t38_request]=[true]
  397. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 set(sip_require_timer=false)
  398. 2023-05-15 11:54:08.994223 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.87 [sip_require_timer]=[false]
  399. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 set(call_request=6)
  400. 2023-05-15 11:54:08.994223 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.87 [call_request]=[6]
  401. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 set(module_name=apfax)
  402. 2023-05-15 11:54:08.994223 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.87 [module_name]=[apfax]
  403. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 set(fax_transfer_rate=9600)
  404. 2023-05-15 11:54:08.994223 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.87 [fax_transfer_rate]=[9600]
  405. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 set(fax_use_ecm=false)
  406. 2023-05-15 11:54:08.994223 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.87 [fax_use_ecm]=[false]
  407. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 set(fax_v17_disabled=false)
  408. 2023-05-15 11:54:08.994223 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.87 [fax_v17_disabled]=[false]
  409. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 set(fax_disable_v17=true)
  410. 2023-05-15 11:54:08.994223 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.87 [fax_disable_v17]=[true]
  411. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 set(fax_enable_t38=true)
  412. 2023-05-15 11:54:08.994223 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.87 [fax_enable_t38]=[true]
  413. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 set(api_hangup_hook=system /var/www/html/astpp/FAX/scripts/emailfax.sh /var/www/html/astpp/FAX/receive_fax_files/4b8b377d-a061-41d2-88e4-2b260607dad1-FAX.tif 6613105314 Dimension+Data_ dewald@goldtel.co.za /var/www/html/astpp/attachments/4b8b377d-a061-41d2-88e4-2b260607dad1-FAX.pdf dewald@goldtel.co.za 27876304009 27876303971)                                                                                                                                  
  414. 2023-05-15 11:54:08.994223 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.87 [api_hangup_hook]=[system /var/www/html/astpp/FAX/scripts/emailfax.sh /var/www/html/astpp/FAX/receive_fax_files/4b8b377d-a061-41d2-88e4-2b260607dad1-FAX.tif 6613105314 Dimension+Data_ dewald@goldtel.co.za /var/www/html/astpp/attachments/4b8b377d-a061-41d2-88e4-2b260607dad1-FAX.pdf dewald@goldtel.co.za 27876304009 27876303971]                                                                                    
  415. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 rxfax(/var/www/html/astpp/FAX/receive_fax_files/4b8b377d-a061-41d2-88e4-2b260607dad1-FAX.tif)
  416. 2023-05-15 11:54:08.994223 98.57% [DEBUG] mod_spandsp_fax.c:1610 Raw read codec activation Success L16 20000
  417. 2023-05-15 11:54:08.994223 98.57% [DEBUG] switch_core_codec.c:223 sofia/default/27876303971@196.31.25.87 Push codec L16:100
  418. 2023-05-15 11:54:08.994223 98.57% [DEBUG] mod_spandsp_fax.c:1628 Raw write codec activation Success L16
  419. 2023-05-15 11:54:10.254217 98.53% [DEBUG] switch_core_media.c:12065 sofia/default/27876303971@196.31.25.87 image media sdp:
  420. v=0                                                                                                                                                                        
  421. o=FreeSWITCH 1684113378 1684113381 IN IP4 102.220.232.19                                                                                                                    
  422. s=FreeSWITCH                                                                                                                                                                
  423. c=IN IP4 102.220.232.19                                                                                                                                                    
  424. t=0 0                                                                                                                                                                      
  425. m=image 31064 udptl t38                                                                                                                                                    
  426. a=T38FaxVersion:0                                                                                                                                                          
  427. a=T38MaxBitRate:9600                                                                                                                                                        
  428. a=T38FaxFillBitRemoval                                                                                                                                                      
  429. a=T38FaxRateManagement:transferredTCF                                                                                                                                      
  430. a=T38FaxMaxBuffer:2000                                                                                                                                                      
  431. a=T38FaxMaxDatagram:400                                                                                                                                                    
  432. a=T38FaxUdpEC:t38UDPRedundancy                                                                                                                                              
  433.  
  434. 2023-05-15 11:54:10.254217 98.53% [INFO] sofia_glue.c:1651 sofia/default/27876303971@196.31.25.87 sending invite call-id: (null)
  435. 2023-05-15 11:54:10.254217 98.53% [DEBUG] sofia_glue.c:1654 sofia/default/27876303971@196.31.25.87 sending invite version: 1.10.7 -release 64bit
  436. Local SDP:                                                                                                                                                                  
  437. v=0                                                                                                                                                                        
  438. o=FreeSWITCH 1684113378 1684113381 IN IP4 102.220.232.19                                                                                                                    
  439. s=FreeSWITCH                                                                                                                                                                
  440. c=IN IP4 102.220.232.19                                                                                                                                                    
  441. t=0 0                                                                                                                                                                      
  442. m=image 31064 udptl t38                                                                                                                                                    
  443. a=T38FaxVersion:0                                                                                                                                                          
  444. a=T38MaxBitRate:9600                                                                                                                                                        
  445. a=T38FaxFillBitRemoval                                                                                                                                                      
  446. a=T38FaxRateManagement:transferredTCF                                                                                                                                      
  447. a=T38FaxMaxBuffer:2000                                                                                                                                                      
  448. a=T38FaxMaxDatagram:400                                                                                                                                                    
  449. a=T38FaxUdpEC:t38UDPRedundancy                                                                                                                                              
  450.  
  451. 2023-05-15 11:54:10.254217 98.53% [DEBUG] sofia.c:7499 Channel sofia/default/27876303971@196.31.25.87 entering state [calling][0]
  452. 2023-05-15 11:54:10.354217 98.53% [DEBUG] sofia.c:7499 Channel sofia/default/27876303971@196.31.25.87 entering state [completing][200]
  453. 2023-05-15 11:54:10.354217 98.53% [DEBUG] sofia.c:7509 Remote SDP:
  454. v=0                                                                                                                                                                        
  455. o=FreeSWITCH 1684120733 1684120735 IN IP4 196.31.25.87                                                                                                                      
  456. s=FreeSWITCH                                                                                                                                                                
  457. c=IN IP4 196.31.25.87                                                                                                                                                      
  458. t=0 0                                                                                                                                                                      
  459. m=image 23706 udptl t38                                                                                                                                                    
  460. a=T38FaxVersion:0                                                                                                                                                          
  461. a=T38MaxBitRate:9600                                                                                                                                                        
  462. a=T38FaxFillBitRemoval                                                                                                                                                      
  463. a=T38FaxRateManagement:transferredTCF                                                                                                                                      
  464. a=T38FaxMaxBuffer:2000                                                                                                                                                      
  465. a=T38FaxMaxDatagram:400                                                                                                                                                    
  466. a=T38FaxUdpEC:t38UDPRedundancy                                                                                                                                              
  467.  
  468. 2023-05-15 11:54:10.374217 98.53% [DEBUG] sofia.c:7499 Channel sofia/default/27876303971@196.31.25.87 entering state [ready][200]
  469. 2023-05-15 11:54:10.374217 98.53% [DEBUG] switch_core_media.c:5241 sofia/default/27876303971@196.31.25.87 T38 ACCEPT on response
  470. 2023-05-15 11:54:10.374217 98.53% [DEBUG] switch_core_media.c:5345 sofia/default/27876303971@196.31.25.87 T38 IS POSSIBLE on response
  471. 2023-05-15 11:54:10.374217 98.53% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/27876303971@196.31.25.87.
  472. 2023-05-15 11:54:10.394221 98.53% [DEBUG] switch_core_media.c:12494 Remote address:port [196.31.25.87:23706] has not changed.
  473. 2023-05-15 11:54:10.394221 98.53% [DEBUG] switch_core_media.c:12494 Remote address:port [196.31.25.87:23706] has not changed.
  474. 2023-05-15 11:54:17.874227 98.43% [INFO] mod_spandsp_fax.c:360 === Negotiation Result =======================================================
  475. Remote station id:                                                                                                                                                          
  476. Local station id:  SpanDSP Fax Ident                                                                                                                                        
  477. Transfer Rate:     9600                                                                                                                                                    
  478. ECM status         off                                                                                                                                                      
  479. T38 status         negotiated                                                                                                                                              
  480. remote country:                                                                                                                                                            
  481. remote vendor:                                                                                                                                                              
  482. remote model:                                                                                                                                                              
  483. ==============================================================================                                                                                              
  484. 2023-05-15 11:54:37.794215 98.23% [INFO] mod_spandsp_fax.c:496 ==== Page Received ===========================================================
  485. Page no = 1                                                                                                                                                                
  486. Image type = bi-level (bi-level in the file)                                                                                                                                
  487. Image size = 1728 x 1141 pixels (1728 x 1141 pixels in the file)                                                                                                            
  488. Image resolution = 8040/m x 3850/m (8040/m x 3850/m in the file)                                                                                                            
  489. Compression = T.4 1-D (2)                                                                                                                                                  
  490. Compressed image size = 16261 bytes                                                                                                                                        
  491. Bad rows = 0                                                                                                                                                                
  492. Longest bad row run = 0                                                                                                                                                    
  493. ==============================================================================                                                                                              
  494. 2023-05-15 11:54:59.534216 98.10% [INFO] mod_spandsp_fax.c:496 ==== Page Received ===========================================================
  495. Page no = 2                                                                                                                                                                
  496. Image type = bi-level (bi-level in the file)                                                                                                                                
  497. Image size = 1728 x 1141 pixels (1728 x 1141 pixels in the file)                                                                                                            
  498. Image resolution = 8040/m x 3850/m (8040/m x 3850/m in the file)                                                                                                            
  499. Compression = T.4 1-D (2)                                                                                                                                                  
  500. Compressed image size = 20600 bytes                                                                                                                                        
  501. Bad rows = 0                                                                                                                                                                
  502. Longest bad row run = 0                                                                                                                                                    
  503. ==============================================================================                                                                                              
  504. 2023-05-15 11:55:21.374216 97.73% [INFO] mod_spandsp_fax.c:496 ==== Page Received ===========================================================
  505. Page no = 3                                                                                                                                                                
  506. Image type = bi-level (bi-level in the file)                                                                                                                                
  507. Image size = 1728 x 1148 pixels (1728 x 1148 pixels in the file)                                                                                                            
  508. Image resolution = 8040/m x 3850/m (8040/m x 3850/m in the file)                                                                                                            
  509. Compression = T.4 1-D (2)                                                                                                                                                  
  510. Compressed image size = 20726 bytes                                                                                                                                        
  511. Bad rows = 0                                                                                                                                                                
  512. Longest bad row run = 0                                                                                                                                                    
  513. ==============================================================================                                                                                              
  514. 2023-05-15 11:55:25.434221 97.67% [INFO] mod_spandsp_fax.c:596 ==============================================================================
  515. Fax successfully received.                                                                                                                                                  
  516. Remote station id:                                                                                                                                                          
  517. Local station id:  SpanDSP Fax Ident                                                                                                                                        
  518. Pages transferred: 3                                                                                                                                                        
  519. Total fax pages:   3                                                                                                                                                        
  520. Image resolution:  8040x3850                                                                                                                                                
  521. Transfer Rate:     9600                                                                                                                                                    
  522. ECM status         off                                                                                                                                                      
  523. T38 status         negotiated
  524. remote country:    
  525. remote vendor:    
  526. remote model:      
  527. ==============================================================================
  528. 2023-05-15 11:55:25.434221 97.67% [DEBUG] switch_core_codec.c:248 sofia/default/27876303971@196.31.25.87 Restore previous codec G729:18.
  529. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.87 hangup()
  530. 2023-05-15 11:55:25.434221 97.67% [NOTICE] mod_dptools.c:1387 Hangup sofia/default/27876303971@196.31.25.87 [CS_EXECUTE] [NORMAL_CLEARING]
  531. 2023-05-15 11:55:25.454217 97.67% [DEBUG] switch_core_session.c:2983 sofia/default/27876303971@196.31.25.87 skip receive message [PHONE_EVENT] (channel is hungup already)
  532. 2023-05-15 11:55:25.454217 97.67% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27876303971@196.31.25.87) State EXECUTE going to sleep
  533. 2023-05-15 11:55:25.454217 97.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876303971@196.31.25.87) Running State Change CS_HANGUP (Cur 1 Tot 3736)
  534. 2023-05-15 11:55:25.454217 97.67% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/4b8b377d-a061-41d2-88e4-2b260607dad1.wav
  535. 2023-05-15 11:55:25.454217 97.67% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  536. 2023-05-15 11:55:25.454217 97.67% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/27876303971@196.31.25.87
  537. 2023-05-15 11:55:25.454217 97.67% [DEBUG] switch_core_state_machine.c:844 (sofia/default/27876303971@196.31.25.87) Callstate Change ACTIVE -> HANGUP
  538. 2023-05-15 11:55:25.454217 97.67% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876303971@196.31.25.87) State HANGUP
  539. 2023-05-15 11:55:25.454217 97.67% [DEBUG] mod_sofia.c:468 Channel sofia/default/27876303971@196.31.25.87 hanging up, cause: NORMAL_CLEARING
  540. 2023-05-15 11:55:25.454217 97.67% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/27876303971@196.31.25.87
  541. 2023-05-15 11:55:25.454217 97.67% [DEBUG] switch_core_state_machine.c:59 sofia/default/27876303971@196.31.25.87 Standard HANGUP, cause: NORMAL_CLEARING
  542. 2023-05-15 11:55:25.454217 97.67% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876303971@196.31.25.87) State HANGUP going to sleep
  543. 2023-05-15 11:55:25.534216 97.67% [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/4b8b377d-a061-41d2-88e4-2b260607dad1-FAX.tif 6613105314 Dimension+Data_ dewald@goldtel.co.za /var/www/html/astpp/attachments/4b8b377d-a061-41d2-88e4-2b260607dad1-FAX.pdf dewald@goldtel.co.za 27876304009 27876303971):
  544.  
  545. 2023-05-15 11:55:25.534216 97.67% [DEBUG] switch_core_state_machine.c:616 (sofia/default/27876303971@196.31.25.87) State Change CS_HANGUP -> CS_REPORTING
  546. 2023-05-15 11:55:25.534216 97.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876303971@196.31.25.87) Running State Change CS_REPORTING (Cur 1 Tot 3736)
  547. 2023-05-15 11:55:25.534216 97.67% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876303971@196.31.25.87) State REPORTING
  548. 2023-05-15 11:55:25.534216 97.67% [INFO] mod_json_cdr.c:271 Process [4b8b377d-a061-41d2-88e4-2b260607dad1.cdr.json]
  549. 2023-05-15 11:55:25.554220 97.67% [DEBUG] switch_core_state_machine.c:168 sofia/default/27876303971@196.31.25.87 Standard REPORTING, cause: NORMAL_CLEARING
  550. 2023-05-15 11:55:25.554220 97.67% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876303971@196.31.25.87) State REPORTING going to sleep
  551. 2023-05-15 11:55:25.554220 97.67% [DEBUG] switch_core_state_machine.c:607 (sofia/default/27876303971@196.31.25.87) State Change CS_REPORTING -> CS_DESTROY
  552. 2023-05-15 11:55:25.554220 97.67% [DEBUG] switch_core_session.c:1753 Session 3736 (sofia/default/27876303971@196.31.25.87) Locked, Waiting on external entities
  553. 2023-05-15 11:55:25.554220 97.67% [NOTICE] switch_core_session.c:1771 Session 3736 (sofia/default/27876303971@196.31.25.87) Ended
  554. 2023-05-15 11:55:25.554220 97.67% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/27876303971@196.31.25.87 [CS_DESTROY]
  555. 2023-05-15 11:55:25.554220 97.67% [DEBUG] switch_core_state_machine.c:735 (sofia/default/27876303971@196.31.25.87) Running State Change CS_DESTROY (Cur 0 Tot 3736)
  556. 2023-05-15 11:55:25.554220 97.67% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876303971@196.31.25.87) State DESTROY
  557. 2023-05-15 11:55:25.554220 97.67% [DEBUG] mod_sofia.c:379 sofia/default/27876303971@196.31.25.87 SOFIA DESTROY
  558. 2023-05-15 11:55:25.554220 97.67% [DEBUG] switch_core_state_machine.c:175 sofia/default/27876303971@196.31.25.87 Standard DESTROY
  559. 2023-05-15 11:55:25.554220 97.67% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876303971@196.31.25.87) State DESTROY going to sleep