[Asterisk-Users] Channel name (and substring)

Thomas Andrews tandrews at grok.co.za
Thu Mar 17 14:19:36 MST 2005


On Thu, Mar 17, 2005 at 12:24:00PM -0800, Sean Kennedy wrote:

> Thomas Andrews wrote:
> 
> >How do I get the bit like "IAX2/white_phone" in extensions.conf eg from
> >pre-defined variables or variants thereof ?
> >
> >What I *do* get is strings like this "IAX2/white_phone at white_phone-4"
> >from ${CHANNEL}, but that's the full channel name.
>
> This should help:http://www.voip-info.org/wiki-Asterisk+variables

Thanks, that's more or less what I thought I would have to do. It just
seems such a long way around to get something that I would have expected
to be 'ready-made' in some pre-defined $variable.

Thanks,
Thomas



More information about the asterisk-users mailing list