[Asterisk-Dev] change sip proxy srv entry after timeout

Olle E. Johansson oej at edvina.net
Tue Mar 8 08:57:12 MST 2005


Markus Doerfler wrote:
> hi!
> 
> i got the following problem:
> the * is registered to a provider  -> sip.conf   ....... register => 
> user:verysecret at provider.com
> 
> sometimes it happens that the server goes down. when i try to make a  call
> it is not working ... he tries to reregister at the SAME server,  times
> out and tries to reregister again on the SAME server. * is not  rereding
> the srv entry!
> 
> i want the * to reconnect complete by changing to the next SRV entry. ( 
> if i restart gracefully it works in the same second. if i wait it takes 
> minutes....)
> 
> 
> is this possible???
> 
No, not with the current code. We always only read the first entry.
This is documented in several places and is a well known, well, lacking 
feature to be nice about it...

Patches are welcome, since you must be a developer reading and writing 
to the -dev list ;-)

Best regards,
/Olle



More information about the asterisk-dev mailing list