i finally got provisioning to work, so my phone loads. now i can’t get the phone to register with the Asterisk/FreePBX system.
I suspect i am not imputing the password correctly, or not grabbing the correct password. i have tried the password given when i created the extension, and i have tried grabbing Secret from Applications -> Extensions, from the one (so far) extension i have. i have also tried the “password for new user”. where do i grab the password from?
Many older devices have limitations on password length or character set. Manually edit the Secret for your extension to e.g. eight characters, using only letters and digits. Carefully update the phone’s SIP password with the same data.
If you still have trouble, at the Asterisk console do pjsip set logger on
or sip set debug on
according to extension type.
Reboot phone and report whether attempts to register are reaching the PBX and what responses, if any, are sent back.
Did you create a pjsip extension? If it’s a chan_sip extension, you’ll need to set the phone to register to port 5160 (or whatever you set Bind Port to), change the ports around so chan_sip is on port 5060, or change the extension to use pjsip.
If it’s a pjsip extension:
Go to Applications -> Extensions and confirm that 4000 appears in the list and type shows as pjsip. Click the Edit button for 4000 and confirm that Secret is the value you set.
Confirm that you’ve done an Apply Config. Try restarting Asterisk, by typing fwconsole restart
at a root shell prompt.
If you still have trouble, post the contents of /etc/asterisk/pjsip.aor.conf
(mask passwords, phone numbers and anything else you consider personal).
The SIP that you captured was an attempt to subscribe to voicemail notifications; the registration attempt likely occurred before the capture was started. Reboot phone to see register requests.