[Asterisk-Users] Looking for better "Follow Me"

John covici covici at ccs.covici.com
Fri Sep 2 03:05:12 MST 2005


Try amportal which is a sourceforge project, but remember if a cell is
one of the numbers there will always bea delay while it is dialed and
it might go to voicemail anyway.


on Friday 09/02/2005 Hauke Zuehl(hzuehl at athene.dnsalias.org) wrote
 > Hi everybody :)
 > 
 > I am a new member here and hope that someone gives me a hint for my problem:
 > Let's say I am at work and my SIP phone (KPhone in my case) is connected to my 
 > private Asterisk. I want to call my wife at home so her SIP phone rings. She 
 > does not pick up the phone (maybe she is somewhere in the house and has to 
 > run to the phone) so after 15 seconds her cell phone should ring.
 > Until now it is a classic "follow me" but what I want:
 > I want both phones (SIP and cell) ringing and if one phone is picked up the 
 > other phone should stop ringing.
 > 
 > My current idea:
 > A C program is called via AGI. The program forks into two children. One of the 
 > children sleeps 15 seconds while the other drops a call file into /tmp and 
 > finally moves it into spool/outgoing. After 15 seconds the second child wakes 
 > up and also drops such a call file (but with another destination).
 > 
 > Now the point is:
 > How do I connect (or bridge) the source and the destination call?
 > 
 > Another idea was using libagi (or something like that) but it seems that one 
 > child blocks stdin or stdout (don't know yet) so the DIAL command cannot send 
 > its result back to the child.
 > 
 > I tried to understand app_queue.c and app_meetme.c from Asterisk source but 
 > unfortunately after reading the codes I was _really_ puzzled :(
 > 
 > Thanks for a little hint :)
 > 
 > Kind regards,
 > Hauke
 > _______________________________________________
 > --Bandwidth and Colocation sponsored by Easynews.com --
 > 
 > Asterisk-Users mailing list
 > Asterisk-Users at lists.digium.com
 > http://lists.digium.com/mailman/listinfo/asterisk-users
 > To UNSUBSCRIBE or update options visit:
 >    http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici at ccs.covici.com



More information about the asterisk-users mailing list