From Yash shah, 1 Year ago, written in FreeSWITCH.
- view diff
Embed
  1. span style="color: goldenrod; font-weight: bold;"> 2023-07-26 09:34:16.924386 85.70% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  2. 2023-07-26 09:34:16.924386 85.70% [NOTICE] switch_channel.c:1123 New Channel sofia/default/100512@172.31.38.162:5060 [35547fc9-5f98-43e3-8688-432068373b31]
  3. 2023-07-26 09:34:16.924386 85.70% [DEBUG] mod_sofia.c:5121 (sofia/default/100512@172.31.38.162:5060) State Change CS_NEW -> CS_INIT
  4. 2023-07-26 09:34:16.924386 85.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100512@172.31.38.162:5060) Running State Change CS_INIT (Cur 1 Tot 76)
  5. 2023-07-26 09:34:16.924386 85.70% [DEBUG] switch_core_state_machine.c:624 (sofia/default/100512@172.31.38.162:5060) State INIT
  6. 2023-07-26 09:34:16.924386 85.70% [DEBUG] mod_sofia.c:97 sofia/default/100512@172.31.38.162:5060 SOFIA INIT
  7. 2023-07-26 09:34:16.924386 85.70% [INFO] sofia_glue.c:1651 sofia/default/100512@172.31.38.162:5060 sending invite call-id: (null)
  8. 2023-07-26 09:34:16.924386 85.70% [DEBUG] sofia_glue.c:1654 sofia/default/100512@172.31.38.162:5060 sending invite version: 1.10.7 -release 64bit
  9. Local SDP:
  10. v=0
  11. o=FreeSWITCH 1690344926 1690344927 IN IP4 172.31.38.162
  12. s=FreeSWITCH
  13. c=IN IP4 172.31.38.162
  14. t=0 0
  15. m=audio 19130 RTP/AVP 8 101
  16. a=rtpmap:8 PCMA/8000
  17. a=rtpmap:101 telephone-event/8000
  18. a=fmtp:101 0-15
  19. a=ptime:20
  20. a=sendrecv
  21.  
  22. 2023-07-26 09:34:16.924386 85.70% [DEBUG] switch_core_state_machine.c:40 sofia/default/100512@172.31.38.162:5060 Standard INIT
  23. 2023-07-26 09:34:16.924386 85.70% [DEBUG] switch_core_state_machine.c:48 (sofia/default/100512@172.31.38.162:5060) State Change CS_INIT -> CS_ROUTING
  24. 2023-07-26 09:34:16.924386 85.70% [DEBUG] switch_core_state_machine.c:624 (sofia/default/100512@172.31.38.162:5060) State INIT going to sleep
  25. 2023-07-26 09:34:16.924386 85.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100512@172.31.38.162:5060) Running State Change CS_ROUTING (Cur 1 Tot 76)
  26. 2023-07-26 09:34:16.924386 85.70% [DEBUG] switch_core_state_machine.c:640 (sofia/default/100512@172.31.38.162:5060) State ROUTING
  27. 2023-07-26 09:34:16.924386 85.70% [DEBUG] mod_sofia.c:158 sofia/default/100512@172.31.38.162:5060 SOFIA ROUTING
  28. 2023-07-26 09:34:16.924386 85.70% [DEBUG] switch_ivr_originate.c:67 (sofia/default/100512@172.31.38.162:5060) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  29. 2023-07-26 09:34:16.924386 85.70% [DEBUG] switch_core_state_machine.c:640 (sofia/default/100512@172.31.38.162:5060) State ROUTING going to sleep
  30. 2023-07-26 09:34:16.924386 85.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100512@172.31.38.162:5060) Running State Change CS_CONSUME_MEDIA (Cur 1 Tot 76)
  31. 2023-07-26 09:34:16.924386 85.70% [DEBUG] switch_core_state_machine.c:659 (sofia/default/100512@172.31.38.162:5060) State CONSUME_MEDIA
  32. 2023-07-26 09:34:16.924386 85.70% [DEBUG] switch_core_state_machine.c:659 (sofia/default/100512@172.31.38.162:5060) State CONSUME_MEDIA going to sleep
  33. 2023-07-26 09:34:16.963947 85.70% [NOTICE] switch_channel.c:1123 New Channel sofia/default/100512@172.31.38.162 [faabe4bc-bcca-4a8e-a4bb-1b6336cef263]
  34. 2023-07-26 09:34:16.963947 85.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100512@172.31.38.162) Running State Change CS_NEW (Cur 2 Tot 77)
  35. 2023-07-26 09:34:16.963947 85.70% [INFO] sofia.c:10462 sofia/default/100512@172.31.38.162 receiving invite from 172.31.38.162:5060 version: 1.10.7 -release 64bit call-id: 6e6e632b-a63a-123c-c085-02ba0d891d22
  36. 2023-07-26 09:34:16.963947 85.70% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 172.31.38.162:0.
  37. 2023-07-26 09:34:16.963947 85.70% [DEBUG] sofia.c:7499 Channel sofia/default/100512@172.31.38.162:5060 entering state [calling][0]
  38. 2023-07-26 09:34:16.963947 85.70% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  39. 2023-07-26 09:34:16.963947 85.70% [DEBUG] sofia.c:7499 Channel sofia/default/100512@172.31.38.162 entering state [received][100]
  40. 2023-07-26 09:34:16.963947 85.70% [DEBUG] sofia.c:7509 Remote SDP:
  41. v=0
  42. o=FreeSWITCH 1690344926 1690344927 IN IP4 172.31.38.162
  43. s=FreeSWITCH
  44. c=IN IP4 172.31.38.162
  45. t=0 0
  46. m=audio 19130 RTP/AVP 8 101
  47. a=rtpmap:8 PCMA/8000
  48. a=rtpmap:101 telephone-event/8000
  49. a=fmtp:101 0-15
  50. a=ptime:20
  51.  
  52. 2023-07-26 09:34:16.963947 85.70% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  53. 2023-07-26 09:34:16.963947 85.70% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  54. 2023-07-26 09:34:16.963947 85.70% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  55. 2023-07-26 09:34:16.963947 85.70% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  56. 2023-07-26 09:34:16.963947 85.70% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/100512@172.31.38.162 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  57. 2023-07-26 09:34:16.963947 85.70% [DEBUG] switch_core_codec.c:111 sofia/default/100512@172.31.38.162 Original read codec set to PCMA:8
  58. 2023-07-26 09:34:16.963947 85.70% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  59. 2023-07-26 09:34:16.963947 85.70% [DEBUG] switch_core_media.c:5973 sofia/default/100512@172.31.38.162 Set 2833 dtmf send payload to 101 recv payload to 101
  60. 2023-07-26 09:34:16.963947 85.70% [DEBUG] sofia.c:7933 (sofia/default/100512@172.31.38.162) State Change CS_NEW -> CS_INIT
  61. 2023-07-26 09:34:16.963947 85.70% [DEBUG] switch_core_state_machine.c:600 (sofia/default/100512@172.31.38.162) State NEW
  62. 2023-07-26 09:34:16.963947 85.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100512@172.31.38.162) Running State Change CS_INIT (Cur 2 Tot 77)
  63. 2023-07-26 09:34:16.963947 85.70% [DEBUG] switch_core_state_machine.c:624 (sofia/default/100512@172.31.38.162) State INIT
  64. 2023-07-26 09:34:16.963947 85.70% [DEBUG] mod_sofia.c:97 sofia/default/100512@172.31.38.162 SOFIA INIT
  65. 2023-07-26 09:34:16.963947 85.70% [DEBUG] switch_core_state_machine.c:40 sofia/default/100512@172.31.38.162 Standard INIT
  66. 2023-07-26 09:34:16.963947 85.70% [DEBUG] switch_core_state_machine.c:48 (sofia/default/100512@172.31.38.162) State Change CS_INIT -> CS_ROUTING
  67. 2023-07-26 09:34:16.963947 85.70% [DEBUG] switch_core_state_machine.c:624 (sofia/default/100512@172.31.38.162) State INIT going to sleep
  68. 2023-07-26 09:34:16.963947 85.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100512@172.31.38.162) Running State Change CS_ROUTING (Cur 2 Tot 77)
  69. 2023-07-26 09:34:16.963947 85.70% [DEBUG] switch_channel.c:2380 (sofia/default/100512@172.31.38.162) Callstate Change DOWN -> RINGING
  70. 2023-07-26 09:34:16.963947 85.70% [DEBUG] switch_core_state_machine.c:640 (sofia/default/100512@172.31.38.162) State ROUTING
  71. 2023-07-26 09:34:16.963947 85.70% [DEBUG] mod_sofia.c:158 sofia/default/100512@172.31.38.162 SOFIA ROUTING
  72. 2023-07-26 09:34:16.963947 85.70% [DEBUG] switch_core_state_machine.c:230 sofia/default/100512@172.31.38.162 Standard ROUTING
  73. 2023-07-26 09:34:16.963947 85.70% [INFO] mod_dialplan_xml.c:639 Processing 100512 <100512>->100512 in context default
  74. 2023-07-26 09:34:17.063923 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  75. 2023-07-26 09:34:17.103917 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  76. 2023-07-26 09:34:17.103917 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  77. 2023-07-26 09:34:17.103917 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  78. 2023-07-26 09:34:17.103917 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  79. 2023-07-26 09:34:17.103917 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 100512
  80. 2023-07-26 09:34:17.103917 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '100512' limit 1
  81. 2023-07-26 09:34:17.103917 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  82. 2023-07-26 09:34:17.103917 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '100512' and status=0 LIMIT 1
  83. 2023-07-26 09:34:17.123925 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERmod_sofia
  84. 2023-07-26 09:34:17.123925 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  85. 2023-07-26 09:34:17.123925 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = '172.31.38.162' limit 1
  86. 2023-07-26 09:34:17.123925 85.70% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  87. 2023-07-26 09:34:17.123925 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 52970 / 52970
  88. 2023-07-26 09:34:17.123925 85.70% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Call Type FAX
  89. 2023-07-26 09:34:17.123925 85.70% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Account Code :52970
  90. 2023-07-26 09:34:17.123925 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number
  91. 2023-07-26 09:34:17.123925 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 100512 AND status=0 limit 1
  92. 2023-07-26 09:34:17.123925 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  93. 2023-07-26 09:34:17.123925 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  94. 2023-07-26 09:34:17.123925 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  95. 2023-07-26 09:34:17.123925 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="100512" LIMIT 1
  96. 2023-07-26 09:34:17.123925 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  97. 2023-07-26 09:34:17.123925 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  98. 2023-07-26 09:34:17.123925 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 52970]
  99. 2023-07-26 09:34:17.123925 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "52970" OR id = "52970") AND deleted = 0 limit 1
  100. 2023-07-26 09:34:17.323916 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2705
  101. 2023-07-26 09:34:17.343915 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  102. 2023-07-26 09:34:17.343915 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1
  103. 2023-07-26 09:34:17.343915 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  104. 2023-07-26 09:34:17.343915 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 2705
  105. 2023-07-26 09:34:17.343915 85.70% [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 = '^100512.*' OR patterns = '^10051.*' OR patterns = '^1005.*' OR patterns = '^100.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 2705 ORDER BY LENGTH(PKGPTR.patterns) DESC
  106. 2023-07-26 09:34:17.343915 85.70% [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 ="100512" AND A.accountid = '2705' limit 1
  107. 2023-07-26 09:34:17.343915 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 100512
  108. 2023-07-26 09:34:17.343915 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  109. 2023-07-26 09:34:17.343915 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  110. 2023-07-26 09:34:17.343915 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  111. 2023-07-26 09:34:17.343915 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="100512" LIMIT 1
  112. 2023-07-26 09:34:17.343915 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  113. 2023-07-26 09:34:17.343915 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  114. 2023-07-26 09:34:17.343915 85.70% [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 = '100512' OR number = '10051' OR number = '1005' OR number = '100' OR number = '10' OR number = '1' OR number ='--') OR (number = '100512*' OR number = '10051*' OR number = '1005*' OR number = '100*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '52970' OR number = '5297' OR number = '529' OR number = '52' OR number = '5' OR number ='--') OR (number = '52970*' OR number = '5297*' OR number = '529*' OR number = '52*' OR number = '5*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  115. 2023-07-26 09:34:17.343915 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  116. 2023-07-26 09:34:17.343915 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '100512' OR routing_prefix = '10051' OR routing_prefix = '1005' OR routing_prefix = '100' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  117. 2023-07-26 09:34:17.363927 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  118. 2023-07-26 09:34:17.363927 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 2705
  119. 2023-07-26 09:34:17.363927 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 52970
  120. 2023-07-26 09:34:17.363927 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2705
  121. 2023-07-26 09:34:17.363927 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 493.7
  122. 2023-07-26 09:34:17.363927 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  123. 2023-07-26 09:34:17.363927 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 69
  124. 2023-07-26 09:34:17.363927 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  125. 2023-07-26 09:34:17.363927 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  126. 2023-07-26 09:34:17.363927 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  127. 2023-07-26 09:34:17.363927 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::69
  128. 2023-07-26 09:34:17.363927 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  129. 2023-07-26 09:34:17.363927 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="100512" LIMIT 1
  130. 2023-07-26 09:34:17.363927 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  131. 2023-07-26 09:34:17.363927 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  132. 2023-07-26 09:34:17.363927 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  133. 2023-07-26 09:34:17.363927 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 600
  134. 2023-07-26 09:34:17.363927 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  135. 2023-07-26 09:34:17.363927 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  136. 2023-07-26 09:34:17.363927 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  137. 2023-07-26 09:34:17.363927 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 100512
  138. 2023-07-26 09:34:17.363927 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 203
  139. 2023-07-26 09:34:17.363927 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 2705
  140. 2023-07-26 09:34:17.363927 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  141. 2023-07-26 09:34:17.363927 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2705
  142. 2023-07-26 09:34:17.363927 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your493.7 balance Accountid 2705 !!!
  143. 2023-07-26 09:34:17.363927 85.70% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  144. 2023-07-26 09:34:17.363927 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  145. 2023-07-26 09:34:17.363927 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  146. 2023-07-26 09:34:17.363927 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  147. 2023-07-26 09:34:17.363927 85.70% [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 = 2705 AND status=0 LIMIT 1
  148. 2023-07-26 09:34:17.363927 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "2705" OR number = "2705") AND deleted = 0 limit 1
  149. 2023-07-26 09:34:17.363927 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2705
  150. 2023-07-26 09:34:17.383922 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:2705
  151. 2023-07-26 09:34:17.383922 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:2705
  152. 2023-07-26 09:34:17.383922 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 2705
  153. 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 2705 limit 1
  154. 2023-07-26 09:34:17.383922 85.70% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : automation6betav601.astppbilling.org
  155. 2023-07-26 09:34:17.383922 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  156. 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = 'mod_sofia' and status = 0 limit 1
  157. 2023-07-26 09:34:17.383922 85.70% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Outbound Dialplan
  158. 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  159. 2023-07-26 09:34:17.383922 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  160. 2023-07-26 09:34:17.383922 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  161. 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing  WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "yash.shah@inextrix.com" AND accounts.status = 0
  162. 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as redial] destination_number :100512
  163. 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as return] destination_number :100512
  164. 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 2705 limit 1
  165. 2023-07-26 09:34:17.383922 85.70% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : automation6betav601.astppbilling.org
  166. 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_6
  167. 2023-07-26 09:34:17.383922 85.70% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Inbound Dialplan
  168. 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  169. <document type="freeswitch/xml">
  170. <section name="dialplan" description="ASTPP Dialplan">
  171. <context name="default">
  172. <extension name="100512">
  173. <condition field="destination_number" expression="100512">
  174. <action application="set" data="effective_destination_number=100512"/>
  175. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  176. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  177. <action application="set" data="notify_flag=0"/>
  178. <action application="set" data="notify_credit_limit=5.00000"/>
  179. <action application="set" data="type=0"/>
  180. <action application="set" data="callstart=2023-07-26 09:34:17"/>
  181. <action application="set" data="hangup_after_bridge=true"/>
  182. <action application="set" data="continue_on_fail=TRUE"/>
  183. <action application="set" data="account_id=2705"/>
  184. <action application="set" data="parent_id=0"/>
  185. <action application="set" data="entity_id=0"/>
  186. <action application="set" data="call_processed=internal"/>
  187. <action application="set" data="call_direction=inbound"/>
  188. <action application="set" data="accountname=default"/>
  189. <action application="export" data="t38_passthru=true"/>
  190. <action application="set" data="fax_enable_t38=true"/>
  191. <action application="set" data="fax_enable_t38_request=true"/>
  192. <action application="set" data="filename1=astpp.pbx.lua"/>
  193. <action application="export" data="t38_passthru=true"/>
  194. <action application="playback" data="silence_stream://2000"/>
  195. <action application="set" data="fax_enable_t38_request=true"/>
  196. <action application="set" data="sip_require_timer=false"/>
  197. <action application="set" data="call_request=3"/>
  198. <action application="set" data="module_name=apfax"/>
  199. <action application="set" data="fax_use_ecm=false"/>
  200. <action application="set" data="fax_v17_disabled=false"/>
  201. <action application="set" data="fax_disable_v17=true"/>
  202. <action application="set" data="fax_enable_t38=true"/>
  203. <action application="set" data="session_in_hangup_hook=true"/>
  204. <action application="set" data="origination_rates_did=ID:600|CODE:^100512.*|DESTINATION:100512|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:203|ACCID:2705"/>
  205. <action application="set" data="origination_rates=0"/>
  206. <action application="set" data="original_caller_id_name=52970"/>
  207. <action application="set" data="original_caller_id_number=52970"/>
  208. <action application="hash" data="insert/${domain_name}-last_dial/${caller_id_number}/${destination_number}"/>
  209. <action application="hash" data="insert/${domain_name}-call_return/${destination_number}/${caller_id_number}"/>
  210. <action application="set" data="effective_caller_id_name=52970"/>
  211. <action application="set" data="effective_caller_id_number=52970"/>
  212. <action application="set" data="receiver_accid=2705"/>
  213. <action application="export" data="domain_name=automation6betav601.astppbilling.org"/>
  214. <action application="export" data="sip_to_host=automation6betav601.astppbilling.org"/>
  215. <action application="export" data="presence_data=x|||Yash(52970)|||^100512.* // 100512 // 0.00000|||||||||DID|||172.31.38.162"/>
  216. <action application="export" data="call_type=6"/>
  217. <action application="set" data="calltype=FAX"/>
  218. <action application="answer"/>
  219. <action application="set" data="callfax=true"/>
  220. <action application="playback" data="silence_stream://2000"/>
  221. <action application="set" data="fax_enable_t38_request=true"/>
  222. <action application="set" data="sip_require_timer=false"/>
  223. <action application="set" data="call_request=6"/>
  224. <action application="set" data="module_name=apfax"/>
  225. <action application="set" data="fax_transfer_rate=9600"/>
  226. <action application="set" data="fax_use_ecm=false"/>
  227. <action application="set" data="fax_v17_disabled=false"/>
  228. <action application="set" data="fax_disable_v17=true"/>
  229. <action application="set" data="fax_enable_t38=true"/>
  230. <action application="set" data="api_hangup_hook=system /var/www/html/astpp/FAX/scripts/emailfax.sh /var/www/html/astpp/FAX/receive_fax_files/faabe4bc-bcca-4a8e-a4bb-1b6336cef263-FAX.tif 52970 Yash_Shah yash.shah@inextrix.com /var/www/html/astpp/attachments/faabe4bc-bcca-4a8e-a4bb-1b6336cef263-FAX.pdf yash.shah@inextrix.com 100512 52970"/>
  231. <action application="rxfax" data="/var/www/html/astpp/FAX/receive_fax_files/faabe4bc-bcca-4a8e-a4bb-1b6336cef263-FAX.tif"/>
  232. <action application="hangup"/>
  233. </condition>
  234. </extension>
  235. </context>
  236. </section>
  237. </document>
  238. Dialplan: sofia/default/100512@172.31.38.162 parsing [default->100512] continue=false
  239. Dialplan: sofia/default/100512@172.31.38.162 Regex (PASS) [100512] destination_number(100512) =~ /100512/ break=on-false
  240. Dialplan: sofia/default/100512@172.31.38.162 Action set(effective_destination_number=100512)
  241. Dialplan: sofia/default/100512@172.31.38.162 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  242. Dialplan: sofia/default/100512@172.31.38.162 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  243. Dialplan: sofia/default/100512@172.31.38.162 Action set(notify_flag=0)
  244. Dialplan: sofia/default/100512@172.31.38.162 Action set(notify_credit_limit=5.00000)
  245. Dialplan: sofia/default/100512@172.31.38.162 Action set(type=0)
  246. Dialplan: sofia/default/100512@172.31.38.162 Action set(callstart=2023-07-26 09:34:17)
  247. Dialplan: sofia/default/100512@172.31.38.162 Action set(hangup_after_bridge=true)
  248. Dialplan: sofia/default/100512@172.31.38.162 Action set(continue_on_fail=TRUE)
  249. Dialplan: sofia/default/100512@172.31.38.162 Action set(account_id=2705)
  250. Dialplan: sofia/default/100512@172.31.38.162 Action set(parent_id=0)
  251. Dialplan: sofia/default/100512@172.31.38.162 Action set(entity_id=0)
  252. Dialplan: sofia/default/100512@172.31.38.162 Action set(call_processed=internal)
  253. Dialplan: sofia/default/100512@172.31.38.162 Action set(call_direction=inbound)
  254. Dialplan: sofia/default/100512@172.31.38.162 Action set(accountname=default)
  255. Dialplan: sofia/default/100512@172.31.38.162 Action export(t38_passthru=true)
  256. Dialplan: sofia/default/100512@172.31.38.162 Action set(fax_enable_t38=true)
  257. Dialplan: sofia/default/100512@172.31.38.162 Action set(fax_enable_t38_request=true)
  258. Dialplan: sofia/default/100512@172.31.38.162 Action set(filename1=astpp.pbx.lua)
  259. Dialplan: sofia/default/100512@172.31.38.162 Action export(t38_passthru=true)
  260. Dialplan: sofia/default/100512@172.31.38.162 Action playback(silence_stream://2000)
  261. Dialplan: sofia/default/100512@172.31.38.162 Action set(fax_enable_t38_request=true)
  262. Dialplan: sofia/default/100512@172.31.38.162 Action set(sip_require_timer=false)
  263. Dialplan: sofia/default/100512@172.31.38.162 Action set(call_request=3)
  264. Dialplan: sofia/default/100512@172.31.38.162 Action set(module_name=apfax)
  265. Dialplan: sofia/default/100512@172.31.38.162 Action set(fax_use_ecm=false)
  266. Dialplan: sofia/default/100512@172.31.38.162 Action set(fax_v17_disabled=false)
  267. Dialplan: sofia/default/100512@172.31.38.162 Action set(fax_disable_v17=true)
  268. Dialplan: sofia/default/100512@172.31.38.162 Action set(fax_enable_t38=true)
  269. Dialplan: sofia/default/100512@172.31.38.162 Action set(session_in_hangup_hook=true)
  270. Dialplan: sofia/default/100512@172.31.38.162 Action set(origination_rates_did=ID:600|CODE:^100512.*|DESTINATION:100512|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:203|ACCID:2705)
  271. Dialplan: sofia/default/100512@172.31.38.162 Action set(origination_rates=0)
  272. Dialplan: sofia/default/100512@172.31.38.162 Action set(original_caller_id_name=52970)
  273. Dialplan: sofia/default/100512@172.31.38.162 Action set(original_caller_id_number=52970)
  274. Dialplan: sofia/default/100512@172.31.38.162 Action hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number})
  275. Dialplan: sofia/default/100512@172.31.38.162 Action hash(insert/${domain_name}-call_return/${destination_number}/${caller_id_number})
  276. Dialplan: sofia/default/100512@172.31.38.162 Action set(effective_caller_id_name=52970)
  277. Dialplan: sofia/default/100512@172.31.38.162 Action set(effective_caller_id_number=52970)
  278. Dialplan: sofia/default/100512@172.31.38.162 Action set(receiver_accid=2705)
  279. Dialplan: sofia/default/100512@172.31.38.162 Action export(domain_name=automation6betav601.astppbilling.org)
  280. Dialplan: sofia/default/100512@172.31.38.162 Action export(sip_to_host=automation6betav601.astppbilling.org)
  281. Dialplan: sofia/default/100512@172.31.38.162 Action export(presence_data=x|||Yash(52970)|||^100512.* // 100512 // 0.00000|||||||||DID|||172.31.38.162)
  282. Dialplan: sofia/default/100512@172.31.38.162 Action export(call_type=6)
  283. Dialplan: sofia/default/100512@172.31.38.162 Action set(calltype=FAX)
  284. Dialplan: sofia/default/100512@172.31.38.162 Action answer()
  285. Dialplan: sofia/default/100512@172.31.38.162 Action set(callfax=true)
  286. Dialplan: sofia/default/100512@172.31.38.162 Action playback(silence_stream://2000)
  287. Dialplan: sofia/default/100512@172.31.38.162 Action set(fax_enable_t38_request=true)
  288. Dialplan: sofia/default/100512@172.31.38.162 Action set(sip_require_timer=false)
  289. Dialplan: sofia/default/100512@172.31.38.162 Action set(call_request=6)
  290. Dialplan: sofia/default/100512@172.31.38.162 Action set(module_name=apfax)
  291. Dialplan: sofia/default/100512@172.31.38.162 Action set(fax_transfer_rate=9600)
  292. Dialplan: sofia/default/100512@172.31.38.162 Action set(fax_use_ecm=false)
  293. Dialplan: sofia/default/100512@172.31.38.162 Action set(fax_v17_disabled=false)
  294. Dialplan: sofia/default/100512@172.31.38.162 Action set(fax_disable_v17=true)
  295. Dialplan: sofia/default/100512@172.31.38.162 Action set(fax_enable_t38=true)
  296. Dialplan: sofia/default/100512@172.31.38.162 Action set(api_hangup_hook=system /var/www/html/astpp/FAX/scripts/emailfax.sh /var/www/html/astpp/FAX/receive_fax_files/faabe4bc-bcca-4a8e-a4bb-1b6336cef263-FAX.tif 52970 Yash_Shah yash.shah@inextrix.com /var/www/html/astpp/attachments/faabe4bc-bcca-4a8e-a4bb-1b6336cef263-FAX.pdf yash.shah@inextrix.com 100512 52970)
  297. Dialplan: sofia/default/100512@172.31.38.162 Action rxfax(/var/www/html/astpp/FAX/receive_fax_files/faabe4bc-bcca-4a8e-a4bb-1b6336cef263-FAX.tif)
  298. Dialplan: sofia/default/100512@172.31.38.162 Action hangup()
  299. 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_core_state_machine.c:281 (sofia/default/100512@172.31.38.162) State Change CS_ROUTING -> CS_EXECUTE
  300. 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_core_state_machine.c:640 (sofia/default/100512@172.31.38.162) State ROUTING going to sleep
  301. 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100512@172.31.38.162) Running State Change CS_EXECUTE (Cur 2 Tot 77)
  302. 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_core_state_machine.c:647 (sofia/default/100512@172.31.38.162) State EXECUTE
  303. 2023-07-26 09:34:17.383922 85.70% [DEBUG] mod_sofia.c:213 sofia/default/100512@172.31.38.162 SOFIA EXECUTE
  304. 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_core_state_machine.c:323 sofia/default/100512@172.31.38.162 Standard EXECUTE
  305. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(effective_destination_number=100512)
  306. 2023-07-26 09:34:17.383922 85.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [effective_destination_number]=[100512]
  307. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(bridge_pre_execute_bleg_app=sched_hangup)
  308. 2023-07-26 09:34:17.383922 85.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [bridge_pre_execute_bleg_app]=[sched_hangup]
  309. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  310. 2023-07-26 09:34:17.383922 85.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  311. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(notify_flag=0)
  312. 2023-07-26 09:34:17.383922 85.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [notify_flag]=[0]
  313. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(notify_credit_limit=5.00000)
  314. 2023-07-26 09:34:17.383922 85.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [notify_credit_limit]=[5.00000]
  315. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(type=0)
  316. 2023-07-26 09:34:17.383922 85.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [type]=[0]
  317. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(callstart=2023-07-26 09:34:17)
  318. 2023-07-26 09:34:17.383922 85.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [callstart]=[2023-07-26 09:34:17]
  319. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(hangup_after_bridge=true)
  320. 2023-07-26 09:34:17.383922 85.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [hangup_after_bridge]=[true]
  321. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(continue_on_fail=TRUE)
  322. 2023-07-26 09:34:17.383922 85.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [continue_on_fail]=[TRUE]
  323. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(account_id=2705)
  324. 2023-07-26 09:34:17.383922 85.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [account_id]=[2705]
  325. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(parent_id=0)
  326. 2023-07-26 09:34:17.383922 85.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [parent_id]=[0]
  327. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(entity_id=0)
  328. 2023-07-26 09:34:17.383922 85.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [entity_id]=[0]
  329. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(call_processed=internal)
  330. 2023-07-26 09:34:17.383922 85.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [call_processed]=[internal]
  331. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(call_direction=inbound)
  332. 2023-07-26 09:34:17.383922 85.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [call_direction]=[inbound]
  333. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(accountname=default)
  334. 2023-07-26 09:34:17.383922 85.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [accountname]=[default]
  335. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 export(t38_passthru=true)
  336. 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true]
  337. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(fax_enable_t38=true)
  338. 2023-07-26 09:34:17.383922 85.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [fax_enable_t38]=[true]
  339. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(fax_enable_t38_request=true)
  340. 2023-07-26 09:34:17.383922 85.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [fax_enable_t38_request]=[true]
  341. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(filename1=astpp.pbx.lua)
  342. 2023-07-26 09:34:17.383922 85.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [filename1]=[astpp.pbx.lua]
  343. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 export(t38_passthru=true)
  344. 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true]
  345. 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_core_session.c:2795 Application playback Requires media! pre_answering channel sofia/default/100512@172.31.38.162
  346. 2023-07-26 09:34:17.383922 85.70% [INFO] switch_core_session.c:2797 Sending early media
  347. 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/100512@172.31.38.162] 172.31.38.162 port 25404 -> 172.31.38.162 port 19130 codec: 8 ms: 20
  348. 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  349. 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_core_media.c:9089 sofia/default/100512@172.31.38.162 Set 2833 dtmf send payload to 101
  350. 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_core_media.c:9096 sofia/default/100512@172.31.38.162 Set 2833 dtmf receive payload to 101
  351. 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_core_media.c:9119 sofia/default/100512@172.31.38.162 Set rtp dtmf delay to 40
  352. 2023-07-26 09:34:17.383922 85.70% [DEBUG] mod_sofia.c:2610 Ring SDP:
  353. v=0
  354. o=FreeSWITCH 1690338653 1690338654 IN IP4 172.31.38.162
  355. s=FreeSWITCH
  356. c=IN IP4 172.31.38.162
  357. t=0 0
  358. m=audio 25404 RTP/AVP 8 101
  359. a=rtpmap:8 PCMA/8000
  360. a=rtpmap:101 telephone-event/8000
  361. a=fmtp:101 0-15
  362. a=ptime:20
  363. a=sendrecv
  364.  
  365. 2023-07-26 09:34:17.383922 85.70% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/100512@172.31.38.162!
  366. 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_channel.c:3622 (sofia/default/100512@172.31.38.162) Callstate Change RINGING -> EARLY
  367. 2023-07-26 09:34:17.383922 85.70% [DEBUG] sofia.c:7499 Channel sofia/default/100512@172.31.38.162 entering state [early][183]
  368. 2023-07-26 09:34:17.383922 85.70% [DEBUG] sofia.c:7499 Channel sofia/default/100512@172.31.38.162:5060 entering state [proceeding][183]
  369. 2023-07-26 09:34:17.383922 85.70% [DEBUG] sofia.c:7509 Remote SDP:
  370. v=0
  371. o=FreeSWITCH 1690338653 1690338654 IN IP4 172.31.38.162
  372. s=FreeSWITCH
  373. c=IN IP4 172.31.38.162
  374. t=0 0
  375. m=audio 25404 RTP/AVP 8 101
  376. a=rtpmap:8 PCMA/8000
  377. a=rtpmap:101 telephone-event/8000
  378. a=fmtp:101 0-15
  379. a=ptime:20
  380.  
  381. 2023-07-26 09:34:17.383922 85.70% [NOTICE] sofia.c:7512 Pre-Answer sofia/default/100512@172.31.38.162:5060!
  382. 2023-07-26 09:34:17.403919 85.70% [DEBUG] switch_channel.c:3622 (sofia/default/100512@172.31.38.162:5060) Callstate Change DOWN -> EARLY
  383. 2023-07-26 09:34:17.403919 85.70% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  384. 2023-07-26 09:34:17.403919 85.70% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  385. 2023-07-26 09:34:17.403919 85.70% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  386. 2023-07-26 09:34:17.403919 85.70% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/100512@172.31.38.162:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  387. 2023-07-26 09:34:17.403919 85.70% [DEBUG] switch_core_codec.c:111 sofia/default/100512@172.31.38.162:5060 Original read codec set to PCMA:8
  388. 2023-07-26 09:34:17.403919 85.70% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  389. 2023-07-26 09:34:17.403919 85.70% [DEBUG] switch_core_media.c:5973 sofia/default/100512@172.31.38.162:5060 Set 2833 dtmf send payload to 101 recv payload to 101
  390. 2023-07-26 09:34:17.403919 85.70% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/100512@172.31.38.162:5060] 172.31.38.162 port 19130 -> 172.31.38.162 port 25404 codec: 8 ms: 20
  391. 2023-07-26 09:34:17.403919 85.70% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  392. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 playback(silence_stream://2000)
  393. 2023-07-26 09:34:17.403919 85.70% [DEBUG] switch_core_media.c:9089 sofia/default/100512@172.31.38.162:5060 Set 2833 dtmf send payload to 101
  394. 2023-07-26 09:34:17.403919 85.70% [DEBUG] switch_core_media.c:9096 sofia/default/100512@172.31.38.162:5060 Set 2833 dtmf receive payload to 101
  395. 2023-07-26 09:34:17.403919 85.70% [DEBUG] switch_core_media.c:9119 sofia/default/100512@172.31.38.162:5060 Set rtp dtmf delay to 40
  396. 2023-07-26 09:34:17.403919 85.70% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  397. 2023-07-26 09:34:19.383967 83.73% [DEBUG] switch_ivr_play_say.c:2001 done playing file silence_stream://2000
  398. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(fax_enable_t38_request=true)
  399. 2023-07-26 09:34:19.383967 83.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [fax_enable_t38_request]=[true]
  400. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(sip_require_timer=false)
  401. 2023-07-26 09:34:19.383967 83.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [sip_require_timer]=[false]
  402. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(call_request=3)
  403. 2023-07-26 09:34:19.383967 83.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [call_request]=[3]
  404. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(module_name=apfax)
  405. 2023-07-26 09:34:19.383967 83.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [module_name]=[apfax]
  406. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(fax_use_ecm=false)
  407. 2023-07-26 09:34:19.383967 83.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [fax_use_ecm]=[false]
  408. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(fax_v17_disabled=false)
  409. 2023-07-26 09:34:19.383967 83.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [fax_v17_disabled]=[false]
  410. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(fax_disable_v17=true)
  411. 2023-07-26 09:34:19.383967 83.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [fax_disable_v17]=[true]
  412. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(fax_enable_t38=true)
  413. 2023-07-26 09:34:19.383967 83.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [fax_enable_t38]=[true]
  414. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(session_in_hangup_hook=true)
  415. 2023-07-26 09:34:19.383967 83.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [session_in_hangup_hook]=[true]
  416. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(origination_rates_did=ID:600|CODE:^100512.*|DESTINATION:100512|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:203|ACCID:2705)
  417. 2023-07-26 09:34:19.383967 83.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [origination_rates_did]=[ID:600|CODE:^100512.*|DESTINATION:100512|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:203|ACCID:2705]
  418. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(origination_rates=0)
  419. 2023-07-26 09:34:19.383967 83.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [origination_rates]=[0]
  420. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(original_caller_id_name=52970)
  421. 2023-07-26 09:34:19.383967 83.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [original_caller_id_name]=[52970]
  422. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(original_caller_id_number=52970)
  423. 2023-07-26 09:34:19.383967 83.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [original_caller_id_number]=[52970]
  424. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 hash(insert/172.31.38.162-last_dial/100512/100512)
  425. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 hash(insert/172.31.38.162-call_return/100512/100512)
  426. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(effective_caller_id_name=52970)
  427. 2023-07-26 09:34:19.383967 83.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [effective_caller_id_name]=[52970]
  428. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(effective_caller_id_number=52970)
  429. 2023-07-26 09:34:19.383967 83.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [effective_caller_id_number]=[52970]
  430. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(receiver_accid=2705)
  431. 2023-07-26 09:34:19.383967 83.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [receiver_accid]=[2705]
  432. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 export(domain_name=automation6betav601.astppbilling.org)
  433. 2023-07-26 09:34:19.383967 83.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[automation6betav601.astppbilling.org]
  434. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 export(sip_to_host=automation6betav601.astppbilling.org)
  435. 2023-07-26 09:34:19.383967 83.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[automation6betav601.astppbilling.org]
  436. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 export(presence_data=x|||Yash(52970)|||^100512.* // 100512 // 0.00000|||||||||DID|||172.31.38.162)
  437. 2023-07-26 09:34:19.383967 83.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Yash(52970)|||^100512.* // 100512 // 0.00000|||||||||DID|||172.31.38.162]
  438. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 export(call_type=6)
  439. 2023-07-26 09:34:19.383967 83.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[6]
  440. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(calltype=FAX)
  441. 2023-07-26 09:34:19.383967 83.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [calltype]=[FAX]
  442. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 answer()
  443. 2023-07-26 09:34:19.383967 83.73% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/100512@172.31.38.162.
  444. 2023-07-26 09:34:19.383967 83.73% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/100512@172.31.38.162:
  445. v=0
  446. o=FreeSWITCH 1690338653 1690338655 IN IP4 172.31.38.162
  447. s=FreeSWITCH
  448. c=IN IP4 172.31.38.162
  449. t=0 0
  450. m=audio 25404 RTP/AVP 8 101
  451. a=rtpmap:8 PCMA/8000
  452. a=rtpmap:101 telephone-event/8000
  453. a=fmtp:101 0-15
  454. a=ptime:20
  455. a=sendrecv
  456.  
  457. 2023-07-26 09:34:19.383967 83.73% [DEBUG] sofia.c:7499 Channel sofia/default/100512@172.31.38.162 entering state [completed][200]
  458. 2023-07-26 09:34:19.383967 83.73% [NOTICE] mod_dptools.c:1419 Channel [sofia/default/100512@172.31.38.162] has been answered
  459. 2023-07-26 09:34:19.383967 83.73% [DEBUG] switch_channel.c:3950 (sofia/default/100512@172.31.38.162) Callstate Change EARLY -> ACTIVE
  460. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(callfax=true)
  461. 2023-07-26 09:34:19.383967 83.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [callfax]=[true]
  462. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 playback(silence_stream://2000)
  463. 2023-07-26 09:34:19.383967 83.73% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  464. 2023-07-26 09:34:19.383967 83.73% [DEBUG] sofia.c:7499 Channel sofia/default/100512@172.31.38.162:5060 entering state [completing][200]
  465. 2023-07-26 09:34:19.383967 83.73% [DEBUG] sofia.c:7506 Duplicate SDP
  466. v=0
  467. o=FreeSWITCH 1690338653 1690338654 IN IP4 172.31.38.162
  468. s=FreeSWITCH
  469. c=IN IP4 172.31.38.162
  470. t=0 0
  471. m=audio 25404 RTP/AVP 8 101
  472. a=rtpmap:8 PCMA/8000
  473. a=rtpmap:101 telephone-event/8000
  474. a=fmtp:101 0-15
  475. a=ptime:20
  476.  
  477. 2023-07-26 09:34:19.383967 83.73% [DEBUG] sofia.c:7499 Channel sofia/default/100512@172.31.38.162:5060 entering state [ready][200]
  478. 2023-07-26 09:34:19.383967 83.73% [NOTICE] sofia.c:8624 Channel [sofia/default/100512@172.31.38.162:5060] has been answered
  479. 2023-07-26 09:34:19.383967 83.73% [DEBUG] switch_channel.c:3950 (sofia/default/100512@172.31.38.162:5060) Callstate Change EARLY -> ACTIVE
  480. 2023-07-26 09:34:19.383967 83.73% [DEBUG] sofia.c:7499 Channel sofia/default/100512@172.31.38.162 entering state [ready][200]
  481. 2023-07-26 09:34:19.423929 83.73% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/100512@172.31.38.162:5060] Peer UUID: 35547fc9-5f98-43e3-8688-432068373b31
  482. 2023-07-26 09:34:19.423929 83.73% [INFO] switch_channel.c:3270 sofia/default/100512@172.31.38.162:5060 Flipping CID from "" <100512> to "Outbound Call" <100512>
  483. 2023-07-26 09:34:19.423929 83.73% [DEBUG] mod_commands.c:5169 (sofia/default/100512@172.31.38.162:5060) State Change CS_CONSUME_MEDIA -> CS_EXECUTE
  484. 2023-07-26 09:34:19.423929 83.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100512@172.31.38.162:5060) Running State Change CS_EXECUTE (Cur 2 Tot 77)
  485. 2023-07-26 09:34:19.423929 83.73% [DEBUG] switch_core_state_machine.c:647 (sofia/default/100512@172.31.38.162:5060) State EXECUTE
  486. 2023-07-26 09:34:19.423929 83.73% [DEBUG] mod_sofia.c:213 sofia/default/100512@172.31.38.162:5060 SOFIA EXECUTE
  487. 2023-07-26 09:34:19.423929 83.73% [DEBUG] switch_core_state_machine.c:323 sofia/default/100512@172.31.38.162:5060 Standard EXECUTE
  488. EXECUTE [depth=0] sofia/default/100512@172.31.38.162:5060 txfax(/opt/ASTPP/web_interface/astpp/FAX/send_fax_files/20230726093322.tiff)
  489. 2023-07-26 09:34:19.423929 83.73% [DEBUG] mod_spandsp_fax.c:1610 Raw read codec activation Success L16 20000
  490. 2023-07-26 09:34:19.423929 83.73% [DEBUG] switch_core_codec.c:223 sofia/default/100512@172.31.38.162:5060 Push codec L16:100
  491. 2023-07-26 09:34:19.423929 83.73% [DEBUG] mod_spandsp_fax.c:1628 Raw write codec activation Success L16
  492. 2023-07-26 09:34:19.443923 83.73% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  493. 2023-07-26 09:34:19.683946 84.13% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  494. 2023-07-26 09:34:21.383939 83.43% [DEBUG] switch_ivr_play_say.c:2001 done playing file silence_stream://2000
  495. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(fax_enable_t38_request=true)
  496. 2023-07-26 09:34:21.383939 83.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [fax_enable_t38_request]=[true]
  497. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(sip_require_timer=false)
  498. 2023-07-26 09:34:21.383939 83.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [sip_require_timer]=[false]
  499. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(call_request=6)
  500. 2023-07-26 09:34:21.383939 83.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [call_request]=[6]
  501. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(module_name=apfax)
  502. 2023-07-26 09:34:21.383939 83.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [module_name]=[apfax]
  503. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(fax_transfer_rate=9600)
  504. 2023-07-26 09:34:21.383939 83.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [fax_transfer_rate]=[9600]
  505. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(fax_use_ecm=false)
  506. 2023-07-26 09:34:21.383939 83.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [fax_use_ecm]=[false]
  507. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(fax_v17_disabled=false)
  508. 2023-07-26 09:34:21.383939 83.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [fax_v17_disabled]=[false]
  509. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(fax_disable_v17=true)
  510. 2023-07-26 09:34:21.383939 83.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [fax_disable_v17]=[true]
  511. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(fax_enable_t38=true)
  512. 2023-07-26 09:34:21.383939 83.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [fax_enable_t38]=[true]
  513. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(api_hangup_hook=system /var/www/html/astpp/FAX/scripts/emailfax.sh /var/www/html/astpp/FAX/receive_fax_files/faabe4bc-bcca-4a8e-a4bb-1b6336cef263-FAX.tif 52970 Yash_Shah yash.shah@inextrix.com /var/www/html/astpp/attachments/faabe4bc-bcca-4a8e-a4bb-1b6336cef263-FAX.pdf yash.shah@inextrix.com 100512 52970)
  514. 2023-07-26 09:34:21.383939 83.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [api_hangup_hook]=[system /var/www/html/astpp/FAX/scripts/emailfax.sh /var/www/html/astpp/FAX/receive_fax_files/faabe4bc-bcca-4a8e-a4bb-1b6336cef263-FAX.tif 52970 Yash_Shah yash.shah@inextrix.com /var/www/html/astpp/attachments/faabe4bc-bcca-4a8e-a4bb-1b6336cef263-FAX.pdf yash.shah@inextrix.com 100512 52970]
  515. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 rxfax(/var/www/html/astpp/FAX/receive_fax_files/faabe4bc-bcca-4a8e-a4bb-1b6336cef263-FAX.tif)
  516. 2023-07-26 09:34:21.403927 83.43% [DEBUG] mod_spandsp_fax.c:1610 Raw read codec activation Success L16 20000
  517. 2023-07-26 09:34:21.403927 83.43% [DEBUG] switch_core_codec.c:223 sofia/default/100512@172.31.38.162 Push codec L16:100
  518. 2023-07-26 09:34:21.403927 83.43% [DEBUG] mod_spandsp_fax.c:1628 Raw write codec activation Success L16
  519. 2023-07-26 09:34:22.643949 83.07% [DEBUG] switch_core_media.c:12065 sofia/default/100512@172.31.38.162 image media sdp:
  520. v=0
  521. o=FreeSWITCH 1690338653 1690338656 IN IP4 172.31.38.162
  522. s=FreeSWITCH
  523. c=IN IP4 172.31.38.162
  524. t=0 0
  525. m=image 25404 udptl t38
  526. a=T38FaxVersion:0
  527. a=T38MaxBitRate:9600
  528. a=T38FaxFillBitRemoval
  529. a=T38FaxRateManagement:transferredTCF
  530. a=T38FaxMaxBuffer:2000
  531. a=T38FaxMaxDatagram:400
  532. a=T38FaxUdpEC:t38UDPRedundancy
  533.  
  534. 2023-07-26 09:34:22.643949 83.07% [INFO] sofia_glue.c:1651 sofia/default/100512@172.31.38.162 sending invite call-id: (null)
  535. 2023-07-26 09:34:22.643949 83.07% [DEBUG] sofia_glue.c:1654 sofia/default/100512@172.31.38.162 sending invite version: 1.10.7 -release 64bit
  536. Local SDP:
  537. v=0
  538. o=FreeSWITCH 1690338653 1690338656 IN IP4 172.31.38.162
  539. s=FreeSWITCH
  540. c=IN IP4 172.31.38.162
  541. t=0 0
  542. m=image 25404 udptl t38
  543. a=T38FaxVersion:0
  544. a=T38MaxBitRate:9600
  545. a=T38FaxFillBitRemoval
  546. a=T38FaxRateManagement:transferredTCF
  547. a=T38FaxMaxBuffer:2000
  548. a=T38FaxMaxDatagram:400
  549. a=T38FaxUdpEC:t38UDPRedundancy
  550.  
  551. 2023-07-26 09:34:22.643949 83.07% [DEBUG] sofia.c:7499 Channel sofia/default/100512@172.31.38.162 entering state [calling][0]
  552. 2023-07-26 09:34:22.683930 83.07% [DEBUG] sofia.c:7499 Channel sofia/default/100512@172.31.38.162:5060 entering state [received][100]
  553. 2023-07-26 09:34:22.683930 83.07% [DEBUG] sofia.c:7509 Remote SDP:
  554. v=0
  555. o=FreeSWITCH 1690338653 1690338656 IN IP4 172.31.38.162
  556. s=FreeSWITCH
  557. c=IN IP4 172.31.38.162
  558. t=0 0
  559. m=image 25404 udptl t38
  560. a=T38FaxVersion:0
  561. a=T38MaxBitRate:9600
  562. a=T38FaxFillBitRemoval
  563. a=T38FaxRateManagement:transferredTCF
  564. a=T38FaxMaxBuffer:2000
  565. a=T38FaxMaxDatagram:400
  566. a=T38FaxUdpEC:t38UDPRedundancy
  567.  
  568. 2023-07-26 09:34:22.683930 83.07% [DEBUG] switch_core_media.c:5241 sofia/default/100512@172.31.38.162:5060 T38 ACCEPT on request
  569. 2023-07-26 09:34:22.683930 83.07% [DEBUG] switch_core_media.c:5345 sofia/default/100512@172.31.38.162:5060 T38 IS POSSIBLE on request
  570. 2023-07-26 09:34:22.703921 83.07% [INFO] mod_spandsp_fax.c:1159 T38 SDP Origin = FreeSWITCH
  571. T38FaxVersion = 0
  572. T38MaxBitRate = 9600
  573. T38FaxFillBitRemoval = 1
  574. T38FaxTranscodingMMR = 0
  575. T38FaxTranscodingJBIG = 0
  576. T38FaxRateManagement = 'transferredTCF'
  577. T38FaxMaxBuffer = 2000
  578. T38FaxMaxDatagram = 400
  579. T38FaxUdpEC = 't38UDPRedundancy'
  580. T38VendorInfo = ''
  581. ip = '172.31.38.162'
  582. port = 25404
  583. 2023-07-26 09:34:22.703921 83.07% [DEBUG] switch_core_media.c:12494 Remote address:port [172.31.38.162:25404] has not changed.
  584. 2023-07-26 09:34:22.703921 83.07% [DEBUG] switch_core_media.c:12065 sofia/default/100512@172.31.38.162:5060 image media sdp:
  585. v=0
  586. o=FreeSWITCH 1690344926 1690344928 IN IP4 172.31.38.162
  587. s=FreeSWITCH
  588. c=IN IP4 172.31.38.162
  589. t=0 0
  590. m=image 19130 udptl t38
  591. a=T38FaxVersion:0
  592. a=T38MaxBitRate:14400
  593. a=T38FaxFillBitRemoval
  594. a=T38FaxRateManagement:transferredTCF
  595. a=T38FaxMaxBuffer:2000
  596. a=T38FaxMaxDatagram:400
  597. a=T38FaxUdpEC:t38UDPRedundancy
  598.  
  599. 2023-07-26 09:34:22.703921 83.07% [DEBUG] sofia.c:7499 Channel sofia/default/100512@172.31.38.162:5060 entering state [completed][200]
  600. 2023-07-26 09:34:22.703921 83.07% [DEBUG] switch_core_media.c:12494 Remote address:port [172.31.38.162:25404] has not changed.
  601. 2023-07-26 09:34:22.703921 83.07% [DEBUG] sofia.c:7499 Channel sofia/default/100512@172.31.38.162 entering state [completing][200]
  602. 2023-07-26 09:34:22.703921 83.07% [DEBUG] sofia.c:7509 Remote SDP:
  603. v=0
  604. o=FreeSWITCH 1690344926 1690344928 IN IP4 172.31.38.162
  605. s=FreeSWITCH
  606. c=IN IP4 172.31.38.162
  607. t=0 0
  608. m=image 19130 udptl t38
  609. a=T38FaxVersion:0
  610. a=T38MaxBitRate:14400
  611. a=T38FaxFillBitRemoval
  612. a=T38FaxRateManagement:transferredTCF
  613. a=T38FaxMaxBuffer:2000
  614. a=T38FaxMaxDatagram:400
  615. a=T38FaxUdpEC:t38UDPRedundancy
  616.  
  617. 2023-07-26 09:34:22.703921 83.07% [DEBUG] sofia.c:7499 Channel sofia/default/100512@172.31.38.162 entering state [ready][200]
  618. 2023-07-26 09:34:22.703921 83.07% [DEBUG] switch_core_media.c:5241 sofia/default/100512@172.31.38.162 T38 ACCEPT on response
  619. 2023-07-26 09:34:22.703921 83.07% [DEBUG] switch_core_media.c:5345 sofia/default/100512@172.31.38.162 T38 IS POSSIBLE on response
  620. 2023-07-26 09:34:22.703921 83.07% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/100512@172.31.38.162.
  621. 2023-07-26 09:34:22.703921 83.07% [DEBUG] sofia.c:7499 Channel sofia/default/100512@172.31.38.162:5060 entering state [ready][200]
  622. 2023-07-26 09:34:22.723928 83.07% [DEBUG] switch_core_media.c:12494 Remote address:port [172.31.38.162:19130] has not changed.
  623. 2023-07-26 09:34:22.723928 83.07% [DEBUG] switch_core_media.c:12494 Remote address:port [172.31.38.162:19130] has not changed.
  624. 2023-07-26 09:34:28.123950 84.23% [INFO] mod_spandsp_fax.c:360 === Negotiation Result =======================================================
  625. Remote station id: SpanDSP Fax Ident
  626. Local station id:  52970
  627. Transfer Rate:     9600
  628. ECM status         off
  629. T38 status         negotiated
  630. remote country:    
  631. remote vendor:    
  632. remote model:      
  633. Total fax pages:   0
  634. ==============================================================================
  635. 2023-07-26 09:34:30.143950 84.27% [INFO] mod_spandsp_fax.c:360 === Negotiation Result =======================================================
  636. Remote station id: 52970
  637. Local station id:  SpanDSP Fax Ident
  638. Transfer Rate:     9600
  639. ECM status         off
  640. T38 status         negotiated
  641. remote country:    
  642. remote vendor:    
  643. remote model:      
  644. ==============================================================================
  645. 2023-07-26 09:34:38.843922 92.33% [INFO] mod_spandsp_fax.c:496 ==== Page Received ===========================================================
  646. Page no = 1
  647. Image type = bi-level (bi-level in the file)
  648. Image size = 1728 x 1202 pixels (1728 x 1202 pixels in the file)
  649. Image resolution = 8040/m x 3850/m (8040/m x 3850/m in the file)
  650. Compression = T.4 2-D (4)
  651. Compressed image size = 4270 bytes
  652. Bad rows = 0
  653. Longest bad row run = 0
  654. ==============================================================================
  655. 2023-07-26 09:34:40.023946 92.37% [INFO] mod_spandsp_fax.c:496 ==== Page Sent ===============================================================
  656. Page no = 1
  657. Total fax pages:   1
  658. Image type = bi-level (bi-level in the file)
  659. Image size = 1728 x 1202 pixels (1728 x 1186 pixels in the file)
  660. Image resolution = 8040/m x 3850/m (8031/m x 3858/m in the file)
  661. Compression = T.4 2-D (4)
  662. Compressed image size = 4270 bytes
  663. Bad rows = 0
  664. Longest bad row run = 0
  665. ==============================================================================
  666. 2023-07-26 09:34:41.203949 92.37% [INFO] mod_spandsp_fax.c:596 ==============================================================================
  667. Fax successfully received.
  668. Remote station id: 52970
  669. Local station id:  SpanDSP Fax Ident
  670. Pages transferred: 1
  671. Total fax pages:   1
  672. Image resolution:  8040x3850
  673. Transfer Rate:     9600
  674. ECM status         off
  675. T38 status         negotiated
  676. remote country:    
  677. remote vendor:    
  678. remote model:      
  679. ==============================================================================
  680. 2023-07-26 09:34:41.203949 92.37% [DEBUG] switch_core_codec.c:248 sofia/default/100512@172.31.38.162 Restore previous codec PCMA:8.
  681. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 hangup()
  682. 2023-07-26 09:34:41.203949 92.37% [NOTICE] mod_dptools.c:1387 Hangup sofia/default/100512@172.31.38.162 [CS_EXECUTE] [NORMAL_CLEARING]
  683. 2023-07-26 09:34:41.203949 92.37% [DEBUG] switch_core_session.c:2983 sofia/default/100512@172.31.38.162 skip receive message [PHONE_EVENT] (channel is hungup already)
  684. 2023-07-26 09:34:41.203949 92.37% [DEBUG] switch_core_state_machine.c:647 (sofia/default/100512@172.31.38.162) State EXECUTE going to sleep
  685. 2023-07-26 09:34:41.203949 92.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100512@172.31.38.162) Running State Change CS_HANGUP (Cur 2 Tot 77)
  686. 2023-07-26 09:34:41.203949 92.37% [DEBUG] switch_core_state_machine.c:844 (sofia/default/100512@172.31.38.162) Callstate Change ACTIVE -> HANGUP
  687. 2023-07-26 09:34:41.203949 92.37% [DEBUG] switch_core_state_machine.c:846 (sofia/default/100512@172.31.38.162) State HANGUP
  688. 2023-07-26 09:34:41.203949 92.37% [DEBUG] mod_sofia.c:468 Channel sofia/default/100512@172.31.38.162 hanging up, cause: NORMAL_CLEARING
  689. 2023-07-26 09:34:41.203949 92.37% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/100512@172.31.38.162
  690. 2023-07-26 09:34:41.203949 92.37% [DEBUG] switch_core_state_machine.c:59 sofia/default/100512@172.31.38.162 Standard HANGUP, cause: NORMAL_CLEARING
  691. 2023-07-26 09:34:41.203949 92.37% [DEBUG] switch_core_state_machine.c:846 (sofia/default/100512@172.31.38.162) State HANGUP going to sleep
  692. 2023-07-26 09:34:41.203949 92.37% [NOTICE] sofia.c:1065 Hangup sofia/default/100512@172.31.38.162:5060 [CS_EXECUTE] [NORMAL_CLEARING]
  693. 2023-07-26 09:34:41.203949 92.37% [INFO] mod_spandsp_fax.c:596 ==============================================================================
  694. Fax successfully sent.
  695. Remote station id: SpanDSP Fax Ident
  696. Local station id:  52970
  697. Pages transferred: 1
  698. Total fax pages:   1
  699. Image resolution:  8040x3850
  700. Transfer Rate:     9600
  701. ECM status         off
  702. T38 status         negotiated
  703. remote country:    
  704. remote vendor:    
  705. remote model:      
  706. ==============================================================================
  707. 2023-07-26 09:34:41.203949 92.37% [DEBUG] switch_core_codec.c:248 sofia/default/100512@172.31.38.162:5060 Restore previous codec PCMA:8.
  708. 2023-07-26 09:34:41.203949 92.37% [DEBUG] switch_core_session.c:2983 sofia/default/100512@172.31.38.162:5060 skip receive message [PHONE_EVENT] (channel is hungup already)
  709. 2023-07-26 09:34:41.203949 92.37% [DEBUG] switch_core_state_machine.c:647 (sofia/default/100512@172.31.38.162:5060) State EXECUTE going to sleep
  710. 2023-07-26 09:34:41.203949 92.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100512@172.31.38.162:5060) Running State Change CS_HANGUP (Cur 2 Tot 77)
  711. 2023-07-26 09:34:41.203949 92.37% [DEBUG] switch_core_state_machine.c:844 (sofia/default/100512@172.31.38.162:5060) Callstate Change ACTIVE -> HANGUP
  712. 2023-07-26 09:34:41.203949 92.37% [DEBUG] switch_core_state_machine.c:846 (sofia/default/100512@172.31.38.162:5060) State HANGUP
  713. 2023-07-26 09:34:41.203949 92.37% [DEBUG] mod_sofia.c:468 Channel sofia/default/100512@172.31.38.162:5060 hanging up, cause: NORMAL_CLEARING
  714. 2023-07-26 09:34:41.203949 92.37% [DEBUG] switch_core_state_machine.c:59 sofia/default/100512@172.31.38.162:5060 Standard HANGUP, cause: NORMAL_CLEARING
  715. 2023-07-26 09:34:41.203949 92.37% [DEBUG] switch_core_state_machine.c:846 (sofia/default/100512@172.31.38.162:5060) State HANGUP going to sleep
  716. 2023-07-26 09:34:41.203949 92.37% [DEBUG] switch_core_state_machine.c:616 (sofia/default/100512@172.31.38.162:5060) State Change CS_HANGUP -> CS_REPORTING
  717. 2023-07-26 09:34:41.203949 92.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100512@172.31.38.162:5060) Running State Change CS_REPORTING (Cur 2 Tot 77)
  718. 2023-07-26 09:34:41.203949 92.37% [DEBUG] switch_core_state_machine.c:932 (sofia/default/100512@172.31.38.162:5060) State REPORTING
  719. 2023-07-26 09:34:41.203949 92.37% [INFO] mod_json_cdr.c:271 Process [35547fc9-5f98-43e3-8688-432068373b31.cdr.json]
  720. 2023-07-26 09:34:41.243922 92.37% [DEBUG] switch_core_state_machine.c:777 Hangup Command with Session system(/var/www/html/astpp/FAX/scripts/emailfax.sh /var/www/html/astpp/FAX/receive_fax_files/faabe4bc-bcca-4a8e-a4bb-1b6336cef263-FAX.tif 52970 Yash_Shah yash.shah@inextrix.com /var/www/html/astpp/attachments/faabe4bc-bcca-4a8e-a4bb-1b6336cef263-FAX.pdf yash.shah@inextrix.com 100512 52970):
  721.  
  722. 2023-07-26 09:34:41.243922 92.37% [DEBUG] switch_core_state_machine.c:616 (sofia/default/100512@172.31.38.162) State Change CS_HANGUP -> CS_REPORTING
  723. 2023-07-26 09:34:41.243922 92.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100512@172.31.38.162) Running State Change CS_REPORTING (Cur 2 Tot 77)
  724. 2023-07-26 09:34:41.243922 92.37% [DEBUG] switch_core_state_machine.c:932 (sofia/default/100512@172.31.38.162) State REPORTING
  725. 2023-07-26 09:34:41.243922 92.37% [INFO] mod_json_cdr.c:271 Process [faabe4bc-bcca-4a8e-a4bb-1b6336cef263.cdr.json]
  726. 2023-07-26 09:34:41.263963 92.37% [DEBUG] switch_core_state_machine.c:168 sofia/default/100512@172.31.38.162:5060 Standard REPORTING, cause: NORMAL_CLEARING
  727. 2023-07-26 09:34:41.263963 92.37% [DEBUG] switch_core_state_machine.c:932 (sofia/default/100512@172.31.38.162:5060) State REPORTING going to sleep
  728. 2023-07-26 09:34:41.263963 92.37% [DEBUG] switch_core_state_machine.c:607 (sofia/default/100512@172.31.38.162:5060) State Change CS_REPORTING -> CS_DESTROY
  729. 2023-07-26 09:34:41.263963 92.37% [DEBUG] switch_core_session.c:1753 Session 76 (sofia/default/100512@172.31.38.162:5060) Locked, Waiting on external entities
  730. 2023-07-26 09:34:41.263963 92.37% [NOTICE] switch_core_session.c:1771 Session 76 (sofia/default/100512@172.31.38.162:5060) Ended
  731. 2023-07-26 09:34:41.263963 92.37% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/100512@172.31.38.162:5060 [CS_DESTROY]
  732. 2023-07-26 09:34:41.263963 92.37% [DEBUG] switch_core_state_machine.c:735 (sofia/default/100512@172.31.38.162:5060) Running State Change CS_DESTROY (Cur 1 Tot 77)
  733. 2023-07-26 09:34:41.263963 92.37% [DEBUG] switch_core_state_machine.c:745 (sofia/default/100512@172.31.38.162:5060) State DESTROY
  734. 2023-07-26 09:34:41.263963 92.37% [DEBUG] mod_sofia.c:379 sofia/default/100512@172.31.38.162:5060 SOFIA DESTROY
  735. 2023-07-26 09:34:41.263963 92.37% [DEBUG] switch_core_state_machine.c:175 sofia/default/100512@172.31.38.162:5060 Standard DESTROY
  736. 2023-07-26 09:34:41.263963 92.37% [DEBUG] switch_core_state_machine.c:745 (sofia/default/100512@172.31.38.162:5060) State DESTROY going to sleep
  737. 2023-07-26 09:34:41.863921 91.37% [DEBUG] switch_core_state_machine.c:168 sofia/default/100512@172.31.38.162 Standard REPORTING, cause: NORMAL_CLEARING
  738. 2023-07-26 09:34:41.863921 91.37% [DEBUG] switch_core_state_machine.c:932 (sofia/default/100512@172.31.38.162) State REPORTING going to sleep
  739. 2023-07-26 09:34:41.863921 91.37% [DEBUG] switch_core_state_machine.c:607 (sofia/default/100512@172.31.38.162) State Change CS_REPORTING -> CS_DESTROY
  740. 2023-07-26 09:34:41.863921 91.37% [DEBUG] switch_core_session.c:1753 Session 77 (sofia/default/100512@172.31.38.162) Locked, Waiting on external entities
  741. 2023-07-26 09:34:41.863921 91.37% [NOTICE] switch_core_session.c:1771 Session 77 (sofia/default/100512@172.31.38.162) Ended
  742. 2023-07-26 09:34:41.863921 91.37% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/100512@172.31.38.162 [CS_DESTROY]
  743. 2023-07-26 09:34:41.863921 91.37% [DEBUG] switch_core_state_machine.c:735 (sofia/default/100512@172.31.38.162) Running State Change CS_DESTROY (Cur 0 Tot 77)
  744. 2023-07-26 09:34:41.863921 91.37% [DEBUG] switch_core_state_machine.c:745 (sofia/default/100512@172.31.38.162) State DESTROY
  745. 2023-07-26 09:34:41.863921 91.37% [DEBUG] mod_sofia.c:379 sofia/default/100512@172.31.38.162 SOFIA DESTROY
  746. 2023-07-26 09:34:41.863921 91.37% [DEBUG] switch_core_state_machine.c:175 sofia/default/100512@172.31.38.162 Standard DESTROY
  747. 2023-07-26 09:34:41.863921 91.37% [DEBUG] switch_core_state_machine.c:745 (sofia/default/100512@172.31.38.162) State DESTROY going to sleep
  748.