[sr-dev] git:master: ctl: used flavour's NAME in path of default ctl socket

Daniel-Constantin Mierla miconda at gmail.com
Mon Oct 31 17:21:12 CET 2011


Hello,

hopefully is fixed with my previous commits.

Thanks,
Daniel

On 10/31/11 4:59 PM, Klaus Darilion wrote:
> This break serctl, which uses /tmp/ser_ctl as default.
>
> Probably serctl should be updated as well. Meanwhile
>   sercmd -s /tmp/kamailio_ctl  .....
> can be used.
>
> regards
> Klaus
>
>
>
> On 16.10.2011 11:43, Daniel-Constantin Mierla wrote:
>> Module: sip-router
>> Branch: master
>> Commit: df4dfe61500f4ada6051f0d7c74824efa3c2c628
>> URL:    
>> http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=df4dfe61500f4ada6051f0d7c74824efa3c2c628
>>
>> Author: Daniel-Constantin Mierla<miconda at gmail.com>
>> Committer: Daniel-Constantin Mierla<miconda at gmail.com>
>> Date:   Sat Oct 15 23:02:09 2011 +0200
>>
>> ctl: used flavour's NAME in path of default ctl socket
>>
>> ---
>>
>>   modules/ctl/ctl_defaults.h |    2 +-
>>   1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/modules/ctl/ctl_defaults.h b/modules/ctl/ctl_defaults.h
>> index 6ac7658..c50af47 100644
>> --- a/modules/ctl/ctl_defaults.h
>> +++ b/modules/ctl/ctl_defaults.h
>> @@ -4,7 +4,7 @@
>>   #ifndef __ctl_defaults_h
>>   #define __ctl_defaults_h
>>   /*listen by default on: */
>> -#define DEFAULT_CTL_SOCKET  "unixs:/tmp/ser_ctl"
>> +#define DEFAULT_CTL_SOCKET  "unixs:/tmp/" NAME "_ctl"
>>   /* port used by default for tcp/udp if no port is explicitely 
>> specified */
>>   #define DEFAULT_CTL_PORT 2049
>>
>>
>>
>> _______________________________________________
>> sr-dev mailing list
>> sr-dev at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

-- 
Daniel-Constantin Mierla -- http://www.asipto.com
Kamailio Advanced Training, Dec 5-8, Berlin: http://asipto.com/u/kat
http://linkedin.com/in/miconda -- http://twitter.com/miconda




More information about the sr-dev mailing list