mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 05:02:10 +00:00
*) Add support for unified config:
When config file does not exist the system will browse freeswitch.conf (if it exists) for an embedded file. Embeded files denoted with +file.conf Terminated by either another [+XXX] or EOF eg [+iax.conf] ... [+exosip.conf] ... EOF *) Change default examples to use this method *) Fix small bug in core to pass along failure when outgoing channel fails. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@663 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -70,12 +70,18 @@ struct switch_config {
|
||||
char *path;
|
||||
/*! current category */
|
||||
char category[256];
|
||||
/*! current section */
|
||||
char section[256];
|
||||
/*! buffer of current line being read */
|
||||
char buf[1024];
|
||||
/*! current line number in file */
|
||||
int lineno;
|
||||
/*! current category number in file */
|
||||
int catno;
|
||||
/*! current section number in file */
|
||||
int sectno;
|
||||
|
||||
int lockto;
|
||||
};
|
||||
|
||||
/*!
|
||||
|
||||
Reference in New Issue
Block a user