[SR-Users] Kamailio with asterisk on private lan
SamyGo
govoiper at gmail.com
Fri Jan 26 19:05:24 CET 2018
Thanks Tomi,
Hope that helps OP as well. Regarding your question: "*when one should use
rtpengine over rtpproxy ?*" I believe its a matter of choice when it comes
to simpler RTP relaying, but once I started working with WebRTC clients
trying to reach Asterisks or FreeSWITCH behind the Kamailio node RTPEngine
played well since it has the capability. I'd recommend comparing the
functions of both on their respective github pages. Mediaproxy on the other
hand doesn't support this Inter-AF bridging at all.
In one particular deployment just like the one discussed over here I tried
RTPengine and it worked but client reported distortion and breaks in voice.
I tried few things but then reverted to rtpproxy and everything went
normal. I switched between the two few times to observe the same
issue. I'm sure I didn't tweak RTPengine, iptables, and OS properly for
RTPengine in that case but, just for sake of comparison, replacing with
rtpproxy brought things to expected behavior. Similarly a different
deployment using RTPengine with WebRTC clients connecting with Asterisks
worked 100% perfectly w/o a hiccup.
Regards,
Sammy
On Fri, Jan 26, 2018 at 12:50 PM, Tomi Hakkarainen <tpaivaa at gmail.com>
wrote:
> Hi,
>
> I have similar setup working.
> I followed these guides :
> https://saevolgo.blogspot.fi/2013/08/rtpproxy-revisited-kamailio-40.html
>
> Maybe you can find those also useful, and if you need more help just let
> us know…
>
> I also wonder when one should use rtpengine over rtpproxy ?
>
> BR,
> Tomi
>
> On 26 Jan 2018, at 12.47, Daniel-Constantin Mierla <miconda at gmail.com>
> wrote:
>
> To clarify and avoid misleading, rtpproxy should be able to do the same as
> rtpengine for this case
> Both modules allow to set the public IP address, by providing it as the
> second parameter to rtp relay manage function. Also, the applications
> themselves have parameters to specify the address to advertise.
>
> Cheers,
> Daniel
>
> On 25.01.18 11:00, Mark Boyce wrote:
>
> Morning Arsen
>
> Thanks I’ll take a look at that. Was using RTPProxy just through force of
> habit :-)
>
> Mark
>
> On 25 Jan 2018, at 09:53, Arsen <arsen.semionov at gmail.com> wrote:
>
> Hi Mark,
>
> You can solve this by using rtpengine module, it can rewrite SDP offer /
> answer and replace media addresses with correct IPs.
>
> https://kamailio.org/docs/modules/5.0.x/modules/
> rtpengine.html#rtpengine.f.rtpengine_offer
>
>
>
>
> Arsen Semionov
> www.eurolan.info
> cell: +442035198881 <+44%2020%203519%208881>
>
> On Thu, Jan 25, 2018 at 11:40 AM, Mark Boyce <mark at darkorigins.com> wrote:
>
>> Hi all
>>
>> I’m trying to create a relatively simple setup with Kamailio dual homed
>> on public/private ip and asterisk on private ip only. The idea is load
>> balance / fail over asterisk boxes.
>>
>> Following the real-time tutorial I have clients registering with
>> Kamailio, Kamailio registering on clients behalf with asterisk as well as
>> invites going through.
>>
>> However what I’m seeing is that when an invite occurs asterisk offers
>> media on its private ip, as it would. However this is making its way
>> through Kamailio all the way to the client.
>>
>> After a bit of searching all I can find is people trying to get it
>> working and failing, or putting asterisk on public IP.
>>
>> So questions - am I doing this completely the wrong way? Should Kamailio
>> alter the media ip of asterisk on the way through or do I need to do that
>> by hand? Surely someone somewhere has a write up on this already :-)
>>
>> Thanks
>> Mark
>>
>> _______________________________________________
>> Kamailio (SER) - Users Mailing List
>> sr-users at lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>
> Mark
> --
> Mark Boyce
> Dark Origins Ltd
> e: mark at darkorigins.com
> t: 0845 0043 043
> f: 0845 0043 044
>
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing Listsr-users at lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>
> --
> Daniel-Constantin Mierlawww.twitter.com/miconda -- www.linkedin.com/in/miconda
> Kamailio Advanced Training - March 5-7, 2018, Berlin - www.asipto.com
> Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180126/132b5fdd/attachment.html>
More information about the sr-users
mailing list