[asterisk-users] Automating the registration process

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sat Jul 22 10:59:16 MST 2006


On Fri, Jul 21, 2006 at 10:26:20AM +0200, Kevin Class wrote:

> Query: is it possible to create an application that will write into
> sip_additional.conf and extensions_additional.conf, the registrations of new
> users. This application will be like a registration process for my users.
> What I'm interested on is how will the application automatically reload
> extensions and sips, when I get it working? The only way that I know how to
> reload extensions is through the cli, how will my application reload
> extensions?

Your application can issue CLI commands via the Asterisk Mnager
Interface.

BTW: as an alternative to rewriting files, consider using #exec to
generate the relevant parts of the config files on reload time by scripts


-- 
Tzafrir Cohen         sip:tzafrir at local.xorcom.com
icq#16849755          iax:tzafrir at local.xorcom.com
+972-50-7952406          jabber:tzafrir at jabber.org
tzafrir.cohen at xorcom.com     http://www.xorcom.com



More information about the asterisk-users mailing list