Content

Page tree

I don't know here is the correct location, or the FreePBX Community Forum.

We switched our old FreePBX 14 .0.16.11 with Asterisk 13.38.2 to the new FreePBX 16.0.21.9 with Asterisk 16.27.0. Also we switch from the very old chan_sip to chan_pjsip.

If i now move a snom D345 (Firmware: 10.1.101.11) from the old to the new PBX , so we change the hostname in the identity and AsteriskPresenceField defintion, the BLF LEDs goes off.

On the phone under "Subscriptions" i see that the phone is looking for a status message for Event type "presence" and also under the CLI of the PBX i see when i run "core show hint" for the BLF i see that the State is Idle , etc. and also that Someone (the phone) is Watching.

is their to be set something different for PJSIP on the snom side or on the FreePBX to work as on the old setup?

The Defininition is nearly like https://service.snom.com/display/wiki/HowTo+-+Extension+Monitoring+-+Asterisk+Presence

profilePicture

Roger Meier

End user

Joined: 18.08.2022

2 Comments

  1. End user Jens Bürger

    I have a configuration running with a recent D385 (same firmware as you) and Asterisk 18 with PJSIP, BLF is running fine.

    In my case, for the buttons the configuration is as follows:

    Type: BLF

    Number:

    <sip:12345@my-sip-server;user=phone>;user=phone


    On the Asterisk side,  hints need to be configured, like so:


    exten => 12345,hint,PJSIP/my-super-phone


    You could also try to raise the debug level on one of the phones and see what happens when it tries do register.

    Second step could be to put PJSIP into logging mode (pjsip set logger on) and have a look what PJSIP answers when the phone tries to renew the subscription.


    Hope that helps

    1. End user Roger Meier

      Sorry for the late answer.

      FreePBX configured the hint automatically so no specific config is needed. It looks often then like this one:

      extensions_additional.conf:exten => 12345,hint,PJSIP/12345&Custom:DND12345,CustomPresence:12345

      But perhaps thats a problem of asterisk 16? as you use asterisk 18. Perhaps i try to upgrade my freepbx to asterisk 18 and then check again.

      (I also had currently another strange problem that when i try to call a extension via speed dial, it try on the asterisk a SIP/9876 extension instread PJSIP/9876. so no one is reachable)