Hi,
I'm facing a problem when trying to send a REGISTER from a SIPp client to a
Asterisk PBX.
Here it is my .xml configuration:
<send retrans="500">
<![CDATA[
REGISTER sip:192.168.57.146 SIP/2.0
Via: SIP/2.0/UDP 192.168.57.146:5064
From: bob <sip:[EMAIL PROTECTED]>;tag=580010477
To: bob <sip:[EMAIL PROTECTED]>
Contact: "bob" <sip:[EMAIL PROTECTED]:5064>
Call-ID: [EMAIL PROTECTED]
CSeq: 2 REGISTER
Content-Length: 0
Max-Forwards=70
Expires: 3600
]]>
</send>
<recv response="100" optional="true">
</recv>
<recv response="401" auth="true">
</recv>
<send retrans="500">
<![CDATA[
REGISTER sip:[EMAIL PROTECTED]:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.57.146:5064
From: bob <sip:[EMAIL PROTECTED]:5064>;tag=as6d4e807a
To: bob <sip:[EMAIL PROTECTED]:5060>
Call-ID: [EMAIL PROTECTED]
CSeq: 2 REGISTER
Expires: 3600
[authentication username=bob password=bob]
Max-Forwards: 70
Subject: Attack Test
]]>
</send>
Looking at the SIPp log, all the 401 unautorized sent by Asterisk are not
beeing considered (rejected):
" Discarding message which can't be mapped to a known SIPp call:
SIP/2.0 401 Unauthorized"
and my SIPp client starts to send over and over the first REGISTER...
If you guys have faced this problem before, please let me know.
Thanks in advance,
Daniel Aires
_________________________________________________________________
Receba GRÁTIS as mensagens do Messenger no seu celular quando você estiver
offline. Conheça o MSN Mobile!
http://mobile.live.com/signup/signup2.aspx?lc=pt-br-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users