Thank you Simon,
Your advice was really useful.
But i spent the whole day trying to establish a call and exchanging Message
but it DOES NOT work and I really do not know why!
Actually, when the caller sends an INVITE then a ACK...the ACK is not
"forwarded" to the callee (I received a 100 instead), very weird!
For the instant messaging, When the client receives a MESSAGE, it does not
send back a 200 OK (dunno why?!)
Always, OpenIMSCore is always sending back either INVITE or MESSAGE.
I'm really fed up and I would be very grateful if anyone could help me!
Also, is anyone has basic call & messaging scenarios that work (I just want
to test if it work on my side)
Attached is my scenarios for messaging and INVITE.
The trace are downloadable here: http://dl.free.fr/o3qaadnzW
Thanks a lot!
Khaldon
2008/8/11 Simon Flannery <[EMAIL PROTECTED]>
> Not sure if this will help, but have you considered using the -aa
> switch to auto respond to inbound NOTIFYs and simply pausing your
> scenario (add a pause command in the scenario file)?
>
> Normally when testing a similar scenario, as you have described, I
> send a SUBSCRIBE with a different port in the SIP contact header. Then
> I run another instance of SIPp on the other "different" port which
> simply responds to an in bound NOTIFY such as:
>
> <?xml version="1.0" encoding="ISO-8859-1" ?>
> <!DOCTYPE scenario SYSTEM "sipp.dtd">
>
> <scenario name="NOTIFY signal listener">
> <recv request="NOTIFY" />
> <send>
> <![CDATA[
> SIP/2.0 200 OK
> [last_Via:]
> [last_To]
> [last_From]
> [last_Call-ID:]
> [last_CSeq:]
> [last_Event:]
> Contact: <sip:[local_ip]:[local_port];transport=[transport]>
> Content-Length: 0
> ]]>
> </send>
> </scenario>
>
> Or, you could use the -aa switch as described before.
>
> HTH,
>
> Simon
>
> 2008/8/10 ims.asuser ims.asuser <[EMAIL PROTECTED]>:
> >
> > Hi all,
> >
> > That not totally right (for me), If I follow that registration flow,
> > OpenIMSCore sends me a NOTIFY. after receiving the 200 OK for the IMS
> core,
> > it tries to send me a NOTIFY. As the program stopped, It tries to send it
> > again and again...That' really painful because when I run my UAS, it is
> > expecting to receive an INVITE but it receives a NOTIFY (that the core
> sends
> > back).
> >
> > So, I have decided to send a subscribe to the reg event (thank you Franz)
> > but SIPp is blocked on receiving a NOTIFY. Even if the core send tons of
> > NOTIFY messages, it does not take it into account...weird!
> >
> > I think I will (soon) test the IMS bench SIPp, Is anyone have a simple
> > tutorial that show to use it easily and quickly (I have read all the 67
> > pages of documentation and that look really difficult, I do not where to
> > start from!)
> >
> > Thank you all!!
> > Khaldon
> >
> > ps: attached is my scenario and wireshark trace
> >
> > 2008/8/7 Кузьмин И. И. <[EMAIL PROTECTED]>
> >>
> >> Hi Khaldon,
> >>
> >> i did perfomance tests of OpenIMSCore using SIPp 2.1 and SIPp IMS Bench.
> >> Normal Registration signaling flow looks like:
> >>
> >> > 1) register ->
> >> > 2) <-401
> >> > 3) register->
> >> > 4) <-200
> >>
> >> it's enough to provide the registration for user. Pay attention to
> >> P-Headers ;)
> >>
> >> In addition you'll need to fill the FoHSS with a number of subscriber
> >> entities, to handle this issue in automatic mode analyse the SQL scripts
> >> used for creation of Alice and Bob.
> >>
> >> Regards,
> >> Ivan Kuzmin.
> >> State University of Telecomunications, St.Petersburg, Russia.
> >>
> >>
> >> -----Original Message-----
> >> From: "ims.asuser ims.asuser" <[EMAIL PROTECTED]>
> >> To: [email protected]
> >> Date: Thu, 7 Aug 2008 16:16:40 +0200
> >> Subject: [Sipp-users] SUBSCRIBE scenario
> >>
> >> >
> >> > Hi all,
> >> >
> >> > I would like to test the OpenIMSCore platform (I will perform as much
> as
> >> > I
> >> > can). These tests will be then given to the IMS community.
> >> > First of all, did anyone perform OpenIMSCOre tests using SIPp?
> >> >
> >> > I would like to perform first in different stage:
> >> > 1) Registration
> >> > 2) Calls
> >> > 3) Instant Messaging
> >> >
> >> > So far, I'm only on the first step (registering a user). I only
> managed
> >> > to
> >> > do a simple registration (register ->, <-401, register->, <-200). But
> I
> >> > have
> >> > problems when I want to go further.
> >> > In ims, the scenario looks like that:
> >> > 1) register ->
> >> > 2) <-401
> >> > 3) register->
> >> > 4) <-200
> >> > 5) subscribe->
> >> > 6) <-notify
> >> > 7) 200->
> >> >
> >> > The IMS Core is behaving really eerily when I send a subscribe message
> >> > then
> >> > the simulation stops
> >> > Is anyone know why is it working like that?
> >> >
> >> > Attached are my script and wireshark trace.
> >> >
> >> > Many thanks,
> >> > Khaldon
> >> >
> >> > ATTACHMENT: text/xml (Registerbob1.xml)
> >> > ATTACHMENT: application/octet-stream (SIPp_SUBSCRIBE)
> >> >
> >> >
> >> >
> -------------------------------------------------------------------------
> >> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> >> > challenge
> >> > Build the coolest Linux based applications with Moblin SDK & win great
> >> > prizes
> >> > Grand prize is a trip for two to an Open Source event anywhere in the
> >> > world
> >> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >> >
> >> > _______________________________________________
> >> > Sipp-users mailing list
> >> > [email protected]
> >> > https://lists.sourceforge.net/lists/listinfo/sipp-users
> >> >
> >> >
> >>
> >
> >
> >
> > -------------------------------------------------------------------------
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> > Build the coolest Linux based applications with Moblin SDK & win great
> > prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the
> world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > _______________________________________________
> > Sipp-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/sipp-users
> >
> >
>
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">
<scenario name="ims_msgc">
<nop>
<action>
<exec int_cmd="set_start_time"/>
</action>
</nop>
<send retrans="500" start_rtd="1" clen_random="uniform:0,140">
<![CDATA[
MESSAGE sip:[EMAIL PROTECTED] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
Max-Forwards: 70
Route: <sip:[EMAIL PROTECTED]:6060;lr>
From: <sip:[EMAIL PROTECTED]>;tag=[pid]SIPpTag00[call_number]
To: <sip:[EMAIL PROTECTED]>
Call-ID: [call_id]
CSeq: 1 MESSAGE
Contact: sip:[EMAIL PROTECTED]:[local_port]
Content-Type: text/plain
Content-Length: [len]
This is some text to appear in the instant message.
It can have multiple lines and SIPp automatically computes the length to
be put in Content-Length header.
]]>
</send>
<recv response="200" rtd="1">
</recv>
<ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
<CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
</scenario>
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">
<scenario name="ims_msgs">
<recv request="MESSAGE">
<action>
<exec int_cmd="set_start_time"/>
</action>
</recv>
<send crlf="true">
<![CDATA[
SIP/2.0 200 OK
[last_Via:]
[last_Record-Route:]
[last_From:]
[last_To:];tag=[pid]SIPpTag01[call_number]
[last_Call-ID:]
[last_CSeq:]
Contact: <sip:[EMAIL PROTECTED]:[local_port];transport=[transport]>
Content-Length: 0
]]>
</send>
<pause milliseconds="4000"/>
<ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
<CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
</scenario>
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">
<scenario name="ims_uac">
<nop>
<action>
<exec int_cmd="set_start_time"/>
</action>
</nop>
<send retrans="500" start_rtd="1,2,4">
<![CDATA[
INVITE sip:[EMAIL PROTECTED] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
Max-Forwards: 70
Route: [$u1]
From: "alice" <sip:[EMAIL PROTECTED]>;tag=[pid]SIPpTag00[call_number]
To: "bob" <sip:[EMAIL PROTECTED]>
Call-ID: [call_id]
CSeq: 1 INVITE
Contact: sip:[EMAIL PROTECTED]:[local_port]
Content-Type: application/sdp
Content-Length: [len]
v=0
o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
s=-
c=IN IP[media_ip_type] [media_ip]
t=0 0
m=audio [media_port] RTP/AVP 0
a=rtpmap:0 PCMU/8000
]]>
</send>
<recv response="100" optional="true">
</recv>
<recv response="180" optional="true">
</recv>
<recv response="183" optional="true">
</recv>
<recv response="200" rrs="true">
</recv>
<send>
<![CDATA[
ACK [next_url] SIP/2.0
[last_Via:]
Max-Forwards: 70
[routes:]
From: "alice" <sip:[EMAIL PROTECTED]>;tag=[pid]SIPpTag00[call_number]
[last_To:]
Call-ID: [call_id]
CSeq: 1 ACK
Content-Length: 0
]]>
</send>
<recv response="180" optional="true"/> <!-- In case it got delayed (UDP), ignore it! -->
<!-- Hold Time (call connected) -->
<pause milliseconds="1000"/>
<send retrans="500" start_rtd="3">
<![CDATA[
BYE [next_url] SIP/2.0
[last_Via:]
Max-Forwards: 70
[routes:]
From: "alice" <sip:[EMAIL PROTECTED]>;tag=[pid]SIPpTag00[call_number]
[last_To:]
Call-ID: [call_id]
CSeq: 2 BYE
Content-Length: 0
]]>
</send>
<recv response="180" optional="true"/> <!-- In case talk time was ~0 and 180 Ringing got -->
<!-- delayed (UDP), ignore it! -->
<recv response="200" crlf="true" rtd="3,4">
<action>
<move_user pool="2"/> <!-- Back to Registered pool !-->
</action>
</recv>
<!-- definition of the response time repartition table (unit is ms) -->
<ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
<!-- definition of the call length repartition table (unit is ms) -->
<CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
</scenario>
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">
<scenario name="ims_uas">
<recv request="INVITE" start_rtd="5,2">
<action>
<exec int_cmd="set_start_time"/>
</action>
</recv>
<send>
<![CDATA[
SIP/2.0 180 Ringing
[last_Via:]
[last_Record-Route:]
[last_From:]
[last_To:];tag=[pid]SIPpTag01[call_number]
[last_Call-ID:]
[last_CSeq:]
Contact: <sip:[EMAIL PROTECTED]:[local_port];transport=[transport]>
Content-Length: 0
]]>
</send>
<!-- Ringing Time -->
<pause milliseconds="1500"/>
<send retrans="500" rtd="5">
<![CDATA[
SIP/2.0 200 OK
[last_Via:]
[last_Record-Route:]
[last_From:]
[last_To:];tag=[pid]SIPpTag01[call_number]
[last_Call-ID:]
[last_CSeq:]
Contact: <sip:[EMAIL PROTECTED]:[local_port];transport=[transport]>
Content-Type: application/sdp
Content-Length: [len]
v=0
o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
s=-
c=IN IP[media_ip_type] [media_ip]
t=0 0
m=audio [media_port] RTP/AVP 0
a=rtpmap:0 PCMU/8000
]]>
</send>
<recv request="BYE" optional="true" next="5"/> <!-- In case it went faster than ACK (UDP) -->
<recv request="ACK" start_rtd="1">
</recv>
<recv request="BYE">
</recv>
<send crlf="true" next="10">
<![CDATA[
SIP/2.0 200 OK
[last_Via:]
[last_From:]
[last_To:]
[last_Call-ID:]
[last_CSeq:]
Content-Length: 0
]]>
</send>
<label id="5"/> <!-- BYE came before ACK -->
<send crlf="true">
<![CDATA[
SIP/2.0 200 OK
[last_Via:]
[last_From:]
[last_To:]
[last_Call-ID:]
[last_CSeq:]
Content-Length: 0
]]>
</send>
<recv request="ACK" optional="true" start_rtd="1"/>
<label id="10"/> <!-- END OF SCENARIO -->
<pause milliseconds="4000"/>
<!-- definition of the response time repartition table (unit is ms) -->
<ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
<!-- definition of the call length repartition table (unit is ms) -->
<CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
</scenario>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users