SRV DNS resolution help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Thane!

On 24 Jun 2014, at 21:56, Thane Brimhall <tbrimhall at izeni.com> wrote:

> Hi all!
> 
> I've been using Gossip (https://github.com/chakrit/gossip) which is built on PJSIP to make an iOS app. Unfortunately, the server I want to hit uses SRV DNS records, and Gossip does not support resolving those domain names.  I've been working on this for two days now so it's time for me to ask for some help!
> 
> I've found the documentation for pj_dns_srv_resolve but I'm having a hard time grokking how to implement it. I'm proficient in Objective-C but I really have a hard time with C.
> 
> Will anyone help me implement a minimal SRV DNS resolver that takes a URL in and spits an IP address (or secondary URL) out?
> 

Have you configured some resolvers on PJSIP? If you don?t set them then it won?t do any SRV lookups. Get the resolver with pjsip_endpt_get_resolver and set some resolvers with pj_dns_resolver_set_ns.


Cheers,

--
Sa?l Ibarra Corretg?
AG Projects






[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux