[asterisk-dev] Asterisk 1.6 Realtime Database must use ', ' not '|'

Tzafrir Cohen tzafrir.cohen at xorcom.com
Fri May 23 13:47:18 CDT 2008


On Fri, May 23, 2008 at 02:26:48PM -0400, Jay R. Ashworth wrote:
> On Fri, May 23, 2008 at 09:03:19PM +0300, Tzafrir Cohen wrote:
> > On Fri, May 23, 2008 at 08:38:10AM -0400, Ward Mundy wrote:
> > > This is another example of how something that may appear to developers to be
> > > trivial has enormous negative consequences to those actually using Asterisk
> > > to do 'real work.' This one change breaks dialplan code for every AGI
> > > function call. For organizations with elaborate custom dialplans, this is
> > > expensive to fix particularly if some outside company (that's no longer
> > > around) wrote their dialplans. What is so difficult about supporting BOTH
> > > the comma and vertical bar as delimiters? The argument always has been that
> > > some of these changes were necessary to improve the performance of Asterisk.
> > > Not sure that holds water this time around.
> > 
> > So let's clarify what was the situation in 1.4 and what has changed in
> > 1.6 .
> > 
> > <Up until 1.4>
> > 
> > Many of us are used to writing in extensions.conf:
> > 
> >   exten => 123456,1,AppFooBar(arg1,arg2,arg3)
> > 
> > But when you look at the result: 'dialplan show context-foo-bar' it
> > would look like:
> > 
> >   '123456' => 1. AppFooBar(arg1|arg2|arg3)
> > 
> > Thus when processing the dialplan from extensions.conf, asterisk would
> > silently translate commas to pipes.
> 
> So... Tilghman's large crowd of applauders... 

Please avoid ad-humenem attack you $%^$%^$%^^W^W.

> won't be affected at all,
> since they're already using commas, and those will keep working.

Right. But there aer also places whwere you could not use commas, as
there was no translation done. realtime dialplan is one of them.

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-dev mailing list