SOLVED question regarding how to setup remote extension

chacham

New Member
Joined
Feb 21, 2024
Messages
5
Reaction score
1
This may be stupid... I have setup the hosted PIAF system and created extensions. How do I setup my physical phone to register as an extension (SPA 504G). Do I need a VPN to server ?
 
Depends on which version of the system you installed. Generally speaking though, PIAF is out of date, and you should start over with IncrediblePBX 2027, following one of the tutorials on nerdvittles.com. The tutorials will walk you through how to get your phone up and running.
 
I mispoke, I did install IncrediblePBX 2027 in a hosted configuration (crown cloud). I have not seen a tutorial of how to hookup a hard phone (cisco SPA 504G) to the hosted system
 
You simply log into the SPA504G and set the registration host to the IP address of your cloud server plus the appropriate port number for chan_sip or chan_pjsip.

If you have further questions, I'd suggest you do your research properly by actually reading the article on how to set up and use IncrediblePBX. Do your homework by starting at the home page of https://wiki.incrediblepbx.com/HomePage

Check out the following video but skip past the initial setup and firewall stuff as it does not apply to IncrediblePBX.
 
Last edited:
You MUST configure your Incredible PBX 2027 firewall to allow the IP address from the remote location before you’ll be able to successfully register the phone to the VPS server at CrownCloud.
  • Determine the public IP address at the remote location. (If the IP address isn't already known, use a computer connected to the same network/LAN as the phone … in a browser, enter ‘whatismyip.com’ in the address field to show the Public IP address. Make note of it for use with the ‘add-ip’ script.)
  • SSH into your iPBX2027 from the location/computer that was used to build the CrownCloud installation to update the iPBX 2027 firewall. (Alternatively, you can use your credentials for the CrownCloud VPS and launch the VNC service to log into your VPS.)
  • At the resulting command line, use the “add-ip” script that’s in the /root folder to add the remote public IP address to the iPBX2027 firewall:
Code:
/root/add-ip [name] [Public IP address]
e.g., /root/add-ip Remote504G 111.222.111.222
  • Upon pressing ‘ENTER’ you will see a warning message … press ‘ENTER’ to proceed.
  • Select “0” to enable ALL Services and press ‘ENTER’ again.
You can confirm that the iPBX firewall allows access from the remote location by launching a command prompt on a computer that’s on the same LAN as the phone, and ping the CrownCloud VPS name or IP address.
If the ping of the iPBX address is good, you’ll be able to proceed with registration of the phone using the name or IP address of the iPBX2027.

/Pete./
 
Last edited:
I have done that (thank you for the info) my phone still will not register though. Are there specific instructor. The Cisco 504g?
 
I have done that (thank you for the info) my phone still will not register though. Are there specific instructor. The Cisco 504g?
How about posting the sanitized log output for a registration attempt.
 
I have done that (thank you for the info) my phone still will not register though. Are there specific instructor. The Cisco 504g?
First, be sure the password on the PBX extension screen matches the password you put in the phone.

Next, are you using chan_sip or chan_pjsip for your extension? What are the port numbers as defined in the FreePBX gui under Settings > Asterisk SIP Settings > SIP Settings or SIP Legacy Settings?

Have you pointed the phone to the correct port on your PBX? What port are you using for chan_sip and chan_pjsip? With most of these Sipura/Cisco phones, if you are not using the default port of 5060, you have to explicitly include the port in the registration host, proxy host and outbound host or set the correct port in the phone's registration screen if there is a field for the destination port. Example below:

Code:
<your IP or domain name>:5160
 
Last edited:
[2024-03-10 02:06:59] NOTICE[2777] chan_sip.c: Registration from '"Chaim Office" <sip:[email protected].XX>' failed for 'XXX.XXX.X.XXX:5061' - Wrong password

I have used the correct password so I cant understand why it is not working.
 
Double check the ports in use for sip at both ends of the connection. Wrong password might also be an indication of a port mismatch.
 

Members online

Forum statistics

Threads
26,686
Messages
174,406
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top