[asterisk-dev] excluding channels from asterisk use

Muhammad Ali enigma.ali at gmail.com
Sun Aug 22 07:25:55 CDT 2010


but i also want a bundle of channels to be configured for hdlcfcs mode. so
for that i'd have to mention in the zaptel.conf, right ? but then asterisk
would lock the channel and not allow me access from userspace.

How can i put the channels in hdlcfcs mode if i want to use them in
userspace application.

On Sat, Aug 21, 2010 at 3:44 PM, Tzafrir Cohen <tzafrir.cohen at xorcom.com>wrote:

> On Sat, Aug 21, 2010 at 02:57:22PM +0500, Muhammad Ali wrote:
> > Hi,
> >
> > Is there any config that would allow me to exclude some channels from
> > asterisk use ?
> >
> > I want asterisk to lock only channels from 17 to 31 (b-channels), obv
> 16th
> > (d-channel) would be required. But i dont want asterisk to mark 1-15
> > channels as busy , so i may use em in my userspace application.
> >
> > if its not possible through configs, where do i need to patch in the
> source
> > to achieve this ?
>
> A DAHDI channel is opened exclusively by a single process.
>
> If you want to use them in a different application, just don't open them
> in Asterisk.
>
>  ;channels => 1-15
>  channels => 17-31
>
> However, if the line is PRI, you should note that Asterisk also
> implicitly uses (opens) the D-channel.
>
> --
>               Tzafrir Cohen
> icq#16849755              jabber:tzafrir.cohen at xorcom.com<jabber%3Atzafrir.cohen at xorcom.com>
> +972-50-7952406           mailto:tzafrir.cohen at xorcom.com
> http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev
>



-- 
ALi...
(علی)
http://m-ali.deviantart.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20100822/787cf761/attachment.htm 


More information about the asterisk-dev mailing list