Hello, All, I have a question about using SRV record. One of SIP provider is using DNS SRV record. If I use IP address of the SIP proxy server I can successfully register my Asterisk 1.8.5. But If I try to use the domain name like: /register => user:pass at somedomain.com/ then the registration failed. So I have to "/dig somedomain.com SRV/" to find out the SIP proxy host, for example, "sip.regserver.com", then I have to run "/dig sip.regserver.com/" to find out the real IP address. Does Asterisk has the feature so I can register by SRV record? I lookup up sip.conf and I enabled srvlookup=yes, but that is only for SIP URI outgoing call, not for SIP registration. Thank you in advance. Jian -- -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110808/c601d925/attachment.htm>
Anyone? On 11-08-08 09:37 AM, J Gao wrote:> Hello, All, > > I have a question about using SRV record. One of SIP provider is using > DNS SRV record. If I use IP address of the SIP proxy server I can > successfully register my Asterisk 1.8.5. But If I try to use the > domain name like: > /register => user:pass at somedomain.com/ > then the registration failed. > > So I have to "/dig somedomain.com SRV/" to find out the SIP proxy > host, for example, "sip.regserver.com", then I have to run "/dig > sip.regserver.com/" to find out the real IP address. > > Does Asterisk has the feature so I can register by SRV record? I > lookup up sip.conf and I enabled srvlookup=yes, but that is only for > SIP URI outgoing call, not for SIP registration. > > Thank you in advance. > > Jian > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-- -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110809/ce6ac9a8/attachment.htm>
Am 08.08.2011 18:37, schrieb J Gao:> Hello, All, > > I have a question about using SRV record. One of SIP provider is using > DNS SRV record. If I use IP address of the SIP proxy server I can > successfully register my Asterisk 1.8.5. But If I try to use the domain > name like: > /register => user:pass at somedomain.com/ > then the registration failed. > > So I have to "/dig somedomain.com SRV/" to find out the SIP proxy host, > for example, "sip.regserver.com", then I have to run "/dig > sip.regserver.com/" to find out the real IP address. > > Does Asterisk has the feature so I can register by SRV record? I lookup > up sip.conf and I enabled srvlookup=yes, but that is only for SIP URI > outgoing call, not for SIP registration. > > Thank you in advance. > > JianDid you set srvlookup = yes in your sip.conf? regards, Ruben
On 11-08-10 03:18 AM, Ruben R?gels wrote:> Am 08.08.2011 18:37, schrieb J Gao: >> Hello, All, >> >> I have a question about using SRV record. One of SIP provider is using >> DNS SRV record. If I use IP address of the SIP proxy server I can >> successfully register my Asterisk 1.8.5. But If I try to use the domain >> name like: >> /register => user:pass at somedomain.com/ >> then the registration failed. >> >> So I have to "/dig somedomain.com SRV/" to find out the SIP proxy host, >> for example, "sip.regserver.com", then I have to run "/dig >> sip.regserver.com/" to find out the real IP address. >> >> Does Asterisk has the feature so I can register by SRV record? I lookup >> up sip.conf and I enabled srvlookup=yes, but that is only for SIP URI >> outgoing call, not for SIP registration. >> >> Thank you in advance. >> >> Jian > Did you set > > srvlookup = yes > > in your sip.conf? > > > > regards, > Ruben > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >Yes I did, as I mentioned in my first email. And, again, that srvlookup is only for calling outbound using SIP URI dialing, not for SIP Registration, am I right? Jian --
Dear you must set srv_lookup on in your config. some basic info about srv is here http://blog.lopl.net/?p=23 best On Tue, Aug 9, 2011 at 11:38 PM, J Gao <jgao at veecall.com> wrote:> ** > Anyone? > > > On 11-08-08 09:37 AM, J Gao wrote: > > Hello, All, > > I have a question about using SRV record. One of SIP provider is using DNS > SRV record. If I use IP address of the SIP proxy server I can successfully > register my Asterisk 1.8.5. But If I try to use the domain name like: > *register => user:pass at somedomain.com* > then the registration failed. > > So I have to "*dig somedomain.com SRV*" to find out the SIP proxy host, > for example, "sip.regserver.com", then I have to run "*dig > sip.regserver.com*" to find out the real IP address. > > Does Asterisk has the feature so I can register by SRV record? I lookup up > sip.conf and I enabled srvlookup=yes, but that is only for SIP URI outgoing > call, not for SIP registration. > > Thank you in advance. > > Jian > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Pezhman Lali -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110811/ff4cd973/attachment.htm>