[Freeswitch-users] How to check if a channel was actually bridged after a bridge command

Ali Pey alipey at gmail.com
Thu Jan 16 03:42:03 MSK 2014


Thank you Christopher. I did set my own channel variable and that's doing
the work for me.

There is session:bridged() that shows if session is bridged, but I couldn't
find something similar that would do the same thing after bridge
when hangup_after_bridge is false.

Regards,
Ali Pey


On Wed, Jan 15, 2014 at 2:47 PM, Christopher Rienzo <cmrienzo at gmail.com>wrote:

> I don't know which variables (if any) are set automatically by
> freeswitch.  You could dump the channel info after bridge finishes to see...
>
> Otherwise, you could set bridge_pre_execute_data to set a channel variable
> if the legs are bridged or your group confirm script could do it.
>
> In ESL, you'd see the CHANNEL_BRIDGE event.
>
>
>
>
> On Wed, Jan 15, 2014 at 2:05 PM, Ali Pey <alipey at gmail.com> wrote:
>
>> Hello,
>>
>> Is there a way to determine if the call was actually bridged after a
>> bridge command?
>>
>> I want to send the call to voicemail if the bridge was rejected by the
>> b-leg through call screening but take some other action if the call was
>> actually bridged and then the b-leg hung up.
>>
>> Thanks,
>> Ali Pey
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.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
>
> 
> 
>
> 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/20140115/c0308b91/attachment-0001.html 


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