Hi
I have a wierd problem but I can’t seem to find an answer anywhere. I’ve got my asterisk server running (latest version), and installed the asterisk web based gui(also latest version) to help manage the server.
I came across an issue where if I log into the gui to add a trunk for my service provider (iristel.ca) I can’t register with their server, however if I add the register string to the sip.conf file I can.
So I’ve followed their instructions and added:
register => 14161234567:1234:12345678@sbc1.iristel.net/14161234567
to my sip.conf (these aren’t my numbers, merely for sample). and I can register fine.
However, when I try to add the same information via the web gui (add host, username/password/auth user etc) I can’t register.
So what I’ve done (because I’m an asterisk newbie) is set up the trunk via the gui, knowing it won’t work, because I find the gui most helpful when setting up extensions, dial plans, etc etc. And so far it seems to work - i can make calls, set up voicemail, add and edit extensions and so on.
so I guess my question is, this: Is there some sort of trick to take the supplied iristel info from the register string in my sip.conf and enter it in the gui to get it to register? I mostly want to do this so I can keep all my configuration in the web based gui rather than switching between editing the conf files manually and applying changes in the gui. I’m worried that at some point I’m going to do something in either location which will wipe out changes made using the other method.
Any help is appreciated. Below is associated configuration info:
from sip.conf:
register => 14161234567:1234:12345678@sbc1.iristel.net/14161234567
from users.conf (where I assume the gui places the trunk info?):
[14161234567]
host = sbc1.iristel.net
username = 14161234567
secret = 1234
trunkname = Iristel
context = DID_14161234567
group = null
hasexten = no
hasiax = no
hassip = yes
registeriax = no
registersip = yes
trunkstyle = voip
disallow = all
allow = all