After 2 days pull hair struggling, I found that in Asterisk realtime table sip_buddies, you must have username and name the same, before you can successfully register a realtime user, it is wired.
Secondly, I tried to upgade the 1.422 to 1.6 release, but after I run: make clean, make make install, the asterisk can not startup(but If I install version 1.6 before 1.4, version 1.6 can start properly, also I can downgrade to 1.422 successfully.
The error message I get after ungrade from 1.4 to 1.6 is “Unable to connect to remote asterisk (does /var/run/asterisk.ctl exist?)”.
Any ideal?