PBXes (http://www1.pbxes.com/forum/index.php)
- English (http://www1.pbxes.com/forum/board.php?boardid=16)
-- Terminal Equipment (http://www1.pbxes.com/forum/board.php?boardid=21)
--- RE: Proxy (http://www1.pbxes.com/forum/threadid.php?threadid=1242809047)


Posted by metokote on 20.05.2009 at 10:44:

Proxy

Hi
On our Linksys SPA941.s it asks for a proxy and also gives the opportunity (if desired) to use a separate outbound proxy.

1. What proxy address should we put in the "proxy" field?
2. Is it necessary to use a separate outbound proxy? If yes, what address should we put in for outbound proxy?

Thanks

Mike


Posted by telagente01 on 21.05.2009 at 00:40:

RE: Proxy

Hi,
On my SPA ATA units the proxy is just set to pbxes.org, there is no outbound proxy used (although 'use outbound proxy in dialogue' is set to yes)
Regards


Posted by metokote on 21.05.2009 at 12:49:

RE: Proxy

Thanks for that. The reason I ask is because, although our phones work ok for most of the time, some of them become unregistered from time to time - we want to make sure that we are connecting to the best location.

Is pbxes.org sufficient? Is that the best thing to put in the box?


Posted by telagente00 on 21.05.2009 at 14:18:

RE: Proxy

I found, with help from this forum and others, that the most reliable setup for all my SPA units (1001, PAP2 and 3102) is :

Set a local IP and sip port for each SPA
Reduce register expiry time
No outbound proxy
NAT = off
Use a STUN server
Substitute VIA addr = yes
Send resp to src port = yes
Port Forward SIP ports.
Use a QOS router if possible.
Switching off Sip_alg on the router can help.
Using the IP instead of pbxes.org helps if you have DNS issues.

What works with one router and ISP might not with a different router and ISP, but a combination of the above settings has proved workable for me.
Regards


Posted by Diafora on 23.05.2009 at 14:56:

RE: Proxy

To the excellent suggestions above, I would like to add some, which I have found workable so far with SPAs and other IP phones, ATAs, soft-phones.

• Each SPA registration (FXS or FXO port) should have a unique SIP port on the LAN, unless each SPA has a unique Public IP. If all the SPAs (or SIP UAs in general) share the same Public IP via a router, then no SIP port should be duplicated across the LAN.

Since the default range of SIP ports on the SPAs is 5060 to 5080, if more ports are needed, the range should be expanded on the SPAs which need the additional ports.

• If the router has a built-in SIP ALG, it should never be used in conjunction with a STUN server. However, the router's SIP ALG function should be tested, before deciding whether to use it or not.

Some SIP ALG implementations are functional and eradicate all the NAT traversal issues. Some are not functional and create more issues than they resolve. In the latter cases the SIP ALG should be deactivated and other methods be selected for NAT traversal (STUN, ICE, TURN).


Posted by metokote on 26.05.2009 at 09:52:

RE: Proxy

Hello again

So i should set each phone to a different port. What port ranges are available for SIP with PBXes..

Should i forward the ports also?

Thanks


Posted by telagente00 on 26.05.2009 at 11:20:

RE: Proxy

Hi,
As Diafora says, unique SIP ports should be used if you have more than 1 SIP device on your LAN.
I normally start at port 5061 and work my way up (SPAs default is 5060). I don't know the maximum but certainly to 5090.
To port forward the appropriate sip port to each SIP device you need to either:
a) switch off dhcp in the SPA device and set manually a local IP (remembering to set local gateway and DNS in the SPA to the router local address), or
b) leave dhcp ON and associate within the router each SPA MAC address with the local IP it has been assigned.
Either way you can then port forward each SIP port to a fixed local SPA address within the router.
Regards

Powered by: Burning Board Lite 1.0.2 © 2001-2004 WoltLab GmbH
English translation by Satelk