[Freeswitch-users] HANGUP_CAUSE after bridge in outbound ESL
Steven Ayre
steveayre at gmail.com
Tue Mar 1 12:08:27 MSK 2011
The correct way is to use events. You can register for just the hangup event.
-Steve
On 28 February 2011 22:43, Dmitry Sytchev <kbdfck at gmail.com> wrote:
> Hi All
>
> What is correct method to get bridge status after execute("bridge") in ESL?
> I have inbound call that gets bridged to SIP endpoint. I need to know
> whether it was ORIGINATOR_CANCEL or BUSY or something else, but if I use
> sync, seems I can't determine ORIGINATOR_CANCEL status, because it is set on
> a-leg which is destroyed first after hangup.
>
> Is there a way to get bridge status without messing with events and event
> source filtering by channel uuid or event type?
>
> --
> Best regards,
>
> Dmitry Sytchev,
> IT Engineer
>
> _______________________________________________
> 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
>
>
More information about the FreeSWITCH-users
mailing list