[asterisk-users] PAP2T provisioning via SRV record?

Mike Diehl mdiehl at diehlnet.com
Thu Jun 16 09:49:25 CDT 2011


On Thursday 16 June 2011 8:10:38 am Marius Pedersen wrote:
> On 06/16/2011 07:58 AM, Mike Diehl wrote:
> > Well, I ran a simple test by trying to configure the second port to use
> > the DNS SRV record, as described below.
> > 
> > Here is what I have: (sanitized)
> > ==========================================================
> > <Proxy_2_>  diehlnet.com</Proxy_2_>
> > <Outbound_Proxy_2_>  fqdn</Outbound_Proxy_2_>
> > <Display_Name_2_ ua="na">username</Display_Name_2_>
> > <User_ID_2_ ua="na">username</User_ID_2_>
> > <Password_2_ ua="na">password</Password_2_>
> > <Use_Auth_ID_2_ ua="na">Yes</Use_Auth_ID_2_>
> > <Auth_ID_2_ ua="na">username</Auth_ID_2_>
> > <Use_DNS_SRV_2_>yes</Use_DNS_SRV_2_>
> > ==========================================================
> > 
> > With this configuration, the second port does NOT register.  A sniffer
> > trace on the inside interface of my router gives me some clues, though:
> > 
> > 23:54:34.906089 IP 10.0.1.87.60198>  208.67.222.222.53:  1+ A?
> > diehlnet.com. (30) 23:54:35.102409 IP 208.67.222.222.53> 
> > 10.0.1.87.60198:  1 1/0/0 A 173.10.242.193 (46) 23:54:35.104484 IP
> > 10.0.1.87.5061>  173.10.242.193.5060: UDP, length: 527 23:54:35.104553
> > IP 173.10.242.193>  10.0.1.87: icmp 556: 173.10.242.193 udp port 5060
> > unreachable
> > 
> > It seems that the device is still looking for an A record for
> > diehlnet.com, which does exist.  It should be looking for the SRV
> > record.
> > 
> > What am I missing?
> 
> Make sure you also have set:
> 
> <DNS_SRV_Auto_Prefix_2_ ua="na">Yes</DNS_SRV_Auto_Prefix_2_>
> 
>  From the manual: "Enables the phone to automatically prepend the proxy
> or outbound proxy name with _sip._udp when performing a
> DNS SRV lookup on that name. Defaults to no."

That was the final change that made it work.  Wish I had the manual you have.  
Mine didn't say much.

Thank you.

-- 

Take care and have fun,
Mike Diehl.



More information about the asterisk-users mailing list