Problem registering phone using Sangoma endpoint module

endpoint
freepbx
Tags: #<Tag:0x00007f7028666bc0> #<Tag:0x00007f7028666a08>

#1

Hello,

I have installed a fresh FreePBX 15 distro and I bought the Sangoma Ednpoint module.

Now, I am trying to register a Polycom phone on my freepbx setup. I have added the Brand Polycom and created a template for it.

I also have an extension (218) properly configured since it was restored from an old production system.

I create an extension mapping for my phone (note that I entered the MAC address correctly) :

image

Here is the template:

image

Then I connect to my phone using its web interface and I change the IP of the server to be my new FreePBX 15 ( 192.168.2.190 in this case). The phone tries to register on the server , but in the log, I see this:

[2021-04-02 21:31:44] NOTICE[23360] res_pjsip/pjsip_distributor.c: Request 'REGISTER' from '"Gilbert Soucy" <sip:218@192.168.2.190>' failed for '192.168.1.195:5060' (callid: 3776d59f-914c1e6e-9e
1e3485@192.168.1.195) - No matching endpoint found
[2021-04-02 21:31:44] NOTICE[23360] res_pjsip/pjsip_distributor.c: Request 'REGISTER' from '"Gilbert Soucy" <sip:218@192.168.2.190>' failed for '192.168.1.195:5060' (callid: 3776d59f-914c1e6e-9e
1e3485@192.168.1.195) - No matching endpoint found
[2021-04-02 21:31:44] NOTICE[23360] res_pjsip/pjsip_distributor.c: Request 'REGISTER' from '"Gilbert Soucy" <sip:218@192.168.2.190>' failed for '192.168.1.195:5060' (callid: 3776d59f-914c1e6e-9e
1e3485@192.168.1.195) - No matching endpoint found
[2021-04-02 21:31:44] NOTICE[23360] res_pjsip/pjsip_distributor.c: Request 'REGISTER' from '"Gilbert Soucy" <sip:218@192.168.2.190>' failed for '192.168.1.195:5060' (callid: 3776d59f-914c1e6e-9e
1e3485@192.168.1.195) - No matching endpoint found
[2021-04-02 21:31:44] NOTICE[23360] res_pjsip/pjsip_distributor.c: Request 'REGISTER' from '"Gilbert Soucy" <sip:218@192.168.2.190>' failed for '192.168.1.195:5060' (callid: 3776d59f-914c1e6e-9e
1e3485@192.168.1.195) - Failed to authenticate
[2021-04-02 21:31:44] NOTICE[23360] res_pjsip/pjsip_distributor.c: Request 'REGISTER' from '"Gilbert Soucy" <sip:218@192.168.2.190>' failed for '192.168.1.195:5060' (callid: 3776d59f-914c1e6e-9e
1e3485@192.168.1.195) - Failed to authenticate

What is wrong with my test ?

Thank you

Gilbert


#2

It is strange: I played with the ‘SIP Channel Driver’ (advanced settings) to set it to chan_sip only ( it was set to both). Then, the port 5060 was not active anymore. I edited ‘sip_general_custom.conf’ to add ‘bindport=5060’ . After that, my phone was able to register to asterisk.

I went back to change the ‘SIP Channel Driver’ to ‘both’ and it is still working. Not sure exactly what happened.

But not all is good. My phone registers to asterisk but it is not visible in the endpoint manager. Even though the phone is registered, it matched the mac address and the phone brand, it cannot be controlled (ex: reboot) from the EndPoint manager:

image

I would expect a list of actions available for my phone once it is registered with the endpoint module configured properly. Any reason why they is not action available for the phone ?

This is what is showed in the wiki ( https://wiki.freepbx.org/display/FPG/EPM-Admin+User+Guide )

image