<p>Should be solid. After all munin also works on the same lines and it works solid.<br></p>
<p>Zeeshan A Zakaria</p>
<p>--<br>
Sent from my Android phone with K-9 Mail.</p>
<p><blockquote type="cite">On 2010-05-29 5:12 PM, "bruce bruce" <<a href="mailto:bruceb444@gmail.com">bruceb444@gmail.com</a>> wrote:<br><br>Hi Guys,<div><br></div><div>I am looking to use System() function along with some bash scripting to determine if a Trunk is being used during certain time of the day or not. Here is what I have in mind. Please guide me if you know a better way:</div>
<div><br></div><div>exten => s,1,answer</div><div>exten => s,n,System(/tmp/check.sh)</div><div><br></div><div>check.sh:</div><div>check EPOCH time => do an IF for certain times => Allow mutiple calls in certain times and only single call at certain times</div>
<div>return back to Asterisk context and report if Trunk would allow more channels or not...</div><div><br></div><div>Something along those lines. Should this be a solid thing to do? I am looking to use GotoIF and `asterisk -rx "sip show channels"` to grab results or `asterisk -rx "core show channels"`</div>
<div><br></div><div>Thanks</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>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></p>