My first attempt at configuring Asterisk has finally been a success. I have started out with the sample configurations and have then emptied and re-written extensions.conf and sip.conf to setup my SIP users and dialplan … I have the following:
sip.conf
[general]context=defaultport=5060bindaddr=0.0.0.0srvlookup=yes
[guest]type=friendhost=dynamiccontext=guest
[user1]type=friendsecret=passwordhost=dynamiccontext=internal
[user2]type=friendsecret=passwordhost=dynamiccontext=internalextensions.conf
As with the install I am sure this may not be the best way to do things and I have a lot still to learn about configuring Asterisk.
What I would like to get working is ‘Device and User’ mode which is a concept that exists in TrixBox separating the services from the users. So that a user can sign into any hardphone or softphone and their extension will follow them regardless of the device. However this doesn’t seem to be a trivial task using pure Asterisk … if I get it working I’ll post up the config.
Enjoy