Here’s my question… In my sip.conf file I have the following
register => 868901XXXX:password@XXX.XXX.XXX.XXX
but on two separate occasions I could not register or connect with the server. I have added to the extensions.conf file a redundant backup to dial out through another server with the following
exten => _NXXXXXX,1,NoOp(outbound LOCAL call on SIP)
exten => _NXXXXXX,2,Dial(SIP/sip-out/${EXTEN})
exten => _NXXXXXX,3,NoOp(outbound LOCAL call on IAX)
exten => _NXXXXXX,4,Dial(IAX2/iax-out/${EXTEN}) ; IF FIRST DIALOUT FAILS, ROLL OVER AND PLAY PHONE
exten => _NXXXXXX,5,Hangup
I would like a way to
a) re-register with the sip (or heck, iax even if I need change things round) when and if I am disconnected (maybe check every so often and/or attempt to register if a call fails) and
b) register to a backup server if the first fails. My DID provider has given me 5 IP’s I can use but I do not know how to configure the sip.conf file for this.