I cannot register Device
From Kolmisoft Wiki
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
- Make sure settings are correct (server IP/username/password)
- Try to register with empty password (Portech device had this issue - did not wanted to register with simplest password).
- Make sure UDP ports 4569, 5060, 10000-20000 are open. You can use command "iptables -F" to disable firewall temporary.
- In file /etc/asterisk/sip.conf enter correct IP for value bindaddr, correct IP = IP to which your devices are registering. Restart Asterisk
- In file /etc/asterisk/sip.conf enter correct IP for value: realm=xxx.xxx.xx.xxx ;your Asterisk IP. Restart Asterisk
- Check Asterisk CLI when trying to register with command sip debug or iax2 debug.
- If no output at all - ports are closed
- If some output - follow error messages, e.g. SIP 2.0/404 Not found or similar.
- Registration from 'SOME DEVICE' failed for 'IP' - Not a local domain
- Unable to find key 'XXX' in family 'SIP/Registry'
- Registration from 'sip:XXX@23.45.67.89' failed for '34.56.67.89' - No matching peer found
- Peer is trying to register, but not configured as host=dynamic
DEBUG[1534]: chan_sip.c:26128 handle_request_do: Invalid SIP message - rejected , no callid, len 405
With core set debug 4 if such error message is visible, go to /etc/asterisk/sip.conf and change
;pedantic=no
to
pedantic=no
reload Asterisk