On 7/24/07, <b class="gmail_sendername">Asterisk guy</b> <<a href="mailto:asteriskstar@gmail.com">asteriskstar@gmail.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div> </div>
<div> -- Attempting call on <a href="mailto:Local/6009@default" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Local/6009@default</a> for application MusicOnHold() (Retry 1)</div>
<div><br>Jul 24 08:23:17 NOTICE[21177]: chan_local.c:479 local_alloc: No such extension/context <a href="mailto:6009@default" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">6009@default</a> creating local channel
</div>
<div><br>Jul 24 08:23:17 NOTICE[21177]: channel.c:2409 __ast_request_and_dial: Unable to request channel <a href="mailto:Local/6009@default" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Local/6009@default
</a></div>
<div> </div>
<div> </div>
<div>( but i have a extension 6009 login to * ) , what is the problem?</div></blockquote><div><br>Regardless of what endpoints you may have registering to your *, your dialplan does not allow that endpoint to be reached via extension 6009 in the 'default' context.
<br><br>Look at the file that gets put in outgoing (comment out the "rename" in the AGI script so it stays in /tmp". Then go read up on call files on the Wiki:<br><br><a href="http://www.voip-info.org/tiki-index.php?page=Asterisk+auto-dial+out">
http://www.voip-info.org/tiki-index.php?page=Asterisk+auto-dial+out</a><br><br>Calls generated by call files need to have a starting point and a destination. The starting point for stuff like this is typically a "Local" channel, and the destination is either a context/extension/priority or an application with arguments. Either your starting point or your destination is invalid.
<br></div><br>IMO, skip the AGI for now. Get the file that your AGI is writting to /tmp and make a copy of it. Modify the copy, then move it to the outgoing dir and see what happens. If it doesn't work, make more changes. Without seeing your dialplan or the callfile, we can't diagnose your problem, but the error messages are pretty informative as to what asterisk was trying to do. Once you've successfully generated a call manually, then go back to having your AGI try to generate them automatically.
<br><br></div>-- <br>j.