Hi,
I'm not sure if this is the proper way to approach it but i can't figure out
how to setup dundi.
what i did is, i try to determine which server a user is registered, by calling
an agi to query the realtime db and capture the regserver of the user.
e.g.
exten => _1xx,1,AGI(getserver.php)
exten => _1xx,2,GotoIf($["${REGSERVER}" != "asterisk-1"]?102)
exten => _1xx,3,Dial(SIP/${EXTEN}|30|t)
exten => _1xx,102,Dial(SIP/[EMAIL PROTECTED]|30|t)
exten => _1xx,103,Hangup
then i created peering between the two. so far it is working i can call
extensions that are registered in whatever server. but what i'd like to know
is, would there be a difference on performance on calls when querying a DB to
get the regserver, or is it still adviseable to use dundi for peering.
also i setup DNS SRV for these servers, what if one server fails, should the
user close their phone to re-register to the server that is alive, or will it
automtically register to the other server if the other is unreachable? TIA
Regards
Ron
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users