Hi Sammy,

I'm not sure it will work.
Assume the following scenario:
Kamailio receives INVITE with audio only SDP and selects rtpproxy-1.
After a while video is enabled with REINVITE. 
Now SDP has video and kamailio selects rtpproxy-2 according to your solution.
In this case, most probably video and audio rtp packages will flow through rtpproxy-2.
However what I want to do is to keep rtpproxy-1 for audio packages and add rtpproxy-2 for video packages 
and release audio ports from rtpproxy-1 and video ports from rtpproxy-2 when BYE received.

Is there any easy way to do that in Kamailio?




On Thu, Jan 14, 2016 at 3:30 PM, SamyGo <govoiper@gmail.com> wrote:

Hi,
Yes thats possible as I think you can do a search in SDP body for "video" if found then select the rtpproxy instance else select other one.

Regards,
Sammy

On Jan 14, 2016 06:39, "Koray Vatansever" <koray.vatansever@gmail.com> wrote:
Hi everybody,

Is there a way to use different rtpproxies for different media types?
I want to use one rtpproxy set for audio, and use another one for video.
Is this possible in kamailio?


Regards,
Koray

_______________________________________________
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


_______________________________________________
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