Difference between revisions of "I cannot register Device"
From Kolmisoft Wiki
Jump to navigationJump to search
(New page: * In file '''/etc/asterisk/sip.conf''' enter correct IP for value '''bindaddr''', correct IP = IP to which your devices are registering. Restart Asterisk...) |
|||
Line 1: | Line 1: | ||
* 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. [[How to restart Asterisk server|Restart Asterisk]] | * In file '''/etc/asterisk/sip.conf''' enter correct IP for value '''bindaddr''', correct IP = IP to which your devices are registering. [[How to restart Asterisk server|Restart Asterisk]] | ||
* In file '''/etc/asterisk/sip.conf''' enter correct IP for value: '''realm'''=xxx.xxx.xx.xxx ;your Asterisk IP. [[How to restart Asterisk server|Restart Asterisk]] | * In file '''/etc/asterisk/sip.conf''' enter correct IP for value: '''realm'''=xxx.xxx.xx.xxx ;your Asterisk IP. [[How to restart Asterisk server|Restart Asterisk]] | ||
Revision as of 12:28, 7 May 2012
- 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