[Freeswitch-users] Follow me implementation

Brian Foster bdfoster at davri.com
Wed Jan 21 01:58:13 MSK 2015


Sorry to bring up a really old thread... Cal, have you implemented this?

I've got a really basic implementation now, looking for a param called
'follow-me' in the directory user's configs, and if it exists it sends out
a call about 5 seconds after the leg to the internal extension starts. No
LUA scripts, all XML dialplan. Honestly, it's not that flexible but it
works well enough for our purposes (until today, but I'm still researching).



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 Thu, Apr 25, 2013 at 10:55 AM, Cal Leeming [Simplicity Media Ltd] <
cal.leeming at simplicitymedialtd.co.uk> wrote:

> Sorry to hi-jack, just wanted to say thank you to everyone getting
> involved on this ticket, and OP for raising this.
>
> The requirements that OP specified are almost exactly the same as what we
> are doing, and this item was next in my list to figure out.
>
> Once the thread is finished, we should definitely get it put into a
> cookbook page on the wiki!
>
> Cal
>
>
> On Wed, Apr 24, 2013 at 7:46 PM, Brian Foster <bdfoster at davri.com> wrote:
>
>> Does anyone have ideas on this issue?
>>
>> -BDF
>>
>> 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 8:16 PM, Brian Foster <bdfoster at davri.com> wrote:
>>
>>> Also forgot to add, I'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's no way to tell until you send it through
>>> the dialplan). I know Loopback is kinda evil but I don'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.
>>>
>>> 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 8:13 PM, Brian Foster <bdfoster at davri.com>
>>> wrote:
>>>
>>>> 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
>>>>>>>
>>>>>>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
>>>>>>> http://www.cudatel.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
>>>>>
>>>>>
>>>>
>>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
>> http://www.cudatel.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
>>
>>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
> http://www.cudatel.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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150120/3bcb90bd/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list