[Freeswitch-users] Asterisk dial status

Michael Collins msc at freeswitch.org
Mon Jul 25 23:25:50 MSD 2011


On Mon, Jul 25, 2011 at 11:59 AM, Gavin Henry <gavin.henry at gmail.com> wrote:

> Why not bgapi and listen for the CHANNEL_ANSWER event?
>
Dealer's choice. You can totally do that if you so desire. It all depends on
what the ultimate goal is. If you just need to have a few calls hit the dp,
attempt bridge, then play messages based on failure types then the dialplan
itself can handle it with just continue_on_fail and transfer apps. You can
throw in a dp script if you have some specific logic you wish to apply.
Keeps it clean and simple. However, if you are wanting to do some async
stuff like real-time status updates, etc. then event socket w/ bgapi
originates is definitely the way to go.

-MC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110725/cb3a77db/attachment.html 


More information about the FreeSWITCH-users mailing list