Hey guys, I’m new to the asterisk world and voip, sip in general started just a week ago and really want to have a number that can make calls and receive them. Below are the files I configured and I’m using ZoiPer. After giving all the info needed to create an account on ZoiPer(my ip and then my passw) it tries to connect but fails, I was wondering if there was smth wrong with the way I have configured my files. Maybe I need to configure some other files as well. I would really appreciate some help here as it’s becoming frustrating. Thank you!
Extensions.conf
[from-internal]
exten => 6001,1,Dial(PJSIP/6001,20)
[from-pstn]
exten => 6001,1,Answer()
exten => 6001,2,Voicemail(6001)
exten => 6001,3,Hangup()
Pjsip.conf
[transport-udp]
type=transport
protocol=udp
bind=(my ip)
[6001]
type=endpoint
transport=transport-udp
context=from-internal
disallow=all
allow=ulaw
outbound_auth=6001
aors=6001
[6001]
type=aor
max_contacts=1
[6001]
type=auth
auth_type=userpass
password=(passw)
username=6001