Change RTP port range for specific call
Hi all, I know you can set the upper/lower RTP port limit in autoload_configs/switch.conf.xml but, is it possible to have an upper/lower limit set and change it for a specific call? For example: switch.conf.xml has: <param name="rtp-start-port" value="16000"/> <param name="rtp-end-port" value="32000"/> We have certain clients that require a VPN connection to reach our servers, and the VPN blocks all UDP traffic from ports >10000. One solution would be of course just to lower our range, ok... But is there a way that I can set the RTP port range for a specific call? Something like this in diaplan: [...] <action application="set" data="rtp-start-port=3000"/> <action application="set" data="rtp-end-port=4000"/> [...] I don't know if this is doable some way... If FS doesn't have this option, maybe with a Kamailio + rtpengine in front we could potentially achieve this? Thanks! Best regards, Joel.
There is not a way to do that on a per call basis.
On Mar 2, 2017, at 5:55 PM, Joel Serrano <joel@gogii.net> wrote:
Hi all,
I know you can set the upper/lower RTP port limit in autoload_configs/switch.conf.xml but, is it possible to have an upper/lower limit set and change it for a specific call?
For example:
switch.conf.xml has:
<param name="rtp-start-port" value="16000"/> <param name="rtp-end-port" value="32000"/>
We have certain clients that require a VPN connection to reach our servers, and the VPN blocks all UDP traffic from ports >10000.
One solution would be of course just to lower our range, ok... But is there a way that I can set the RTP port range for a specific call?
Something like this in diaplan:
[...] <action application="set" data="rtp-start-port=3000"/> <action application="set" data="rtp-end-port=4000"/> [...]
I don't know if this is doable some way... If FS doesn't have this option, maybe with a Kamailio + rtpengine in front we could potentially achieve this?
Thanks!
Best regards, Joel.
I thought it wasn't possible, but worth to confirm! I'll have to find a workaround. Thanks Michael. On Thu, Mar 2, 2017 at 3:00 PM, Michael Jerris <mike@jerris.com> wrote:
There is not a way to do that on a per call basis.
On Mar 2, 2017, at 5:55 PM, Joel Serrano <joel@gogii.net> wrote:
Hi all,
I know you can set the upper/lower RTP port limit in autoload_configs/switch.conf.xml but, is it possible to have an upper/lower limit set and change it for a specific call?
For example:
switch.conf.xml has:
<param name="rtp-start-port" value="16000"/> <param name="rtp-end-port" value="32000"/>
We have certain clients that require a VPN connection to reach our servers, and the VPN blocks all UDP traffic from ports >10000.
One solution would be of course just to lower our range, ok... But is there a way that I can set the RTP port range for a specific call?
Something like this in diaplan:
[...] <action application="set" data="rtp-start-port=3000"/> <action application="set" data="rtp-end-port=4000"/> [...]
I don't know if this is doable some way... If FS doesn't have this option, maybe with a Kamailio + rtpengine in front we could potentially achieve this?
Thanks!
Best regards, Joel.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Joel Serrano
-
Michael Jerris