Hello,
On 12/13/10 5:48 PM, "Nicolas Rüger" wrote:
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
"~")
maybe you can use $HOME which is an env variable.
Cheers,
Daniel
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(a)gmail.com>
> An: "Nicolas Rüger"<NicolasRueger(a)gmx.de>
> CC: sr-users<sr-users(a)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
>
--
Daniel-Constantin Mierla
Kamailio (OpenSER) Advanced Training
Jan 24-26, 2011, Irvine, CA, USA
http://www.asipto.com