<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16481" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=015233912-10082007><FONT face=Arial
color=#0000ff size=2>Ken,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=015233912-10082007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=015233912-10082007><FONT face=Arial
color=#0000ff size=2>You understood correctly.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=015233912-10082007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=015233912-10082007><FONT face=Arial
color=#0000ff size=2>For those who answered and didn't understand the need, I
wanted to reload automatically (based on some external event) part of my conf
file. I only felt that since this was automatic, it would have been better
to limit this reloading to only the part that mattered as opposed to the whole
thing. For all I know, this could be triggered while I am coding some new thing
and could screw up my dialplan.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=015233912-10082007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=015233912-10082007><FONT face=Arial
color=#0000ff size=2>But I guess I won't be doing this.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=015233912-10082007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=015233912-10082007><FONT face=Arial
color=#0000ff size=2>Regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=015233912-10082007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=015233912-10082007><FONT face=Arial
color=#0000ff size=2>Mike</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=015233912-10082007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=015233912-10082007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=015233912-10082007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <B>On Behalf Of </B>Ken
Williams<BR><B>Sent:</B> Thursday, August 09, 2007 22:01<BR><B>To:</B> Asterisk
Users Mailing List - Non-Commercial Discussion<BR><B>Subject:</B> Re:
[asterisk-users] FW: Can you reload only one conf file?<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV id=idOWAReplyText29572 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>I think you misunderstood the
question Stephen. I believe he's saying he's got extension.conf &
sub_extension.conf that's included. You can do a dialplan reload to reload
both files, but for whatever reason he only wants to load the
sub_extension.conf. Both are related to the same module, one included in
the other.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Clear as mud?</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Stephen Bosch<BR><B>Sent:</B> Thu 8/9/2007
7:40 PM<BR><B>To:</B> Asterisk Users Mailing List - Non-Commercial
Discussion<BR><B>Subject:</B> Re: [asterisk-users] FW: Can you reload only one
conf file?<BR></FONT><BR></DIV>
<DIV><PRE style="WORD-WRAP: break-word">Paul wrote:
> Mike wrote:
>
>>
>> In the interest of making things cleaner, I'd like to know if I can
>> just reload one single conf file. Let's say I have two files,
>> extensions.conf which includes small_file.conf.
>>
>> I only want "small_file.conf" reloaded, not the main file. Is this at
>> all possible?
>>
>> Mike
>
> Not possible without modifying the asterisk source code.
Yes, it is possible.
> asterisk*CLI> help reload
> Usage: reload [module ...]
> Reloads configuration files for all listed modules which support
> reloading, or for all supported modules if none are listed.
If you only want to reload configs for a specific module, just reload
that module. Example:
> asterisk*CLI> reload chan_sip.so
> -- Reloading module 'chan_sip.so' (Session Initiation Protocol (SIP))
> Reloading SIP
> == Parsing '/etc/asterisk/sip.conf': Found
> == Parsing '/etc/asterisk/sip_notify.conf': Found
> asterisk*CLI>
-Stephen-
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
</PRE></DIV></BODY></HTML>