I have an idea, tell me if this wouldn't work... I know it's really ugly,
but it might help some people until we can get round robin DNS checks for
peers...

Since * does not do GetHostByName() again until you reload your config, and
BroadVoice and I'm sure other sip providers are using round robin DNS, why
not create 2 [<your server here>-out] contexts in sip.conf, and then in your
dialplan do something like this

sip.conf -

-snip-
[broadvoice-out]
host=147.135.0.128

-snip-
[broadvoice-out2]
host=147.135.8.128

extensions.conf -

-snip-
[sipphones]

exten => _9NXXNXXNXXX,1,Dial(SIP/${EXTEN:[EMAIL PROTECTED],60)
exten => _9NXXNXXNXXX,102,Dial(SIP/${EXTEN:[EMAIL PROTECTED],60)
exten => _9NXXNXXNXXX,203,Congestion()

Any thoughts? I know, I know... UGLY... but it would work I think...

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to