Re: [Sipp-users] Unexpected message - Register

2014-04-03 Thread Rob Day
Hi Milos,

If you use the -trace_err argument to SIPp, you'll get a log file
containing the exact unexpected message it saw. It may be that your
authentication is wrong and so you're getting a 403 Forbidden instead
of the 200 OK.

Best,
Rob

On 3 April 2014 15:09, Crnjanski Milos milos.crnjan...@yahoo.com wrote:
 Dear All,

 Im am trying to establish sipp scenario:

 REGISTER 
 401--
 REGISTER
 200
 INVITE
 180---
 .
 .
 .

 and when I am trying to register with my Registrar I am getting Unexpected
 message on first 200.

 Why? What does it mean? Why scenario can not continue?

 --

 ___
 Sipp-users mailing list
 Sipp-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/sipp-users


--
___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users


Re: [Sipp-users] unexpected message handling in loop

2008-11-26 Thread Dhananjaya Reddy Eadala
1. when you receive re-invite does it's call-id match to you curren't call's
call-id?
2. after receiving re-invite you are jumping to id 3 using next. after your
label id=3 do you have scenario to expect 200 for the INFO which you sent
earlier.
3. what if 200 for your INFO comes and then re-invite comes later.

Above 2 and 3 bullets are not accomodated properly in your scenario, I
believe.

Dhana

On Fri, Nov 21, 2008 at 3:14 PM, Shamik Mukhopadhyay -X (shmukhop - WIPRO at
Cisco) [EMAIL PROTECTED] wrote:

  Hi,

 Once call is up, I'm sending INFO message every 5 seconds. After few
 minutes, I get a re-invite from far end. The following script terminates
 with error.

 Please share your thoughts to handle the same.

 Thanks,

 Shamik

 label id=5/

 nop  increase CSeq count /nop

 pause milliseconds = 5000/

   send
 ![CDATA[

 INFO sip:[EMAIL PROTECTED]:5060;transport=tcp SIP/2.0
 Via: SIP/2.0/[transport] 10.194.58.243:[local_port][$65]1
 From: 772004 sip:[EMAIL PROTECTED]:[local_port][$68]
 To: 1061 sip:[EMAIL PROTECTED]:[remote_port][$69]
 [last_Call-ID:]
 Content-Type: application/media_control+xml
 Content-Length: [len]
 Contact: sip:[EMAIL PROTECTED] [EMAIL PROTECTED]
 ;transport=tcp
 CSeq: [$2] INFO
 [$67]

 ]]
   /send

recv request=INFO optional=true crlf=true next=4
 action
ereg regexp=.* search_in=hdr header=CSeq: assign_to=19/
ereg regexp=Max-Forwards.* search_in=msg assign_to=67 /
ereg regexp=;.* search_in=hdr header=To: assign_to=68 /
ereg regexp=;.* search_in=hdr header=From: assign_to=69 /
ereg regexp=;.* search_in=hdr header=Via: assign_to=65 /
 /action
   /recv

   recv request=INVITE optional=true crlf=true next=3
 action
ereg regexp=.* search_in=hdr header=From: assign_to=81/
 ereg regexp=.* search_in=hdr header=Via: assign_to=82/
ereg regexp=.* search_in=hdr header=CSeq: assign_to=8/
 /action
   /recv

   recv response=200 optional=true next=5
   /recv

 -
 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=100url=/
 ___
 Sipp-users mailing list
 Sipp-users@lists.sourceforge.net
 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=100url=/___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users


[Sipp-users] unexpected message handling in loop

2008-11-21 Thread Shamik Mukhopadhyay -X (shmukhop - WIPRO at Cisco)
Hi,
 
Once call is up, I'm sending INFO message every 5 seconds. After few
minutes, I get a re-invite from far end. The following script terminates
with error. 
 
Please share your thoughts to handle the same.
 
Thanks,
 
Shamik
 
label id=5/
 
nop  increase CSeq count /nop
 
pause milliseconds = 5000/
 
  send
![CDATA[
 
INFO sip:[EMAIL PROTECTED]:5060;transport=tcp SIP/2.0
Via: SIP/2.0/[transport] 10.194.58.243:[local_port][$65]1
From: 772004 sip:[EMAIL PROTECTED]:[local_port][$68]
To: 1061 sip:[EMAIL PROTECTED]:[remote_port][$69]
[last_Call-ID:]
Content-Type: application/media_control+xml
Content-Length: [len]
Contact: sip:[EMAIL PROTECTED];transport=tcp
CSeq: [$2] INFO
[$67]
 
]]
  /send
 
   recv request=INFO optional=true crlf=true next=4
action
   ereg regexp=.* search_in=hdr header=CSeq: assign_to=19/
   ereg regexp=Max-Forwards.* search_in=msg assign_to=67 /
   ereg regexp=;.* search_in=hdr header=To: assign_to=68 /
   ereg regexp=;.* search_in=hdr header=From: assign_to=69
/
   ereg regexp=;.* search_in=hdr header=Via: assign_to=65
/
/action
  /recv
 
  recv request=INVITE optional=true crlf=true next=3
action
   ereg regexp=.* search_in=hdr header=From: assign_to=81/
ereg regexp=.* search_in=hdr header=Via: assign_to=82/
   ereg regexp=.* search_in=hdr header=CSeq: assign_to=8/
/action
  /recv
 
  recv response=200 optional=true next=5
  /recv

-
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=100url=/___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users


Re: [Sipp-users] Unexpected-message.

2008-08-22 Thread Charles P Wright
You should look at your error logs.  Your system under test is likely 
generating error messages, indicating it is beyond its capacity.

Charles




Thekkedath, Sooraj (Sooraj) [EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
08/22/2008 01:24 AM

To
sipp-users@lists.sourceforge.net
cc

Subject
[Sipp-users] Unexpected-message.






Hi 
 
  I am using SIPP for performance testing. In high call rate I am seeing 
more unexpected messages are coming. My call rate is 500 calls per second 
and call hold time is 200 sec. I think in this call load sipp is 
generating lot of unexpected messages, how can I avoid this? 
 
Thanks 
Sooraj Thekkedath
Alcatel-Lucent
Software Engineer
Bangalore , India
Phone   : +91-80-3983-2180
Mobile  : +91-9880537131
email:  [EMAIL PROTECTED]
 -
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=100url=/
___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
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=100url=/
___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users


[Sipp-users] Unexpected-message.

2008-08-21 Thread Thekkedath, Sooraj (Sooraj)
Hi 

 

  I am using SIPP for performance testing. In high call rate I am seeing
more unexpected messages are coming. My call rate is 500 calls per
second and call hold time is 200 sec. I think in this call load sipp is
generating lot of unexpected messages, how can I avoid this? 

 

Thanks 

Sooraj Thekkedath

Alcatel-Lucent

Software Engineer

Bangalore , India

Phone   : +91-80-3983-2180

Mobile  : +91-9880537131

email:  [EMAIL PROTECTED]

 

-
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=100url=/___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users


[Sipp-users] Unexpected message problem

2007-06-12 Thread Boris Krivonog
Hi all!

I have a fairly simple scenario which I use for automatic testing.

  -- INVITE
  -- 180
  -- 200
  -- ACK

  -- INVITE
  -- 200
  -- ACK

  -- BYE
  -- ACK
  -- 200
  [   4000ms] Pause

The sipp is run i.e. sipp -rsa 127.0.0.1:5070 127.0.0.1 -m 1 -sf 
my_sipp_scenario.xml for each separate test and sipp's return value is 
checked for zero.

The problem is, that sometimes (probably due UDP protocol?) sipp 
receives the second INVITE before ACK:

  -- INVITE
  -- 180
  -- 200

  -- INVITE(WILL COMPLAIN AS UNEXPECTED SIP MESSAGE ERROR!)
  -- ACK

...


and marks the call as failed, but I think that this is still a valid 
call (since both INVITE and ACK are send). The question is, how can I 
solve this issue, so both sip flows will be valid?

The scenario (my_sipp_scenario.xml):

scenario name=Test
   recv request=INVITE crlf=true
   /recv

   send
 ![CDATA[

   SIP/2.0 180 Ringing
   [last_Via:]
   [last_From:]
   [last_To:];tag=[pid]SIPpTag01[call_number]
   [last_Call-ID:]
   [last_CSeq:]
   Contact: sip:[local_ip]:[local_port];transport=[transport]
   Content-Length: 0

 ]]
   /send

   send retrans=500
 ![CDATA[

   SIP/2.0 200 OK
   [last_Via:]
   [last_From:]
   [last_To:];tag=[pid]SIPpTag01[call_number]
   [last_Call-ID:]
   [last_CSeq:]
   Contact: sip:[local_ip]:[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=ACK optional=true
   /recv

   recv request=INVITE crlf=true /

   send retrans=500
 ![CDATA[

   SIP/2.0 200 OK
   [last_Via:]
   [last_From:]
   [last_To:];tag=[pid]SIPpTag01[call_number]
   [last_Call-ID:]
   [last_CSeq:]
   Contact: sip:[local_ip]:[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



Tnx in advance,
   Boris


-
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
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users


[Sipp-users] Unexpected message handling not working

2006-08-24 Thread Mike Machado


According to section 3.12.1 of the guide (version 1.1) unexpected 4XX or 5XX
messages before a 200 OK should result in sending an ACK and ending the
call. Below is a log that shows this is not functioning. I am using the
built in UAC senareo, so nothing fancy. Since the 200 is never received,
sipp just marks the call a timeout.

I have also seen that BYE messages are not being handled after the pause/
has started, but I don't have a clean log showing that.

Is there something special that needs to be done to get the Unexpected
message handling to work?

I am using sipp unstable 2006-08-21


(badly formatted ngrep trace follows):


#
U 192.168.32.151:5060 - 192.168.8.23:5060
  INVITE sip:[EMAIL PROTECTED]:52631 SIP/2.0..Via: SIP/2.0/UDP
192.168.32.151:5060;branch=z9hG4bK-1-0..Fro
  m: 1888555 sip:[EMAIL PROTECTED]:5060;tag=1..To:
180055512129 sip:[EMAIL PROTECTED]:5263
  1..Call-ID: [EMAIL PROTECTED]: 1 INVITE..Contact:
sip:[EMAIL PROTECTED]:5060..Max-Forwards:
   70..Subject: Performance Test..Content-Type:
application/sdp..Content-Length:  139v=0..o=user1 53655765 235
  3687637 IN IP4 192.168.32.151..s=-..c=IN IP4 192.168.32.151..t=0
0..m=audio 5678 RTP/AVP 0..a=rtpmap:0 PCMU/8000
  ..   
#
U 192.168.8.23:49296 - 192.168.32.151:5060
  SIP/2.0 100 Trying..Via: SIP/2.0/UDP
192.168.32.151:5060;received=192.168.32.151;branch=z9hG4bK-1-0..Call-ID: 1-
  [EMAIL PROTECTED]: 1888555
sip:[EMAIL PROTECTED]:5060;tag=1..To: 180055512129 sip:16504
  [EMAIL PROTECTED]:52631..CSeq: 1 INVITE..Content-Length: 0
#
U 192.168.8.23:49299 - 192.168.32.151:5060
  SIP/2.0 404 Not found  ..From: 1888555
sip:[EMAIL PROTECTED]:5060;tag=1..To: 180055512129 si
  p:[EMAIL PROTECTED]:52631;tag=437.71369641678723..Call-ID:
[EMAIL PROTECTED]: 1 INVITE..Via:
   SIP/2.0/UDP 
192.168.32.151:5060;received=192.168.32.151;branch=z9hG4bK-1-0..Content-Leng
th: 0..Record-Route: s
  
ip:[EMAIL PROTECTED]:5060;maddr
=192.168.8.23..User-Agent: someagent
  /1.0..Warning: 399 nowhere.com Unprovisioned number
#
U 192.168.8.23:49299 - 192.168.32.151:5060
  SIP/2.0 404 Not found  ..From: 1888555
sip:[EMAIL PROTECTED]:5060;tag=1..To: 180055512129 si
  p:[EMAIL PROTECTED]:52631;tag=437.71369641678723..Call-ID:
[EMAIL PROTECTED]: 1 INVITE..Via:
   SIP/2.0/UDP 
192.168.32.151:5060;received=192.168.32.151;branch=z9hG4bK-1-0..Content-Leng
th: 0..Record-Route: s
  
ip:[EMAIL PROTECTED]:5060;maddr
=192.168.8.23..User-Agent: someagent
  /1.0..Warning: 399 nowhere.com Unprovisioned number
#
U 192.168.8.23:49299 - 192.168.32.151:5060
  SIP/2.0 404 Not found  ..From: 1888555
sip:[EMAIL PROTECTED]:5060;tag=1..To: 180055512129 si
  p:[EMAIL PROTECTED]:52631;tag=437.71369641678723..Call-ID:
[EMAIL PROTECTED]: 1 INVITE..Via:
   SIP/2.0/UDP 
192.168.32.151:5060;received=192.168.32.151;branch=z9hG4bK-1-0..Content-Leng
th: 0..Record-Route: s
  
ip:[EMAIL PROTECTED]:5060;maddr
=192.168.8.23..User-Agent: someagent
  /1.0..Warning: 399 nowhere.com Unprovisioned number
#
U 192.168.8.23:49299 - 192.168.32.151:5060
  SIP/2.0 404 Not found  ..From: 1888555
sip:[EMAIL PROTECTED]:5060;tag=1..To: 180055512129 si
  p:[EMAIL PROTECTED]:52631;tag=437.71369641678723..Call-ID:
[EMAIL PROTECTED]: 1 INVITE..Via:
   SIP/2.0/UDP 
192.168.32.151:5060;received=192.168.32.151;branch=z9hG4bK-1-0..Content-Leng
th: 0..Record-Route: s
  
ip:[EMAIL PROTECTED]:5060;maddr
=192.168.8.23..User-Agent: someagent
  /1.0..Warning: 399 nowhere.com Unprovisioned number



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users