Re: [SR-Users] What is the typical network setup for kamailio?

2018-10-03 Thread Kevin Olbrich
Am Mi., 3. Okt. 2018 um 22:50 Uhr schrieb Sergiu Pojoga : > Hi Kevin, > > Main objective would be to detect NAT, and if so, fix SDP instead of > involving rtpproxy. Both ways of course, requests and replies. > > Something like this: > > if (nat_uac_test("8")) > > fix_nated_sdp("15"); > > Thank

Re: [SR-Users] What is the typical network setup for kamailio?

2018-10-03 Thread Sergiu Pojoga
Hi Kevin, Main objective would be to detect NAT, and if so, fix SDP instead of involving rtpproxy. Both ways of course, requests and replies. Something like this: if (nat_uac_test("8")) fix_nated_sdp("15"); Cheers! On Wed, Oct 3, 2018 at 3:46 PM Kevin Olbrich wrote: > Hi! > > Sorry if you

Re: [SR-Users] What is the typical network setup for kamailio?

2018-10-03 Thread Kevin Olbrich
Hi! Sorry if you received an empty email, accidently clicked the send button when resizing the windows. I am finally able to test a setup with both kamailio and asterisk on public network. Currently I struggle with RTP flow - what do I need to change to have rtp flow directly to asterisk instead

Re: [SR-Users] What is the typical network setup for kamailio?

2018-08-20 Thread Henning Westerholt
Am Montag, 20. August 2018, 13:22:30 CEST schrieb Kevin Olbrich: > I browsed the files but was unable to find one using Kamailio as SBC > without exposing the Asterisk core. > > Most examples indeed expose the node and let media flow directly ( >

Re: [SR-Users] What is the typical network setup for kamailio?

2018-08-20 Thread Matthew Jordan
On Mon, Aug 20, 2018 at 1:04 PM Alex Balashov wrote: > On Mon, Aug 20, 2018 at 09:01:08PM +0300, Dmitri Savolainen wrote: > > > > > > > If Kamailio is going to act as your registrar, then you will need to > > > find some way to expose the registered contacts to Asterisk - > > > > > Matthew,

Re: [SR-Users] What is the typical network setup for kamailio?

2018-08-20 Thread Alex Balashov
On Mon, Aug 20, 2018 at 09:01:08PM +0300, Dmitri Savolainen wrote: > > > > If Kamailio is going to act as your registrar, then you will need to > > find some way to expose the registered contacts to Asterisk - > > > Matthew, could you explain why Asterisk have to know about reg contacts in > you

Re: [SR-Users] What is the typical network setup for kamailio?

2018-08-20 Thread Matthew Jordan
For what it's worth, we've set up a network/system where Asterisk resides completely on a private network with Kamailio acting as an edge proxy. RTPEngine is necessary as well to help the media through to the private network, but that's probably not surprising. It is completely doable, although

Re: [SR-Users] What is the typical network setup for kamailio?

2018-08-20 Thread Kevin Olbrich
Hi Henning, I browsed the files but was unable to find one using Kamailio as SBC without exposing the Asterisk core. Most examples indeed expose the node and let media flow directly ( https://www.kamailio.org/events/2017-KamailioWorld/Day1/08-David.Casem-Building-A-Global-VoIP-Network.pdf -

Re: [SR-Users] What is the typical network setup for kamailio?

2018-08-16 Thread Henning Westerholt
Am Donnerstag, 16. August 2018, 11:57:03 CEST schrieb Kevin Olbrich: > I am working successfully with Kamailio in my lab setup where Kamailio is > the SBC for Asterisk. > The network layout is looking like this: > > SIP-Phone <== PUBLIC NET ==> Kamailio (SBC) <== PRIVATE NET ==> Asterisk > <==

Re: [SR-Users] What is the typical network setup for kamailio?

2018-08-16 Thread Dmitri Savolainen
> > is RTP folowing to FS directly in this case? Yes, it woks fine in 99% and no any additional STUN/ICE are required On 16 August 2018 at 13:32, Kevin Olbrich wrote: > Hi Dmitri, > > is RTP folowing to FS directly in this case? This would allow us to use > STUN as well as ICE, etc. from

Re: [SR-Users] What is the typical network setup for kamailio?

2018-08-16 Thread Daniel Tryba
On Thu, Aug 16, 2018 at 11:57:03AM +0200, Kevin Olbrich wrote: > Most examples show that Asterisk is deployed on the same network as the > external interface of Kamailio (-> Asterisk exposed to the public network). > In our tests, this works much better but I have great security concerns > because

Re: [SR-Users] What is the typical network setup for kamailio?

2018-08-16 Thread Kevin Olbrich
Sorry, following -> flowing. Am Do., 16. Aug. 2018 um 12:32 Uhr schrieb Kevin Olbrich : > Hi Dmitri, > > is RTP folowing to FS directly in this case? This would allow us to use > STUN as well as ICE, etc. from Asterisk (which is currently the case > without Kamailio SBC in prod). > > Kevin > >

Re: [SR-Users] What is the typical network setup for kamailio?

2018-08-16 Thread Dmitri Savolainen
Hi Kevin. I use Kamailio as FreeSwitch set balancer almost without rtpengine (rtpengine is used only in some specific cases). All in public IPs. I just tune FS SIP profile to let it get requests only from Kamailio IP:PORT and add same firewall rules also. All RPC commands work via local