hi, when ever i startup SER with this function used, "nat_uac_test", i get the cfg loading error "is some module missing"
i know the function is in nathelper module, and it is loaded too. can someone tell me what to do in order to use this function?
below is a sample code using nat_uac_test. thx in advance.
marty.
============================================================== if (nat_uac_test("3")) { # allow RR-ed requests, as these may indicate that # a NAT-enabled proxy takes care of it; unless it is # a REGISTER if (method == "REGISTER" || ! search("ˆRecord-Route:")) { log("LOG: Someone trying to register from private IP, rewriting\n"); # This will work only for user agents that support symmetric # communication. We tested quite many of them and majority is # smart smart enough to be symmetric. In some phones, like # it takes a configuration option. With Cisco 7960, it is # called NAT_Enable=Yes, with kphone it is called # "symmetric media" and "symmetric signaling". (The latter # not part of public released yet.) fix_nated_contact(); # Rewrite contact with source IP of signalling if (method == "INVITE") { fix_nated_sdp("1"); # Add direction=active to SDP }; force_rport(); # Add rport parameter to topmost Via setflag(6); # Mark as NATed }; };
best regards, --------------------------------------------- Neo-Online Corporation Next Gen Networking Expert Marty Chen System Engineer Tel: +886-2-7707-7988 ext 151 Cell: +886-960-516-560 Email: marty-chen@neo-ol.com
which version of ser do you use? It's for sure in unstable and stable from cvs.
klaus
Marty Chen wrote:
hi, when ever i startup SER with this function used, "nat_uac_test", i get the cfg loading error "is some module missing"
i know the function is in nathelper module, and it is loaded too. can someone tell me what to do in order to use this function?
below is a sample code using nat_uac_test. thx in advance.
marty.
============================================================== if (nat_uac_test("3")) { # allow RR-ed requests, as these may indicate that # a NAT-enabled proxy takes care of it; unless it is # a REGISTER if (method == "REGISTER" || ! search("ˆRecord-Route:")) { log("LOG: Someone trying to register from private IP, rewriting\n"); # This will work only for user agents that support symmetric # communication. We tested quite many of them and majority is # smart smart enough to be symmetric. In some phones, like # it takes a configuration option. With Cisco 7960, it is # called NAT_Enable=Yes, with kphone it is called # "symmetric media" and "symmetric signaling". (The latter # not part of public released yet.) fix_nated_contact(); # Rewrite contact with source IP of signalling if (method == "INVITE") { fix_nated_sdp("1"); # Add direction=active to SDP }; force_rport(); # Add rport parameter to topmost Via setflag(6); # Mark as NATed }; };
best regards,
Neo-Online Corporation Next Gen Networking Expert Marty Chen System Engineer Tel: +886-2-7707-7988 ext 151 Cell: +886-960-516-560 Email: marty-chen@neo-ol.com
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
hi klaus,
first, thx for helping out. i am running the "ser-0.8.12-0.i386.rpm" version of SER on redhat 9 released by iptel.org
i am a newbie in linux.... so if u could instruct me on how to locate the nathelper module then perhaps i can find out the more about the version in detail.
best regards, --------------------------------------------- Neo-Online Corporation Next Gen Networking Expert Marty Chen System Engineer Tel: +886-2-7707-7988 ext 151 Cell: +886-960-516-560 Email: marty-chen@neo-ol.com
----- Original Message ----- From: Klaus Darilion To: Marty Chen Cc: Iptel\Serusers Sent: Thursday, April 22, 2004 6:10 PM Subject: Re: [Serusers] "nat_uac_test" - missing modules when starting SER?
which version of ser do you use? It's for sure in unstable and stable from cvs.
klaus
Marty Chen wrote:
hi, when ever i startup SER with this function used, "nat_uac_test", i get the cfg loading error "is some module missing"
i know the function is in nathelper module, and it is loaded too. can someone tell me what to do in order to use this function?
below is a sample code using nat_uac_test. thx in advance.
marty.
============================================================== if (nat_uac_test("3")) { # allow RR-ed requests, as these may indicate that # a NAT-enabled proxy takes care of it; unless it is # a REGISTER if (method == "REGISTER" || ! search("?Record-Route:")) { log("LOG: Someone trying to register from private IP,
rewriting\n");
# This will work only for user agents that support symmetric # communication. We tested quite many of them and majority is # smart smart enough to be symmetric. In some phones, like # it takes a configuration option. With Cisco 7960, it is # called NAT_Enable=Yes, with kphone it is called # "symmetric media" and "symmetric signaling". (The latter # not part of public released yet.) fix_nated_contact(); # Rewrite contact with source IP of
signalling
if (method == "INVITE") { fix_nated_sdp("1"); # Add direction=active to SDP }; force_rport(); # Add rport parameter to topmost Via setflag(6); # Mark as NATed };
};
best regards,
Neo-Online Corporation Next Gen Networking Expert Marty Chen System Engineer Tel: +886-2-7707-7988 ext 151 Cell: +886-960-516-560 Email: marty-chen@neo-ol.com
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Forget about the rpm release - the updated stable release (nat enhancements, bugfixes, ...) is only in CVS.
IMPORTANT: uninstall all ser-related rpms before building from source
get it from cvs as explained on: http://iptel.org/ser/cvs/
and then: make all make install
regards klaus
Marty Chen wrote:
hi klaus,
first, thx for helping out. i am running the "ser-0.8.12-0.i386.rpm" version of SER on redhat 9 released by iptel.org
i am a newbie in linux.... so if u could instruct me on how to locate the nathelper module then perhaps i can find out the more about the version in detail.
best regards,
Neo-Online Corporation Next Gen Networking Expert Marty Chen System Engineer Tel: +886-2-7707-7988 ext 151 Cell: +886-960-516-560 Email: marty-chen@neo-ol.com
----- Original Message ----- From: Klaus Darilion To: Marty Chen Cc: Iptel\Serusers Sent: Thursday, April 22, 2004 6:10 PM Subject: Re: [Serusers] "nat_uac_test" - missing modules when starting SER?
which version of ser do you use? It's for sure in unstable and stable from cvs.
klaus
Marty Chen wrote:
hi, when ever i startup SER with this function used, "nat_uac_test", i get the cfg loading error "is some module missing"
i know the function is in nathelper module, and it is loaded too. can someone tell me what to do in order to use this function?
below is a sample code using nat_uac_test. thx in advance.
marty.
============================================================== if (nat_uac_test("3")) { # allow RR-ed requests, as these may indicate that # a NAT-enabled proxy takes care of it; unless it is # a REGISTER if (method == "REGISTER" || ! search("?Record-Route:")) { log("LOG: Someone trying to register from private IP,
rewriting\n");
# This will work only for user agents that support symmetric # communication. We tested quite many of them and majority is # smart smart enough to be symmetric. In some phones, like # it takes a configuration option. With Cisco 7960, it is # called NAT_Enable=Yes, with kphone it is called # "symmetric media" and "symmetric signaling". (The latter # not part of public released yet.) fix_nated_contact(); # Rewrite contact with source IP of
signalling
if (method == "INVITE") { fix_nated_sdp("1"); # Add direction=active to SDP }; force_rport(); # Add rport parameter to topmost Via setflag(6); # Mark as NATed
}; };
best regards,
Neo-Online Corporation Next Gen Networking Expert Marty Chen System Engineer Tel: +886-2-7707-7988 ext 151 Cell: +886-960-516-560 Email: marty-chen@neo-ol.com
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
hi Klaus,
thx,
one more question regarding cvs, do i need to install some "cvs client" in order to execute the following commands?
set CVSROOT=:pserver:anonymous@cvs.berlios.de:/cvsroot/ser export CVSROOT
cvs login
i tried to run the commands but nothing happened.
best regards, --------------------------------------------- Neo-Online Corporation Next Gen Networking Expert Marty Chen System Engineer Tel: +886-2-7707-7988 ext 151 Cell: +886-960-516-560 Email: marty-chen@neo-ol.com
----- Original Message ----- From: Klaus Darilion To: Marty Chen Cc: Iptel\Serusers Sent: Thursday, April 22, 2004 8:09 PM Subject: Re: [Serusers] "nat_uac_test" - missing modules when starting SER?
Forget about the rpm release - the updated stable release (nat enhancements, bugfixes, ...) is only in CVS.
IMPORTANT: uninstall all ser-related rpms before building from source
get it from cvs as explained on: http://iptel.org/ser/cvs/
and then: make all make install
regards klaus
Marty Chen wrote:
hi klaus,
first, thx for helping out. i am running the "ser-0.8.12-0.i386.rpm" version of SER on redhat 9
released
by iptel.org
i am a newbie in linux.... so if u could instruct me on how to locate the nathelper module then perhaps i can find out the more about the version in detail.
best regards,
Neo-Online Corporation Next Gen Networking Expert Marty Chen System Engineer Tel: +886-2-7707-7988 ext 151 Cell: +886-960-516-560 Email: marty-chen@neo-ol.com
----- Original Message ----- From: Klaus Darilion To: Marty Chen Cc: Iptel\Serusers Sent: Thursday, April 22, 2004 6:10 PM Subject: Re: [Serusers] "nat_uac_test" - missing modules when starting
SER?
which version of ser do you use? It's for sure in unstable and stable from cvs.
klaus
Marty Chen wrote:
hi, when ever i startup SER with this function used, "nat_uac_test", i get the cfg loading error "is some module missing"
i know the function is in nathelper module, and it is loaded too. can someone tell me what to do in order to use this function?
below is a sample code using nat_uac_test. thx in advance.
marty.
============================================================== if (nat_uac_test("3")) { # allow RR-ed requests, as these may indicate that # a NAT-enabled proxy takes care of it; unless it is # a REGISTER if (method == "REGISTER" || ! search("?Record-Route:")) { log("LOG: Someone trying to register from private IP,
rewriting\n");
# This will work only for user agents that support symmetric # communication. We tested quite many of them and majority is # smart smart enough to be symmetric. In some phones, like # it takes a configuration option. With Cisco 7960, it is # called NAT_Enable=Yes, with kphone it is called # "symmetric media" and "symmetric signaling". (The latter # not part of public released yet.) fix_nated_contact(); # Rewrite contact with source IP of
signalling
if (method == "INVITE") { fix_nated_sdp("1"); # Add direction=active to SDP }; force_rport(); # Add rport parameter to topmost Via setflag(6); # Mark as NATed
}; };
best regards,
Neo-Online Corporation Next Gen Networking Expert Marty Chen System Engineer Tel: +886-2-7707-7988 ext 151 Cell: +886-960-516-560 Email: marty-chen@neo-ol.com
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
yes, you need a cvs client to download from cvs.
i'm sure cvs is included in your linux distribution, just install the rpms and you will be fine (or use: apt-get install cvs if you are a debian user).
btw: you also need developement tools installed on your PC (gcc ...)
klaus
Marty Chen wrote:
hi Klaus,
thx,
one more question regarding cvs, do i need to install some "cvs client" in order to execute the following commands?
set CVSROOT=:pserver:anonymous@cvs.berlios.de:/cvsroot/ser export CVSROOT
cvs login
i tried to run the commands but nothing happened.
best regards,
Neo-Online Corporation Next Gen Networking Expert Marty Chen System Engineer Tel: +886-2-7707-7988 ext 151 Cell: +886-960-516-560 Email: marty-chen@neo-ol.com
----- Original Message ----- From: Klaus Darilion To: Marty Chen Cc: Iptel\Serusers Sent: Thursday, April 22, 2004 8:09 PM Subject: Re: [Serusers] "nat_uac_test" - missing modules when starting SER?
Forget about the rpm release - the updated stable release (nat enhancements, bugfixes, ...) is only in CVS.
IMPORTANT: uninstall all ser-related rpms before building from source
get it from cvs as explained on: http://iptel.org/ser/cvs/
and then: make all make install
regards klaus
Marty Chen wrote:
hi klaus,
first, thx for helping out. i am running the "ser-0.8.12-0.i386.rpm" version of SER on redhat 9
released
by iptel.org
i am a newbie in linux.... so if u could instruct me on how to locate the nathelper module then perhaps i can find out the more about the version in detail.
best regards,
Neo-Online Corporation Next Gen Networking Expert Marty Chen System Engineer Tel: +886-2-7707-7988 ext 151 Cell: +886-960-516-560 Email: marty-chen@neo-ol.com
----- Original Message ----- From: Klaus Darilion To: Marty Chen Cc: Iptel\Serusers Sent: Thursday, April 22, 2004 6:10 PM Subject: Re: [Serusers] "nat_uac_test" - missing modules when starting
SER?
which version of ser do you use? It's for sure in unstable and stable from cvs.
klaus
Marty Chen wrote:
hi, when ever i startup SER with this function used, "nat_uac_test", i get the cfg loading error "is some module missing"
i know the function is in nathelper module, and it is loaded too. can someone tell me what to do in order to use this function?
below is a sample code using nat_uac_test. thx in advance.
marty.
============================================================== if (nat_uac_test("3")) { # allow RR-ed requests, as these may indicate that # a NAT-enabled proxy takes care of it; unless it is # a REGISTER if (method == "REGISTER" || ! search("?Record-Route:")) { log("LOG: Someone trying to register from private IP,
rewriting\n");
# This will work only for user agents that support symmetric # communication. We tested quite many of them and majority is # smart smart enough to be symmetric. In some phones, like # it takes a configuration option. With Cisco 7960, it is # called NAT_Enable=Yes, with kphone it is called # "symmetric media" and "symmetric signaling". (The latter # not part of public released yet.) fix_nated_contact(); # Rewrite contact with source IP of
signalling
if (method == "INVITE") { fix_nated_sdp("1"); # Add direction=active to SDP }; force_rport(); # Add rport parameter to topmost Via setflag(6); # Mark as NATed
}; };
best regards,
Neo-Online Corporation Next Gen Networking Expert Marty Chen System Engineer Tel: +886-2-7707-7988 ext 151 Cell: +886-960-516-560 Email: marty-chen@neo-ol.com
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
hi klaus and all,
with ur guidance i have accomplished to download source code from cvs, after which i executed "make all" & "make install"..... and then i was lost again.... didn't know how to get the server running. tried sip commands such as "serctl start" or "ser", but all did not work.
since linux is like an extra-terrestrial object to me (and i am all alone on this project) and SER is still the best solution for me, is there a "nat_uac_test" working rpm package out there that can ease the pain of installation for me?
i am running redhat9, i have tried package "ser-0.8.12-0.i386.rpm" for redhat7.3, 8, 9 (downloaded from berlios ftp site). none of them understands "nat_uac_test".
best regards, --------------------------------------------- Neo-Online Corporation Next Gen Networking Expert Marty Chen System Engineer Tel: +886-2-7707-7988 ext 151 Cell: +886-960-516-560 Email: marty-chen@neo-ol.com
----- Original Message ----- From: Klaus Darilion To: Marty Chen Cc: Iptel\Serusers Sent: Friday, April 23, 2004 3:38 PM Subject: Re: [Serusers] "nat_uac_test" - missing modules when starting SER?
yes, you need a cvs client to download from cvs.
i'm sure cvs is included in your linux distribution, just install the rpms and you will be fine (or use: apt-get install cvs if you are a debian user).
btw: you also need developement tools installed on your PC (gcc ...)
klaus
Marty Chen wrote:
hi Klaus,
thx,
one more question regarding cvs, do i need to install some "cvs client" in order to execute the following commands?
set CVSROOT=:pserver:anonymous@cvs.berlios.de:/cvsroot/ser export CVSROOT
cvs login
i tried to run the commands but nothing happened.
best regards,
Neo-Online Corporation Next Gen Networking Expert Marty Chen System Engineer Tel: +886-2-7707-7988 ext 151 Cell: +886-960-516-560 Email: marty-chen@neo-ol.com
----- Original Message ----- From: Klaus Darilion To: Marty Chen Cc: Iptel\Serusers Sent: Thursday, April 22, 2004 8:09 PM Subject: Re: [Serusers] "nat_uac_test" - missing modules when starting
SER?
Forget about the rpm release - the updated stable release (nat enhancements, bugfixes, ...) is only in CVS.
IMPORTANT: uninstall all ser-related rpms before building from source
get it from cvs as explained on: http://iptel.org/ser/cvs/
and then: make all make install
regards klaus
Marty Chen wrote:
hi klaus,
first, thx for helping out. i am running the "ser-0.8.12-0.i386.rpm" version of SER on redhat 9
released
by iptel.org
i am a newbie in linux.... so if u could instruct me on how to locate the nathelper module then perhaps i can find out the more about the version in detail.
best regards,
Neo-Online Corporation Next Gen Networking Expert Marty Chen System Engineer Tel: +886-2-7707-7988 ext 151 Cell: +886-960-516-560 Email: marty-chen@neo-ol.com
----- Original Message ----- From: Klaus Darilion To: Marty Chen Cc: Iptel\Serusers Sent: Thursday, April 22, 2004 6:10 PM Subject: Re: [Serusers] "nat_uac_test" - missing modules when starting
SER?
which version of ser do you use? It's for sure in unstable and stable from cvs.
klaus
Marty Chen wrote:
hi, when ever i startup SER with this function used, "nat_uac_test", i
get
the cfg loading error "is some module missing"
i know the function is in nathelper module, and it is loaded too. can someone tell me what to do in order to use this function?
below is a sample code using nat_uac_test. thx in advance.
marty.
============================================================== if (nat_uac_test("3")) { # allow RR-ed requests, as these may indicate that # a NAT-enabled proxy takes care of it; unless it is # a REGISTER if (method == "REGISTER" || ! search("?Record-Route:")) { log("LOG: Someone trying to register from private IP,
rewriting\n");
# This will work only for user agents that support symmetric # communication. We tested quite many of them and majority is # smart smart enough to be symmetric. In some phones, like # it takes a configuration option. With Cisco 7960, it is # called NAT_Enable=Yes, with kphone it is called # "symmetric media" and "symmetric signaling". (The latter # not part of public released yet.) fix_nated_contact(); # Rewrite contact with source IP of
signalling
if (method == "INVITE") { fix_nated_sdp("1"); # Add direction=active to SDP }; force_rport(); # Add rport parameter to topmost Via setflag(6); # Mark as NATed
}; };
best regards,
Neo-Online Corporation Next Gen Networking Expert Marty Chen System Engineer Tel: +886-2-7707-7988 ext 151 Cell: +886-960-516-560 Email: marty-chen@neo-ol.com
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Marty Chen wrote:
hi klaus and all,
with ur guidance i have accomplished to download source code from cvs, after which i executed "make all" & "make install"..... and then i was lost again.... didn't know how to get the server running. tried sip commands such as "serctl start" or "ser", but all did not work.
start ser with: # /usr/local/sbin/ser
attached is my startup script for ser. copy it into the /etc/init.d directory. start ser using /etc/init.d/ser start stop ser using /etc/init.d/ser stop
btw: there are problems with redhat, which I couldn't solve. ser does not start up automatically if the system boots up. It works fine with me on debian and suse, but not on redhat.
since linux is like an extra-terrestrial object to me (and i am all alone on this project) and SER is still the best solution for me, is there a "nat_uac_test" working rpm package out there that can ease the pain of installation for me?
no way, the rpms are pretty old. use cvs (and remove all ser rpms)
klaus
i am running redhat9, i have tried package "ser-0.8.12-0.i386.rpm" for redhat7.3, 8, 9 (downloaded from berlios ftp site). none of them understands "nat_uac_test".
best regards,
Neo-Online Corporation Next Gen Networking Expert Marty Chen System Engineer Tel: +886-2-7707-7988 ext 151 Cell: +886-960-516-560 Email: marty-chen@neo-ol.com
----- Original Message ----- From: Klaus Darilion To: Marty Chen Cc: Iptel\Serusers Sent: Friday, April 23, 2004 3:38 PM Subject: Re: [Serusers] "nat_uac_test" - missing modules when starting SER?
yes, you need a cvs client to download from cvs.
i'm sure cvs is included in your linux distribution, just install the rpms and you will be fine (or use: apt-get install cvs if you are a debian user).
btw: you also need developement tools installed on your PC (gcc ...)
klaus
Marty Chen wrote:
hi Klaus,
thx,
one more question regarding cvs, do i need to install some "cvs client" in order to execute the following commands?
set CVSROOT=:pserver:anonymous@cvs.berlios.de:/cvsroot/ser export CVSROOT
cvs login
i tried to run the commands but nothing happened.
best regards,
Neo-Online Corporation Next Gen Networking Expert Marty Chen System Engineer Tel: +886-2-7707-7988 ext 151 Cell: +886-960-516-560 Email: marty-chen@neo-ol.com
----- Original Message ----- From: Klaus Darilion To: Marty Chen Cc: Iptel\Serusers Sent: Thursday, April 22, 2004 8:09 PM Subject: Re: [Serusers] "nat_uac_test" - missing modules when starting
SER?
Forget about the rpm release - the updated stable release (nat enhancements, bugfixes, ...) is only in CVS.
IMPORTANT: uninstall all ser-related rpms before building from source
get it from cvs as explained on: http://iptel.org/ser/cvs/
and then: make all make install
regards klaus
Marty Chen wrote:
hi klaus,
first, thx for helping out. i am running the "ser-0.8.12-0.i386.rpm" version of SER on redhat 9
released
by iptel.org
i am a newbie in linux.... so if u could instruct me on how to locate the nathelper module then perhaps i can find out the more about the version in detail.
best regards,
Neo-Online Corporation Next Gen Networking Expert Marty Chen System Engineer Tel: +886-2-7707-7988 ext 151 Cell: +886-960-516-560 Email: marty-chen@neo-ol.com
----- Original Message ----- From: Klaus Darilion To: Marty Chen Cc: Iptel\Serusers Sent: Thursday, April 22, 2004 6:10 PM Subject: Re: [Serusers] "nat_uac_test" - missing modules when starting
SER?
which version of ser do you use? It's for sure in unstable and stable
from cvs.
klaus
Marty Chen wrote:
hi, when ever i startup SER with this function used, "nat_uac_test", i
get
the cfg loading error "is some module missing"
i know the function is in nathelper module, and it is loaded too. can someone tell me what to do in order to use this function?
below is a sample code using nat_uac_test. thx in advance.
marty.
============================================================== if (nat_uac_test("3")) { # allow RR-ed requests, as these may indicate that # a NAT-enabled proxy takes care of it; unless it is # a REGISTER if (method == "REGISTER" || ! search("?Record-Route:")) { log("LOG: Someone trying to register from private IP,
rewriting\n");
# This will work only for user agents that support symmetric # communication. We tested quite many of them and majority is # smart smart enough to be symmetric. In some phones, like # it takes a configuration option. With Cisco 7960, it is # called NAT_Enable=Yes, with kphone it is called # "symmetric media" and "symmetric signaling". (The latter # not part of public released yet.) fix_nated_contact(); # Rewrite contact with source IP of
signalling
if (method == "INVITE") { fix_nated_sdp("1"); # Add direction=active to SDP }; force_rport(); # Add rport parameter to topmost Via setflag(6); # Mark as NATed
}; };
best regards,
Neo-Online Corporation Next Gen Networking Expert Marty Chen System Engineer Tel: +886-2-7707-7988 ext 151 Cell: +886-960-516-560 Email: marty-chen@neo-ol.com
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
#!/bin/bash # # Startup script for SER # # chkconfig: 345 85 15 # description: Ser is a fast SIP Proxy. # # processname: ser # pidfile: /var/run/ser.pid # config: /etc/ser/ser.cfg
# Source function library. . /etc/rc.d/init.d/functions
ser=/usr/local/sbin/ser prog=ser RETVAL=0
start() { echo "Waiting 10 seconds before starting..." sleep 10 echo -n $"Starting $prog: " daemon $ser -g ser $OPTIONS RETVAL=$? echo [ $RETVAL = 0 ] && touch /var/lock/subsys/ser return $RETVAL }
stop() { echo -n $"Stopping $prog: " killproc $ser RETVAL=$? echo [ $RETVAL = 0 ] && rm -f /var/lock/subsys/ser /var/run/ser.pid }
reload() { echo -n $"Reloading $prog: " killproc $ser -HUP RETVAL=$? echo }
# See how we were called. case "$1" in start) start ;; stop) stop ;; status) status $ser RETVAL=$? ;; restart) stop start ;; condrestart) if [ -f /var/run/ser.pid ] ; then stop start fi ;; *) echo $"Usage: $prog {start|stop|restart|condrestart|status|help}" exit 1 esac
exit $RETVAL