I want to add new SIP devices and extensions from my webpage on to Asterisk through PHP. I have been looking for information on this but, have not been able to find any valuable answer - the database tables that need to be modified, file changes or CLI commands that can be used and so on.
- Using core_device_add(). Is this supported?
- Through Asterisk CLI - dialplan add new extension - (Is there a CLI command to add new SIP device?)
Both the methods did not work. If anyone can provide an answer with a sample code or CLI commands to do this, that would be of great help.