Hi,
I’m newbie in asterisk domain, but I have problem to create SIP trunk. First I tried to connect my SIP account with X-lite and it worked perfectly.
X-Lite configuration:
username: myusername
pass: maypassword
Auth username: myusername
Domain proxy: enable
and
Stun server: stun.myISP.net
And then I created (with asterisk-GUI) SIP trunk (of course I shut down X-Lite)
[trunk_1]
secret = mypass
provider =
trunkstyle = customvoip
username = myusername
trunkname = Custom
callerid =
hasexten = no
hassip = yes
hasiax = no
registeriax = no
registersip = yes
host = voip.myISP.net
dialformat = ${EXTEN:1}
context = DID_trunk_1
group =
insecure =
fromuser =
fromdomain =
In Asterisk CLI mode I got next error:
[Jan 14 19:00:30] NOTICE[18302]: chan_sip.c:7085 sip_reg_timeout: – Registration for 'myusername@voip.myISP.net’ timed out, trying again (Attempt #2)
I think the reason for this error is the fact that I didn’t enter the stun server, because I don’t know how to do that.