2009/8/26 Jerry Richards <jerry.richa...@teotech.com>: > I am cross-compiling sofia-sip and I'm wondering if anyone has gotten > sofia-sip to request type AAAA addresses in its DNS query? Right now I only > see it do a type A request and if that fails, it gives up. I would like it > to attempt type A and if that fails, attempt type AAAA.
I'm afraid you have to fix the source code. The sa_res_order field in nta_t object is used to determine the order, and it is never initialized (and it defaults to nta_res_ip6_ip4). A tag for determining it value is missing. You can add its initialization in nta_agent_create(). > I can see the RES_OPTIONS and SRES_OPTIONS in the documentation. Are these > compile-time environment variables? Or are they runtime environment > variables. This makes a big difference when cross-compiling. They are environment variables, I'm sorry if the documentation is unclear. However, they do not change the nta resolving order. -- Pekka.Pessi mail at nokia.com ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel