[Freeswitch-users] Follow me implementation

Brian Foster bdfoster at davri.com
Thu Apr 11 04:13:17 MSD 2013


MSC: Yea, I've heard of it but never really used it. I've taken a look at
some documentation here:
http://wiki.freeswitch.org/wiki/Freeswitch_IVR_Originate#Enterprise_originate

Avi's Suggestion:

<originate_timeout=25>{ignore_early_media=true,group_
confirm_file=ivr/ivr-accept_reject_voicemail.wav,group_
confirm_key=1}sofia/gateway/flowroute/12223334444:_:user/1000

Avi: We're close :)

<action application="bridge"
data="${sofia_contact(${dialed_extension})},{group_confirm_key=exec,group_confirm_file=lua
menu.lua}loopback/${follow_me_number}/xml/default"/>

Now, I'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'll probably have
to do a script that takes a look at the user's variables set in the
directory and figure out if the user even has a follow_me_number set.

Notice "{group_confirm_key=exec,group_confirm_file=lua menu.lua}". That was
taken from
http://wiki.freeswitch.org/wiki/Freeswitch_IVR_Originate#exec_in_answer_confirm.
Anyone know if that works? That would sure as hell make a dent in this.

Another problem is that this dial-string will likely have to be set in the
directory in order to keep things consistent. What's the best route to
take? I'd have to use a script to set the dial string, not sure how I could
call the script from there.



Thank you,

Brian Foster
Project Manager/Owner's Representative
Davri Investments, Incorporated
P: +1-317-787-2686
M: +1-317-600-9753
Indianapolis, Indiana


On Wed, Apr 10, 2013 at 7:36 PM, Brian Foster <bdfoster at davri.com> wrote:

> LinuxMCE has done the Bluetooth tracking bit, albeit with extra code and
> asterisk.
>
>
> On Wednesday, April 10, 2013, Guillermo Ruiz Camauer wrote:
>
>> I don'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:
>>
>> 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.
>> The "somehow" could be through a Bluetooth dongle attached to a PC in the
>> room that detects the User'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.
>>
>> Has anyone heard of such a system?  Experiences?
>>
>> Thank you,
>>
>> Guillermo Ruiz Camauer
>>
>>
>> On Wed, Apr 10, 2013 at 6:32 PM, Brian Foster <bdfoster at davri.com> wrote:
>>
>>> I've been given an assignment. It's a little rough, and honestly I've
>>> been working on other projects and at the same time loosing my
>>> freeswitch-fu. So, here it goes.
>>>
>>> Company owner wants to be able to implement a follow me function. He'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've got call
>>> groups implemented,
>>> http://wiki.freeswitch.org/wiki/XML_User_Directory_Guide#Groups). When
>>> the mobile phone is answered, we need to be able to get some feedback from
>>> the callee to figure out if they're human. We'll use AVMD to kill the call
>>> if it detects a voicemail beep.
>>>
>>> I'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).
>>>
>>> Requirements are:
>>> 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's wanting a way to blacklist numbers on that same menu). So that rules
>>> out group_confirm_file, etc.
>>> 2. Use AVMD to kill the call if we detect the call was picked up by
>>> voicemail.
>>> 3. The custom IVR/menu/something isn't used on the deskphones
>>> 4. Deskphones need to continue to ring after the external number leg is
>>> started. I can'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.
>>> 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's
>>> assigned).
>>>
>>> Has anyone done something similar, and if so, how did you do it?
>>>
>>> Thank you,
>>>
>>> Brian Foster
>>> Project Manager/Owner's Representative
>>> Davri Investments, Incorporated
>>> P: +1-317-787-2686
>>> M: +1-317-600-9753
>>> Indianapolis, Indiana
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> 
>>> 
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://wiki.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>>>
>>
>>
>> --
>> Guillermo Ruiz Camauer
>>
>
>
> --
> Thank you,
>
> Brian Foster
> Project Manager/Owner's Representative
> Davri Investments, Incorporated
> P: +1-317-787-2686
> M: +1-317-600-9753
> Indianapolis, Indiana
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130410/346cabc0/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list