How to configure an outbound proxy in sipsorcery

Support zone
rnio
Posts: 89
Joined: Tue Jul 03, 2012 4:56 pm

Re: How to configure an outbound proxy in sipsorcery

Post by rnio » Thu Jul 12, 2012 1:47 am

UPDATE:

I just talked to RingCentral Technical Support and we went over the settings and it seamed that they are all correct ... yet we do not get a correct REGISTRATION ?!

The support stuff verified the settings using a SOFTPHONE "X-Lite" and it worked.

The same setting work on a LINKSYS PAP2 as well as on a CISCO IP Phone.

It does NOT work here @ SS as well as on a FRITZ!BOX ?!

So there must be something ... but what ?!

Thanks for any help.

Aaron
Site Admin
Posts: 4652
Joined: Thu Jul 12, 2007 12:13 am

Re: How to configure an outbound proxy in sipsorcery

Post by Aaron » Thu Jul 12, 2012 7:19 am

In the Register Contact try putting myname@67.222.131.147 whre myname is your Ring Central username. Some providers block or ignore registrations when they don't like the format of the registration contact.

rnio
Posts: 89
Joined: Tue Jul 03, 2012 4:56 pm

Re: How to configure an outbound proxy in sipsorcery

Post by rnio » Thu Jul 12, 2012 12:02 pm

Thanks for the tip. Did NOT work ... registration-request still TIMEOUT

Any other ideas?

rnio
Posts: 89
Joined: Tue Jul 03, 2012 4:56 pm

Re: How to configure an outbound proxy in sipsorcery

Post by rnio » Fri Jul 13, 2012 3:21 am

Hi Aaron,

what NETWORK-TOOL is top of the line for checking SIP network traffic.

With such a tool I could just sniff and see what the ATA (PAP2) does and what my FRITZ!BOX does ... my guess is that there is just a slight variation ... which causes the miss communication.

SS might just be in the same camp as FRITZ!BOX is ... while RIngcentral is stubborn enough to not tolerate this (?) variation.

Thanks for any help :-)

rnio
Posts: 89
Joined: Tue Jul 03, 2012 4:56 pm

Re: How to configure an outbound proxy in sipsorcery

Post by rnio » Mon Jul 16, 2012 5:51 am

Hi,

still trying to get the SS REGISTERED with RIngCentral.

It might be that RC needs to see a "valid" (approved) "User-Agent'" ?!

Maybe there is a way to SPOOF this similar to what people did when a website allowed only certain browsers (change the browser ID)? Use the PAP User-Agent string.

What do you think ... might this be THE trick?

Aaron
Site Admin
Posts: 4652
Joined: Thu Jul 12, 2007 12:13 am

Re: How to configure an outbound proxy in sipsorcery

Post by Aaron » Mon Jul 23, 2012 8:27 am

You can use the Advanced section of the SIP Provider entry to add a custom SIP Header. In this case you want to add a header called User-Agent and set the values as required, e.g. "User-Agent: My Special SIP device" (without the double quotes).

Also a good network tool for capturing SIP traffic is WireShark.

User avatar
Flip
Posts: 95
Joined: Sun Aug 19, 2012 3:53 am

Re: How to configure an outbound proxy in sipsorcery

Post by Flip » Sun Jun 05, 2016 11:53 am

QUESTIONS:
Okay, so after reading every post I then learnt that the "Route: ..." was perhaps a custom header, right? Unfortunately saying "Try using Route: <sip:sip.ringcentral.com:5090;lr>" means nothing when people read an answer x years later. Especially if English as a second language. Where should "Route:..." be entered'? In the RUBY dial plan? Somewhere else? :?

So if this a custom header, it should be under: SIP Provider, Advanced, Custom Headers, and enter: Route: <sip:sip.ringcentral.com:5090;lr> and click Add??
What does ";lr>" do?

Thanks peeps!


HOW TO CONFIGURE AN OUTBOUND PROXY?
SIP SERVER: enter your outbound proxy here:port
REALM: enter your SIP Server here:port
Works for me.

Outbound Proxy Examples:
SIP Server: 123.123.123.123:5060 or outbound.provider.com:5060 (Outbound Proxy, ":port" optional)
Realm: sip.provider.com (SIP Server, ":port" optional)
or
SIP Server: sip.provider.com (SIP Server)
Custom Header > Add: Route: <sip:123.123.123.123:5060;lr> or Route: <sip:outbound.provider.com:5060;lr> (Outbound Proxy)

Correct?
ISP: Southern Phone ADSL2+ $55 Bundle. 22.4/1.2Mbps, GB Bundle [Telstra].
VSP: SIPTalk¹, Symbio² & MyNetFone³ via SIPSorcery Cloud PBX. [Warning! Avoid DIDLogic!!! Beware!!]
H/W: Asus RT-AC86U; Cisco SPA232D, 2 x SPA901's, SPA3102; Yealink SIP-T46G.

Aaron
Site Admin
Posts: 4652
Joined: Thu Jul 12, 2007 12:13 am

Re: How to configure an outbound proxy in sipsorcery

Post by Aaron » Sun Jun 05, 2016 12:09 pm

You really don't want to use a custom SIP Route header unless you either know what you are doing or are experimenting. If you are just trying to get a SIP Provider working don't use a custom Route header. The sipsorcery server allows an outbound proxy to be set with the custom Route header but again you will break things unless you understand fairly deeply how SIP works and you do not need to set this value in 99.9% of cases.

SIP Provider Settings:

Server: Is the host address that will be placed in the SIP URI for requests sent to the SIP Provider. It can be a host name or IP address.

Realm: This should not need to be set as the SIP Provider will set the realm when it sends a Challenge response. The sipsorcery server will use the value from the challenge response. You should only set this for a good reason.

Auth Username: By default the SIP Provider Username is used for authentication. A very small number of providers require the username (which goes in the From header URI) be different from the username that is used in the Authorization header. Only set this if you have been explicitly requested to by a SIP provider.

User avatar
Flip
Posts: 95
Joined: Sun Aug 19, 2012 3:53 am

Re: How to configure an outbound proxy in sipsorcery

Post by Flip » Sun Jun 05, 2016 1:17 pm

Thanks mate.
Stick that info on the wiki :)
ISP: Southern Phone ADSL2+ $55 Bundle. 22.4/1.2Mbps, GB Bundle [Telstra].
VSP: SIPTalk¹, Symbio² & MyNetFone³ via SIPSorcery Cloud PBX. [Warning! Avoid DIDLogic!!! Beware!!]
H/W: Asus RT-AC86U; Cisco SPA232D, 2 x SPA901's, SPA3102; Yealink SIP-T46G.

Post Reply