[asterisk-dev] Asterisk 1.6 Realtime Database must use ', ' not '|' in appdata field?

JR Richardson jmr.richardson at gmail.com
Thu May 22 12:51:36 CDT 2008


Hi All,

I'm testing 1.6 ARA.  All seems to be functioning well, but Asterisk
does not like | (pipe) separators in the appdata fields in the
database.  I don't think this is particular to ARA because I see the
same results when I use static extensions in extensions.conf also.

exten => 600,1,Goto(echotest|${EXTEN}|1)

does not work, I get this error on the console:

lab11*CLI>
  == Using SIP RTP CoS mark 5
    -- Executing Goto("SIP/1001-08238ff8", "echotest|600|1")
[May 22 11:27:29] NOTICE[24556]: pbx.c:2926 pbx_extension_helper:
Cannot find extension '600' in context 'sip'
[May 22 11:27:29] WARNING[24556]: pbx.c:8048 pbx_parseable_goto:
Priority 'echotest|600|1' must be a number > 0, or valid label
    -- Auto fallthrough, channel 'SIP/1001-08238ff8' status is 'UNKNOWN'

exten => 600,1,Goto(echotest,${EXTEN},1)

this works:

lab11*CLI>
  == Using SIP RTP CoS mark 5
    -- Executing Goto("SIP/1001-0823cfe0", "echotest,600,1")
    -- Goto (echotest,600,1)

So I'm guessing pipe processing has been deprecated or possibly this is a bug?

The problem is that 1.2 (which i still use in production) behavior
requires a | for the separator in the appdata fields for ARA database
operation due to ',' being a end of field indication for the database
and can't be used.  This is a big problem and pretty much makes ARA
unusable for production

Any guidance would be appreciated.

Thanks.

JR
-- 
JR Richardson
Engineering for the Masses



More information about the asterisk-dev mailing list