[Freeswitch-users] how to check if freetdm channel in use
Tamer Higazi
th982a at googlemail.com
Sat Mar 9 07:38:41 MSK 2013
Hi Moises!
Thank you very much.
could you provide me a small sample as a XML dialplan, how this could
look like?!
I would kindly thank you.
Tamer
Am 08.03.2013 21:20, schrieb Moises Silva:
> On Fri, Mar 8, 2013 at 11:55 AM, Tamer Higazi <th982a at googlemail.com
> <mailto:th982a at googlemail.com>> wrote:
>
> Hi people!
> I have a A200 board running, and I want to figure out in the dialplan
> through it's variables if the channel is in use or not that if a second
> call comes inside to be routed somewhere else, let us say to my
> voicebox.
>
> I want to check if freetdm/1/1 is busy at the moment....
>
>
> Has anyone an idea how to accomplish this?!
>
>
> I just pushed to git master a change so you can use "ftdm_usage 1 1",
> this will return 0 if the channel is not being used at the moment. It
> may return 1 or more than 1 in some cases if the channel is being used
> for one call or more.
>
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list