[Asterisk-Users] SRV Lookups *ARRGH!*

Douglas Garstang dgarstang at oneeighty.com
Sun Dec 11 08:34:37 MST 2005


Asterisk is really pissing me off.
Can someone tell me why this doesn't cause SRV lookups to be done on outbound calls:

[general]
srvlookup=yes
...

[proxy]
type=peer
host=pstn.voip.com
insecure=very
context=test
qualify=yes

exten => s,2,Dial(SIP/${EXTEN}@proxy,20,rt)

NO SRV LOOKUP!

While the following DOES cause an SRV lookup to be done...

exten => s,2,Dial(SIP/${EXTEN}@pstn.voip.com,20,rt)

So... if I put the domain directly into the dial command an SRV lookup is done. If I reference it in sip.conf, an SRV lookup *IS NOT* done. WTF???



More information about the asterisk-users mailing list