[Asterisk-Users] sip registration question

2006-01-28 Thread Zahid Mehmood
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=nn
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 
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] sip registration question

2006-01-28 Thread Zahid Mehmood
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=nn
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 
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Sip registration question

2005-07-16 Thread jerry

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:[EMAIL PROTECTED]:5069

[myipsolution]
type=friend
authuser=acctid
username=userid
secret=pass
md5secret=XXXMD5HASH of userid:asterisk:pass X
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 '[EMAIL PROTECTED]'
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.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Sip registration question

2005-07-16 Thread Michiel van Baak
On 16:32, Sat 16 Jul 05, [EMAIL PROTECTED] 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:[EMAIL PROTECTED]:5069
 
 [myipsolution]
 type=friend
 authuser=acctid
 username=userid
 secret=pass
 md5secret=XXXMD5HASH of userid:asterisk:pass X
 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 '[EMAIL PROTECTED]'
 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
[EMAIL PROTECTED]
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x7E0B9A2D

Why is it drug addicts and computer afficionados are both called users?
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Sip registration question

2005-07-16 Thread jerry
Hi,

Quoting Michiel van Baak [EMAIL PROTECTED]:

 On 16:32, Sat 16 Jul 05, [EMAIL PROTECTED] wrote:
 
  The error on the console is:
  Jul 16 11:29:20 NOTICE[3361]:-- Registration for
'[EMAIL PROTECTED]'
  timed out, trying again
  Jul 16 11:29:21 WARNING[3361]: Forbidden - wrong password on authentication
  for REGISTER for 'userid' to 'voipprovider.com'

 Did you try to put the md5 encoded password in your
 register= line ?

I didn't before (I wasn't sure that was a valid syntax) ... but I have
tried now, same error. Is there something to tell asterisk to try an MD5
auth, either in the password or on the registration line?

Thanks for your quick response.
J.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Sip registration question

2005-07-16 Thread Michiel van Baak
On 17:01, Sat 16 Jul 05, [EMAIL PROTECTED] wrote:
 Hi,
 
 Quoting Michiel van Baak [EMAIL PROTECTED]:
 
  On 16:32, Sat 16 Jul 05, [EMAIL PROTECTED] wrote:
  
   The error on the console is:
   Jul 16 11:29:20 NOTICE[3361]:-- Registration for
 '[EMAIL PROTECTED]'
   timed out, trying again
   Jul 16 11:29:21 WARNING[3361]: Forbidden - wrong password on 
   authentication
   for REGISTER for 'userid' to 'voipprovider.com'
 
  Did you try to put the md5 encoded password in your
  register= line ?
 
 I didn't before (I wasn't sure that was a valid syntax) ... but I have
 tried now, same error. Is there something to tell asterisk to try an MD5
 auth, either in the password or on the registration line?
 
 Thanks for your quick response.
 J.

Hi,

I don't think it is possible to use md5auth on register=
lines.
Have a look at: 
http://www.voip-info.org/tiki-index.php?page=Asterisk+config+sip.conf
The one line that makes me think it is impossible is right
below the Asterisk as a SIP client examples:
Agreed, it's not very good to have a lot of cleartext
passwords in this text file, but that's how it works now. 

If you find out I'm wrong, please send me or the list a
reply
-- 
Michiel van Baak
http://michiel.vanbaak.info
[EMAIL PROTECTED]
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x7E0B9A2D

Why is it drug addicts and computer afficionados are both called users?
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users