public ip issue with sip provider

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

public ip issue with sip provider

Matt Hamilton
Hi,

I have an Opensips server dispatching to 3 Asterisk servers. I would like to assign public IPs to all of these servers and avoid NAT altogether - phones will also have public IPs. The way I set this in the lab, all the SIP traffic goes thru the SIP proxy (Opensips) and RTP goes directly between the Asterisk servers and the UAs.

The issue is that our provider (they will be both sip trunk and internet access provider for us) wants to assign us only 1 public IP on their voice network - they are saying that the above design is unusual. I'm new to this, is it?

If we end up getting only 1 public IP, I assume putting all behind NAT (or assigning the public IP to opensips and putting the asterisk servers behind NAT) will do it. rtpproxy is also setup on the Opensips server just in case - I can use it to force the RTP traffic thru the sip proxy. Any other way?

All I want to do is load balance the RTP traffic, avoid any unnecessay processing and bottlenecks (rtpproxy, etc.).

Any thoughts?

Thanks,
Matt

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: public ip issue with sip provider

SamyGo
Hi,

If you want to load balance the rtp traffic then you can setup multiple rtpproxy instances and rtpproxy module would do load balancing of RTPproxies for you,there wont be any bottle neck !


Regards,
Sammy.


On Sat, Jan 7, 2012 at 6:53 PM, Matt Hamilton <[hidden email]> wrote:
Hi,

I have an Opensips server dispatching to 3 Asterisk servers. I would like to assign public IPs to all of these servers and avoid NAT altogether - phones will also have public IPs. The way I set this in the lab, all the SIP traffic goes thru the SIP proxy (Opensips) and RTP goes directly between the Asterisk servers and the UAs.

The issue is that our provider (they will be both sip trunk and internet access provider for us) wants to assign us only 1 public IP on their voice network - they are saying that the above design is unusual. I'm new to this, is it?

If we end up getting only 1 public IP, I assume putting all behind NAT (or assigning the public IP to opensips and putting the asterisk servers behind NAT) will do it. rtpproxy is also setup on the Opensips server just in case - I can use it to force the RTP traffic thru the sip proxy. Any other way?

All I want to do is load balance the RTP traffic, avoid any unnecessay processing and bottlenecks (rtpproxy, etc.).

Any thoughts?

Thanks,
Matt

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: public ip issue with sip provider

Matt Hamilton
Thanks Sammy. Multiple rtpproxies seems like a good solution. I will also look into binding the nics on the opensips server for more bandwidth.

I thought the design I described below is common. Is it really unnecessary to make all those servers public? I'm sure they will give me an 8 or 16 IP block if I insist/ask for it.

Regards,
Matt



Date: Sat, 7 Jan 2012 19:06:32 +0500
From: [hidden email]
To: [hidden email]
Subject: Re: [OpenSIPS-Users] public ip issue with sip provider

Hi,

If you want to load balance the rtp traffic then you can setup multiple rtpproxy instances and rtpproxy module would do load balancing of RTPproxies for you,there wont be any bottle neck !


Regards,
Sammy.


On Sat, Jan 7, 2012 at 6:53 PM, Matt Hamilton <[hidden email]> wrote:
Hi,

I have an Opensips server dispatching to 3 Asterisk servers. I would like to assign public IPs to all of these servers and avoid NAT altogether - phones will also have public IPs. The way I set this in the lab, all the SIP traffic goes thru the SIP proxy (Opensips) and RTP goes directly between the Asterisk servers and the UAs.

The issue is that our provider (they will be both sip trunk and internet access provider for us) wants to assign us only 1 public IP on their voice network - they are saying that the above design is unusual. I'm new to this, is it?

If we end up getting only 1 public IP, I assume putting all behind NAT (or assigning the public IP to opensips and putting the asterisk servers behind NAT) will do it. rtpproxy is also setup on the Opensips server just in case - I can use it to force the RTP traffic thru the sip proxy. Any other way?

All I want to do is load balance the RTP traffic, avoid any unnecessay processing and bottlenecks (rtpproxy, etc.).

Any thoughts?

Thanks,
Matt

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________ Users mailing list [hidden email] http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: public ip issue with sip provider

SamyGo
Hi again,
I guess for RTPproxy servers you need to have public IPs, to reduce the failure risks you can run multiple instances of RTpproxys on different ports managing separate port-ranges.

Media-Servers/asterisks on the other hand don't need to be on public IPs.

Regards.

On Sat, Jan 7, 2012 at 7:55 PM, Matt Hamilton <[hidden email]> wrote:
Thanks Sammy. Multiple rtpproxies seems like a good solution. I will also look into binding the nics on the opensips server for more bandwidth.

I thought the design I described below is common. Is it really unnecessary to make all those servers public? I'm sure they will give me an 8 or 16 IP block if I insist/ask for it.

Regards,
Matt



Date: Sat, 7 Jan 2012 19:06:32 +0500
From: [hidden email]
To: [hidden email]
Subject: Re: [OpenSIPS-Users] public ip issue with sip provider


Hi,

If you want to load balance the rtp traffic then you can setup multiple rtpproxy instances and rtpproxy module would do load balancing of RTPproxies for you,there wont be any bottle neck !


Regards,
Sammy.


On Sat, Jan 7, 2012 at 6:53 PM, Matt Hamilton <[hidden email]> wrote:
Hi,

I have an Opensips server dispatching to 3 Asterisk servers. I would like to assign public IPs to all of these servers and avoid NAT altogether - phones will also have public IPs. The way I set this in the lab, all the SIP traffic goes thru the SIP proxy (Opensips) and RTP goes directly between the Asterisk servers and the UAs.

The issue is that our provider (they will be both sip trunk and internet access provider for us) wants to assign us only 1 public IP on their voice network - they are saying that the above design is unusual. I'm new to this, is it?

If we end up getting only 1 public IP, I assume putting all behind NAT (or assigning the public IP to opensips and putting the asterisk servers behind NAT) will do it. rtpproxy is also setup on the Opensips server just in case - I can use it to force the RTP traffic thru the sip proxy. Any other way?

All I want to do is load balance the RTP traffic, avoid any unnecessay processing and bottlenecks (rtpproxy, etc.).

Any thoughts?

Thanks,
Matt

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________ Users mailing list [hidden email] http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

global constants in cfg

Matt Hamilton
Hi,

Is it possible to define constants and use them throughout the opensips.cfg file?

I'm familiar with m4 - seems to be a good solution if there is no built-in way...

Thanks,
Matt

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: global constants in cfg

Bogdan-Andrei Iancu-2
Hi Matt,

There is no built-in support for defines as we consider that does not bring any benefits (aside more work) versus using the M4 processor.

Actually in couple of days we will release an opensips deployment tool (configuration, compiling, installing, generating cfg files) based on scenario files and M4 tools.

Regards,
Bogdan

On 01/17/2012 06:13 PM, Matt Hamilton wrote:
Hi,

Is it possible to define constants and use them throughout the opensips.cfg file?

I'm familiar with m4 - seems to be a good solution if there is no built-in way...

Thanks,
Matt
_______________________________________________ Users mailing list [hidden email] http://lists.opensips.org/cgi-bin/mailman/listinfo/users


-- 
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
OpenSIPS solutions and "know-how"

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users