On Tue, Oct 20, 2009 at 12:02 AM, Maksim Karpenko
<mkarpenko1...@gmail.com>wrote:

> Hi list!
>
> It's my first time I'm trying to test my Asterisk server with SIPp. I've
> got the box with asterisk-1.4.26.2, LCR-1.6 with connected PRI line. And
> when I try to run SIPp in order to test the PRI-connection I got such
> errors:
>
> Unexpected UDP message received:
>>
>> SIP/2.0 183 Session Progress
>>
>
> Unexpected message for Call-ID '1.15241.127.0....@sipp.call.id': while
>> expecting '180' response, received 'SIP/2.0 183 Session Progress
>>
>
> The command line for sipp is:
>
> sipp -sf /home/apollyon/my_uac.xml 10.0.0.154 -r 1 -m 1 -d 3000 -trace_err
>> -trace_msg
>>
>
> (it's a "testing" test with only 1 call. I wrote my own uac.xml file using
> instructions from
> http://sipp.sourceforge.net/doc3.0/reference.html#Create+your+own+XML+scenarios
> )
>
> If required I can post message_log and  error_log and also sip.debug from
> asterisk.
>
> Please, give any advice how to solve this.
>

You must adjust your scenario according to the messages the UAS generates as
any unexpected message will set an error condition (and that's the purpose
of SIPp after all: to check if an UA works as expected, generating the
proper sequence of messages).
You can put something like this in your xml file:

<recv response="183" optional="true">
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to