[SR-Users] Location of "kamailio.cfg"
"Nicolas Rüger"
NicolasRueger at gmx.de
Mon Dec 13 17:48:20 CET 2010
Hello Daniel,
thanks for the fast answer. That works!
One can easily set the parameter for the startoptions in "../sbin/kamctlrc" as follows:
STARTOPTIONS="-f /home/daniel/kamailio/etc/kamailio.cfg"
Be sure to use the "quotation marks" and the full path (not sth. like "~") as the parameter list seems to be handed over as string.
Thank you Daniel...
Regards,
Nicolas
-------- Original-Nachricht --------
> Datum: Mon, 13 Dec 2010 15:09:01 +0100
> Von: Daniel-Constantin Mierla <miconda at gmail.com>
> An: "Nicolas Rüger" <NicolasRueger at gmx.de>
> CC: sr-users <sr-users at lists.sip-router.org>
> Betreff: Re: [SR-Users] Location of "kamailio.cfg"
> Hello,
>
> On 12/13/10 2:39 PM, "Nicolas Rüger" wrote:
> > Hello,
> >
> > where can I change/configure the location of file "kamailio.cfg"?
> >
> > Reason: We like to use different "kamailio.cfg" files depending on the
> user that starts the kamailio.
> default path to kamailio.cfg is set at compile time. Anyhow, you can
> specify the location of the config with -f command line parameter:
>
> /usr/local/sbin/kamailio -f /home/daniel/kamailio/etc/kamailio.cfg
>
> Cheers,
> Daniel
>
> --
> Daniel-Constantin Mierla
> Kamailio (OpenSER) Advanced Training
> Jan 24-26, 2011, Irvine, CA, USA
> http://www.asipto.com
>
--
Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail
More information about the sr-users
mailing list