[SR-Users] Re: Kamailio as SIP proxy for an Asterisk with Private IP Address

2023-07-24 Thread Richard Chan
On Mon, 24 Jul 2023 at 18:47, Alex Balashov wrote: > Hello John, > > If that's the goal per se, you will likely need to use the Path[1][2][3] > extension, which allows a proxy to stay in the signalling path of > non-adjacent registration contacts. > > This is assuming the Asterisk project have

[SR-Users] Re: Kamailio as SIP proxy for an Asterisk with Private IP Address

2023-07-24 Thread John shuku
Thank you for the helpful answers and sharing your experiences and knowledge. Yes I would rather try vpn and also will engage an expert regarding this implementation . Am Montag, 24. Juli 2023 um 14:10:46 MESZ hat Sergio Charrua Folgendes geschrieben: As far as i understand,

[SR-Users] Re: Kamailio as SIP proxy for an Asterisk with Private IP Address

2023-07-24 Thread Sergio Charrua
As far as i understand, Kamailio is probably in a Datacenter somewhere and the Asterisk box is in an Office without any public IP address forwarding data directly to the Asterisk. The best solution I can think of (in terms of security and ease of use) is using a VPN between Kamailio and your

[SR-Users] Re: Kamailio as SIP proxy for an Asterisk with Private IP Address

2023-07-24 Thread Alex Balashov
Hello John, If that's the goal per se, you will likely need to use the Path[1][2][3] extension, which allows a proxy to stay in the signalling path of non-adjacent registration contacts. This is assuming the Asterisk project have fixed their long-standing Path bug in `chan_pjsip`, which they

[SR-Users] Re: Kamailio as SIP proxy for an Asterisk with Private IP Address

2023-07-24 Thread John shuku
the problem is not NAT .  My Asterisk does not have any public IP Address . How can I proxy the registration requests from kamailio ( with Public IP Address ) to asterisk ( With private IP address ) .  The goal is to allow remote users to register in my asterisk server .  Am Montag, 24.

[SR-Users] Re: Kamailio as SIP proxy for an Asterisk with Private IP Address

2023-07-24 Thread John shuku
the problem is not NAT .  My Asterisk does not have any public IP Address . How can I proxy the registration requests from kamailio ( with Public IP Address ) to asterisk ( With private IP address ) .  The goal is to allow remote users to register in my asterisk server .  Am Montag, 24.

[SR-Users] Re: Kamailio as SIP proxy for an Asterisk with Private IP Address

2023-07-24 Thread John shuku
Thank you for the answer . I can not set Public IP address because these asterisk boxes are in small customers with 5 to 6 extensions and they dont have public IP address .  You have mentioned its possible but How can can it be done ? Any hint please ?  Please pay attention my kamailio is not

[SR-Users] Re: Kamailio as SIP proxy for an Asterisk with Private IP Address

2023-07-24 Thread Lewis Hutchinson
This is always a good place to start https://www.fredposner.com/1457/kamailio-behind-nat/ Lewis Mission Labs Limited is registered in England, company number 10040088. Trading Office: The Old Milk Depot, Bacup Rd, Rossendale, BB4 7FE. Registered office: The Scalpel, 18th Floor 52 Lime

[SR-Users] Re: Kamailio as SIP proxy for an Asterisk with Private IP Address

2023-07-23 Thread Sergey Safarov
Also want to add, Kamailio can have only private IP address on network interface card and public IP address can be NATed on ther network or cloud equipment. On Mon, Jul 24, 2023 at 4:33 AM Alex Balashov wrote: > This is indeed possible, although one wonders why you don't just put a > public IP

[SR-Users] Re: Kamailio as SIP proxy for an Asterisk with Private IP Address

2023-07-23 Thread Alex Balashov
This is indeed possible, although one wonders why you don't just put a public IP on the Asterisk server. There are plenty of reasons to front-end it with Kamailio, e.g. protecting/securing it. But you haven't articulated those reasons. > On Jul 23, 2023, at 8:05 AM, John shuku wrote: > >