call_flows.rst 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. *****************
  2. Call Flows
  3. *****************
  4. Direct calls between two destinations by calling a feature code.
  5. .. image:: ../_static/images/applications/call_flows/fusionpbx_call_flows2.png
  6. :scale: 60%
  7. |
  8. |
  9. * **Name:** Define the name of the call flow.
  10. * **Extension:** Define what extension to use. (This will make an extension not already created)
  11. * **Feature Code:** Define what * number to use (must be entered to assign a BLF button to a call flow)
  12. * **Context:** Domain context (typically leave as is)
  13. * Status: Define what currently is in use.
  14. * Pin Number: Define a pin number in order to execute either mode.
  15. * **Destination:** Define where the call will go in the intial mode.
  16. * Sound: Define the sound that will play once mode is engaged.
  17. * Destination: Define what the destination will be.
  18. * Alternative Label: Label that will show when alternative mode is in use.
  19. * Alternative Sound: Define the sound that will play once alternative mode is engaged.
  20. * **Alternative Destination:** Define where the call will go in the alternative mode.
  21. * **Description:** Label what this call flow does.
  22. |
  23. |
  24. Call Flow Example
  25. ^^^^^^^^^^^^^^^^^^
  26. In the Call Flow example below we have the name as Call Flow. Make the Extension number 30 that didn't exist until now. Create the feature code as a *code with *30. Keep the context as-is with `training.fusionpbx.com`_ . Select a Status to show which mode. Make a PIN to help secure the call flow. Make the detination label as Day Mode. Select a sound to auditorially indicate which mode is activated. Choose a destination for the alternative mode. Make the alternative detination label as Night Mode. Select an alternative sound to auditorially indicate which mode is activated. Choose a destination for the alternative mode. Finally, enter a description to describe what this call flow does.
  27. |
  28. |
  29. .. image:: ../_static/images/applications/call_flows/fusionpbx_call_flows1.png
  30. :scale: 60%
  31. .. _training.fusionpbx.com: https://fusionpbx.com/app/www/training_detail.php
  32. |
  33. |
  34. Call Flow Button Control (BLF)
  35. ^^^^^^^^^^^^^^^^^^
  36. Call Flows can be assigned to a button of a phone to give users easy access to toggling it on and off. This requires a modification to the ``/etc/freeswitch/autoload_configs/lua.conf.xml`` file.
  37. Uncomment the ``<param name="startup-script" value="blf_subscribe.lua flow"/>`` line. and restart freeswitch.
  38. Next, make sure that the Feature Code is programmed.
  39. Finally, program a BLF button that has a value of ``flow+*<featurecode>``. For example, ``flow+*7000``.