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:p...@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
--
--
_____________________________________________________________________
-- 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