<div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>If you have /etc/dahdi/system.conf as:</div><div><br></div><div>cas=1-15:1101</div><div><br></div><div>That initialize the trunks to BLOCK when the driver starts.</div>
</div><div><br></div>Each time asterisk starts, I always put the lines to IDLE.<div><div><br></div><div>There is currently no way to start Asterisk without setting the trunks to IDLE, but it should not be hard to add an option to asterisk in chan_dahdi.conf to start them blocked. Something like mfcr2_init_state=blocked, which obviously would default to "idle".</div>
<div><br></div><div>I don't have time right now though to work on this feature. If you send me a patch I can include it. Otherwise I will find some time may be in a couple of weeks to do it.<div><br clear="all"><div>Moises Silva<br>
Senior Software Engineer<br>Sangoma Technologies Inc. | NEW 100 Renfrew Drive, Suite 100, Markham ON L3R 9R6 Canada<br>t. 1 905 474 1990 x128 | e. <a href="mailto:moy@sangoma.com" target="_blank">moy@sangoma.com</a></div>
<br>
<br><br><div class="gmail_quote">On Tue, Sep 21, 2010 at 2:50 PM, Peron, Guilherme DE Santi <span dir="ltr"><<a href="mailto:guilherme.peron@siemens-enterprise.com">guilherme.peron@siemens-enterprise.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>
<div><span><font face="Arial" size="2">Hi,</font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Arial" size="2">Does anybody know
how I initialize the trunks in block state by our side?</font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Arial" size="2">Thanks,</font></span></div>
<div><span><font face="Arial" size="2">Guilherme</font></span></div>
<div><font face="Arial" size="2"></font> </div>
<div align="left">
<div align="left"><font face="Arial" size="2"></font> </div></div></div>
<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-r2 mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-r2" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-r2</a><br></blockquote></div><br></div></div></div>