SOLVED: ast_get_srv: SRV lookup

[color=blue]Well I fixed the problem by setting srvlookup=no, but I thought that was the default… :confused:
[/color]


I have two sip registrations with ViaTalk. Everything seems to be working properly, but on the Asterisk console I get the following messages every few seconds:

-- ast_get_srv: SRV lookup for '_sip._UDP.optimusprime.vtnoc.net' mapped to host optimusprime.vtnoc.net, port 5060
-- ast_get_srv: SRV lookup for '_sip._UDP.shockwave.vtnoc.net' mapped to host shockwave.vtnoc.net, port 5060

I am registering with the two servers shockwave.vtnoc.net and optimusprime.vtnoc.net.

While this is not causing any particular problem, everything works, it’s annoying to have the console cluttered up with these messages. Is there anything I can do to get rid of them?

Thanks,
Ian

sip.conf (excerpt)

register => num1:xxx@shockwave.vtnoc.net/num1
register => num1:yyy@optimusprime.vtnoc.net/num2

[viatalk-1]
type=friend
authuser=num1
defaultuser=num1
fromuser=num1
fromdomain=shockwave.vtnoc.net
host=shockwave.vtnoc.net
secret=xxx
context=incoming-on-vt
dtmfmode=inband ; VT uses inband dtmf
allow=ulaw
allow=gsm

[viatalk-2]
type=friend
authuser=num2
defaultuser=num2
fromuser=num2
fromdomain=optimusprime.vtnoc.net
host=optimusprime.vtnoc.net
secret=yyy
context=incoming-on-vt
dtmfmode=inband ; VT uses inband dtmf
allow=ulaw
allow=gsm