<audio src="GetPrompt.php?id=PLSHOLD" />
<!-- audio src="GetPrompt.php?id=PLSHOLD" / -->
<block>
<if cond="type != null">
<assign name="type_param" expr="';type=' + type" />
</if>
<prompt bargein="false" cond="noprompt == null || noprompt == 0">
<audio src="GetPrompt.php?id=PLSHOLD" />
</prompt>
</block>
<block>
<if cond="type != null">
<assign name="type_param" expr="';type=' + type" />
</if>
<prompt bargein="false" cond="noprompt == null || noprompt == 0 || destination == nnn">
<!-- audio src="GetPrompt.php?id=PLSHOLD" / -->
</prompt>
<prompt bargein="false" cond="noprompt == null || noprompt == 0">
<audio src="GetPrompt.php?id=PLSHOLD" />
</prompt>
</block>
coelhopsi said:Martink,
You can change the file C:\Program Files\3CX PhoneSystem\Data\Ivr\Vxml\call_transfer.vxml, so the "Please hold while I transfer your call" won't be played anymore:
Change line that says:
Code:<audio src="GetPrompt.php?id=PLSHOLD" />
to
Code:<!-- audio src="GetPrompt.php?id=PLSHOLD" / -->
This is line 29 on the above file. After saving the file with this modification, you may need to restart the 3CX services.
Please note that this change will affect all call transfers that use this recording (not sure if only call transfers originated from DRs would be affected) and not only the ones to your call queue or from a specific DR. A better possibility would be to change this code to make a small "if" in the code that checks if the call is directed to your specific call queue and, if it is, it won't play the PLSHOLD recording. Maybe the following would work:
From:
Code:<block> <if cond="type != null"> <assign name="type_param" expr="';type=' + type" /> </if> <prompt bargein="false" cond="noprompt == null || noprompt == 0"> <audio src="GetPrompt.php?id=PLSHOLD" /> </prompt> </block>
To:
where "nnn" is your queue extension number.Code:<block> <if cond="type != null"> <assign name="type_param" expr="';type=' + type" /> </if> <prompt bargein="false" cond="noprompt == null || noprompt == 0 || destination == nnn"> <!-- audio src="GetPrompt.php?id=PLSHOLD" / --> </prompt> <prompt bargein="false" cond="noprompt == null || noprompt == 0"> <audio src="GetPrompt.php?id=PLSHOLD" /> </prompt> </block>
I don't understand anything about PHP, but the idea would be something like that. Maybe someone with a better understanding of PHP could provide a better solution. Anyone?
Founded in 2005, when VoIP was an emerging technology, 3CX has gone on to establish itself as a global leader in business communications.