Re: [Sipp-users] can SIPp execute shell command like "echo" in background mode?

2008-09-15 Thread Ronnie Jones
Try escaping the quotes around the ID

> pass.log"/>

Ronnie




Charles P Wright/Watson/[EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
09/15/2008 03:14 PM

To
"Sumeet Bhardwaj" <[EMAIL PROTECTED]>
cc
[EMAIL PROTECTED], sipp-users@lists.sourceforge.net
Subject
Re: [Sipp-users] can SIPp execute shell command like "echo" in  background 
mode?






I suspect your use of double quotes within the quoted string is causing 
the problem.

Charles

[EMAIL PROTECTED] wrote on 09/12/2008 05:51:24 AM:

> 
> Hi all,
> 
> 
> I am not able to log the status of the test in the log file when sipp is
> running in the background mode.
> 
> It is able to log the status when it runs in the normal mode.
> 
> 
> I am using following action in the xml file:
> 
> 
> 
> > pass.log"/>
> 
> 
> 
> 
> This code doesn't log the status in the "pass.log" file when sipp is 
running
> in the background mode.
> 
> Please help me to solve this problem.
> 
> 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=100&url=/
> ___
> 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=100&url=/
___
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=100&url=/___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users


Re: [Sipp-users] can SIPp execute shell command like "echo" in background mode?

2008-09-15 Thread Charles P Wright
I suspect your use of double quotes within the quoted string is causing 
the problem.

Charles

[EMAIL PROTECTED] wrote on 09/12/2008 05:51:24 AM:

> 
> Hi all,
> 
> 
> I am not able to log the status of the test in the log file when sipp is
> running in the background mode.
> 
> It is able to log the status when it runs in the normal mode.
> 
> 
> I am using following action in the xml file:
> 
> 
> 
> > pass.log"/>
> 
> 
> 
> 
> This code doesn't log the status in the "pass.log" file when sipp is 
running
> in the background mode.
> 
> Please help me to solve this problem.
> 
> 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=100&url=/
> ___
> 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=100&url=/
___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users


Re: [Sipp-users] SIP-I message format in sipp

2008-09-15 Thread Charles P Wright
Andy,

I think the patch in general is OK, but just to warn others; it doesn't 
affect the behavior for received messages; only sent ones.  The recieve 
path will probably be significantly harder to correct.

Charles




"Andy Aicken" <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
09/09/2008 07:04 PM

To
"'darshan b n'" <[EMAIL PROTECTED]>, 
cc

Subject
Re: [Sipp-users] SIP-I message format in sipp






Hi Darshan,
 
I created a patch for handling SIP-I messages, as the current message 
handling in SIPp treats everything as a string so doesn?t handle ISUP 
message bodies that contain a binary \x00. This ends up being treated as a 
string termination resulting in message gets truncated.
 
The patch is available at:
 
https://sourceforge.net/tracker/?func=detail&atid=637566&aid=1965508&group_id=104305
 
It needs more rigorous testing but worked ok for me with the type of 
functionality I was using.
 
Regards
Andy
 
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of darshan b n
Sent: 04 September 2008 12:30
To: sipp-users@lists.sourceforge.net
Subject: [Sipp-users] SIP-I message format in sipp
 
Hi all ,
 
i want know how to create a SIP-I message in sipp please respond with a 
sample message format
 
Thanks
darshan
 


 
On 04/09/2008, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote: 
Send Sipp-users mailing list submissions to
   sipp-users@lists.sourceforge.net

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. Re: Force source IP & source Port at IP layer (Klaus Darilion)
  2. sipp remote (RTP) port handling (Jan Rudinsk?)


--

Message: 1
Date: Thu, 04 Sep 2008 10:05:02 +0200
From: Klaus Darilion <[EMAIL PROTECTED]>
Subject: Re: [Sipp-users] Force source IP & source Port at IP layer
To: Cyrille OLIVIER <[EMAIL PROTECTED]>
Cc: sipp-users@lists.sourceforge.net
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

FYI: If you want to change the src IP you can also use this patch:
https://sourceforge.net/tracker/?func=detail&atid=637566&aid=1823593&group_id=104305


klaus

Cyrille OLIVIER schrieb:
> Dear sipp-users,
>
> Again, I asked my requests about SIPp client using TCP:
> Is it possible to force sipp to use specific IP source & Port source, at
> IP layer, for "send" messages when TCP with single socket (option '-t
> t1' used) ?
> I tried many things:
>
> -bind_local: seems unuseful.
> -i x.x.x.x -p  options: it's only for some SIP headers but not
> for IP packet header.
>  for INVITE message
> look for this subject in mailing list archives
> ...
>
> Currently, I don't know which other workaround or things to do :(
> I would really appreciate any help about that
> Thanks a lot,
> BR,
> Cyrille
>
> 
> Discutez gratuitement avec vos amis en vid?o ! T?l?chargez Messenger,
> c'est gratuit ! 
>
>
> 
>
> 
-
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
>
>
> 
>
> ___
> Sipp-users mailing list
> Sipp-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sipp-users



--

Message: 2
Date: Thu, 04 Sep 2008 12:32:12 +0200
From: Jan Rudinsk? <[EMAIL PROTECTED]>
Subject: [Sipp-users] sipp remote (RTP) port handling
To: sipp-users@lists.sourceforge.net
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-2"


Hi,
I'm using SIPp to generate a call with RTP media. Media are sent to
remote side, recorded and sent back.
However SIPp sends media to a different remote port than offered by the
remote side.

SIPp:   SIP INVITE with SDP m=audio 6000 RTP/AVP 0
Remote:  200 OK with SDP m=audio 18436 RTP/AVP 0 101
SIP:RTP incoming on 6000(OK)
Remote:  RTP incoming on 1843(instead of 18436)

Attached: scenario graph, packet capture

Does anyone know the solution?

Thank you,

JaR


--
Ing. Jan Rudinsky
Czech Technical University in Prague
Cesnet z.s.p.o.
R&D Centre (RDC) for Mobile Applications
[EMAIL PROTECTED]



-- next part 

Re: [Sipp-users] inserting timestamp of messages

2008-09-15 Thread Charles P Wright
You can use -trace_logs and the [timestamp] keyword inside of a  action.

Charles

[EMAIL PROTECTED] wrote on 09/09/2008 09:01:44 PM:

> Hi,
> when using trace_msg options I can get the message with its 
> timestamp, But I need to extract only the timestamp in a CVS file 
>  i have tried to execute external command through  but 
> got problem with that. 
> 
> Anyone who can help with that.
> 
> thanks,
> 
> Amar Ahmed
> 
> Want to do more with Windows Live? Learn ?10 hidden secrets? from Jamie. 

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


Re: [Sipp-users] UDP destination port in server mode

2008-09-15 Thread Charles P Wright
Marc,

If you can extract the port from the header, you can use the new, but as 
of yet undocumented  action:

Something like:
  
 





 
  

Charles

[EMAIL PROTECTED] wrote on 09/05/2008 10:31:22 AM:

> Hello all,
> 
> I'm struggling to get sipp send out the response packets to the 
> right UDP port. 
> 
> I'm using a pretty recent SIPp dated 20080723. SIPp is listening for
> register requests on port 5060 (-t u1 -p 5060) and answers them with
> a "200 OK".
> 
> The register request messages arrive from a fixed source address (S-
> IP), with a variable UDP source port and have internally a Via:-
> header specifying S-IP:5060, so the responses are expected there, 
> and not an the variable source port number.
> 
> Not specifying anything special on the command line, responses go 
> from SIPp:5060 to S-IP:source-port, instead of the address mentioned
> in the Via:.
> I've seen somewhere a mention that it can follow the via, but didn't
> find anything on that in documentation of source, so I think it is 
> not in. Anybody know more of this?
> 
> As in my case the destination is the fixed S-IP:5060, I tried 
> specifying this with the '-rsa' remote sending address option. Using
> this option has a clear effect on the behaviour: SIPp now sends the 
> message from SIPp:variable-high-port to S-IP:source-port instead of 
> using 5060 as source port. This seems very strange to me, the SIPp 
> source port gets variable, but the specified sending address:port is
> not used, also not when giving another IP address as rsa-
> destination. So, using the rsa-option has an effect, but not really 
> the expected one.
> 
> Anybody knowing how to solve this problem with SIPp?
> 
>   Best regards,
> 
>   MarcVD
> 
> 
> (-: from Marc VAN DIEST (BELGACOM) ;-)
> 
> 
-
> 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
> 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=100&url=/
___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users


Re: [Sipp-users] CRLF on SDP body

2008-09-15 Thread Charles P Wright
This patch was applied in SVN version 528.

Charles

[EMAIL PROTECTED] wrote on 09/02/2008 12:10:24 PM:

> Patch
> 
> http://sourceforge.net/tracker/index.php?
> func=detail&aid=2049758&group_id=104305&atid=637566
> 
> Alon Doron wrote: 
> Hi all
> In the UAC scenario there is no CRLF on the last line on SDP body.
> Could someone suggest a way how to add the CRLF?
> Doron Alon
> Comverse
> Tel: 972-3-7663881
> 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=100&url=/
> 
> 
> ___
> 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=100&url=/
> ___
> 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=100&url=/
___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users