Do a 'core show dialplan' and see what the AEL is generating.<br><br><div><span class="gmail_quote">On 11/1/07, <b class="gmail_sendername">Douglas Garstang</b> <<a href="mailto:dougmig33@yahoo.com">dougmig33@yahoo.com
</a>> wrote:</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 style="font-family: times new roman,new york,times,serif; font-size: 12pt;">
<div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">>----- Original Message ----<br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div><span class="e" id="q_115fc6d430e922ce_1">
>From: Richard Lyman <<a href="mailto:pchammer@dynx.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">pchammer@dynx.net</a>><br>>To: Asterisk Users Mailing List - Non-Commercial Discussion <
<a href="mailto:asterisk-users@lists.digium.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">asterisk-users@lists.digium.com</a>><br>>Sent: Thursday, November 1, 2007 8:47:28 AM<br>>Subject: Re: [asterisk-users] AEL2 and Callbacks
<br>><br>
>Douglas Garstang wrote:<br>>> I am originating a command via the AMI with this...<br>>><br>>> Action: Login<br>>> Username: xxx<br>>> Secret: yyy<br>>><br>>> ACTION: Originate
<br>>> Async: yes<br>>> Timeout: 60000<br>>> Exten: callback<br>>> Channel: Local/6505551212@LegA<br>>> Callerid: 849120<br>>> Context: default<br>>> ActionID: 849120<br>>><br>
>> My LegA context:<br>>> -----------------------<br>>> context LegA {<br>>> _X. => {<br>>> Dial(SIP/${EXTEN}@Provider); <br>>> }<br>>><br>>> }<br>>>
<br>>> And my default context:<br>>> ------------------------------<br>>> context default {<br>>> callback => {<br>>> NoCDR();<br>>>
Wait(1);<br>>>
Dial(${destination},60,oL(${timeout}:${timeout_warning}:${timeout_warning_repeat}));<br>>> }<br>>><br>>> }<br>>><br>>> The A leg is established, and once Asterisk goes to dial the B leg...
<br>>><br>>> -- Executing [16505551212@LegA:1]
Dial("Local/16505551212@LegA-f707,2", "SIP/16505551212@Provider") in new stack<br>>> -- Called 16505551212@Provider<br>>> -- SIP/Provider-09a8cff8 is making progress passing it to
Local/16505551212@LegA-f707,2<br>>><br> > -- SIP/Provider-09a8cff8 answered Local/16505551212@LegA-f707,2<br>>> == Starting Local/16505551212@LegA-f707,1 at default,callback,1
failed so falling back to exten 's'<br>>> == Starting Local/16505551212@LegA-f707,1 at default,s,1 still
failed so falling back to context 'default'<br>>> [Oct 31 01:57:07] WARNING[29795]: pbx.c:2450 __ast_pbx_run: Channel
'Local/16505551212@LegA-f707,1' sent into invalid extension 's' in
context 'default', >but no invalid handler<br>>><br>>> Uhm, why? I have a default context with a callback extension. Of
course I have no explicit priority 1 though... this is AEL2.... <br>>> What's it complaining for?<br>>><br>>> Doug.<br>>><br>>><br>>> <br>>originates have always had an issue where it falls back to an 's'
<br>>extension. and since you do not have one, nor an 'i' for invalid <br>>extension... it bombs out.<br><br></span></div>Yes... but I DO have a default context and I DO have a callback extension. What's it whining about?
<br><br>Doug.<span class="q"><br><br><br><br><br>_______________________________________________<br>--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.api-digital.com--</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" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></span></div><br></div></div><span class="q"><br>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam? Yahoo! Mail has the best spam protection around
<br><a href="http://mail.yahoo.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://mail.yahoo.com</a> </span></div><br>_______________________________________________<br>--Bandwidth and Colocation Provided by
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div>
<br>