Frank,
I've tried it, and unfortunately its not working


Best regards,
Ziv Gabel
Support engineer

phone: + (972) 4 8508000 X 130
Cell: + (972) 54 4528944
Email: [EMAIL PROTECTED]
Mailvision Ltd



[EMAIL PROTECTED] wrote:

Ziv,

Try to put: export TERM=vt100  in the beginning of your bash script..

Don't know why, but this did the trick for me...

Kind Regards

Frank Cozijnsen

------------------------------------------------------------------------

*Van:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *Namens *Ziv Gabel
*Verzonden:* maandag 31 maart 2008 8:39
*Aan:* Ronnie Jones
*CC:* [EMAIL PROTECTED]; [email protected]
*Onderwerp:* Re: [Sipp-users] sipp inside a bash scrip

Ronnie,
this script is one part of a larger scripts that should test a SIP application (see if its a live ) and send an email when it stops responding, the scrip should run as a cron job which means as a background script.


Best regards,
Ziv Gabel
Support engineer
phone: + (972) 4 8508000 X 130
Cell: + (972) 54 4528944
Email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Mailvision Ltd



Ronnie Jones wrote:


Ziv,

SIPp is a foreground process which you can not put into a shell script and then run the script in the background. Why do you want to run it in the background when it seems that you are executing a non-iterate/one time (-m 1) request? If you have to have SIPp to run in the background, add "-bg" as a SIPp command line option. You can find more information about running SIPp in background mode at http://sipp.sourceforge.net/doc/reference.html.

Hope this help...

Ronnie

*Ziv Gabel <[EMAIL PROTECTED]> <mailto:[EMAIL PROTECTED]>*
Sent by: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

03/30/2008 04:41 AM

        

To

        

[email protected] <mailto:[email protected]>

cc

        

Subject

        

Re: [Sipp-users] sipp inside a bash scrip

        




Does any one else has an idea ?

Best regards,
Ziv Gabel
Support engineer

phone: + (972) 4 8508000 X 130
Cell: + (972) 54 4528944
Email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Mailvision Ltd



Ziv Gabel wrote:
> I have a bash script that sends registration to a proxy using sipp.
> when I run it normally (./register.sh) everything is o.k., but if I try
> to run it in the background (./register.sh &) it just doesn't work the
> script is very simple:
>
> sipp -max_retrans 4 -m 1 -sf register_client.xml -r 1 -l 80
> 192.168.0.76:5060 -i 192.168.0.85
>
>
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Sipp-users mailing list
[email protected] <mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/sipp-users

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to