[asterisk-users] Contradiction in GROUP() function

2010-11-24 Thread Steve Davies
I am confused. In Asterisk 1.2 and 1.4, in the code there is an error:
Setting a group requires an argument (group name)

But the syntax is shown as: Syntax: GROUP([category])

The [category] square brackets indicate to me an optional parameter,
which contradicts the error.

Verison 1.6 is non-committal in its definition, but I always assumed
that an empty string was still a valid category-name, so GROUP()=123
is as valid as GROUP(X)=123.

Could this be clarified?

Many thanks,
Steve

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Contradiction in GROUP() function

2010-11-24 Thread Steve Davies
On 24 November 2010 10:12, Steve Davies davies...@gmail.com wrote:
 I am confused. In Asterisk 1.2 and 1.4, in the code there is an error:
 Setting a group requires an argument (group name)

 But the syntax is shown as: Syntax: GROUP([category])

 The [category] square brackets indicate to me an optional parameter,
 which contradicts the error.

 Verison 1.6 is non-committal in its definition, but I always assumed
 that an empty string was still a valid category-name, so GROUP()=123
 is as valid as GROUP(X)=123.

 Could this be clarified?

I suspect from further reading the code that this might just be a
misleading error message.

Regards
Steve

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users