Hi All,<div><br></div><div>I would like to setup follow me dialplan for individual extensions. Some extensions need a follow-me and some not. If the the follow-me not reach any live person the call should go to the FreeSWTICH voicemail.I have the extensions range from 201 -209. Also I am using the following Default dial plan to call between extensions.</div>
<div><br></div><div><div>&lt;extension name=&quot;Local_Extension&quot;&gt;</div><div>      &lt;condition field=&quot;destination_number&quot; expression=&quot;^(20[0-9])$&quot;&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;action application=&quot;set&quot; data=&quot;dialed_extension=$1&quot;/&gt;</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;action application=&quot;export&quot; data=&quot;dialed_extension=$1&quot;/&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;!-- bind_meta_app can have these args &lt;key&gt; [a|b|ab] [a|b|o|s] &lt;app&gt; --&gt;</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;action application=&quot;bind_meta_app&quot; data=&quot;1 b s execute_extension::dx XML features&quot;/&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;action application=&quot;bind_meta_app&quot; data=&quot;2 b s record_session::$${recordings_dir}/${caller_id_number}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav&quot;/&gt;</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;action application=&quot;bind_meta_app&quot; data=&quot;3 b s execute_extension::cf XML features&quot;/&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;action application=&quot;set&quot; data=&quot;ringback=${us-ring}&quot;/&gt;</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;action application=&quot;set&quot; data=&quot;transfer_ringback=$${hold_music}&quot;/&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;action application=&quot;set&quot; data=&quot;call_timeout=30&quot;/&gt;</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;!-- &lt;action application=&quot;set&quot; data=&quot;sip_exclude_contact=${network_addr}&quot;/&gt; --&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;action application=&quot;set&quot; data=&quot;hangup_after_bridge=true&quot;/&gt;</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;!--&lt;action application=&quot;set&quot; data=&quot;continue_on_fail=NORMAL_TEMPORARY_FAILURE,USER_BUSY,NO_ANSWER,TIMEOUT,NO_ROUTE_DESTINATION&quot;/&gt; --&gt;</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;action application=&quot;set&quot; data=&quot;continue_on_fail=true&quot;/&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;action application=&quot;hash&quot; data=&quot;insert/${domain_name}-call_return/${dialed_extension}/${caller_id_number}&quot;/&gt;</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;action application=&quot;hash&quot; data=&quot;insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid}&quot;/&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;action application=&quot;set&quot; data=&quot;called_party_callgroup=${user_data(${dialed_extension}@${domain_name} var callgroup)}&quot;/&gt;</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;!--&lt;action application=&quot;export&quot; data=&quot;nolocal:sip_secure_media=${user_data(${dialed_extension}@${domain_name} var sip_secure_media)}&quot;/&gt;--&gt;</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;action application=&quot;hash&quot; data=&quot;insert/${domain_name}-last_dial/${called_party_callgroup}/${uuid}&quot;/&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;action application=&quot;bridge&quot; data=&quot;user/${dialed_extension}@${domain_name},${followme}&quot;/&gt;</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;action application=&quot;answer&quot;/&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;action application=&quot;sleep&quot; data=&quot;1000&quot;/&gt;</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;action application=&quot;voicemail&quot; data=&quot;default ${domain_name} ${dialed_extension}&quot;/&gt;</div><div>      &lt;/condition&gt;</div><div>
 &lt;/extension&gt;</div></div><div><br></div><div>I use the wiki samples to make a follow me dial plan for extension 201. Here is the dial plan.</div><div><br></div><div><div>&lt;extension name=&quot;201_followme&quot;&gt;</div>
<div>  &lt;condition field=&quot;destination_number&quot; expression=&quot;201&quot;&gt;</div><div>   &lt;action application=&quot;set&quot; data=&quot;hangup_after_bridge=true&quot;/&gt;</div><div>   &lt;action application=&quot;set&quot; data=&quot;continue_on_fail=true&quot;/&gt;</div>
<div>   &lt;action application=&quot;set&quot; data=&quot;ignore_early_media=true&quot;/&gt;</div><div>   &lt;action application=&quot;set&quot; data=&quot;call_timeout=10&quot;/&gt;</div><div>   &lt;action application=&quot;bridge&quot; data=&quot;sofia/$${domain}/201&quot;/&gt;</div>
<div>   &lt;action application=&quot;set&quot; data=&quot;call_timeout=13&quot;/&gt;</div><div>   &lt;action application=&quot;bridge&quot; data=&quot;sofia/gateway/voicepulse/14161235555&quot; /&gt;</div><div>   &lt;action application=&quot;answer&quot;/&gt;</div>
<div>   &lt;action application=&quot;sleep&quot; data=&quot;1000&quot;/&gt;</div><div>   &lt;action application=&quot;voicemail&quot; data=&quot;default $${domain} 201&quot;/&gt;</div><div>  &lt;/condition&gt;</div><div>&lt;/extension&gt;</div>
<div><br></div></div><div><br></div><div>Call to extension 201 , there are two dialplan matching the request. Either Local_Extension or follwme_201. Which order freeswtich select?</div><div><br></div><div>Thank you for your help.</div>
<div><br clear="all">Thanks,<br>Lloyd
</div>