<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.mirtapbx.com/manual/index.php?action=history&amp;feed=atom&amp;title=Play_the_agent_name_to_the_caller</id>
	<title>Play the agent name to the caller - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://www.mirtapbx.com/manual/index.php?action=history&amp;feed=atom&amp;title=Play_the_agent_name_to_the_caller"/>
	<link rel="alternate" type="text/html" href="http://www.mirtapbx.com/manual/index.php?title=Play_the_agent_name_to_the_caller&amp;action=history"/>
	<updated>2026-05-01T22:45:01Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>http://www.mirtapbx.com/manual/index.php?title=Play_the_agent_name_to_the_caller&amp;diff=737&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;We are going to check how to configure a cool feature, allowing the name of the agent to be played before connecting the agent. Not only, but we are going to use the time the...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.mirtapbx.com/manual/index.php?title=Play_the_agent_name_to_the_caller&amp;diff=737&amp;oldid=prev"/>
		<updated>2016-11-30T22:20:51Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;We are going to check how to configure a cool feature, allowing the name of the agent to be played before connecting the agent. Not only, but we are going to use the time the...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;We are going to check how to configure a cool feature, allowing the name of the agent to be played before connecting the agent. Not only, but we are going to use the time the name is played to the caller to remind to the agent the name of the queue they are answering.&lt;br /&gt;
&lt;br /&gt;
Let&amp;#039;s start by define a media file creating the message, containing the name of the agent, at runtime, using Text to Speech.&lt;br /&gt;
&lt;br /&gt;
[[file:createmediafileforplayingtheagentname.png|400px]]&lt;br /&gt;
&lt;br /&gt;
As you may noticed, instead of the function ${CONNECTEDLINE(name)} I have used a variable, ${USR-agentname}. This is needed because you cannot easily recover functions from inside the Media File text box. Due to this limitation, I need to create another Custom Destination to define the variable ${USR-agentname} with the connected line name&lt;br /&gt;
&lt;br /&gt;
[[file:setagentnamesupportvariable.png|400px]]&lt;br /&gt;
&lt;br /&gt;
We want to play the agent name to the caller and in the same time play the name of the queue to the agent, so we define a static media file containing the name of the queue&lt;br /&gt;
&lt;br /&gt;
We are going now to create the custom destination &amp;quot;Execute separately on channels when answer&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[file:executeseparatelyonchannelswhenansweragentname.png|400px]]&lt;br /&gt;
&lt;br /&gt;
It is important to use the Special Destination &amp;quot;Wait for caller execution completed&amp;quot; or otherwise the message to the caller will be cut when the message to the agent will finish playing.&lt;br /&gt;
&lt;br /&gt;
Now you can use the defined Custom Destination to play the agent name to your callers entering the queue&lt;br /&gt;
&lt;br /&gt;
[[file:queuewithcustomdestinationtoplayagentname.png|400px]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>