[asterisk-users] is chanisavail command reliable?
Michael Neuhauser
mike at firmix.at
Mon Sep 18 10:26:23 MST 2006
On Mon, 2006-09-18 at 10:53 +0200, Giorgio Incantalupo wrote:
> Hi,
> I have an Asterisk box on a Debian Sarge distro with a Sangoma a102 PRI
> card and I have a big problem: Asterisk drops a lot of outbound calls.
> I do not use groups, I want to use a free channel given from Asterisk.
>
> What I do is:
> 1) use "chanisavail" command to ask Asterisk for a free channel to use
> 2) use that channel to dial outbound calls
I think this is not a good idea since an inbound call could arrive
between 1) and 2) making the channel no longer available (the app isn't
named ChanIsAvailAndReserveForOutgoingCall). Use ZAP/g1 (or whatever
your group is) - works for me on PRI (both as net and as cpe) -
depending on the behaviour of the other side ZAP/G1 could reduce the
likelihood of the same channel being used by both sides.
--
Dr. Michael Neuhauser mailto:mike at firmix.at
Firmix Software GmbH sip:mike at firmix.at
Vienna/Austria/Europe tel:+43-1-7890849-30
Linux Development and Services http://www.firmix.at/
More information about the asterisk-users
mailing list