[Home]

Summary:ASTERISK-06894: chan_local inserts a "," in channel name, therefore ${CHANNEL} with verboser app results in a warning
Reporter:Alessio Focardi (alessiof)Labels:
Date Opened:2006-05-04 05:48:36Date Closed:2006-05-04 06:17:43
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_local
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Hi,

here is a small problem I discovered while testing out paging using chan_local with verboser app for logging

have a look at the trace of this ael instruction

verbose([${CHANNEL}]--->Macro PAGE start);
   
-- Executing
Verbose("Local/381@page-f145,2","[Local/381@page-f145,2]--->Macro PAGE start") in new stack

May  4 12:29:21 WARNING[5259]: app_verbose.c:73 verbose_exec: '2]--->Macro PAGE start' is not a verboser number


What is happening is that chan_local puts a "," in the channel name and verboser takes this as separator for the verboser level.

Should this be considered a bug, or maybe we have to "wrap" the channel var in some way ?

Tnx for the support!  
Comments:By: BJ Weschke (bweschke) 2006-05-04 06:17:43

Fix committed to 1.2 and /trunk. Thanks!