Hi everyone,
I'm new to kamailio. I plan to setup a sip server cluster, Does someone can give me some suggestions if I can use kamailio as front server, which handle sip message and bypass rtp media message to backendserver, this mean the kamailio handle only sip message, the rtp packets are sent directed to backend server.
The sip sequences is 1.softswitch send invite to kamailio 2.kamailio send invite to backend server. 3.backend server return 200 ok to kamailio 4.kamailio return 200 ok to softswitch, the ip and port in sip is from the backend server's msg, this make the softswitch send rtp direct to backend server. 5.rtp packets are transfered between softswitch and backend server. .... 6.backend server send bye to kamailio 7.kamailio send bye to softswitch.
Any help is appreciated.
Regards, Ali Taher
Yes, this is possible. In fact, this is Kamailio’s default behaviour, since it is inherently a SIP proxy. It would not touch the SDP unless you asked it to.
— Sent from mobile, with due apologies for brevity and errors.
On May 3, 2019, at 4:39 PM, Ali Taher ataher@vanrise.com wrote:
Hi everyone,
I'm new to kamailio. I plan to setup a sip server cluster, Does someone can give me some suggestions if I can use kamailio as front server, which handle sip message and bypass rtp media message to backendserver, this mean the kamailio handle only sip message, the rtp packets are sent directed to backend server.
The sip sequences is 1.softswitch send invite to kamailio 2.kamailio send invite to backend server. 3.backend server return 200 ok to kamailio 4.kamailio return 200 ok to softswitch, the ip and port in sip is from the backend server's msg, this make the softswitch send rtp direct to backend server. 5.rtp packets are transfered between softswitch and backend server. .... 6.backend server send bye to kamailio 7.kamailio send bye to softswitch.
Any help is appreciated.
Regards, Ali Taher _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Hi Alex,
What do I have to put in routing logic in this case ?
Regards, Ali Taher
From: sr-users sr-users-bounces@lists.kamailio.org On Behalf Of Alex Balashov Sent: Friday, May 3, 2019 5:45 PM To: Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org Subject: Re: [SR-Users] Kamailio bypassing RTP media
Yes, this is possible. In fact, this is Kamailio’s default behaviour, since it is inherently a SIP proxy. It would not touch the SDP unless you asked it to. — Sent from mobile, with due apologies for brevity and errors.
On May 3, 2019, at 4:39 PM, Ali Taher <ataher@vanrise.commailto:ataher@vanrise.com> wrote: Hi everyone,
I'm new to kamailio. I plan to setup a sip server cluster, Does someone can give me some suggestions if I can use kamailio as front server, which handle sip message and bypass rtp media message to backendserver, this mean the kamailio handle only sip message, the rtp packets are sent directed to backend server.
The sip sequences is 1.softswitch send invite to kamailio 2.kamailio send invite to backend server. 3.backend server return 200 ok to kamailio 4.kamailio return 200 ok to softswitch, the ip and port in sip is from the backend server's msg, this make the softswitch send rtp direct to backend server. 5.rtp packets are transfered between softswitch and backend server. .... 6.backend server send bye to kamailio 7.kamailio send bye to softswitch.
Any help is appreciated.
Regards, Ali Taher _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.orgmailto:sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
That’s essentially what Kamailio does. You can bypass rtp or proxy it with an rtp proxy if you need it.
Check out http://www.kamailio.org/wiki/tutorials/getting-started/main
On Fri, 3 May 2019 at 15:40, Ali Taher ataher@vanrise.com wrote:
Hi everyone,
I'm new to kamailio. I plan to setup a sip server cluster, Does
someone can give me some suggestions if I can use kamailio as front server,
which handle sip message and bypass rtp media
message to backendserver, this mean the kamailio handle only sip message,
the rtp packets are sent directed to backend server.
The sip sequences is
1.softswitch send invite to kamailio
2.kamailio send invite to backend server.
3.backend server return 200 ok to kamailio
4.kamailio return 200 ok to softswitch, the ip and port in sip is from
the backend server's msg, this make the softswitch send rtp direct to
backend server.
5.rtp packets are transfered between softswitch and backend server.
....
6.backend server send bye to kamailio
7.kamailio send bye to softswitch.
Any help is appreciated.
Regards,
Ali Taher _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
On Fri, May 03, 2019 at 02:39:10PM +0000, Ali Taher wrote:
I'm new to kamailio. I plan to setup a sip server cluster, Does someone can give me some suggestions if I can use kamailio as front server, which handle sip message and bypass rtp media message to backendserver, this mean the kamailio handle only sip message, the rtp packets are sent directed to backend server.
Kamailio is a SIP proxy, so by default it will just pass SIP messages around like you require.
Id recommend using the default config as it comes after installation from the repo, and commenting out what you don’t need. And using dispatcher adding your servers.
Start by installing kamailio from the repo. It’s explained in the wiki.
On Fri, 3 May 2019 at 15:55, Daniel Tryba d.tryba@pocos.nl wrote:
On Fri, May 03, 2019 at 02:39:10PM +0000, Ali Taher wrote:
I'm new to kamailio. I plan to setup a sip server cluster, Does someone can give me some suggestions if I can use kamailio as front
server,
which handle sip message and bypass rtp media message to backendserver, this mean the kamailio handle only sip message, the rtp packets are sent directed to backend server.
Kamailio is a SIP proxy, so by default it will just pass SIP messages around like you require.
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users