Hi,

Anyone please guide me how to automate SIPp XML Scripts..........

Regards

Darshan B N


On 01/06/07, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:

Send Sipp-users mailing list submissions to
       [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
       https://lists.sourceforge.net/lists/listinfo/sipp-users
or, via email, send a message with subject or body 'help' to
       [EMAIL PROTECTED]

You can reach the person managing the list at
       [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Sipp-users digest..."


Today's Topics:

  1. Echo output port and address (Miguel.Gomez)
  2. sipp fails on basic call using csv (Stephen Cattaneo)
  3. Conditional branching in sipp 2.0.1 (Andre Wangler)
  4. Re: Conditional branching in sipp 2.0.1
     (Boulkroune, Olivier (Non-HP:Atos Origin))


----------------------------------------------------------------------

Message: 1
Date: Thu, 31 May 2007 17:27:34 +0200
From: "Miguel.Gomez" <[EMAIL PROTECTED]>
Subject: [Sipp-users] Echo output port and address
To: [email protected]
Message-ID:
       <[EMAIL PROTECTED]>
Content-Type: text/plain;       charset=ISO-8859-1;     format="flowed"

Hello.

I did not find a way to echo the rtp stream received at media_port to a
different port number. Actually both remote media address and port seem to
be
automatically assigned, AFAIK, without chance to choose them. So, if this
feature really does not exist, this is a formal request. ;-)

Regards.
Miguel




------------------------------

Message: 2
Date: Thu, 31 May 2007 16:38:03 -0700
From: "Stephen Cattaneo" <[EMAIL PROTECTED]>
Subject: [Sipp-users] sipp fails on basic call using csv
To: <[email protected]>
Message-ID:
       <[EMAIL PROTECTED]>
Content-Type: text/plain;       charset="us-ascii"

Greetings SIPp Users,

I recently installed SIPp and am trying to get it working successfully.
I was able to register with a SIP Proxy Server using a basic REGISTER
SIP message.  Following that I tried to use a CSV file to source the
user id and local ip, instead of hard coding them.
SIPp reports: "2007-05-31 16:10:46: Unknown host '5107471010'.
Use 'sipp -h' for details."
And exits with an exit code of '-1'

Any ideas why this is not working?

Steve
______

My command line:
sipp -sf basic.xml -t ui -inf basic.csv -ip_field 1 -m 1 192.168.1.1
____
basic.xml:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<scenario name="Basic Sipstone UAC">
<send retrans="1000">
<![CDATA[

  REGISTER sip:[remote_ip] SIP/2.0
  Via: SIP/2.0/[transport] [field1]:[local_port]
  From: <sip:[EMAIL PROTECTED];user=phone>;tag=[call_number]
  To: <sip:[EMAIL PROTECTED];user=phone>
  Call-ID: [call_id]
  CSeq: 1 REGISTER
  Contact:
<sip:[EMAIL PROTECTED]:[local_port];user=phone;transport=[transport]>;ex
pires=3600
  User-Agent: Cisco-CP7912/1.02-040406A
  Allow: ACK, BYE, CANCEL, INVITE, NOTIFY, OPTIONS, REFER, REGISTER
  Content-Length: [len]

]]>
</send>
<recv response="200">
</recv>

</scenario>

______
basic.csv:
SEQUENTIAL
#csv file for 7912_Register.xml
5107471010;192.168.1.5





------------------------------

Message: 3
Date: Fri, 1 Jun 2007 08:54:27 +0200
From: "Andre Wangler" <[EMAIL PROTECTED]>
Subject: [Sipp-users] Conditional branching in sipp 2.0.1
To: <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"

Hello all

I have some problems with my xml-scenario. My branchings seem not to work.
It terminates after one loop. Is something wrong with my scenario file?
(sipp 2.0.1...)

Another question: Isn't it possible to 'execute' a NOP in the very
beginning? The first NOP is only executed just when an INVITE comes in. I
want to execute the <action> once at initialisation. Thanks for your answer.

Best regards

Andr?


<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">

<scenario>

<nop>
   <action>
     <exec command="echo '[phys] is waiting for calls' >>
/tmp/testresult.log "/>
   </action>
</nop>

<label id="8"/>

<recv request="INVITE" crlf="true">
</recv>

<pause milliseconds="50"/>

<nop>
  <action>
     <exec command="echo '[local_ip] mapped number to [phys]' >>
/tmp/testresult.log "/>
  </action>
</nop>

<send>
   <![CDATA[
SIP/2.0 180 Ringing sip:[local_ip] SIP/2.0
[last_Via:]
Max-Forwards:10
[last_To:]
[last_From:]
Call-ID: [call_id]
[last_CSeq:]
Contact: <sip:[EMAIL PROTECTED]>
Expires: 10
Content-Length:[len]
   ]]>
</send>


<send>

   <![CDATA[
SIP/2.0 200 OK sip:[local_ip]
[last_Via:]
Max-Forwards:10
To:[last_From]
From:[EMAIL PROTECTED];tag=[phys]
Call-ID: [call_id]
[last_CSeq:]
Contact:<sip:[EMAIL PROTECTED]>
Content-Length:0


   ]]>
</send>

<recv request="ACK">
</recv>

<recv request="BYE">
</recv>

<send next="8">

   <![CDATA[
SIP/2.0 200 OK sip:[local_ip]
[last_Via:]
Max-Forwards:10
To:[last_From]
From:[EMAIL PROTECTED];tag=[phys]
Call-ID: [call_id]
[last_CSeq:]
Contact:<sip:[EMAIL PROTECTED]>
Content-Length:0


   ]]>
</send>


</scenario>
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 4
Date: Fri, 1 Jun 2007 09:41:33 +0200
From: "Boulkroune, Olivier (Non-HP:Atos Origin)"
       <[EMAIL PROTECTED]>
Subject: Re: [Sipp-users] Conditional branching in sipp 2.0.1
To: "Andre Wangler" <[EMAIL PROTECTED]>,
       <[email protected]>
Message-ID:
       <[EMAIL PROTECTED]
>
Content-Type: text/plain; charset="iso-8859-1"

Hello Andr?,



Does your client send INVITE requests with a unique Call-Id ? If not, I
would say that your calls will be blocked on the first recv state after one
loop, because if the server receives a second INVITE with a different
Call-Id, a new call will be created and the first call won't go further with
its scenario.



About your second question: this is not currently possible with sipp (at
least with the stable version), for the calls are created on the server side
when the first message is received.



Hope this helps.



Olivier Boulkroune



________________________________

De : [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] De la part de Andre Wangler
Envoy? : vendredi 1 juin 2007 08:54
? : [email protected]
Objet : [Sipp-users] Conditional branching in sipp 2.0.1



Hello all



I have some problems with my xml-scenario. My branchings seem not to work.
It terminates after one loop. Is something wrong with my scenario file?
(sipp 2.0.1...)



Another question: Isn't it possible to 'execute' a NOP in the very
beginning? The first NOP is only executed just when an INVITE comes in. I
want to execute the <action> once at initialisation. Thanks for your answer.



Best regards



Andr?





<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">



<scenario>



<nop>
   <action>
     <exec command="echo '[phys] is waiting for calls' >>
/tmp/testresult.log "/>
   </action>
</nop>



<label id="8"/>



<recv request="INVITE" crlf="true">
</recv>

<pause milliseconds="50"/>



<nop>
  <action>
     <exec command="echo '[local_ip] mapped number to [phys]' >>
/tmp/testresult.log "/>
  </action>
</nop>



<send>
   <![CDATA[
SIP/2.0 180 Ringing sip:[local_ip] SIP/2.0
[last_Via:]
Max-Forwards:10
[last_To:]
[last_From:]
Call-ID: [call_id]
[last_CSeq:]
Contact: <sip:[EMAIL PROTECTED]>
Expires: 10
Content-Length:[len]
   ]]>
</send>




<send>



   <![CDATA[
SIP/2.0 200 OK sip:[local_ip]
[last_Via:]
Max-Forwards:10
To:[last_From]
From:[EMAIL PROTECTED];tag=[phys]
Call-ID: [call_id]
[last_CSeq:]
Contact:<sip:[EMAIL PROTECTED]>
Content-Length:0




   ]]>
</send>



<recv request="ACK">
</recv>



<recv request="BYE">
</recv>



<send next="8">



   <![CDATA[
SIP/2.0 200 OK sip:[local_ip]
[last_Via:]
Max-Forwards:10
To:[last_From]
From:[EMAIL PROTECTED];tag=[phys]
Call-ID: [call_id]
[last_CSeq:]
Contact:<sip:[EMAIL PROTECTED]>
Content-Length:0




   ]]>
</send>




</scenario>

-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

------------------------------

_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users


End of Sipp-users Digest, Vol 13, Issue 1
*****************************************




--
Darshan B N

Thanks & Regards
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to