<html><div style='background-color:'><DIV>Question below, here is the file in question</DIV> <DIV>exten => 9,1,system,/usr/local/bin/hetest 01 on<BR>exten => 9,2,system,/usr/local/bin/hetest 02 on<BR>exten => 9,3,system,/usr/local/bin/hetest 03 on<BR>exten => 9,4,system,/usr/local/bin/hetest 04 on<BR>exten => 9,5,system,/usr/local/bin/hetest 05 on<BR>exten => 9,6,system,/usr/local/bin/hetest 06 on<BR>exten => 9,7,system,/usr/local/bin/hetest 07 on<BR>exten => 9,8,system,/usr/local/bin/hetest 08 on<BR>exten => 9,9,system,/usr/local/bin/hetest 09 on<BR></DIV> <DIV> </DIV> <DIV>When I dial 9 it runs the first item, then it exits and gives me a busy, why does it not go through all of the items then exit</DIV> <DIV> </DIV> <DIV> </DIV> <DIV>Josh</DIV></div><br clear=all><hr> <a href="http://g.msn.com/8HMLENUS/2734??PS="><b>Get MSN 8</b> and help protect your children with advanced parental controls.</a> </html>
Try System("/usr/local/bin/hetest 01 on") bkw On Tue, 2 Sep 2003, Josh Edwards wrote:> Question below, here is the file in question > exten => 9,1,system,/usr/local/bin/hetest 01 on > exten => 9,2,system,/usr/local/bin/hetest 02 on > exten => 9,3,system,/usr/local/bin/hetest 03 on > exten => 9,4,system,/usr/local/bin/hetest 04 on > exten => 9,5,system,/usr/local/bin/hetest 05 on > exten => 9,6,system,/usr/local/bin/hetest 06 on > exten => 9,7,system,/usr/local/bin/hetest 07 on > exten => 9,8,system,/usr/local/bin/hetest 08 on > exten => 9,9,system,/usr/local/bin/hetest 09 on > > When I dial 9 it runs the first item, then it exits and gives me a busy, why does it not go through all of the items > then exit > > > Josh > > ______________________________________________________________________________________________________________________________ > Get MSN 8 and help protect your children with advanced parental controls. > _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >
On Tue, 2003-09-02 at 14:54, Josh Edwards wrote:> Question below, here is the file in question > exten => 9,1,system,/usr/local/bin/hetest 01 on > exten => 9,2,system,/usr/local/bin/hetest 02 on > exten => 9,3,system,/usr/local/bin/hetest 03 on > exten => 9,4,system,/usr/local/bin/hetest 04 on > exten => 9,5,system,/usr/local/bin/hetest 05 on > exten => 9,6,system,/usr/local/bin/hetest 06 on > exten => 9,7,system,/usr/local/bin/hetest 07 on > exten => 9,8,system,/usr/local/bin/hetest 08 on > exten => 9,9,system,/usr/local/bin/hetest 09 on > > > When I dial 9 it runs the first item, then it exits and gives me a > busy, why does it not go through all of the items then exitwhat does hetest return? -- Steven Critchfield <critch@basesys.com>
<html><div style='background-color:'><DIV> <P>Nothing, it is a shell script that runs another program. do I need to have it return something?</P> <P>Josh<BR></P></DIV> <DIV></DIV>>From: Steven Critchfield <CRITCH@BASESYS.COM> <DIV></DIV>>Reply-To: asterisk-users@lists.digium.com <DIV></DIV>>To: asterisk-users@lists.digium.com <DIV></DIV>>Subject: Re: [Asterisk-Users] extensions.conf issue <DIV></DIV>>Date: Tue, 02 Sep 2003 15:11:34 -0500 <DIV></DIV>> <DIV></DIV>>On Tue, 2003-09-02 at 14:54, Josh Edwards wrote: <DIV></DIV>> > Question below, here is the file in question <DIV></DIV>> > exten => 9,1,system,/usr/local/bin/hetest 01 on <DIV></DIV>> > exten => 9,2,system,/usr/local/bin/hetest 02 on <DIV></DIV>> > exten => 9,3,system,/usr/local/bin/hetest 03 on <DIV></DIV>> > exten => 9,4,system,/usr/local/bin/hetest 04 on <DIV></DIV>> > exten => 9,5,system,/usr/local/bin/hetest 05 on <DIV></DIV>> > exten => 9,6,system,/usr/local/bin/hetest 06 on <DIV></DIV>> > exten => 9,7,system,/usr/local/bin/hetest 07 on <DIV></DIV>> > exten => 9,8,system,/usr/local/bin/hetest 08 on <DIV></DIV>> > exten => 9,9,system,/usr/local/bin/hetest 09 on <DIV></DIV>> > <DIV></DIV>> > <DIV></DIV>> > When I dial 9 it runs the first item, then it exits and gives me a <DIV></DIV>> > busy, why does it not go through all of the items then exit <DIV></DIV>> <DIV></DIV>>what does hetest return? <DIV></DIV>>-- <DIV></DIV>>Steven Critchfield <CRITCH@BASESYS.COM> <DIV></DIV>> <DIV></DIV>>_______________________________________________ <DIV></DIV>>Asterisk-Users mailing list <DIV></DIV>>Asterisk-Users@lists.digium.com <DIV></DIV>>http://lists.digium.com/mailman/listinfo/asterisk-users <DIV></DIV></div><br clear=all><hr> <a href="http://g.msn.com/8HMLENUS/2731??PS="><b>Get MSN 8</b> and enjoy automatic e-mail virus protection. </a> </html>
try system,"/usr.... 01 on" or system("/usr .. on") Martin On Tue, 2 Sep 2003, Josh Edwards wrote:> Question below, here is the file in question > exten => 9,1,system,/usr/local/bin/hetest 01 on > exten => 9,2,system,/usr/local/bin/hetest 02 on > exten => 9,3,system,/usr/local/bin/hetest 03 on > exten => 9,4,system,/usr/local/bin/hetest 04 on > exten => 9,5,system,/usr/local/bin/hetest 05 on > exten => 9,6,system,/usr/local/bin/hetest 06 on > exten => 9,7,system,/usr/local/bin/hetest 07 on > exten => 9,8,system,/usr/local/bin/hetest 08 on > exten => 9,9,system,/usr/local/bin/hetest 09 on > ? > When I dial 9 it runs the first item, then it exits and gives me a busy, > why does it not go through all of the items then exit > ? > ? > Josh > > ________________________________________________________________________________ > Get MSN 8 and help protect your children with advanced parental controls. > _______________________________________________ Asterisk-Users mailing > list Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >