Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between sip proxy and sip outbound proxy

I'm little bit confused about sip proxy and sip outbound proxy? What is the basic difference between sip proxy and sip outbound proxy? Is it mandatory to use sip outbound proxy along with sip proxy? Can anyone point me out from the below image which one is the sip proxy and outbound proxy?

enter image description here

like image 317
Poles Avatar asked Dec 10 '15 06:12

Poles


People also ask

What is the difference between inbound and outbound proxy?

It may hit your home proxy first, and receive treatment such as being proxied to you based on your registered contact. This is an "inbound service", and your home proxy is acting as an "inbound proxy". Now you want to make a call. Since you're making the call, it is going "out", or can be called "outbound".

What is my outbound proxy address?

When you look at the configuration options on most IP phones, you will see a field called “Outbound Proxy” or “Outbound Proxy Server”. In this field you can enter an IP address, a host. domain name or just a domain name (as long as it can be resolved to an IP address in DNS).

What is SIP in proxy address?

(Session Initiation Protocol proxy) A proxy server that allows SIP-based telephony packets to traverse the network's firewall. The SIP proxy takes over call control and provides address translation in order to direct calls to the appropriate phones within the network.

Why do we need SIP proxy?

It ensures a quick response to inbound calls. It can also send a call to a list of phones in sequence and ring each one until it's answered. Using a stateful SIP proxy, you can save all your calls, messages, and files.


2 Answers

As your attached picture, it should be:

  • User Agent: Client
  • SIP outbound proxies: SIP Proxy port 5060 & SIP Proxy port 5070 when they're receiving incoming request from UA

A sip proxy can be understood as an "outbound proxy" or an "inbound proxy". Details explanation can be describe as below:

"Pretend you are a SIP User Agent, perhaps a very simple UA that doesn't even do DNS lookups.

A call coming to you is "inbound".

It may hit your home proxy first, and receive treatment such as being proxied to you based on your registered contact. This is an "inbound service", and your home proxy is acting as an "inbound proxy".

Now you want to make a call. Since you're making the call, it is going "out", or can be called "outbound". You send this call to a proxy, which looks up the request URI in DNS and sends the call on towards its destination. This proxy is providing the "outbound service" of DNS resolution, and is acting as an "outbound proxy" for this call.

On any call there may be any number of inbound and outbound proxies and services. Some proxies may even provide both sorts for a single call.

Assume the simple network UA1----P1----P2----UA2

UA1 places a call to UA2."

//refer: https://www.ietf.org/mail-archive/web/sip/current/msg06276.html

like image 151
zoro Avatar answered Sep 28 '22 09:09

zoro


SIP Proxy

A SIP proxy server receives a SIP request from a user agent or another proxy and acts on behalf of the user agent in forwarding or responding to the request.

Sip Outbound Proxy

An outbound Proxy: A proxy that receives requests from a client, even though it may not be the server resolved by the Request-URI. Typically, a SIP user agent is manually configured with an outbound proxy, or can learn about one through auto-configuration protocols.

Basically they are the same, the only difference, is that SIP Proxy treats requests both for UAC (client) and UAS (server), but SIP Outbound Proxy receives requests from UAC. And, no, it's not mandatory to use SIP Outbound Proxy along with SIP Proxy. What about scheme from your image, these are not proxy servers, but are registrar servers which are used to register requests of the users and keep the information from these requests.

like image 27
nsinvocation Avatar answered Sep 28 '22 10:09

nsinvocation