Summary:ASTERISK-06080: [patch] macro and other change in func_string.c
Reporter:Peng Yong (ppyy)Labels:
Date Opened:2006-01-14 10:34:33.000-0600Date Closed:2006-01-14 12:31:20.000-0600
Versions:Frequency of
Environment:Attachments:( 0) patch.string.macro
( 1) patch.string.segfault
Description:1. use macro as possible
2. remove a segment fault when there is no delimitation in FIELDQTY

macro is good thing, make code clearly. pls see builtin_function_regex :)
Comments:By: Tilghman Lesher (tilghman) 2006-01-14 10:43:30.000-0600

If there is a segfault in FIELDQTY, please upload a patch for that fix only, as that will need to be applied to 1.2.

By: Peng Yong (ppyy) 2006-01-14 11:44:37.000-0600

to test the segment:

exten => 3001,1,Answer
exten => 3001,n,Set(foo=12-3-4-5-6)
exten => 3001,n,Noop(${FIELDQTY(foo)})

By: Tilghman Lesher (tilghman) 2006-01-14 12:09:10.000-0600

Patch to 1.2 committed, merged to trunk.

By: Tilghman Lesher (tilghman) 2006-01-14 12:31:20.000-0600

Macro updates committed to trunk.