<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Channel: Local/60@default</DIV><DIV>Callerid: 01612370660</DIV><DIV>MaxRetries: 5</DIV><DIV>RetryTime: 300</DIV><DIV>WaitTime: 45</DIV><DIV>Context: serverdown</DIV><DIV>Extension: s</DIV><DIV>Priority: 1</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR><DIV><DIV>On 29 Nov 2005, at 15:39, Tony Spencer wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I'm a bit of newbie to Asterisk so I'm not to sure.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I was just given the task to try and make this work.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">You could be correct but I'd have to do some further investigation and speak</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">to the person that used to admin this server.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">All I want to do is call a phone number and play a audio file and hangup.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Is there a way of doing this by dropping a file in the outgoing queue or</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">even from a script/commandline..</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Thanks</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Tony</DIV></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I have a simple system like this, the call file looks like:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Channel: Local/60@default</DIV><DIV>Callerid: 01612370660</DIV><DIV>MaxRetries: 5</DIV><DIV>RetryTime: 300</DIV><DIV>WaitTime: 45</DIV><DIV>Context: serverdown</DIV><DIV>Extension: s</DIV><DIV>Priority: 1</DIV><DIV>SetVar: SITENAME=importantCustomerName</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV>And the following in extensions.conf:<BR><DIV><BR class="khtml-block-placeholder"></DIV><DIV>[serverdown]</DIV><DIV>exten =&gt; s,1,Answer</DIV><DIV>exten =&gt; s,2,Wait(1)</DIV><DIV>exten =&gt; s,3,Playback(serverdown/${SITENAME})</DIV><DIV>exten =&gt; s,4,Wait(10)</DIV><DIV>exten =&gt; s,5,Playback(serverdown/${SITENAME})</DIV><DIV>exten =&gt; s,6,Hangup</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV>I have a file pre-recorded with a customer specific message in serverdown/importantCustomerName.gsm</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>The trick with Local/60@default is to distribute the call to multiple users:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>[default]</DIV><DIV>exten =&gt; 60,1,Dial(Sip/bill&amp;Sip/ben&amp;Sip/flower&amp;Sip/pot&amp;Sip/weed,30)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Good luck,</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Tim.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR><DIV> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica"><A href="http://www.westhawk.co.uk">http://www.westhawk.co.uk</A>/</FONT></P>  </DIV><BR></BODY></HTML>