[asterisk-users] Configure extension by software

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sat Sep 8 04:05:02 CDT 2007


On Sat, Sep 08, 2007 at 12:58:44AM -0700, phananhvu wrote:
> Before an IP Phones can be registered to an Asterisk server, the 
> extension for it must be configured in Asterisk. Usually, Asterisk 
> adminintor must add the extension by hand. Is there any library, 
> API to do this by software???
> 
> For example, i want to develope a software that add new extensions 
> to Asterisk system, sothat, any IP Phones can use that extensions 
> to establish a call.

Any IP phone? What do you mean? If you just want to allow the IP phone
to call out, it is very simple - place them all under the same user (or
even as guests). 

If you also need to be able to call *to* them then you really have to
decide how you identify them. Do you want to establish some
"sign-in" process?


First-off, Asterisk does not really have a concept of "extension"
internally. Unless you use the users.conf hack and make sure it doesn't
break.

The manager interface (as of 1.4) allows you to change configuration
files on the Asterisk server. 

Alternatively your interface can rewite files itself, or take some or
all information from an external storage (real-time / static real-time).

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



More information about the asterisk-users mailing list