Asterisk-Java - Add Extension

Hi all.
I’m new in the Asterisk and Asterisk-Java. I’m looking for solutions how to add new extension (like implemented in the FreePBX) using Asterisk-Java.


As far as I know there isn’t a way to add extensions via AMI (this may be possible in the new manager interface that was recently added to trunk - future Asterisk 1.6).

AsteriskJava is just an API that connects via the Asterisk Manager Interface (AMI). To add an extension you would need to edit the .conf files and then issue a reload via AMI (using AsteriskJava if you wish). That is the way FreePBX does it.