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@googlemail.com <mailto:th982a@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.