<div dir="ltr">Also forgot to add, I&#39;d have to use Loopback because I would have to send the follow me number back through the dialplan in order to figure out which gateway it should go out (we select a gateway based on a few different variables, but there&#39;s no way to tell until you send it through the dialplan). I know Loopback is kinda evil but I don&#39;t see another way of doing it. But theoretically it makes things a little more modular and keeps maintenance of the dialplan to a minimum. </div>

<div class="gmail_extra"><br clear="all"><div><div dir="ltr">Thank you,<div><br></div><div>Brian Foster</div><div>Project Manager/Owner&#39;s Representative</div><div>Davri Investments, Incorporated</div><div>P: +1-317-787-2686</div>

<div>M: +1-317-600-9753</div><div>Indianapolis, Indiana</div></div></div>
<br><br><div class="gmail_quote">On Wed, Apr 10, 2013 at 8:13 PM, Brian Foster <span dir="ltr">&lt;<a href="mailto:bdfoster@davri.com" target="_blank">bdfoster@davri.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr"><div><span style="font-family:arial,sans-serif;font-size:13px">MSC: Yea, I&#39;ve heard of it but never really used it. I&#39;ve taken a look at some documentation here: </span><a href="http://wiki.freeswitch.org/wiki/Freeswitch_IVR_Originate#Enterprise_originate" target="_blank">http://wiki.freeswitch.org/wiki/Freeswitch_IVR_Originate#Enterprise_originate</a></div>


<span style="font-family:arial,sans-serif;font-size:13px"><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div>Avi&#39;s Suggestion:</span><div class="im"><div><span style="font-family:arial,sans-serif;font-size:13px"><br>


</span></div><div><span style="font-family:arial,sans-serif;font-size:13px">&lt;originate_timeout=25&gt;{ignore_</span><span style="font-family:arial,sans-serif;font-size:13px">early_media=true,group_</span><span style="font-family:arial,sans-serif;font-size:13px">confirm_file=ivr/ivr-accept_</span><span style="font-family:arial,sans-serif;font-size:13px">reject_voicemail.wav,group_</span><span style="font-family:arial,sans-serif;font-size:13px">confirm_key=1}sofia/gateway/</span><span style="font-family:arial,sans-serif;font-size:13px">flowroute/12223334444:_:user/</span><span style="font-family:arial,sans-serif;font-size:13px">1000</span><br>


</div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div></div><div><font face="arial, sans-serif">Avi: We&#39;re close :) </font></div><div><font face="arial, sans-serif"><br></font></div>
<div><font face="arial, sans-serif">&lt;action application=&quot;bridge&quot; data=&quot;${sofia_contact(${dialed_extension})},</font><span style="font-family:arial,sans-serif">{group_confirm_key=exec,group_confirm_file=lua menu.lua}loopback/${follow_me_number}/xml/default</span><span style="font-family:arial,sans-serif">&quot;/&gt;</span></div>


<div><span style="font-family:arial,sans-serif"><br></span></div><div><span style="font-family:arial,sans-serif">Now, I&#39;m not sure if that will actually work (might not take much to get it to work) but theoretically it should. To get it clean, I&#39;ll probably have to do a script that takes a look at the user&#39;s variables set in the directory and figure out if the user even has a follow_me_number set.</span></div>


<div><span style="font-family:arial,sans-serif"><br></span></div><div><span style="font-family:arial,sans-serif">Notice &quot;</span><span style="font-family:arial,sans-serif">{group_confirm_key=exec,group_confirm_file=lua menu.lua}&quot;. That was taken from </span><a href="http://wiki.freeswitch.org/wiki/Freeswitch_IVR_Originate#exec_in_answer_confirm" target="_blank">http://wiki.freeswitch.org/wiki/Freeswitch_IVR_Originate#exec_in_answer_confirm</a>. Anyone know if that works? That would sure as hell make a dent in this.</div>


<div><span style="font-family:arial,sans-serif"><br></span></div><div><font face="arial, sans-serif">Another problem is that this dial-string will likely have to be set in the directory in order to keep things consistent. What&#39;s the best route to take? I&#39;d have to use a script to set the dial string, not sure how I could call the script from there.</font></div>


<div><br></div><div><br></div></div><div class="gmail_extra"><div class="im"><br clear="all"><div><div dir="ltr">Thank you,<div><br></div><div>Brian Foster</div><div>Project Manager/Owner&#39;s Representative</div><div>Davri Investments, Incorporated</div>


<div>P: <a href="tel:%2B1-317-787-2686" value="+13177872686" target="_blank">+1-317-787-2686</a></div><div>M: <a href="tel:%2B1-317-600-9753" value="+13176009753" target="_blank">+1-317-600-9753</a></div><div>Indianapolis, Indiana</div>

</div></div>
<br><br></div><div><div class="h5"><div class="gmail_quote">On Wed, Apr 10, 2013 at 7:36 PM, Brian Foster <span dir="ltr">&lt;<a href="mailto:bdfoster@davri.com" target="_blank">bdfoster@davri.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
LinuxMCE has done the Bluetooth tracking bit, albeit with extra code and asterisk.<div><div><span></span><br><br>On Wednesday, April 10, 2013, Guillermo Ruiz Camauer  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div dir="ltr">I don&#39;t want to hijack your thread, but since the subject matter is FollowMe, I would like to add that I am looking for something along the lines of:<div><br></div><div>A FollowMe that somehow knows what room you are in within a building and rings the nearest extension with a special ringtone which is assigned to each user.</div>




<div>The &quot;somehow&quot; could be through a Bluetooth dongle attached to a PC in the room that detects the User&#39;s cell phone and updates a DB that FS has access to, or an Mobile Phone App that triangulates on WiFi Access Points and updates a DB, etc.</div>




<div><br></div><div>Has anyone heard of such a system?  Experiences?</div><div><br></div><div>Thank you,</div><div><br></div><div>Guillermo Ruiz Camauer</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Wed, Apr 10, 2013 at 6:32 PM, Brian Foster <span dir="ltr">&lt;<a>bdfoster@davri.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">I&#39;ve been given an assignment. It&#39;s a little rough, and honestly I&#39;ve been working on other projects and at the same time loosing my freeswitch-fu. So, here it goes.<div><br></div><div>Company owner wants to be able to implement a follow me function. He&#39;s asking for the deskphones to begin ringing, then have cell phones ring N seconds later WHILE the deskphones continue to ring. The function has to be able to work using a couple different ways of dialing (we&#39;ve got call groups implemented, <a href="http://wiki.freeswitch.org/wiki/XML_User_Directory_Guide#Groups" target="_blank">http://wiki.freeswitch.org/wiki/XML_User_Directory_Guide#Groups</a>). When the mobile phone is answered, we need to be able to get some feedback from the callee to figure out if they&#39;re human. We&#39;ll use AVMD to kill the call if it detects a voicemail beep.</div>






<div><br></div><div>I&#39;ve looked at several different examples on the wiki and mailing list, and the only way I can figure out how to do it while keeping the requirements in mind is to at some point resort to using Loopback (something i didnt want to do).</div>






<div><br></div><div>Requirements are:</div><div>1. Use a custom IVR/menu/something to get a confirmation from the callee that they are human (while also keeping it available for customization  he&#39;s wanting a way to blacklist numbers on that same menu). So that rules out group_confirm_file, etc.</div>






<div>2. Use AVMD to kill the call if we detect the call was picked up by voicemail.</div><div>3. The custom IVR/menu/something isn&#39;t used on the deskphones</div><div>4. Deskphones need to continue to ring after the external number leg is started. I can&#39;t timeout the call on the deskphone then call the cell phone, or call the deskphone, time it out, then call the deskphone and cell phone.</div>






<div>5. It has to work on any type of calling method (so basically, if the deskphone rings then eventually the cell phone needs to ring to if it&#39;s assigned).</div><div><br></div><div>Has anyone done something similar, and if so, how did you do it?</div>






<div><br clear="all"><div><div dir="ltr">Thank you,<div><br></div><div>Brian Foster</div><div>Project Manager/Owner&#39;s Representative</div><div>Davri Investments, Incorporated</div><div>P: <a href="tel:%2B1-317-787-2686" value="+13177872686" target="_blank">+1-317-787-2686</a></div>


<div>M: <a href="tel:%2B1-317-600-9753" value="+13176009753" target="_blank">+1-317-600-9753</a></div>



<div>Indianapolis, Indiana</div></div></div>
</div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a>consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a>FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Guillermo Ruiz Camauer<br>
</div>
</blockquote><br><br></div></div>-- <br><div><div><div dir="ltr">Thank you,<div><br></div><div>Brian Foster</div><div>Project Manager/Owner&#39;s Representative</div><div>Davri Investments, Incorporated</div>
<div>P: <a href="tel:%2B1-317-787-2686" value="+13177872686" target="_blank">+1-317-787-2686</a></div><div>
M: <a href="tel:%2B1-317-600-9753" value="+13176009753" target="_blank">+1-317-600-9753</a></div><div>Indianapolis, Indiana</div></div><br>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br></div>