Commit 569f9696 authored by Vojtech Sodoma's avatar Vojtech Sodoma

Fix subroutines for recording

parent a82e47ab
......@@ -74,17 +74,17 @@ These subroutines are to be configured on the following *XiVO PBX* objects (eith
Then you would have to:
#. Create a ``custom_global_subr.conf`` file
#. Create a ``custom_global_subr.conf`` file in the ``/etc/asterisk/extensions_extra.d`` directory
#. If not already defined elsewhere define the global subroutine::
[xivo-subrgbl-queue]
exten = s,1,NoOp(=== Recording incoming calls ===)
same = n,Gosub(xivocc-incall-recording)
same = n,Gosub(xivocc-incall-recording,s,1)
same = n,Return()
[xivo-subrgbl-outcall]
exten = s,1,NoOp(=== Recording outbound calls in pause ===)
same = n,Gosub(xivocc-outcall-recording-paused)
same = n,Gosub(xivocc-outcall-recording-paused,s,1)
same = n,Return()
#. Enable the call recording for incall 0123456789 by editing it via the *XiVO PBX* web interface
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment