<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Channel: Zap/g2/5052<br>
MaxRetries: 2<br>
RetryTime: 60<br>
WaitTime: 30<br>
Context: internal<br>
Extension: 8855<br>
Priority: 1<br>
Application: Festival<br>
Data: This, is, a, message, from, UCS, Call, One, Server Status. The,
server, %s, is, currently, not, responding, on, ports, 80.<br>
<br>
Once you have this in a file with a .call extension, you have to change
the ownership to asterisk or give it full read and execute so asterisk
can read it then delete it when done. Then just move it in the
/var/spool/asterisk/outgoing folder. And the call should initiate in
the next second or so.<br>
<br>
<br>
<br>
nik600 wrote:
<blockquote
cite="mid:9469c3170706190656y79b34d7uf6f0d1c5487d3c4e@mail.gmail.com"
type="cite">
<pre wrap="">sorry, can you post me an example of a call file?
thanks
On 6/19/07, Rob Schall <a class="moz-txt-link-rfc2396E" href="mailto:rschall@callone.net"><rschall@callone.net></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">An alternative to this method might be to create a call file and place
it in the spool. Have it either dial and connect the caller to an
extension that plays that sound, or just execute that sound itself.
Right now, we use this functionality for a server scanner. When it
detects a particular port down on one of our machines, it will call us
and use festival to tell us what the problem is.
Rob
nik600 wrote:
</pre>
<blockquote type="cite">
<pre wrap="">hi
i'd like to write a simply application in php with phpAgi that:
- connect to Asterisk
- call an external number using a Zap channel
- play a message
here is some code:
<?php
$asm = new AGI_AsteriskManager();
if ($asm->connect()) {
$asm->Originate("Zap/g1/1","number","default","1");
/*
play message...
*/
} else {
die("error\n");
}
?>
But it doesn't work.
Is it possible to create a program like this?
thanks
</pre>
</blockquote>
<pre wrap="">
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
<br>
</body>
</html>