[Asterisk-Dev] using round-robin dns for sip registrations

Mark Thompson asterisk at ermy.net
Sun Aug 1 01:59:40 MST 2004


On Jul 29, 2004, at 18:26, Greg Hill wrote:
> But with a round-robining
> dns, we could possibly get the same IP back a second time. We'll 
> probably
> need to find all the IPs, ala 'dig', and keep them in a list so that we
> can cycle through them.

How about using the RFC2553 API (specifically, section 6.1 of 
http://www.ietf.org/rfc/rfc2553.txt)

#include <sys/socket.h>
#include <netdb.h>

    struct hostent *getipnodebyname(const char *name, int af, int flags, 
int *error_num);

.. which leads to my next question. (Apologies if this has been covered 
before - I'm an asterisk newbie that is frantically reading docs, 
scanning the mailing lists and waiting for my FXO card to arrive to 
start playing)

Is there currently a community effort to support IPv6 signalling and 
media streams within * ?


Regards,

Mark/




More information about the asterisk-dev mailing list