[asterisk-users] SetVar Warning
I had lines 3 and 4 and added line 1 and 2 to extensions.conf exten => 106,1,SetVar(CALLFILENAME=${TIMESTAMP}_${CALLERID(num)}) exten => 106,2,Monitor(wav,${CALLFILENAME},m) exten => 106,3,hint,SIP/106 exten => 106,4,Macro(stdexten,106,${HINT}) I received this warning: WARNING[31463]: pbx.c:1832 pbx_extension_helper: No application 'SetVar' for extension (voicemenu-custom-4, 106, 1) I'm running Asterisk/1.4.22. Does anyone have any idea what I need to do to either make SetVar work or replace it with something else? Thanks you, Gary -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] SetVar Warning
On Wed, 12 Jan 2011, Gary Kuznitz wrote: I had lines 3 and 4 and added line 1 and 2 to extensions.conf exten => 106,1,SetVar(CALLFILENAME=${TIMESTAMP}_${CALLERID(num)}) exten => 106,2,Monitor(wav,${CALLFILENAME},m) exten => 106,3,hint,SIP/106 exten => 106,4,Macro(stdexten,106,${HINT}) I received this warning: WARNING[31463]: pbx.c:1832 pbx_extension_helper: No application 'SetVar' for extension (voicemenu-custom-4, 106, 1) I'm running Asterisk/1.4.22. Does anyone have any idea what I need to do to either make SetVar work or replace it with something else? I don't have a 1.4 system on hand, but 1.2 & 1.6 use set(). Also, just a suggestion to make your dialplan more maintainable, check out the 'n' priority instead of explicitly numbered priorities. -- Thanks in advance, - Steve Edwards sedwa...@sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] SetVar Warning
Steve Edwards wrote: I don't have a 1.4 system on hand, but 1.2 & 1.6 use set(). 1.4.x uses Set() as well. Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety." -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users