'media_timeout' Channel Variable
Per this wiki document here: https://developer.signalwire.com/freeswitch/FreeSWITCH-Explained/Configuration/Sofia-SIP-Stack/Sofia-Configuration-Files_7144453/#media_timeout
It states that 'rtp-timeout-sec' parameter in the profile is now deprecated, and to use the channel variable in vars.xml:
Unfortunately - when I block media and attempt to use this variable - it does not work. The deprecated parameter 'rtp-timeout-sec' does work as intended.
To Reproduce Steps to reproduce the behavior:
- Add the above channel variable to the FreeSWITCH config file (vars.xml)
- Block RTP from being received by FreeSWITCH
- The call will not tear down as is intended by the channel variable.
Expected behavior I expected a MEDIA_TIMEOUT to occur just like it does with rtp-timeout-sec parameter.
Package version or git hash
- 1.10.7
Question #2: The variable states that the time is in milliseconds. Wouldn't that be '30,000' instead of '300,000' for 30 seconds?
about question 2, yes, the doc is wrong, there's an extra zero.
doc was updated to reflect 31 seconds, 31,000 milliseconds. Can you get a log example with debug loglevel 9?
Good morning,
Just a friendly bump. Any feedback here? I can provide more data if needed.
Thanks!
This is solved by moving from 1.10.7 to 1.10.8. Can be closed.
Hi,
I am trying to test same media timeout but its not working.. can someone please help?
test scenario: setting media timeout as 31000ms. calling form microsip. parking on fs. disconnecting internet from microsip end.
Expected behavior Media timeout should occur but nothing such happening.
P.S-- I tried rtp timeout too that is also not working.
FreeSWITCH Version 1.10.12