Hello Dominic:

This is strange that the same does not work for sip.conf.

Check out:  http://www.voip-info.org/wiki/view/Asterisk+config+sip.conf

It clearly states that you could use the #include command in any .conf files, 
the same way you did in the extensions.conf file.

Its really strange if it does not work.

Make sure there is no period or semicolon, or ensure that the file you include 
has been declared in the ABSOLUTE path or the file you want to include sits in 
the same directly as your other .conf files, if you are simply doing a #include 
"my_file.conf" .   

I suspect your current declaration is simply not able to find or open the file 
you included.  For that make sure your included file is readable by using the 
necessary attributes with the chmod command.

Cheers!


----- Original Message ----- 
  From: Dominic Ogbonna 
  To: [email protected] 
  Sent: Wednesday, May 10, 2006 12:56 PM
  Subject: [on-asterisk] Including Files in sip.conf


  Hi everyone,

  Is there a way to include files from sip.conf? I know you would use #include 
"filename" to include from extensions.conf, but the same does not appear to 
work for sip.conf. For a virtual hosting install, it would be nice to seperate 
sip users into different .conf files.


  Dominic

Reply via email to