Can I choose SIP1 or SIP2?
Can I choose SIP1 or SIP2?
SIP1 is giving me problems this weekend so I decided to go into my router and specify 174.129.234.254 (SIP2) as the proxy, but it is not connecting. Is this possible, or should I just specify the proxy as sipsorcery.com and let it do its thing?
SIP Settings for server failover
Today, when sip1 was not responding, you could have set your proxy to sip2.sipsorcery.com.
A better way, however, is to use the mechanism built in to DNS. In your gateway (phone? I have two PAP2T's):
1. Set USE DNS SRV to YES.
2. Set DNS SRV Auto Prefix to YES.
That was enough to work. I have also seen a suggestion that you might want to set the "Proxy Redundancy Method" to "Based on SRV port".
That was enough to survive the outage today.
A better way, however, is to use the mechanism built in to DNS. In your gateway (phone? I have two PAP2T's):
1. Set USE DNS SRV to YES.
2. Set DNS SRV Auto Prefix to YES.
That was enough to work. I have also seen a suggestion that you might want to set the "Proxy Redundancy Method" to "Based on SRV port".
That was enough to survive the outage today.
I don't own a PAP2 and don't know of an alternative way to specify multiple proxy addresses. However, when I entered sip1.sipsorcery.com into the proxy field I couldn't receive any calls to my phone. When I changed the proxy back to sipsorcery.com everything worked. Is sip1.sipsorcery.com a valid proxy address?
What software/device are you using to access SS?
There are apparently two servers, sip1.sipsorcery.com and sip2.sipsorcery.com. You can check their status by going to thispage.
If you put either as your proxy, you will go only to that server. If down, you're just out of luck.
If you enable DNS SRV and give sipsorcery.com as the proxy, your software will query DNS for SRV records for udp/sip and sipsorcery will reply with both sip1 and sip2. Your software is then able to try either and settle on one which is working.
If you do not enable DNS SRV, you'll most likely end up connected to sip1, since sipsorcery.com and sip1.sipsorcery.com resolve to the same address.
There are apparently two servers, sip1.sipsorcery.com and sip2.sipsorcery.com. You can check their status by going to thispage.
If you put either as your proxy, you will go only to that server. If down, you're just out of luck.
If you enable DNS SRV and give sipsorcery.com as the proxy, your software will query DNS for SRV records for udp/sip and sipsorcery will reply with both sip1 and sip2. Your software is then able to try either and settle on one which is working.
If you do not enable DNS SRV, you'll most likely end up connected to sip1, since sipsorcery.com and sip1.sipsorcery.com resolve to the same address.
Thanks for the reply czsmith. I use the DLink DPH-541 WiFi phone as my ATA. Unfortunately it does not have a DNS SRV setting that I know of. I was just curious as to why setting the proxy address to sipsorcery.com worked but sip1.sipsorcery.com did not.
Now that I think of it, there are two places to set the proxy address for Sipsorcery. One is the proxy address on the ATA SIP configuration, the other is the Sipsorcery Register Contact setting: username@sipsorcery.com. Should that be changed to username@sip1.sipsorcery.com?
Now that I think of it, there are two places to set the proxy address for Sipsorcery. One is the proxy address on the ATA SIP configuration, the other is the Sipsorcery Register Contact setting: username@sipsorcery.com. Should that be changed to username@sip1.sipsorcery.com?
Yesmel2000 wrote:the other is the Sipsorcery Register Contact setting: username@sipsorcery.com. Should that be changed to username@sip1.sipsorcery.com?