[Sipp-users] Regular Expression Issue

2008-11-21 Thread Sumeet Bhardwaj
Hi all,

I am using SIPp3.1.

I am using more than one regular expression for header validation. When any
1st regular expression gets failed, SIPp logs message in error.log. But it
doesn't log the message for all the failed regular expression.

I want SIPp to log all failed regular expression in the error.log.

For example :

Suppose we have 3 regular expression as below.

1. ereg regexp=.701854.* search_in=hdr header=From:
check_it=true assign_to=4 /
2. ereg regexp=.701854.* search_in=hdr header=Contact:
check_it=true assign_to=9/
3. ereg regexp=.INVITE.* search_in=msg check_it=true assign_to=12/

If 1st and 2nd regular expression gest failed then SIPp logs only 1st one
and if 1st one passes and 2nd and 3rd gets failed then it logs only 2nd not
3rd one.

Does anyone know how to solve this problem?


Please help to resolve this issue.

Thanks and Regards
-Sumeet

 

 

 

-
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] different pcap files for different calls?

2008-11-21 Thread Jan Rudinský

Hi,
I'm using SIPp to generate SIP sessions with RTP media.

How to select different pcap files for different calls? Using CSV 
database with paths to different pcaps doesn't work for 
play_pcap_audio attribute. However if I place log element just 
behind exec it prints the variable content right...

 nop
   action
 exec play_pcap_audio=[field1]/
 log message=Path is [field1]/
   /action
 /nop

There is a related conversation, but without conclusion 
(http://osdir.com/ml/telephony.sipp.user/2007-06/msg00118.html).

Does anyone know a hint?

Thank you,

Honza

-- 
Ing. Jan Rudinsky
RD Centre (RDC) for Mobile Applications
Czech Technical University in Prague
Cesnet z.s.p.o.
[EMAIL PROTECTED]
http://www.linkedin.com/in/rudinsky




-
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] different pcap files for different calls?

2008-11-21 Thread Charles P Wright
You have to change scenario.cpp so that the play_pcap_audio argument 
instantiates a SendingMessage structure (use the action-setMessage 
function), and in call.cpp the createSendingMessage  should be used where 
the CAction::E_AT_PLAY_PCAP_AUDIO is executed in executeAction().  It 
should involve less than a dozen lines of code.

Charles




Jan Rudinský [EMAIL PROTECTED] 
11/21/2008 10:13 AM

To
sipp-users@lists.sourceforge.net
cc

Subject
[Sipp-users] different pcap files for different calls?







Hi,
I'm using SIPp to generate SIP sessions with RTP media.

How to select different pcap files for different calls? Using CSV 
database with paths to different pcaps doesn't work for 
play_pcap_audio attribute. However if I place log element just 
behind exec it prints the variable content right...

 nop
   action
 exec play_pcap_audio=[field1]/
 log message=Path is [field1]/
   /action
 /nop

There is a related conversation, but without conclusion 
(http://osdir.com/ml/telephony.sipp.user/2007-06/msg00118.html).

Does anyone know a hint?

Thank you,

Honza

-- 
Ing. Jan Rudinsky
RD Centre (RDC) for Mobile Applications
Czech Technical University in Prague
Cesnet z.s.p.o.
[EMAIL PROTECTED]
http://www.linkedin.com/in/rudinsky




-
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] -aa option Issue

2008-11-21 Thread Katwala, Kalpesh N (Kalpesh)** CTR **
All,
 
I tried using the -aa option on the command line to send out an automatic 
200OK for UPDATE/NOTIFY messages. However it doesn't work. 
 
Is there any special way I need to invoke these commands?  This is what I'm 
using.
 
./sipp other information -aa
 
and in my XML file I've a recv tag as follows:
 
recv request=UPDATE optional=global
/recv
 
thank you,
Kalpesh.
-
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