Hello,

I'm trying out shtoom on win32, I've got it up and running after a few
hours of fiddling with fastaudio and stuff. Anyway my problem is that
the first register-message receives just an 403 forbidden instead of
401 unauthorized. I believe I have done something wrong when setting
up shtoom. I have a user on asterisk called 22 (with the same
auth-user) and I have the following options in .shtoomrc:

[identity]
username=hugo
[EMAIL PROTECTED]

[register]
register_uri=sip:server.hallqvist.rr.nu
register_authuser=22
register_user=22
register_authpasswd=22

Do you have any immediate suggestions?

There is a note in Registration.recvResponse() (line 1049) about *,
however shtoom never gets there since it doesn't get a 401 or 407 but
a 403 on registration.

Attaching sip-conversation as taken from asterisk console:

Sip read:
REGISTER sip:server.hallqvist.rr.nu SIP/2.0
Via: SIP/2.0/UDP 213.114.166.49:5060;rport
CSeq: 4239 REGISTER
To: sip:[EMAIL PROTECTED]
From: sip:[EMAIL PROTECTED]
Expires: 900
Call-ID: [EMAIL PROTECTED]
User-Agent: Shtoom/0.3alpha0
Contact: <sip:[EMAIL PROTECTED]:5060>
Content-Length: 0


10 headers, 0 lines
Using latest request as basis request
Sending to 213.114.166.49 : 5060 (non-NAT)
Transmitting (no NAT):
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 213.114.166.49:5060
From: sip:[EMAIL PROTECTED]
To: sip:[EMAIL PROTECTED];tag=as0d1d397a
Call-ID: [EMAIL PROTECTED]
CSeq: 4239 REGISTER
User-Agent: Hallqvist Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:[EMAIL PROTECTED]>
Content-Length: 0

Eagerly awaint your reponse. :-)

//Hugo
_______________________________________________
Shtoom mailing list
[email protected]
http://mail.python.org/mailman/listinfo/shtoom

Reply via email to