README 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. This adds the mobile-twinning app.
  2. Works like this:
  3. Go to Apps -> Mobile Twinning. Associate the mobile number with the corresponding extension.
  4. Go to Dialplan -> Destinations. Map a Destination to the mobile-twinning dialplan number. (*662) (spells MOB for "mobile")
  5. You can now seamlessly move calls back and forth from your deskphone and your mobile.
  6. If someone calls your extension and you have it forwarded (or follow-me) to your mobile, you can dial *662 from your desk to bring the call back to your desk.
  7. If you are on your deskphone, you can dial the mobile-twinning destination (step 2), press 1 and the call is transferred to your mobile.
  8. Notes:
  9. This will probably not work across multiple FS servers as it is written.
  10. This is setup for the mobile to have a 10 digit number.
  11. Install:
  12. On your server.
  13. git clone https://github.com/fusionpbx/fusionpbx-apps
  14. Copy or move the directory 'mobile-twinning' into your main FusionPBX directory.
  15. cp -R fusionpbx-apps/mobile-twinning /var/www/fusionpbx/app
  16. Move the xml dialplan file.
  17. cp /var/www/fusionpbx/app/mobile_twinning/390_mobile_twinning.xml /var/www/fusionpbx/app/dialplans/resources/switch/conf/dialplan/390_mobile_twinning.xml
  18. Create the LUA script directory
  19. mkdir /usr/share/freeswitch/scripts/app/mobile_twinning
  20. Copy the script
  21. cp /var/www/fusionpbx/app/mobile_twinning/index.lua /usr/share/freeswitch/scripts/app/mobile_twinning/index.lua
  22. Set the permissions
  23. chown -R www-data:www-data /var/www/fusionpbx/app/mobile_twinning
  24. chown -R www-data:www-data /usr/share/freeswitch/scripts/app/mobile_twinning
  25. chown -R www-data:www-data /var/www/fusionpbx/app/dialplans/resources/switch/conf/dialplan
  26. Log into the FusionPBX webpage
  27. Advanced -> Upgrade
  28. Menu Defaults and Permission Defaults (and App Defaults, if you want to add the 390_mobile_twinning.xml to appear in Dialplan Manager).
  29. Log out and back in