Check device state of pjsip account on asterisk2 from asterisk1

Here’s an example how to do it with FreePBX https://wiki.freepbx.org/display/FDT/Remote+BLF’s+using+PJSIP

Once you can monitor the hints on both servers you should be able to use the same dialplan logic you posted above.

3 Likes