<div dir="ltr"><div style>I just installed freeswitch 1.2.10 for use in our small company. </div><div style>So far, most things are working very well. After skimming the "Freeswitch 1.2" book and the wiki, it was quite easy to get freeswitch built on a linode vm and connect to flowroute as a provider.</div>
<div style><br></div><div style>I have an inbound DID that is being routed to a little IVR that I set up.</div><div style>In the IVR, a button routes to a "sales" group extension (2000).</div><div style><br></div>
<div style>I'm using the sample dialplan/default.xml , which defines this extension as:</div><div style><br></div><div style><div><font face="courier new, monospace"> <extension name="group_dial_sales"></font></div>
<div><font face="courier new, monospace"> <condition field="destination_number" expression="^2000$"></font></div><div><font face="courier new, monospace"><span class="" style="white-space:pre">        </span><action application="bridge" data="${group_call(sales@${domain_name})}"/></font></div>
<div><font face="courier new, monospace"> </condition></font></div><div><font face="courier new, monospace"> </extension></font></div></div><div><br></div><div style>but I would like this to work with the same calling features as calling a normal user extension.</div>
<div style>For example, I don't get ring-back, and I want a ring-no-answer to go to a "group" voicemail box, etc.</div><div style><br></div><div style>To do this, can I just copy all of the stuff from "Local_Extension"? This would add bind_meta_apps, ringback, and also a ton of other stuff that I don't understand. Of course, I would change the first bridge to make it a group call. </div>
<div style><br></div><div style>IOW, can I do it like the following? Or are there applications here that should not be copied to a group-dial extension?</div><div style><br></div><div style> <!-- copied from sample "Local_Extension" with changes marked in bold --></div>
<div style><div><font face="courier new, monospace"> <extension name="<b>group_dial_sales</b>"></font></div><div><font face="courier new, monospace"> <condition field="destination_number" expression="<b>^2000$</b>"></font></div>
<div><font face="courier new, monospace"><span class="" style="white-space:pre">        </span><action application="export" data="dialed_extension=$1"/></font></div><div><font face="courier new, monospace"><span class="" style="white-space:pre">        </span><!-- bind_meta_app can have these args <key> [a|b|ab] [a|b|o|s] <app> --></font></div>
<div><font face="courier new, monospace"><span class="" style="white-space:pre">        </span><action application="bind_meta_app" data="1 b s execute_extension::dx XML features"/></font></div><div><font face="courier new, monospace"><span class="" style="white-space:pre">        </span><action application="bind_meta_app" data="2 b s record_session::$${recordings_dir}/${caller_id_number}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/></font></div>
<div><font face="courier new, monospace"><span class="" style="white-space:pre">        </span><action application="bind_meta_app" data="3 b s execute_extension::cf XML features"/></font></div><div><font face="courier new, monospace"><span class="" style="white-space:pre">        </span><action application="bind_meta_app" data="4 b s execute_extension::att_xfer XML features"/></font></div>
<div><font face="courier new, monospace"><span class="" style="white-space:pre">        </span><action application="set" data="ringback=${us-ring}"/></font></div><div><font face="courier new, monospace"><span class="" style="white-space:pre">        </span><action application="set" data="transfer_ringback=$${hold_music}"/></font></div>
<div><font face="courier new, monospace"><span class="" style="white-space:pre">        </span><action application="set" data="call_timeout=30"/></font></div><div><font face="courier new, monospace"><span class="" style="white-space:pre">        </span><!-- <action application="set" data="sip_exclude_contact=${network_addr}"/> --></font></div>
<div><font face="courier new, monospace"><span class="" style="white-space:pre">        </span><action application="set" data="hangup_after_bridge=true"/></font></div><div><font face="courier new, monospace"><span class="" style="white-space:pre">        </span><!--<action application="set" data="continue_on_fail=NORMAL_TEMPORARY_FAILURE,USER_BUSY,NO_ANSWER,TIMEOUT,NO_ROUTE_DESTINATION"/> --></font></div>
<div><font face="courier new, monospace"><span class="" style="white-space:pre">        </span><action application="set" data="continue_on_fail=true"/></font></div><div><font face="courier new, monospace"><span class="" style="white-space:pre">        </span><action application="hash" data="insert/${domain_name}-call_return/${dialed_extension}/${caller_id_number}"/></font></div>
<div><font face="courier new, monospace"><span class="" style="white-space:pre">        </span><action application="hash" data="insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid}"/></font></div>
<div><font face="courier new, monospace"><span class="" style="white-space:pre">        </span><action application="set" data="called_party_callgroup=${user_data(${dialed_extension}@${domain_name} var callgroup)}"/></font></div>
<div><font face="courier new, monospace"><span class="" style="white-space:pre">        </span><action application="hash" data="insert/${domain_name}-last_dial_ext/${called_party_callgroup}/${uuid}"/></font></div>
<div><font face="courier new, monospace"><span class="" style="white-space:pre">        </span><action application="hash" data="insert/${domain_name}-last_dial_ext/global/${uuid}"/></font></div><div><font face="courier new, monospace"><span class="" style="white-space:pre">        </span><!--<action application="export" data="nolocal:sip_secure_media=${user_data(${dialed_extension}@${domain_name} var sip_secure_media)}"/>--></font></div>
<div><font face="courier new, monospace"><span class="" style="white-space:pre">        </span><action application="hash" data="insert/${domain_name}-last_dial/${called_party_callgroup}/${uuid}"/></font></div>
<div><font face="courier new, monospace"><span class="" style="white-space:pre">        </span><action application="bridge" data="<b>group/support@${domain_name}</b>"/></font></div><div><font face="courier new, monospace"><span class="" style="white-space:pre">        </span><action application="answer"/></font></div>
<div><font face="courier new, monospace"><span class="" style="white-space:pre">        </span><action application="sleep" data="1000"/></font></div><div><font face="courier new, monospace"><span class="" style="white-space:pre">        </span><action application="bridge" data="loopback/app=voicemail:default ${domain_name} ${dialed_extension}"/></font></div>
<div><font face="courier new, monospace"> </condition></font></div><div><font face="courier new, monospace"> </extension></font></div></div><div><br></div>Any help very much appreciated.<div><br clear="all">
<div>Kirk Wolf<div>Dovetailed Technologies</div><div><a href="http://dovetail.com" target="_blank">http://dovetail.com</a></div></div>
</div></div>