Answer the question
In order to leave comments, you need to log in
How to deal with setting up Asterisk?
I'm learning asterisk, and a problem arose right away in hello world :) .
Installed asterisk locally on ubuntu from source.
I go to https://wiki.asterisk.org/wiki/display/AST/Hello+World , I got stuck on registering an account in zoiper.
When trying to register in the console, asterisk writes:
NOTICE[5948]: chan_sip.c:28678 handle_request_register: Registration from '<sip:[email protected];transport=UDP>' failed for '192.168.0.112:43385' - Wrong password
NOTICE[5948]: chan_sip.c:28678 handle_request_register: Registration from '<sip:[email protected];transport=UDP>' failed for '127.0.0.1:43385' - Wrong password
[transport-upd]
type=transport
protocol=upd
bind=0.0.0.0
[test]
type=endpoint
context=test
disallow=all
allow=ulaw
auth=test
aors=test
[test]
type=auth
auth_type=userpass
password=qwerty
username=test
[test]
type=aor
max_contacts=1
[test]
exten = 100,1,Answer()
same = n,Wait(1)
same = n,Playback(echo)
same = n,Hangup()
Answer the question
In order to leave comments, you need to log in
Disable chan_sip module in asterisk, leave only pjsip.
After editing the configs, do not forget to restart the modules or core in astere.
If the password on the client is exactly correct, then check: sip show users
shows this user?
If you try to register with another client, for example, X-Lite, does the error repeat?
Good afternoon.
It all depends on which phone you are trying to register. Some phones only support short passwords of up to 8 characters.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question