[asterisk-dev] Dynamically Adding A Context
Andre Courchesne
acourchesne at prival.ca
Tue Jan 30 09:35:07 MST 2007
How about adding an incude in your extensions.conf like:
#include /etc/asterisk/extensions_dynamic*.conf
Then you create files like extensions_dynamic-01.conf,
extensions_dynamic-02.conf,... The only thing to do after this is
perform a reload.
If you need to do this from a remote from the actual asterisk box, you
can SCP the extensions_dynamic-XX.conf files over and then perform a reload.
Andre
p.s. this probably belongs in the asterisk-users group BTW
j wrote:
> Greetings!
>
> I've searched far and wide for an answer and have gotten no where, so I
> was hoping one of you guys might have the answer;
>
> Is it possible to dynamically add a context to the dialplan?
> You can add extensions via the CLI, however if the context doesn't exist
> I get an error message instead of it creating the context for me.
>
> Any method will do, AGI, AMI, CLI... I just need a solution :)
>
> Thanks for any insight you can give me!
>
> Cheers!
>
> j
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
>
>
More information about the asterisk-dev
mailing list