DNS SRV configuration

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

 



Hi,

I'm wondering how to configure DNS for working with pjsip SRV resolution
properly. Now I have something like this: 

Domain for VoIP: sip.domain.com

Two SRV serviecies:

_sip._udp.sip.domain.com SRV service location:
          priority       = 1
          weight         = 0
          port           = 5060
          svr hostname   = sip1.domain.com
_sip._udp.sip.domain.com SRV service location:
          priority       = 0
          weight         = 0
          port           = 5060
          svr hostname   = sip2.domain.com

and two type A records:

sip1.domain.com  internet address = SOME_ADDRESS
sip2.domain.com  internet address = SOME_ADDRESS2

When starting pjsua 1.12 with --nameserver=sip.domain.com argument it ends
up with this error: 
pjsua_core.c  Error setting nameserver: Invalid DNS nameserver a
ddress (PJLIB_UTIL_EDNSINNSADDR) [status=320044]

Kindly let me know any clues.

Best regards,
Coopara



[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