<div>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.<br>
</div><div><br></div><div>How can i put the channels in hdlcfcs mode if i want to use them in userspace application.</div><br><div class="gmail_quote">On Sat, Aug 21, 2010 at 3:44 PM, Tzafrir Cohen <span dir="ltr"><<a href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Sat, Aug 21, 2010 at 02:57:22PM +0500, Muhammad Ali wrote:<br>
> Hi,<br>
><br>
> Is there any config that would allow me to exclude some channels from<br>
> asterisk use ?<br>
><br>
> I want asterisk to lock only channels from 17 to 31 (b-channels), obv 16th<br>
> (d-channel) would be required. But i dont want asterisk to mark 1-15<br>
> channels as busy , so i may use em in my userspace application.<br>
><br>
> if its not possible through configs, where do i need to patch in the source<br>
> to achieve this ?<br>
<br>
</div>A DAHDI channel is opened exclusively by a single process.<br>
<br>
If you want to use them in a different application, just don't open them<br>
in Asterisk.<br>
<br>
;channels => 1-15<br>
channels => 17-31<br>
<br>
However, if the line is PRI, you should note that Asterisk also<br>
implicitly uses (opens) the D-channel.<br>
<br>
--<br>
Tzafrir Cohen<br>
icq#16849755 <a href="mailto:jabber%3Atzafrir.cohen@xorcom.com">jabber:tzafrir.cohen@xorcom.com</a><br>
+972-50-7952406 mailto:<a href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.com</a><br>
<a href="http://www.xorcom.com" target="_blank">http://www.xorcom.com</a> <a href="http://iax:guest@local.xorcom.com/tzafrir" target="_blank">iax:guest@local.xorcom.com/tzafrir</a><br>
<font color="#888888"><br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>ALi...<br>(علی)<br><a href="http://m-ali.deviantart.com">http://m-ali.deviantart.com</a><br><br>