[asterisk-users] Realtime Context

Ishfaq Malik ish at pack-net.co.uk
Tue Aug 17 09:47:05 CDT 2010

We use a script on a cron which runs from a table/queue that only has an 
entry placed in it if a new context is added.

If that is the case the script writes a new extenions.conf generating 
all the contexts and switch statements by doing a distinct select of 
contexts in the table. It also executed the dialplan reload after the 
new conf file had been generated.

If your shell scripting isn't up to much I can give you an example


On 15/08/10 19:35, Dan Journo wrote:
> Hi,
> I'd like to be able to create contexts in real-time when I add new 
> clients to my asterisk box.
> Currently, I have to create a blank context in extensions.conf and add:-
> switch => Realtime/@
> Is there any way to avoid the step of creating the blank context and 
> simply include all the entries from the database?
> Thanks
> Dan

Ishfaq Malik
Software Developer
PackNet Ltd

Office:   0161 660 3062
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100817/3034dc16/attachment.htm 

More information about the asterisk-users mailing list