And while registering with Xlite i am getting an error “Registration Error 403. Forbidden”.
And in asterisk server CLI I fouund an error like " NOTICE[2361]: chan_sip.c:27749 handle_request_register: Registration from ‘“1001”’ failed for ‘192.168.1.25:10512’ - Wrong password"
My asterisk server is installed on Centos 6.4, and centos is running in VMware.
Are you hand editing the .conf files? You really should be adding extensions through the GUI. The *_additional.conf files and the extension.conf will be overwritten anytime you edit parameters from the GUI and/or do a version update.
I am a hand at editing conf files, but I am using the GUI, so I should do it from there. I did get a X-lite phone going with these parameters:
User ID: userid
Domain: 192.168.10.106
Password: password
Display name: userid
Authorization name: userid
Proxy 192.168.10.106
The userid is the extension name given in Freepbx
However, I am not able to get csipphone going on my phone with another user id with the same settings. My question: Does every extension need a unique port number? If I use another port number, how do I get Freepbx to listen? I suspect that this may be the problem.
I set the port back to 5060, and now I get the error message on the phone - 'Error when registering - forbidden. The sip set debug ip 192.168.10.104 on the Freepbx box says "registration from Jmm <sip:ip 192.168.10.106> failed for ‘192.168.10.104:35811’ - Wrong password.
Two strange things - Jmm is not the username I am using on the phone, and the password is not wrong.
Thanks.
James
I installed csipsimple on another phone, created another account in Freepbx, changing only the display name and the password. I get the same error message as the first phone. I tried the account that works with the x-lite phone, and it acts the same way. There must be a setting n the phone that prevents it from working. Any ideas?
James
OK I set the CSipPhone settings to local, and gave the account name, and it registered. I now have 2 Androids and a X-Lite soft phone registered. I would like to be able to talk between the extensions, but I get the error 502/ gethostbyname() has returned error (PJ_ERESOLVE) error. I know this is likely DNS, but I do have the DNS set right, I feel. And anyhow, how can the DNS help between local phones?
I feel stupid to write this but it may help other newbies get started. I used the display name as the user instead of the extension number. He are the things that need to be:
1.- server IP addresses need to be right
2.- Asterisk IP settings need to be right
3.- extension needs to be created with a password - the extension name - not the display name - is important
4.- allow and deny lists to be 0.0.0.0/0.0.0.0 (at least to get started)
That’s right. It’s usually something very small that throws a monkey wrench in. I found an excellect documantation on the Arterisk website that helped me see the problem. It was a PDF, and I downloaded it. Now in the coming days as I tweak Freepbx to do what I want, it will be useful. Has about 700 pages!