[Freeswitch-users] using APNS with diaplan : throttle a call until a certain condition changes

Gabriel Gunderson gabe at gundy.org
Sat Jun 9 05:16:22 MSD 2012


On Fri, Jun 8, 2012 at 2:31 AM, John Gathm <john.gathm at gmail.com> wrote:
> I am wondering if this implementation would be acceptable regarding
> freeswitch design, or if diaplan/freeswitch offer cleaner ways to implement
> it.

What if you used your dialplan to try to call the phone and if you do
NOT find it, park the call. Then you might use the event socket to
watch for the parking of the call so you can send your notification.
Next, use the event socket to watch for sofia registrations to know
when the app has received the notification, launched and is ready to
take calls. Once you get that event, unpark the call and send it on
its way.


Best,
Gabe

P.S. go python!



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