[Asterisk-Users] Re: Dynamic SIP.CONF

Stefan Tichy asterisk at pi4tel.de
Sat May 22 12:40:11 MST 2004


On Sat, May 22, 2004 at 05:39:48PM +0100, Fran Boon wrote:
> Only by extending the functionality of sip friends to include this extra 
> field...

In chan_sip.c the configuration data from sip.conf is used to build
a list of sip friends. Checks for waiting voice mail are done for the
members of this list one by one.

If the configuration data is selected from the mysql table, it is
never added to this list. Some temporary structure is used to store
this data. It won't be sufficient to store the required data in the
mysql table an transfer it to the internal structure.


IMHO it is preferable to write some file included in sip.conf and
to do a sip reload if necessary.


-- 
Stefan Tichy   <asterisk at pi4tel.de>



More information about the asterisk-users mailing list