<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><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;">>From: Richard Lyman <pchammer@dynx.net><br>>To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users@lists.digium.com><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>Yes... but I DO have a default context and I DO have a callback extension. What's it whining about?<br><br>Doug.<br><br><br><br><br>_______________________________________________<br>--Bandwidth and Colocation Provided by <a 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 href="http://lists.digium.com/mailman/listinfo/asterisk-users"
target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></div><br></div></div><br>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam? Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com </body></html>