Hi everyone, I have a number of SIP registrations going fine, but am trying to get a new provider going, and they have no sample Asterisk SIP config. They have been helpful, but keep falling back to the way they "think" packets should be flowing, and I've been trying to figure out how the Asterisk config should look like to get the SIP packet to look correct. Now, they say that from a phone this works fine, and that our config must be at issue. The claim is that "Asterisk isn't doing MD5 authentication right", and since I'm not an expert with SIP MD5 auth in asterisk, may be true. Right now, I'm trying to get the registration happening. On a "test" server, we've been able to put through a call w/o registration, so it seems some of this can be compatible. I'm wondering if I can use "md5secret" with a "register => " statement. The current busted config: [general] ;register => userid:pass:acctid@voipprovider.com:5069 [myipsolution] type=friend authuser=acctid username=userid secret=pass md5secret=XXXMD5HASH of userid:asterisk:pass XXXXX nat=yes host=voipprovider.com port=5069 insecure=very canreinvite=no The error on the console is: Jul 16 11:29:20 NOTICE[3361]: -- Registration for 'userid@voipprovider.com' timed out, trying again Jul 16 11:29:21 WARNING[3361]: Forbidden - wrong password on authentication for REGISTER for 'userid' to 'voipprovider.com' The password is right, as given and verified by the provider. Any suggestions would be great. Thanks, J.
On 16:32, Sat 16 Jul 05, jerry@voiptower.com wrote:> > Hi everyone, > > I have a number of SIP registrations going fine, but am trying to get a new > provider going, and they have no sample Asterisk SIP config. They have been > helpful, but keep falling back to the way they "think" packets should be > flowing, > and I've been trying to figure out how the Asterisk config should look like > to get the SIP packet to look correct. > > Now, they say that from a phone this works fine, and that our config must be > at issue. The claim is that "Asterisk isn't doing MD5 authentication right", > and since I'm not an expert with SIP MD5 auth in asterisk, may be true. > > Right now, I'm trying to get the registration happening. On a "test" server, > we've been able to put through a call w/o registration, so it seems some of > this can be compatible. > > I'm wondering if I can use "md5secret" with a "register => " statement. > > The current busted config: > > [general] > ;register => userid:pass:acctid@voipprovider.com:5069 > > [myipsolution] > type=friend > authuser=acctid > username=userid > secret=pass > md5secret=XXXMD5HASH of userid:asterisk:pass XXXXX > nat=yes > host=voipprovider.com > port=5069 > insecure=very > canreinvite=no > > The error on the console is: > Jul 16 11:29:20 NOTICE[3361]: -- Registration for 'userid@voipprovider.com' > timed out, trying again > Jul 16 11:29:21 WARNING[3361]: Forbidden - wrong password on authentication for > REGISTER for 'userid' to 'voipprovider.com' > > The password is right, as given and verified by the provider. Any suggestions > would be great. >Hi, Did you try to put the md5 encoded password in your register=> line ? -- Michiel van Baak http://michiel.vanbaak.info michiel@vanbaak.info GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7E0B9A2D "Why is it drug addicts and computer afficionados are both called users?"
I am a newbie and am having trouble trying to register with a voip provider using sip. I am able to connect using xlite softphone. in xlite i use domain/realm: providerdomain.com sip proxy: host.providerdomain.com:9000 this difference in domain and sip proxy host is whats causing problem for me. section from sip.conf [provider-out] type=peer secret=nnnnnn username=55439 fromuser=55439 fromdomain=providerdomain.com host=host.providerdomain.com port=9000 nat=No canreinvite=no when trying to make a call with xlite, i see that the "to" part in sip messages is using @xyz.provider.com where as in asterisk it uses host.xyz.provider.com (sip proxy host, NOT the domain/realm host). Another thing i notice is that if i use nat=yes then asterisk doesn't seem to be using the port=9000 and uses default 5060 for remote host. What am i doing wrong or missing? Can someone point me in the right direction? What will be the register => line for this? Also can someone provide info on "[authentication]" in sip.conf? any help will be greatly appreciated. thanks. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
I am a newbie and am having trouble trying to register with a voip provider using sip. I am able to connect using xlite softphone. in xlite i use domain/realm: providerdomain.com sip proxy: host.providerdomain.com:9000 this difference in domain and sip proxy host is whats causing problem for me. section from sip.conf [provider-out] type=peer secret=nnnnnn username=55439 fromuser=55439 fromdomain=providerdomain.com host=host.providerdomain.com port=9000 nat=No canreinvite=no when trying to make a call with xlite, i see that the "to" part in sip messages is using @xyz.provider.com where as in asterisk it uses host.xyz.provider.com (sip proxy host, NOT the domain/realm host). Another thing i notice is that if i use nat=yes then asterisk doesn't seem to be using the port=9000 and uses default 5060 for remote host. What am i doing wrong or missing? Can someone point me in the right direction? What will be the register => line for this? Also can someone provide info on "[authentication]" in sip.conf? any help will be greatly appreciated. thanks. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com