[asterisk-dev] App_queue, callattempt structure, interface name

Olle E. Johansson oej at edvina.net
Wed Apr 25 08:55:49 CDT 2012


25 apr 2012 kl. 15:53 skrev Tilghman Lesher:

> On Wed, Apr 25, 2012 at 5:55 AM, Olle E. Johansson <oej at edvina.net> wrote:
>> -       char interface[256];
>> +       char interface[AST_CHANNEL_NAME];
>> 
>> 
>> Is there a reason why this is 256, which is quite longer than the definition of AST_CHANNEL_NAME?
>> 
>> Ok to change this to AST_CHANNEL_NAME?
> 
> It's essentially a Dial or Device string, which can include far more
> information that just a simple channel name.  It's also possible for
> an interface to include multiple channel names, joined together with
> '&'.

Ok, so we need to document that. Will fix.
Thanks,

"interface" can be so many things...
/O


More information about the asterisk-dev mailing list