Hello, I'm trying set up my first pbx usind fusion pbx and I not able to configure my fusion pbx to play audio file on outbound calls when recipient picks up the phone. I trying to achieve using followind dial plan for outbound calls:
For some reason I getting verry poor quality of the recording (call itself is good quality), and if I use same audio file as ivr menu greet or for hold music it's being played back correctly. The problem is only when I using it in this particular way. Maybe anyone have any ideas what the problem might be?
XML:
<extension name="{{gateway}}" continue="false" uuid="{{uid-1}}">
<condition field="${user_exists}" expression="false"/>
<condition field="destination_number" expression="^(\+(\d{11,20})|(\d{9}))$">
<action application="export" data="call_direction=outbound" inline="true"/>
<action application="unset" data="call_timeout"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/>
<action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/>
<action application="set" data="inherit_codec=true"/>
<action application="export" data="nolocal:execute_on_answer=playback /var/lib/freeswitch/recordings/{{domain}}/bdar-pranešimas-pokalbio-pradžia.wav"/>
<action application="set" data="ignore_display_updates=true"/>
<action application="set" data="callee_id_number=$1"/>
<action application="set" data="continue_on_fail=1,2,3,6,18,21,27,28,31,34,38,41,42,44,58,88,111,403,501,602,607,809"/>
<action application="bridge" data="sofia/gateway/{{uid-2}}/$1"/>
</condition>
</extension>