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

Tilghman Lesher tilghman at meg.abyt.es
Wed Apr 25 08:53:47 CDT 2012


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
'&'.

-Tilghman



More information about the asterisk-dev mailing list