[Asterisk-Users] Channel name (and substring)
Sean Kennedy
skennedy at tpno-co.org
Thu Mar 17 13:24:00 MST 2005
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.
>
>What am I missing here ?
>
>Thanks,
>Thomas
>_______________________________________________
>
>
This should help:http://www.voip-info.org/wiki-Asterisk+variables
Look especially at the substring section.
Sean
More information about the asterisk-users
mailing list