From FAx, 1 Year ago, written in FreeSWITCH.
- view diff
Embed
  1. span style="color: cornflowerblue; font-weight: bold;"> 2023-03-29 10:37:21.259786 100.00% [NOTICE] switch_channel.c:1123 New Channel sofia/default/27876303971@196.31.25.86 [a195597b-cd96-454d-8f07-9de911c8eb81]
  2. 2023-03-29 10:37:21.259786 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876303971@196.31.25.86) Running State Change CS_NEW (Cur 1 Tot 119255)
  3. 2023-03-29 10:37:21.259786 100.00% [INFO] sofia.c:10462 sofia/default/27876303971@196.31.25.86 receiving invite from 102.220.232.100:5060 version: 1.10.7 -release 64bit call-id: c2818d06-48af-123c-7aae-b8ac6f871369                                                                                                                                  
  4. 2023-03-29 10:37:21.259786 100.00% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 102.220.232.100:0.
  5. 2023-03-29 10:37:21.259786 100.00% [DEBUG] sofia.c:10585 IP 102.220.232.100 Approved by acl "default[]". Access Granted.
  6. 2023-03-29 10:37:21.259786 100.00% [DEBUG] sofia.c:7499 Channel sofia/default/27876303971@196.31.25.86 entering state [received][100]
  7. 2023-03-29 10:37:21.259786 100.00% [DEBUG] sofia.c:7509 Remote SDP:
  8. v=0                                                                                                                                                                        
  9. o=FreeSWITCH 1680054519 1680054520 IN IP4 196.31.25.86                                                                                                                      
  10. s=FreeSWITCH                                                                                                                                                                
  11. c=IN IP4 196.31.25.86                                                                                                                                                      
  12. t=0 0                                                                                                                                                                      
  13. m=audio 24520 RTP/AVP 18 8 0 9 101                                                                                                                                          
  14. a=rtpmap:18 G729/8000                                                                                                                                                      
  15. a=rtpmap:8 PCMA/8000                                                                                                                                                        
  16. a=rtpmap:0 PCMU/8000                                                                                                                                                        
  17. a=rtpmap:9 G722/8000                                                                                                                                                        
  18. a=rtpmap:101 telephone-event/8000                                                                                                                                          
  19. a=fmtp:101 0-16                                                                                                                                                            
  20. a=ptime:20                                                                                                                                                                  
  21.  
  22. 2023-03-29 10:37:21.259786 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  23. 2023-03-29 10:37:21.259786 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  24. 2023-03-29 10:37:21.259786 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  25. 2023-03-29 10:37:21.259786 100.00% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  26. 2023-03-29 10:37:21.259786 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  27. 2023-03-29 10:37:21.259786 100.00% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  28. 2023-03-29 10:37:21.259786 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  29. 2023-03-29 10:37:21.259786 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  30. 2023-03-29 10:37:21.259786 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  31. 2023-03-29 10:37:21.259786 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  32. 2023-03-29 10:37:21.259786 100.00% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  33. 2023-03-29 10:37:21.259786 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  34. 2023-03-29 10:37:21.259786 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  35. 2023-03-29 10:37:21.259786 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  36. 2023-03-29 10:37:21.259786 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  37. 2023-03-29 10:37:21.259786 100.00% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  38. 2023-03-29 10:37:21.259786 100.00% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/27876303971@196.31.25.86 G729/8000 20 ms 160 samples 8000 bits 1 channels
  39. 2023-03-29 10:37:21.259786 100.00% [DEBUG] switch_core_codec.c:111 sofia/default/27876303971@196.31.25.86 Original read codec set to G729:18
  40. 2023-03-29 10:37:21.259786 100.00% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  41. 2023-03-29 10:37:21.259786 100.00% [DEBUG] switch_core_media.c:5973 sofia/default/27876303971@196.31.25.86 Set 2833 dtmf send payload to 101 recv payload to 101
  42. 2023-03-29 10:37:21.259786 100.00% [DEBUG] sofia.c:7933 (sofia/default/27876303971@196.31.25.86) State Change CS_NEW -> CS_INIT
  43. 2023-03-29 10:37:21.259786 100.00% [DEBUG] switch_core_state_machine.c:600 (sofia/default/27876303971@196.31.25.86) State NEW
  44. 2023-03-29 10:37:21.259786 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876303971@196.31.25.86) Running State Change CS_INIT (Cur 1 Tot 119255)
  45. 2023-03-29 10:37:21.259786 100.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27876303971@196.31.25.86) State INIT
  46. 2023-03-29 10:37:21.259786 100.00% [DEBUG] mod_sofia.c:97 sofia/default/27876303971@196.31.25.86 SOFIA INIT
  47. 2023-03-29 10:37:21.259786 100.00% [DEBUG] switch_core_state_machine.c:40 sofia/default/27876303971@196.31.25.86 Standard INIT
  48. 2023-03-29 10:37:21.259786 100.00% [DEBUG] switch_core_state_machine.c:48 (sofia/default/27876303971@196.31.25.86) State Change CS_INIT -> CS_ROUTING
  49. 2023-03-29 10:37:21.259786 100.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27876303971@196.31.25.86) State INIT going to sleep
  50. 2023-03-29 10:37:21.259786 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876303971@196.31.25.86) Running State Change CS_ROUTING (Cur 1 Tot 119255)
  51. 2023-03-29 10:37:21.259786 100.00% [DEBUG] switch_channel.c:2380 (sofia/default/27876303971@196.31.25.86) Callstate Change DOWN -> RINGING
  52. 2023-03-29 10:37:21.259786 100.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876303971@196.31.25.86) State ROUTING
  53. 2023-03-29 10:37:21.259786 100.00% [DEBUG] mod_sofia.c:158 sofia/default/27876303971@196.31.25.86 SOFIA ROUTING
  54. 2023-03-29 10:37:21.259786 100.00% [DEBUG] switch_core_state_machine.c:230 sofia/default/27876303971@196.31.25.86 Standard ROUTING
  55. 2023-03-29 10:37:21.259786 100.00% [INFO] mod_dialplan_xml.c:639 Processing 27876303971 <27876303971>->27876304009 in context default
  56. 2023-03-29 10:37:21.259786 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  57. 2023-03-29 10:37:21.279782 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  58. 2023-03-29 10:37:21.279782 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')                                                                                                                
  59. 2023-03-29 10:37:21.279782 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  60. 2023-03-29 10:37:21.279782 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 27876304009
  61. 2023-03-29 10:37:21.279782 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '27876304009' AND status=0 limit 1                                                                                                                                                        
  62. 2023-03-29 10:37:21.279782 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+GoldtelASTPPv5JB1
  63. 2023-03-29 10:37:21.279782 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  64. 2023-03-29 10:37:21.279782 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '27876304009' limit 1                                                                                                                                                                  
  65. 2023-03-29 10:37:21.279782 100.00% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  66. 2023-03-29 10:37:21.279782 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : "27876303971" / 27876303971
  67. 2023-03-29 10:37:21.279782 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 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                                                                                                                                                        
  68. 2023-03-29 10:37:21.279782 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  69. 2023-03-29 10:37:21.279782 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  70. 2023-03-29 10:37:21.279782 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 196.31.25.91
  71. 2023-03-29 10:37:21.279782 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3786491283]
  72. 2023-03-29 10:37:21.279782 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3786491283" AND deleted = 0 limit 1
  73. 2023-03-29 10:37:21.279782 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =161
  74. 2023-03-29 10:37:21.279782 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="27876304009" AND (accountid = 0 OR status = 1) LIMIT 1                                                                                                                                                                  
  75. 2023-03-29 10:37:21.279782 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  76. 2023-03-29 10:37:21.279782 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 161
  77. 2023-03-29 10:37:21.279782 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 = '^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                                                
  78. 2023-03-29 10:37:21.299783 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 ="27876304009" AND A.accountid = '159' limit 1                                                                                
  79. 2023-03-29 10:37:21.299783 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 27876304009
  80. 2023-03-29 10:37:21.299783 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 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                                                                                                                                                        
  81. 2023-03-29 10:37:21.299783 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  82. 2023-03-29 10:37:21.299783 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  83. 2023-03-29 10:37:21.299783 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 = '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                                                                            
  84. 2023-03-29 10:37:21.299783 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  85. 2023-03-29 10:37:21.299783 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 = '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                                                                                                                                  
  86. 2023-03-29 10:37:21.299783 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  87. 2023-03-29 10:37:21.299783 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 159
  88. 2023-03-29 10:37:21.299783 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3786491283
  89. 2023-03-29 10:37:21.299783 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =161
  90. 2023-03-29 10:37:21.299783 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 100
  91. 2023-03-29 10:37:21.299783 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  92. 2023-03-29 10:37:21.299783 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  93. 2023-03-29 10:37:21.299783 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  94. 2023-03-29 10:37:21.299783 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  95. 2023-03-29 10:37:21.299783 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  96. 2023-03-29 10:37:21.299783 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  97. 2023-03-29 10:37:21.299783 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 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                                                                                                                                                        
  98. 2023-03-29 10:37:21.299783 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  99. 2023-03-29 10:37:21.299783 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  100. 2023-03-29 10:37:21.299783 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  101. 2023-03-29 10:37:21.299783 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 33
  102. 2023-03-29 10:37:21.299783 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  103. 2023-03-29 10:37:21.299783 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  104. 2023-03-29 10:37:21.299783 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  105. 2023-03-29 10:37:21.299783 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 27876304009
  106. 2023-03-29 10:37:21.299783 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 171
  107. 2023-03-29 10:37:21.299783 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 159
  108. 2023-03-29 10:37:21.299783 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  109. 2023-03-29 10:37:21.299783 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =161
  110. 2023-03-29 10:37:21.299783 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your100 balance Accountid 159 !!!
  111. 2023-03-29 10:37:21.299783 100.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  112. 2023-03-29 10:37:21.299783 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  113. 2023-03-29 10:37:21.299783 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  114. 2023-03-29 10:37:21.299783 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  115. 2023-03-29 10:37:21.299783 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 = 159 AND status=0 LIMIT 1                                                                                                        
  116. 2023-03-29 10:37:21.299783 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "161" AND deleted = 0 limit 1
  117. 2023-03-29 10:37:21.299783 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =161
  118. 2023-03-29 10:37:21.299783 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:159
  119. 2023-03-29 10:37:21.299783 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:159
  120. 2023-03-29 10:37:21.299783 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 159
  121. 2023-03-29 10:37:21.299783 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  122. 2023-03-29 10:37:21.299783 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  123. 2023-03-29 10:37:21.299783 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  124. 2023-03-29 10:37:21.299783 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 161  and status = 0 limit 1
  125. 2023-03-29 10:37:21.299783 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_6
  126. 2023-03-29 10:37:21.299783 100.00% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Inbound Dialplan
  127. 2023-03-29 10:37:21.299783 100.00% [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-03-29 08:37:21"/>                                                                                                            
  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 CURRENCY PRONOUNCED 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|||CustomerZeroZeroZeroOne(6613105314)|||||||||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/a195597b-cd96-454d-8f07-9de911c8eb81-FAX.tif 6613105314 Dimension+Data_ tushar.makavana@inextrix.com /var/www/html/astpp/attachments/a195597b-cd96-454d-8f07-9de911c8eb81-FAX.pdf tushar.makavana@inextrix.com 27876304009 27876303971"/>                                                                                                                                              
  186. <action application="rxfax" data="/var/www/html/astpp/FAX/receive_fax_files/a195597b-cd96-454d-8f07-9de911c8eb81-FAX.tif"/>                                                
  187. <action application="hangup"/>                                                                                                                                              
  188. </condition>                                                                                                                                                                
  189. </extension>                                                                                                                                                                
  190. </context>                                                                                                                                                                  
  191. </section>                                                                                                                                                                  
  192. </document>                                                                                                                                                                
  193. Dialplan: sofia/default/27876303971@196.31.25.86 parsing [default->27876304009] continue=false
  194. Dialplan: sofia/default/27876303971@196.31.25.86 Regex (PASS) [27876304009] destination_number(27876304009) =~ /27876304009/ break=on-false
  195. Dialplan: sofia/default/27876303971@196.31.25.86 Action set(effective_destination_number=27876304009)
  196. Dialplan: sofia/default/27876303971@196.31.25.86 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  197. Dialplan: sofia/default/27876303971@196.31.25.86 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  198. Dialplan: sofia/default/27876303971@196.31.25.86 Action set(notify_flag=0)
  199. Dialplan: sofia/default/27876303971@196.31.25.86 Action set(notify_credit_limit=1.00000)
  200. Dialplan: sofia/default/27876303971@196.31.25.86 Action set(type=3)
  201. Dialplan: sofia/default/27876303971@196.31.25.86 Action set(callstart=2023-03-29 08:37:21)
  202. Dialplan: sofia/default/27876303971@196.31.25.86 Action set(hangup_after_bridge=true)
  203. Dialplan: sofia/default/27876303971@196.31.25.86 Action set(continue_on_fail=TRUE)
  204. Dialplan: sofia/default/27876303971@196.31.25.86 Action set(account_id=159)
  205. Dialplan: sofia/default/27876303971@196.31.25.86 Action set(parent_id=0)
  206. Dialplan: sofia/default/27876303971@196.31.25.86 Action set(entity_id=3)
  207. Dialplan: sofia/default/27876303971@196.31.25.86 Action set(call_processed=internal)
  208. Dialplan: sofia/default/27876303971@196.31.25.86 Action set(call_direction=inbound)
  209. Dialplan: sofia/default/27876303971@196.31.25.86 Action set(accountname=default)
  210. Dialplan: sofia/default/27876303971@196.31.25.86 Action export(t38_passthru=true)
  211. Dialplan: sofia/default/27876303971@196.31.25.86 Action set(fax_enable_t38=true)
  212. Dialplan: sofia/default/27876303971@196.31.25.86 Action set(fax_enable_t38_request=true)
  213. Dialplan: sofia/default/27876303971@196.31.25.86 Action set(filename1=astpp.pbx.lua)
  214. Dialplan: sofia/default/27876303971@196.31.25.86 Action sleep(1000)
  215. Dialplan: sofia/default/27876303971@196.31.25.86 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.86 Action set(ringback=%(2000,4000,440.0,480.0))
  217. Dialplan: sofia/default/27876303971@196.31.25.86 Action say(en CURRENCY PRONOUNCED 1001.95)
  218. Dialplan: sofia/default/27876303971@196.31.25.86 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.86 Action set(origination_rates=0)
  220. Dialplan: sofia/default/27876303971@196.31.25.86 Action set(original_caller_id_name=)
  221. Dialplan: sofia/default/27876303971@196.31.25.86 Action set(original_caller_id_number=27876303971)
  222. Dialplan: sofia/default/27876303971@196.31.25.86 Action limit(db 3786491283 user_3786491283 10 )
  223. Dialplan: sofia/default/27876303971@196.31.25.86 Action export(is_recording=1)
  224. Dialplan: sofia/default/27876303971@196.31.25.86 Action export(media_bug_answer_req=true)
  225. Dialplan: sofia/default/27876303971@196.31.25.86 Action export(record_sample_rate=8000)
  226. Dialplan: sofia/default/27876303971@196.31.25.86 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  227. Dialplan: sofia/default/27876303971@196.31.25.86 Action set(effective_caller_id_name=)
  228. Dialplan: sofia/default/27876303971@196.31.25.86 Action set(effective_caller_id_number=27876303971)
  229. Dialplan: sofia/default/27876303971@196.31.25.86 Action set(receiver_accid=161)
  230. Dialplan: sofia/default/27876303971@196.31.25.86 Action export(domain_name=)
  231. Dialplan: sofia/default/27876303971@196.31.25.86 Action export(sip_to_host=)
  232. Dialplan: sofia/default/27876303971@196.31.25.86 Action export(presence_data=x|||CustomerZeroZeroZeroOne(6613105314)|||||||||DID|||196.31.25.91)
  233. Dialplan: sofia/default/27876303971@196.31.25.86 Action export(call_type=6)
  234. Dialplan: sofia/default/27876303971@196.31.25.86 Action set(calltype=FAX)
  235. Dialplan: sofia/default/27876303971@196.31.25.86 Action answer()
  236. Dialplan: sofia/default/27876303971@196.31.25.86 Action set(callfax=true)
  237. Dialplan: sofia/default/27876303971@196.31.25.86 Action playback(silence_stream://2000)
  238. Dialplan: sofia/default/27876303971@196.31.25.86 Action set(fax_enable_t38_request=true)
  239. Dialplan: sofia/default/27876303971@196.31.25.86 Action set(sip_require_timer=false)
  240. Dialplan: sofia/default/27876303971@196.31.25.86 Action set(call_request=6)
  241. Dialplan: sofia/default/27876303971@196.31.25.86 Action set(module_name=apfax)
  242. Dialplan: sofia/default/27876303971@196.31.25.86 Action set(fax_transfer_rate=9600)
  243. Dialplan: sofia/default/27876303971@196.31.25.86 Action set(fax_use_ecm=false)
  244. Dialplan: sofia/default/27876303971@196.31.25.86 Action set(fax_v17_disabled=false)
  245. Dialplan: sofia/default/27876303971@196.31.25.86 Action set(fax_disable_v17=true)
  246. Dialplan: sofia/default/27876303971@196.31.25.86 Action set(fax_enable_t38=true)
  247. Dialplan: sofia/default/27876303971@196.31.25.86 Action set(api_hangup_hook=system /var/www/html/astpp/FAX/scripts/emailfax.sh /var/www/html/astpp/FAX/receive_fax_files/a195597b-cd96-454d-8f07-9de911c8eb81-FAX.tif 6613105314 Dimension+Data_ tushar.makavana@inextrix.com /var/www/html/astpp/attachments/a195597b-cd96-454d-8f07-9de911c8eb81-FAX.pdf tushar.makavana@inextrix.com 27876304009 27876303971)                                                                                                                    
  248. Dialplan: sofia/default/27876303971@196.31.25.86 Action rxfax(/var/www/html/astpp/FAX/receive_fax_files/a195597b-cd96-454d-8f07-9de911c8eb81-FAX.tif)
  249. Dialplan: sofia/default/27876303971@196.31.25.86 Action hangup()
  250. 2023-03-29 10:37:21.319782 100.00% [DEBUG] switch_core_state_machine.c:281 (sofia/default/27876303971@196.31.25.86) State Change CS_ROUTING -> CS_EXECUTE
  251. 2023-03-29 10:37:21.319782 100.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876303971@196.31.25.86) State ROUTING going to sleep
  252. 2023-03-29 10:37:21.319782 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876303971@196.31.25.86) Running State Change CS_EXECUTE (Cur 1 Tot 119255)
  253. 2023-03-29 10:37:21.319782 100.00% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27876303971@196.31.25.86) State EXECUTE
  254. 2023-03-29 10:37:21.319782 100.00% [DEBUG] mod_sofia.c:213 sofia/default/27876303971@196.31.25.86 SOFIA EXECUTE
  255. 2023-03-29 10:37:21.319782 100.00% [DEBUG] switch_core_state_machine.c:323 sofia/default/27876303971@196.31.25.86 Standard EXECUTE
  256. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 set(effective_destination_number=27876304009)
  257. 2023-03-29 10:37:21.319782 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.86 [effective_destination_number]=[27876304009]
  258. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 set(bridge_pre_execute_bleg_app=sched_hangup)
  259. 2023-03-29 10:37:21.319782 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.86 [bridge_pre_execute_bleg_app]=[sched_hangup]
  260. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  261. 2023-03-29 10:37:21.319782 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.86 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  262. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 set(notify_flag=0)
  263. 2023-03-29 10:37:21.319782 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.86 [notify_flag]=[0]
  264. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 set(notify_credit_limit=1.00000)
  265. 2023-03-29 10:37:21.319782 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.86 [notify_credit_limit]=[1.00000]
  266. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 set(type=3)
  267. 2023-03-29 10:37:21.319782 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.86 [type]=[3]
  268. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 set(callstart=2023-03-29 08:37:21)
  269. 2023-03-29 10:37:21.319782 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.86 [callstart]=[2023-03-29 08:37:21]
  270. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 set(hangup_after_bridge=true)
  271. 2023-03-29 10:37:21.319782 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.86 [hangup_after_bridge]=[true]
  272. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 set(continue_on_fail=TRUE)
  273. 2023-03-29 10:37:21.319782 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.86 [continue_on_fail]=[TRUE]
  274. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 set(account_id=159)
  275. 2023-03-29 10:37:21.319782 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.86 [account_id]=[159]
  276. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 set(parent_id=0)
  277. 2023-03-29 10:37:21.319782 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.86 [parent_id]=[0]
  278. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 set(entity_id=3)
  279. 2023-03-29 10:37:21.319782 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.86 [entity_id]=[3]
  280. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 set(call_processed=internal)
  281. 2023-03-29 10:37:21.319782 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.86 [call_processed]=[internal]
  282. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 set(call_direction=inbound)
  283. 2023-03-29 10:37:21.319782 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.86 [call_direction]=[inbound]
  284. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 set(accountname=default)
  285. 2023-03-29 10:37:21.319782 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.86 [accountname]=[default]
  286. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 export(t38_passthru=true)
  287. 2023-03-29 10:37:21.319782 100.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true]
  288. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 set(fax_enable_t38=true)
  289. 2023-03-29 10:37:21.319782 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.86 [fax_enable_t38]=[true]
  290. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 set(fax_enable_t38_request=true)
  291. 2023-03-29 10:37:21.319782 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.86 [fax_enable_t38_request]=[true]
  292. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 set(filename1=astpp.pbx.lua)
  293. 2023-03-29 10:37:21.319782 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.86 [filename1]=[astpp.pbx.lua]
  294. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 sleep(1000)
  295. 2023-03-29 10:37:22.319786 99.97% [DEBUG] switch_core_session.c:2795 Application playback Requires media! pre_answering channel sofia/default/27876303971@196.31.25.86
  296. 2023-03-29 10:37:22.319786 99.97% [INFO] switch_core_session.c:2797 Sending early media
  297. 2023-03-29 10:37:22.319786 99.97% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/27876303971@196.31.25.86] 102.220.232.19 port 27196 -> 196.31.25.86 port 24520 codec: 18 ms: 20                                                                                                                                                            
  298. 2023-03-29 10:37:22.319786 99.97% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  299. 2023-03-29 10:37:22.319786 99.97% [DEBUG] switch_core_media.c:9089 sofia/default/27876303971@196.31.25.86 Set 2833 dtmf send payload to 101
  300. 2023-03-29 10:37:22.319786 99.97% [DEBUG] switch_core_media.c:9096 sofia/default/27876303971@196.31.25.86 Set 2833 dtmf receive payload to 101
  301. 2023-03-29 10:37:22.319786 99.97% [DEBUG] switch_core_media.c:9119 sofia/default/27876303971@196.31.25.86 Set rtp dtmf delay to 40
  302. 2023-03-29 10:37:22.319786 99.97% [DEBUG] mod_sofia.c:2610 Ring SDP:
  303. v=0                                                                                                                                                                        
  304. o=FreeSWITCH 1680051846 1680051847 IN IP4 102.220.232.19                                                                                                                    
  305. s=FreeSWITCH                                                                                                                                                                
  306. c=IN IP4 102.220.232.19                                                                                                                                                    
  307. t=0 0                                                                                                                                                                      
  308. m=audio 27196 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-03-29 10:37:22.319786 99.97% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/27876303971@196.31.25.86!
  317. 2023-03-29 10:37:22.319786 99.97% [DEBUG] switch_channel.c:3622 (sofia/default/27876303971@196.31.25.86) Callstate Change RINGING -> EARLY
  318. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav)
  319. 2023-03-29 10:37:22.319786 99.97% [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-03-29 10:37:22.319786 99.97% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  321. 2023-03-29 10:37:22.319786 99.97% [DEBUG] sofia.c:7499 Channel sofia/default/27876303971@196.31.25.86 entering state [early][183]
  322. 2023-03-29 10:37:22.459785 99.97% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  323. 2023-03-29 10:37:23.639786 99.97% [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.86 set(ringback=%(2000,4000,440.0,480.0))
  325. 2023-03-29 10:37:23.639786 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.86 [ringback]=[%(2000,4000,440.0,480.0)]
  326. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 say(en CURRENCY PRONOUNCED 1001.95)
  327. 2023-03-29 10:37:23.639786 99.97% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  328. 2023-03-29 10:37:27.579785 99.97% [DEBUG] switch_ivr_play_say.c:2001 done playing file file_string://digits/1.wav!digits/thousand.wav!digits/1.wav!currency/dollars.wav!currency/and.wav!digits/90.wav!digits/5.wav!currency/cents.wav                                                                                                                  
  329. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 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-03-29 10:37:27.579785 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.86 [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.86 set(origination_rates=0)
  332. 2023-03-29 10:37:27.579785 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.86 [origination_rates]=[0]
  333. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 set(original_caller_id_name=)
  334. 2023-03-29 10:37:27.579785 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.86 [original_caller_id_name]=[UNDEF]
  335. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 set(original_caller_id_number=27876303971)
  336. 2023-03-29 10:37:27.579785 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.86 [original_caller_id_number]=[27876303971]
  337. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 limit(db 3786491283 user_3786491283 10 )
  338. 2023-03-29 10:37:27.579785 99.97% [DEBUG] switch_limit.c:124 incr called: 3786491283_user_3786491283 max:10, interval:0
  339. 2023-03-29 10:37:27.579785 99.97% [DEBUG] mod_db.c:194 Usage for 3786491283_user_3786491283 is now 1/10
  340. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 export(is_recording=1)
  341. 2023-03-29 10:37:27.579785 99.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  342. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 export(media_bug_answer_req=true)
  343. 2023-03-29 10:37:27.579785 99.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  344. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 export(record_sample_rate=8000)
  345. 2023-03-29 10:37:27.579785 99.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  346. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 export(execute_on_answer=record_session /usr/local/freeswitch/recordings/a195597b-cd96-454d-8f07-9de911c8eb81.wav)
  347. 2023-03-29 10:37:27.579785 99.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/a195597b-cd96-454d-8f07-9de911c8eb81.wav]                                                                                                                                                    
  348. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 set(effective_caller_id_name=)
  349. 2023-03-29 10:37:27.579785 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.86 [effective_caller_id_name]=[UNDEF]
  350. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 set(effective_caller_id_number=27876303971)
  351. 2023-03-29 10:37:27.579785 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.86 [effective_caller_id_number]=[27876303971]
  352. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 set(receiver_accid=161)
  353. 2023-03-29 10:37:27.579785 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.86 [receiver_accid]=[161]
  354. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 export(domain_name=)
  355. 2023-03-29 10:37:27.579785 99.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[UNDEF]
  356. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 export(sip_to_host=)
  357. 2023-03-29 10:37:27.579785 99.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[UNDEF]
  358. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 export(presence_data=x|||CustomerZeroZeroZeroOne(6613105314)|||||||||DID|||196.31.25.91)
  359. 2023-03-29 10:37:27.579785 99.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||CustomerZeroZeroZeroOne(6613105314)|||||||||DID|||196.31.25.91]
  360. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 export(call_type=6)
  361. 2023-03-29 10:37:27.579785 99.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[6]
  362. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 set(calltype=FAX)
  363. 2023-03-29 10:37:27.579785 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.86 [calltype]=[FAX]
  364. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 answer()
  365. 2023-03-29 10:37:27.579785 99.97% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/27876303971@196.31.25.86.
  366. 2023-03-29 10:37:27.579785 99.97% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/27876303971@196.31.25.86:
  367. v=0                                                                                                                                                                        
  368. o=FreeSWITCH 1680051846 1680051848 IN IP4 102.220.232.19                                                                                                                    
  369. s=FreeSWITCH                                                                                                                                                                
  370. c=IN IP4 102.220.232.19                                                                                                                                                    
  371. t=0 0                                                                                                                                                                      
  372. m=audio 27196 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-03-29 10:37:27.579785 99.97% [NOTICE] mod_dptools.c:1419 Channel [sofia/default/27876303971@196.31.25.86] has been answered
  381. 2023-03-29 10:37:27.579785 99.97% [DEBUG] sofia.c:7499 Channel sofia/default/27876303971@196.31.25.86 entering state [completed][200]
  382. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 record_session(/usr/local/freeswitch/recordings/a195597b-cd96-454d-8f07-9de911c8eb81.wav)
  383. 2023-03-29 10:37:27.599783 99.97% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  384. 2023-03-29 10:37:27.599783 99.97% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/27876303971@196.31.25.86
  385. 2023-03-29 10:37:27.599783 99.97% [DEBUG] switch_channel.c:3950 (sofia/default/27876303971@196.31.25.86) Callstate Change EARLY -> ACTIVE
  386. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 set(callfax=true)
  387. 2023-03-29 10:37:27.599783 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.86 [callfax]=[true]
  388. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 playback(silence_stream://2000)
  389. 2023-03-29 10:37:27.599783 99.97% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  390. 2023-03-29 10:37:27.599783 99.97% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  391. 2023-03-29 10:37:27.659786 99.97% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  392. 2023-03-29 10:37:27.659786 99.97% [DEBUG] switch_core_io.c:448 Setting BUG Codec G729:18
  393. 2023-03-29 10:37:29.579785 99.97% [DEBUG] switch_ivr_play_say.c:2001 done playing file silence_stream://2000
  394. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 set(fax_enable_t38_request=true)
  395. 2023-03-29 10:37:29.579785 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.86 [fax_enable_t38_request]=[true]
  396. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 set(sip_require_timer=false)
  397. 2023-03-29 10:37:29.579785 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.86 [sip_require_timer]=[false]
  398. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 set(call_request=6)
  399. 2023-03-29 10:37:29.579785 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.86 [call_request]=[6]
  400. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 set(module_name=apfax)
  401. 2023-03-29 10:37:29.579785 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.86 [module_name]=[apfax]
  402. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 set(fax_transfer_rate=9600)
  403. 2023-03-29 10:37:29.579785 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.86 [fax_transfer_rate]=[9600]
  404. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 set(fax_use_ecm=false)
  405. 2023-03-29 10:37:29.579785 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.86 [fax_use_ecm]=[false]
  406. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 set(fax_v17_disabled=false)
  407. 2023-03-29 10:37:29.579785 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.86 [fax_v17_disabled]=[false]
  408. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 set(fax_disable_v17=true)
  409. 2023-03-29 10:37:29.579785 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.86 [fax_disable_v17]=[true]
  410. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 set(fax_enable_t38=true)
  411. 2023-03-29 10:37:29.579785 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.86 [fax_enable_t38]=[true]
  412. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 set(api_hangup_hook=system /var/www/html/astpp/FAX/scripts/emailfax.sh /var/www/html/astpp/FAX/receive_fax_files/a195597b-cd96-454d-8f07-9de911c8eb81-FAX.tif 6613105314 Dimension+Data_ tushar.makavana@inextrix.com /var/www/html/astpp/attachments/a195597b-cd96-454d-8f07-9de911c8eb81-FAX.pdf tushar.makavana@inextrix.com 27876304009 27876303971)                                                                                                                  
  413. 2023-03-29 10:37:29.579785 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303971@196.31.25.86 [api_hangup_hook]=[system /var/www/html/astpp/FAX/scripts/emailfax.sh /var/www/html/astpp/FAX/receive_fax_files/a195597b-cd96-454d-8f07-9de911c8eb81-FAX.tif 6613105314 Dimension+Data_ tushar.makavana@inextrix.com /var/www/html/astpp/attachments/a195597b-cd96-454d-8f07-9de911c8eb81-FAX.pdf tushar.makavana@inextrix.com 27876304009 27876303971]                                                                    
  414. EXECUTE [depth=0] sofia/default/27876303971@196.31.25.86 rxfax(/var/www/html/astpp/FAX/receive_fax_files/a195597b-cd96-454d-8f07-9de911c8eb81-FAX.tif)
  415. 2023-03-29 10:37:29.579785 99.97% [DEBUG] mod_spandsp_fax.c:1610 Raw read codec activation Success L16 20000
  416. 2023-03-29 10:37:29.579785 99.97% [DEBUG] switch_core_codec.c:223 sofia/default/27876303971@196.31.25.86 Push codec L16:100
  417. 2023-03-29 10:37:29.579785 99.97% [DEBUG] mod_spandsp_fax.c:1628 Raw write codec activation Success L16
  418. 2023-03-29 10:37:30.839786 99.93% [DEBUG] switch_core_media.c:12065 sofia/default/27876303971@196.31.25.86 image media sdp:
  419. v=0                                                                                                                                                                        
  420. o=FreeSWITCH 1680051846 1680051849 IN IP4 102.220.232.19                                                                                                                    
  421. s=FreeSWITCH                                                                                                                                                                
  422. c=IN IP4 102.220.232.19                                                                                                                                                    
  423. t=0 0                                                                                                                                                                      
  424. m=image 27196 udptl t38                                                                                                                                                    
  425. a=T38FaxVersion:0                                                                                                                                                          
  426. a=T38MaxBitRate:9600                                                                                                                                                        
  427. a=T38FaxFillBitRemoval                                                                                                                                                      
  428. a=T38FaxRateManagement:transferredTCF                                                                                                                                      
  429. a=T38FaxMaxBuffer:2000                                                                                                                                                      
  430. a=T38FaxMaxDatagram:400                                                                                                                                                    
  431. a=T38FaxUdpEC:t38UDPRedundancy                                                                                                                                              
  432.  
  433. 2023-03-29 10:37:30.839786 99.93% [INFO] sofia_glue.c:1651 sofia/default/27876303971@196.31.25.86 sending invite call-id: (null)
  434. 2023-03-29 10:37:30.839786 99.93% [DEBUG] sofia_glue.c:1654 sofia/default/27876303971@196.31.25.86 sending invite version: 1.10.7 -release 64bit
  435. Local SDP:                                                                                                                                                                  
  436. v=0                                                                                                                                                                        
  437. o=FreeSWITCH 1680051846 1680051849 IN IP4 102.220.232.19                                                                                                                    
  438. s=FreeSWITCH                                                                                                                                                                
  439. c=IN IP4 102.220.232.19                                                                                                                                                    
  440. t=0 0                                                                                                                                                                      
  441. m=image 27196 udptl t38                                                                                                                                                    
  442. a=T38FaxVersion:0                                                                                                                                                          
  443. a=T38MaxBitRate:9600                                                                                                                                                        
  444. a=T38FaxFillBitRemoval                                                                                                                                                      
  445. a=T38FaxRateManagement:transferredTCF                                                                                                                                      
  446. a=T38FaxMaxBuffer:2000                                                                                                                                                      
  447. a=T38FaxMaxDatagram:400                                                                                                                                                    
  448. a=T38FaxUdpEC:t38UDPRedundancy                                                                                                                                              
  449.  
  450. 2023-03-29 10:37:30.839786 99.93% [DEBUG] sofia.c:7499 Channel sofia/default/27876303971@196.31.25.86 entering state [calling][0]
  451. 2023-03-29 10:37:30.919785 99.93% [DEBUG] sofia.c:7499 Channel sofia/default/27876303971@196.31.25.86 entering state [completing][200]
  452. 2023-03-29 10:37:30.919785 99.93% [DEBUG] sofia.c:7509 Remote SDP:
  453. v=0                                                                                                                                                                        
  454. o=FreeSWITCH 1680054519 1680054521 IN IP4 196.31.25.86                                                                                                                      
  455. s=FreeSWITCH                                                                                                                                                                
  456. c=IN IP4 196.31.25.86                                                                                                                                                      
  457. t=0 0                                                                                                                                                                      
  458. m=image 24520 udptl t38                                                                                                                                                    
  459. a=T38FaxVersion:0                                                                                                                                                          
  460. a=T38MaxBitRate:9600                                                                                                                                                        
  461. a=T38FaxFillBitRemoval                                                                                                                                                      
  462. a=T38FaxRateManagement:transferredTCF                                                                                                                                      
  463. a=T38FaxMaxBuffer:2000                                                                                                                                                      
  464. a=T38FaxMaxDatagram:400                                                                                                                                                    
  465. a=T38FaxUdpEC:t38UDPRedundancy                                                                                                                                              
  466.  
  467. 2023-03-29 10:37:30.939786 99.93% [DEBUG] sofia.c:7499 Channel sofia/default/27876303971@196.31.25.86 entering state [ready][200]
  468. 2023-03-29 10:37:30.939786 99.93% [DEBUG] switch_core_media.c:5241 sofia/default/27876303971@196.31.25.86 T38 ACCEPT on response
  469. 2023-03-29 10:37:30.939786 99.93% [DEBUG] switch_core_media.c:5345 sofia/default/27876303971@196.31.25.86 T38 IS POSSIBLE on response
  470. 2023-03-29 10:37:30.939786 99.93% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/27876303971@196.31.25.86.
  471. 2023-03-29 10:37:30.959782 99.93% [DEBUG] switch_core_media.c:12494 Remote address:port [196.31.25.86:24520] has not changed.
  472. 2023-03-29 10:37:30.959782 99.93% [DEBUG] switch_core_media.c:12494 Remote address:port [196.31.25.86:24520] has not changed.
  473. 2023-03-29 10:37:38.499786 99.93% [INFO] mod_spandsp_fax.c:360 === Negotiation Result =======================================================
  474. Remote station id:                                                                                                                                                          
  475. Local station id:  SpanDSP Fax Ident                                                                                                                                        
  476. Transfer Rate:     9600                                                                                                                                                    
  477. ECM status         off                                                                                                                                                      
  478. T38 status         negotiated                                                                                                                                              
  479. remote country:                                                                                                                                                            
  480. remote vendor:                                                                                                                                                              
  481. remote model:                                                                                                                                                              
  482. ==============================================================================                                                                                              
  483. freeswitch@ss1-jb1>
  484. freeswitch@ss1-jb1>
  485. freeswitch@ss1-jb1>
  486. freeswitch@ss1-jb1>
  487. freeswitch@ss1-jb1>
  488. freeswitch@ss1-jb1>
  489. 2023-03-29 10:37:58.559785 99.97% [INFO] mod_spandsp_fax.c:496 ==== Page Received ===========================================================
  490. Page no = 1                                                                                                                                                                
  491. Image type = bi-level (bi-level in the file)                                                                                                                                
  492. Image size = 1728 x 1141 pixels (1728 x 1141 pixels in the file)                                                                                                            
  493. Image resolution = 8040/m x 3850/m (8040/m x 3850/m in the file)                                                                                                            
  494. Compression = T.4 1-D (2)                                                                                                                                                  
  495. Compressed image size = 16422 bytes                                                                                                                                        
  496. Bad rows = 0                                                                                                                                                                
  497. Longest bad row run = 0                                                                                                                                                    
  498. ==============================================================================                                                                                              
  499. 2023-03-29 10:37:59.579785 99.97% [DEBUG] sofia.c:7499 Channel sofia/default/27876303971@196.31.25.86 entering state [terminating][0]
  500. 2023-03-29 10:37:59.579785 99.97% [NOTICE] sofia.c:8738 Hangup sofia/default/27876303971@196.31.25.86 [CS_EXECUTE] [NORMAL_UNSPECIFIED]
  501. 2023-03-29 10:37:59.579785 99.97% [INFO] mod_spandsp_fax.c:596 ==============================================================================
  502. Fax successfully received.                                                                                                                                                  
  503. Remote station id:                                                                                                                                                          
  504. Local station id:  SpanDSP Fax Ident                                                                                                                                        
  505. Pages transferred: 1                                                                                                                                                        
  506. Total fax pages:   1                                                                                                                                                        
  507. Image resolution:  8040x3850                                                                                                                                                
  508. Transfer Rate:     9600                                                                                                                                                    
  509. ECM status         off
  510. T38 status         negotiated
  511. remote country:    
  512. remote vendor:    
  513. remote model:      
  514. ==============================================================================
  515. 2023-03-29 10:37:59.579785 99.97% [DEBUG] switch_core_codec.c:248 sofia/default/27876303971@196.31.25.86 Restore previous codec G729:18.
  516. 2023-03-29 10:37:59.579785 99.97% [DEBUG] switch_core_session.c:2983 sofia/default/27876303971@196.31.25.86 skip receive message [PHONE_EVENT] (channel is hungup already)
  517. 2023-03-29 10:37:59.579785 99.97% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27876303971@196.31.25.86) State EXECUTE going to sleep
  518. 2023-03-29 10:37:59.579785 99.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876303971@196.31.25.86) Running State Change CS_HANGUP (Cur 1 Tot 119255)
  519. 2023-03-29 10:37:59.579785 99.97% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/a195597b-cd96-454d-8f07-9de911c8eb81.wav
  520. 2023-03-29 10:37:59.579785 99.97% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  521. 2023-03-29 10:37:59.579785 99.97% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/27876303971@196.31.25.86
  522. 2023-03-29 10:37:59.579785 99.97% [DEBUG] switch_core_state_machine.c:844 (sofia/default/27876303971@196.31.25.86) Callstate Change ACTIVE -> HANGUP
  523. 2023-03-29 10:37:59.579785 99.97% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876303971@196.31.25.86) State HANGUP
  524. 2023-03-29 10:37:59.579785 99.97% [DEBUG] mod_sofia.c:468 Channel sofia/default/27876303971@196.31.25.86 hanging up, cause: NORMAL_UNSPECIFIED
  525. 2023-03-29 10:37:59.579785 99.97% [DEBUG] switch_core_state_machine.c:59 sofia/default/27876303971@196.31.25.86 Standard HANGUP, cause: NORMAL_UNSPECIFIED
  526. 2023-03-29 10:37:59.579785 99.97% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876303971@196.31.25.86) State HANGUP going to sleep
  527. 2023-03-29 10:37:59.619782 99.97% [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/a195597b-cd96-454d-8f07-9de911c8eb81-FAX.tif 6613105314 Dimension+Data_ tushar.makavana@inextrix.com /var/www/html/astpp/attachments/a195597b-cd96-454d-8f07-9de911c8eb81-FAX.pdf tushar.makavana@inextrix.com 27876304009 27876303971):
  528.  
  529. 2023-03-29 10:37:59.619782 99.97% [DEBUG] switch_core_state_machine.c:616 (sofia/default/27876303971@196.31.25.86) State Change CS_HANGUP -> CS_REPORTING
  530. 2023-03-29 10:37:59.619782 99.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876303971@196.31.25.86) Running State Change CS_REPORTING (Cur 1 Tot 119255)
  531. 2023-03-29 10:37:59.619782 99.97% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876303971@196.31.25.86) State REPORTING
  532. 2023-03-29 10:37:59.619782 99.97% [INFO] mod_json_cdr.c:271 Process [a195597b-cd96-454d-8f07-9de911c8eb81.cdr.json]
  533. 2023-03-29 10:37:59.639782 99.97% [DEBUG] switch_core_state_machine.c:168 sofia/default/27876303971@196.31.25.86 Standard REPORTING, cause: NORMAL_UNSPECIFIED
  534. 2023-03-29 10:37:59.639782 99.97% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876303971@196.31.25.86) State REPORTING going to sleep
  535. 2023-03-29 10:37:59.639782 99.97% [DEBUG] switch_core_state_machine.c:607 (sofia/default/27876303971@196.31.25.86) State Change CS_REPORTING -> CS_DESTROY
  536. 2023-03-29 10:37:59.639782 99.97% [DEBUG] switch_core_session.c:1753 Session 119255 (sofia/default/27876303971@196.31.25.86) Locked, Waiting on external entities
  537. 2023-03-29 10:37:59.639782 99.97% [NOTICE] switch_core_session.c:1771 Session 119255 (sofia/default/27876303971@196.31.25.86) Ended
  538. 2023-03-29 10:37:59.639782 99.97% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/27876303971@196.31.25.86 [CS_DESTROY]
  539. 2023-03-29 10:37:59.639782 99.97% [DEBUG] switch_core_state_machine.c:735 (sofia/default/27876303971@196.31.25.86) Running State Change CS_DESTROY (Cur 0 Tot 119255)
  540. 2023-03-29 10:37:59.639782 99.97% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876303971@196.31.25.86) State DESTROY
  541. 2023-03-29 10:37:59.639782 99.97% [DEBUG] mod_sofia.c:379 sofia/default/27876303971@196.31.25.86 SOFIA DESTROY
  542. 2023-03-29 10:37:59.639782 99.97% [DEBUG] switch_core_state_machine.c:175 sofia/default/27876303971@196.31.25.86 Standard DESTROY
  543. 2023-03-29 10:37:59.639782 99.97% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876303971@196.31.25.86) State DESTROY going to sleep
  544. freeswitch@ss1-jb1> /exit