Re: [asterisk-users] AEL2 and Callbacks
Douglas Garstang wrote: I am originating a command via the AMI with this... Doug, Were you ever able to resolve this? If so, could you share what the issue was? Thanks, Sean ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] AEL2 and Callbacks
Douglas Garstang wrote: I am originating a command via the AMI with this... Action: Login Username: xxx Secret: yyy ACTION: Originate Async: yes Timeout: 6 Exten: callback Channel: Local/[EMAIL PROTECTED] Callerid: 849120 Context: default ActionID: 849120 My LegA context: --- context LegA { _X. = { Dial(SIP/[EMAIL PROTECTED]); } } And my default context: -- context default { callback = { NoCDR(); Wait(1); Dial(${destination},60,oL(${timeout}:${timeout_warning}:${timeout_warning_repeat})); } } The A leg is established, and once Asterisk goes to dial the B leg... -- Executing [EMAIL PROTECTED]:1] Dial(Local/[EMAIL PROTECTED],2, SIP/[EMAIL PROTECTED]) in new stack -- Called [EMAIL PROTECTED] -- SIP/Provider-09a8cff8 is making progress passing it to Local/[EMAIL PROTECTED],2 -- SIP/Provider-09a8cff8 answered Local/[EMAIL PROTECTED],2 == Starting Local/[EMAIL PROTECTED],1 at default,callback,1 failed so falling back to exten 's' == Starting Local/[EMAIL PROTECTED],1 at default,s,1 still failed so falling back to context 'default' [Oct 31 01:57:07] WARNING[29795]: pbx.c:2450 __ast_pbx_run: Channel 'Local/[EMAIL PROTECTED],1' sent into invalid extension 's' in context 'default', but no invalid handler Uhm, why? I have a default context with a callback extension. Of course I have no explicit priority 1 though... this is AEL2 What's it complaining for? Doug. originates have always had an issue where it falls back to an 's' extension. and since you do not have one, nor an 'i' for invalid extension... it bombs out. ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] AEL2 and Callbacks
- Original Message From: Richard Lyman [EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Thursday, November 1, 2007 8:47:28 AM Subject: Re: [asterisk-users] AEL2 and Callbacks Douglas Garstang wrote: I am originating a command via the AMI with this... Action: Login Username: xxx Secret: yyy ACTION: Originate Async: yes Timeout: 6 Exten: callback Channel: Local/[EMAIL PROTECTED] Callerid: 849120 Context: default ActionID: 849120 My LegA context: --- context LegA { _X. = { Dial(SIP/[EMAIL PROTECTED]); } } And my default context: -- context default { callback = { NoCDR(); Wait(1); Dial(${destination},60,oL(${timeout}:${timeout_warning}:${timeout_warning_repeat})); } } The A leg is established, and once Asterisk goes to dial the B leg... -- Executing [EMAIL PROTECTED]:1] Dial(Local/[EMAIL PROTECTED],2, SIP/[EMAIL PROTECTED]) in new stack -- Called [EMAIL PROTECTED] -- SIP/Provider-09a8cff8 is making progress passing it to Local/[EMAIL PROTECTED],2 -- SIP/Provider-09a8cff8 answered Local/[EMAIL PROTECTED],2 == Starting Local/[EMAIL PROTECTED],1 at default,callback,1 failed so falling back to exten 's' == Starting Local/[EMAIL PROTECTED],1 at default,s,1 still failed so falling back to context 'default' [Oct 31 01:57:07] WARNING[29795]: pbx.c:2450 __ast_pbx_run: Channel 'Local/[EMAIL PROTECTED],1' sent into invalid extension 's' in context 'default', but no invalid handler Uhm, why? I have a default context with a callback extension. Of course I have no explicit priority 1 though... this is AEL2 What's it complaining for? Doug. originates have always had an issue where it falls back to an 's' extension. and since you do not have one, nor an 'i' for invalid extension... it bombs out. Yes... but I DO have a default context and I DO have a callback extension. What's it whining about? Doug. ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists..digium.com/mailman/listinfo/asterisk-users __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] AEL2 and Callbacks
Do a 'core show dialplan' and see what the AEL is generating. On 11/1/07, Douglas Garstang [EMAIL PROTECTED] wrote: - Original Message From: Richard Lyman [EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Thursday, November 1, 2007 8:47:28 AM Subject: Re: [asterisk-users] AEL2 and Callbacks Douglas Garstang wrote: I am originating a command via the AMI with this... Action: Login Username: xxx Secret: yyy ACTION: Originate Async: yes Timeout: 6 Exten: callback Channel: Local/[EMAIL PROTECTED] Callerid: 849120 Context: default ActionID: 849120 My LegA context: --- context LegA { _X. = { Dial(SIP/[EMAIL PROTECTED]); } } And my default context: -- context default { callback = { NoCDR(); Wait(1); Dial(${destination},60,oL(${timeout}:${timeout_warning}:${timeout_warning_repeat})); } } The A leg is established, and once Asterisk goes to dial the B leg... -- Executing [EMAIL PROTECTED]:1] Dial(Local/[EMAIL PROTECTED],2, SIP/[EMAIL PROTECTED]) in new stack -- Called [EMAIL PROTECTED] -- SIP/Provider-09a8cff8 is making progress passing it to Local/[EMAIL PROTECTED],2 -- SIP/Provider-09a8cff8 answered Local/[EMAIL PROTECTED],2 == Starting Local/[EMAIL PROTECTED],1 at default,callback,1 failed so falling back to exten 's' == Starting Local/[EMAIL PROTECTED],1 at default,s,1 still failed so falling back to context 'default' [Oct 31 01:57:07] WARNING[29795]: pbx.c:2450 __ast_pbx_run: Channel ' Local/[EMAIL PROTECTED],1' sent into invalid extension 's' in context 'default', but no invalid handler Uhm, why? I have a default context with a callback extension. Of course I have no explicit priority 1 though... this is AEL2 What's it complaining for? Doug. originates have always had an issue where it falls back to an 's' extension. and since you do not have one, nor an 'i' for invalid extension... it bombs out. Yes... but I DO have a default context and I DO have a callback extension. What's it whining about? Doug. ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] AEL2 and Callbacks
I am originating a command via the AMI with this... Action: Login Username: xxx Secret: yyy ACTION: Originate Async: yes Timeout: 6 Exten: callback Channel: Local/[EMAIL PROTECTED] Callerid: 849120 Context: default ActionID: 849120 My LegA context: --- context LegA { _X. = { Dial(SIP/[EMAIL PROTECTED]); } } And my default context: -- context default { callback = { NoCDR(); Wait(1); Dial(${destination},60,oL(${timeout}:${timeout_warning}:${timeout_warning_repeat})); } } The A leg is established, and once Asterisk goes to dial the B leg... -- Executing [EMAIL PROTECTED]:1] Dial(Local/[EMAIL PROTECTED],2, SIP/[EMAIL PROTECTED]) in new stack -- Called [EMAIL PROTECTED] -- SIP/Provider-09a8cff8 is making progress passing it to Local/[EMAIL PROTECTED],2 -- SIP/Provider-09a8cff8 answered Local/[EMAIL PROTECTED],2 == Starting Local/[EMAIL PROTECTED],1 at default,callback,1 failed so falling back to exten 's' == Starting Local/[EMAIL PROTECTED],1 at default,s,1 still failed so falling back to context 'default' [Oct 31 01:57:07] WARNING[29795]: pbx.c:2450 __ast_pbx_run: Channel 'Local/[EMAIL PROTECTED],1' sent into invalid extension 's' in context 'default', but no invalid handler Uhm, why? I have a default context with a callback extension. Of course I have no explicit priority 1 though... this is AEL2 What's it complaining for? Doug. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] AEL2 and Callbacks
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 What do you get if you do dialplan show default? - -- Kind Regards, Matt Riddell Director ___ http://www.venturevoip.com (Great new VoIP end to end solution) http://www.venturevoip.com/news.php (Daily Asterisk News - html) http://www.venturevoip.com/newrssfeed.php (Daily Asterisk News - rss) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHKUlTDQNt8rg0Kp4RAteuAJ9kbLC77Bw7G789uOIaQ1hR+++87gCgqNPB p4jMkvOg6kuVylFKaHLPwAs= =ajMg -END PGP SIGNATURE- ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users