[asterisk-dev] Set in 1.6

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Fri Jun 20 17:14:55 CDT 2008


On Friday 20 June 2008 16:30:59 Atis Lezdins wrote:
> On Sat, Jun 21, 2008 at 12:18 AM, Tilghman Lesher
>
> <tilghman at mail.jeffandtilghman.com> wrote:
> > On Friday 20 June 2008 15:19:54 Atis Lezdins wrote:
> >> Hello,
> >>
> >> I'm trying out 1.6, and here's a problem I encountered.
> >>
> >> [Jun 20 12:54:19] VERBOSE[3264] logger.c:     -- Executing
> >> [022 at default-sip:13] Set("SIP/90132-0091c04c", "__queue_call=") in new
> >> stack
> >> [Jun 20 12:54:19] WARNING[3264] pbx.c: MSet: ignoring entry
> >> '__queue_call' with no '=' (in 022 at default-sip:13
> >>
> >> Seems that Set doesn't allow to set empty value. Is there something
> >> missing in CHANGES or just a bug? I traced this down to
> >>
> >> if (pair.argc == 2) {
> >>
> >> within pbx_builtin_setvar_multiple(), which made me check
> >> pbx_builtin_setvar(). There's a flag ast_compat_app_set - is there any
> >> way how to disable it? Seems that everything could work for me, if I
> >> could just disable this.
> >
> > asterisk.conf:
> > [compat]
> > app_set=1.6
>
> Oh, true.. have to read UPGRADE in addition to CHANGES.
>
> Is Set(a=) not supported in compatibility mode?

Found a small bug.  Update to revision 124397 or higher.

-- 
Tilghman



More information about the asterisk-dev mailing list