Hi,

I'm playing around with asterisk 1.6.2.0 and the first try was to
replace my now non-functionning
'app-realtime' macro which emulated RealTime with REALTIME_HASH()

There is very few documentation on the subject except for this bug report:
        https://issues.asterisk.org/view.php?id=13651#c94998

However when i try this syntax:       
Set(HASH(info)=${REALTIME_HASH(call_info,exten,${dest})});
the syntax doesn't seem to be happy:

    -- Executing [...@appel_deb:8] Set("SIP/maverick-00000000",
"HASH(info)=,101,maverick,0,0,max,0,0,123456,123654") in new stack
[Jan  9 22:07:25] WARNING[27801]: pbx.c:9107
pbx_builtin_setvar_multiple: MSet: ignoring entry '101' with no '=' (in
s...@appel_deb:8
[Jan  9 22:07:25] WARNING[27801]: pbx.c:9107
pbx_builtin_setvar_multiple: MSet: ignoring entry 'maverick' with no '='
(in s...@appel_deb:8
[Jan  9 22:07:25] WARNING[27801]: pbx.c:9107
pbx_builtin_setvar_multiple: MSet: ignoring entry '0' with no '=' (in
s...@appel_deb:8
[Jan  9 22:07:25] WARNING[27801]: pbx.c:9107
pbx_builtin_setvar_multiple: MSet: ignoring entry '0' with no '=' (in
s...@appel_deb:8
....

I had to do the following:
Set(HASH(info)="${REALTIME_HASH(call_info,exten,${dest})}");    (adding
of double quote)

Is it normal ?
benoit

-- 
_____________________________________________________________________
-- 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

Reply via email to