[Asterisk-Users] Maximum Queue Name Length

BJ Weschke bweschke at gmail.com
Fri Mar 24 10:55:56 MST 2006


On 3/24/06, Douglas Garstang <dgarstang at oneeighty.com> wrote:
> Do queue names have a max length? I have a queue named 'oneeighty_techsupp' in queues.conf, and a 'show queues' returns a truncated queue name. Is that just a display bug, or do queues names have a max length of 12?
>
> demeter*CLI> show queues
> oneeighty_te has 0 calls (max unlimited) in 'rrmemory' strategy (0s holdtime), W:0, C:0, A:0, SL:0.0% within 0s
>   Members:
>      Agent/80014255 (Not in use) has taken no calls yet
>      Agent/80014257 (Not in use) has taken no calls yet
>
> I thought the max length of a context name was 16...?
>

struct ast_call_queue {
        ast_mutex_t lock;
        char name[80];                  /*!< Name */
        char moh[80];                   /*!< Music On Hold class to be used */
        char announce[80];              /*!< Announcement to play when
call is answered */

 If the name is getting trunc'd it's probably from the printf on the
display itself and not that the queue name itself is getting trunc'd.

--
Bird's The Word Technologies, Inc.
http://www.btwtech.com/



More information about the asterisk-users mailing list