Hello,
Is there any way rtpengine can be configured to use same UDP port to receive and transmit RTP packets?
The set up I'm trying is
SIP_Client --> Kamailio/rtpengine --> Freeswitch Internet Internet LAN LAN 192.168.1.10
I tried *rtpengine_offer * in kamailio.cfg, but rtpengine seems to always use different ports to Tx/Rx the packets. (Causing Freeswitch to auto adjust its ports, which mutes the audio channel one way).
*rtpengine_offer("force symmetric media-address=192.168.1.10 replace-origin replace-session-connection ICE=remove");*
*Thank you,* * - Deep N*
Hi,
On 08/11/2014 08:34 PM, Narsay, Deep wrote:
Is there any way rtpengine can be configured to use same UDP port to receive and transmit RTP packets?
The set up I'm trying is
SIP_Client --> Kamailio/rtpengine --> Freeswitch Internet Internet LAN LAN 192.168.1.10
I tried /rtpengine_offer / in kamailio.cfg, but rtpengine seems to always use different ports to Tx/Rx the packets. (Causing Freeswitch to auto adjust its ports, which mutes the audio channel one way).
Well, rtpengine actually uses the same port to send and receive traffic towards a UA. However, it uses two different ports for the two parties, which shouldn't be an issue, because Freeswitch will only see the one port towards itself.
Andreas
Hello Andreas,
Yes, that's what I had thought, but
I am actually seeing it using two different UDP ports towards Freeswitch (send=40036 and recv=40042)
and two more ports towards SIP Client (send=40038, and recv=40040).
I am wondering if there is any setting (or flag at compilation time) that will make it symmetric.
This rtpengine is daemon only, (not using kernel module).
Thank you, - Deep N
On Mon, Aug 11, 2014 at 4:43 PM, Andreas Granig agranig@sipwise.com wrote:
Hi,
On 08/11/2014 08:34 PM, Narsay, Deep wrote:
Is there any way rtpengine can be configured to use same UDP port to receive and transmit RTP packets?
The set up I'm trying is
SIP_Client --> Kamailio/rtpengine --> Freeswitch Internet Internet LAN LAN 192.168.1.10
I tried /rtpengine_offer / in kamailio.cfg, but rtpengine seems to always use different ports to Tx/Rx the packets. (Causing Freeswitch to auto adjust its ports, which mutes the audio channel one way).
Well, rtpengine actually uses the same port to send and receive traffic towards a UA. However, it uses two different ports for the two parties, which shouldn't be an issue, because Freeswitch will only see the one port towards itself.
Andreas
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
On Aug 11, 2014, at 5:04 PM, "Narsay, Deep" deep.narsay@mezocliq.com wrote:
Hello Andreas,
Yes, that's what I had thought, but
I am actually seeing it using two different UDP ports towards Freeswitch (send=40036 and recv=40042)
and two more ports towards SIP Client (send=40038, and recv=40040).
I am wondering if there is any setting (or flag at compilation time) that will make it symmetric.
This rtpengine is daemon only, (not using kernel module).
Why do you want rtpengine in front of Freeswitch? Is FS going to give up the media at some point? You should use as few systems passing media as you can. If you don't have
disable_rtp_auto_adjust=true
on your sofia profile you should be able to receive media there directly from your clients.
--FC
Hello Frank,
Main reason to put rtpengine in front of FS is to keep the topology from being exposed. Only Kamailio and rtpengine will be facing the public Internet. Since that is the only hop, the quality won't be affected.
disable_rtp_auto_adjust option is available as dialplan variable. (Was trying to avoid adding it there, since there are quite a lot of dialplans in the database).
Thanks, -Deep N
On Mon, Aug 11, 2014 at 5:40 PM, Frank Carmickle frank@carmickle.com wrote:
On Aug 11, 2014, at 5:04 PM, "Narsay, Deep" deep.narsay@mezocliq.com wrote:
Hello Andreas,
Yes, that's what I had thought, but
I am actually seeing it using two different UDP ports towards Freeswitch
(send=40036 and recv=40042)
and two more ports towards SIP Client (send=40038, and recv=40040).
I am wondering if there is any setting (or flag at compilation time)
that will make it symmetric.
This rtpengine is daemon only, (not using kernel module).
Why do you want rtpengine in front of Freeswitch? Is FS going to give up the media at some point? You should use as few systems passing media as you can. If you don't have
disable_rtp_auto_adjust=true
on your sofia profile you should be able to receive media there directly from your clients.
--FC
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
On 08/11/14 17:04, Narsay, Deep wrote:
Hello Andreas,
Yes, that's what I had thought, but
I am actually seeing it using two different UDP ports towards Freeswitch (send=40036 and recv=40042)
and two more ports towards SIP Client (send=40038, and recv=40040).
I am wondering if there is any setting (or flag at compilation time) that will make it symmetric.
It shouldn't do that, unless it gets confused about which party talks to whom, assuming there's more than two parties involved. The "symmetric" and "asymmetric" flags actually have a different purpose (with "symmetric" being the default).
If you experience asymmetric RTP coming from rtpengine, please post the full rtpengine log from one such call, together with details about the RTP flows you're seeing.
cheers