Hi all,

I'm new to sipp and I'm trying to do some investigation on OpenIMS Core
testing by using sipp.

I have created registration scripts as below and it works:
========================================
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">

<scenario name="sip-to-sip call">
    <send retrans="500">
        <![CDATA[
REGISTER sip:sentaca-ims.lab SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
From: <sip:[service]@sentaca-ims.lab>;tag=[call_number]
To: <sip:[service]@sentaca-ims.lab>
Call-ID: [call_id]
CSeq: 1 REGISTER
Contact: <sip:[service]@[local_ip]:[local_port]>;transport=[transport]
Max-Forwards: 70
Expires: 300
User-Agent: UCT IMS Client
Supported: path
Supported: gruu
Content-Length: 0
        ]]>
    </send>
    <recv response="401" auth="true" rtd="true">
        <action>
            <!--ereg regexp=".*" search_in="hdr" header="Service-Route"
assign_to="1" /-->
        </action>
    </recv>
    <send retrans="500">
        <![CDATA[
REGISTER sip:sentaca-ims.lab SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
From: <sip:[service]@sentaca-ims.lab>;tag=[call_number]
To: <sip:[service]@sentaca-ims.lab>
Call-ID:[call_id]
CSeq: 2 REGISTER
Contact: <sip:[service]@[local_ip]:[local_port]>
[authentication username=g...@sentaca-ims.lab password=gary]
Max-Forwards: 70
User-Agent: UCT IMS Client
Expires: 300
Supported: path
Supported: gruu
Content-Length: 0
        ]]>
    </send>
    <recv response="200" rrs="true">
    </recv>
 </scenario>
======================================

The output screen as below:
------------------------------ Scenario Screen -------- [1-9]: Change
Screen --
  Call-rate(length)   Port   Total-time  Total-calls  Remote-host
   1.0(0 ms)/1.000s   5060       5.96 s            5  172.16.10.34:4060(UDP)

  0 new calls during 0.953 s period      1 ms scheduler resolution
  0 calls (limit 3)                      Peak was 1 calls, after 1 s
  0 Running, 8 Paused, 2 Woken up
  0 dead call msg (discarded)            0 out-of-call msg (discarded)

  3 open sockets

                                   Messages  Retrans   Timeout
Unexpected-Msg
    REGISTER ---------->         5         0         0
         401 <----------  E-RTD1  5         0         0         0
    REGISTER ---------->         5         0         0
         200 <----------               5         0         0         0

------------------------------ Test Terminated
--------------------------------

Right now I'm not sure how to create scenario for regular call testing.
should I add INVITE in the registration scenario file and send INVITE to
the account gary, which is the ONLY registered account in OpenIMS Core (
"INVITE sip:g...@sentaca-ims.lab SIP/2.0")? or should I use another sipp
instance to register another user (e.g Alice), and then send invite as
INVITE sip:al...@sentaca-ims.lab SIP/2.0 ?

Could anyone give some suggestion?

Appreciate it in advance!


-----
Regards,
Gary Wu
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to