*
[call_id]* - A call_id identifies a call and is generated by SIPp for each
new call. *In client mode, it is mandatory to use the value generated by
SIPp in the "Call-ID" header.* Otherwise, SIPp will not recognise the answer
to the message sent as being part of an existing call.
Note: [call_id] can be pre-pended with an arbitrary string using '///'.
Example: Call-ID: ABCDEFGHIJ///[call_id] - it will still be recognized by
SIPp as part of the same call.

On Tue, Feb 26, 2008 at 2:27 PM, Daniel Morés Aires <
[EMAIL PROTECTED]> wrote:

>  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! Crie já o 
> seu!<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
>
>
-------------------------------------------------------------------------
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

Reply via email to