Hi,
My Asterisk 16.2 instance (Debian Buster package) has:
same = n,Verbose(0,CHANNEL is {CHANNEL})
same = n,Verbose(0,CHANNEL(accountcode) is {CHANNEL(accountcode)})
same = n,Verbose(0,CHANNEL(contact) is {CHANNEL(contact)})
same = n,Verbose(0,CHANNEL(endpoint) is {CHANNEL(endpoint)})
and prints:
CHANNEL is PJSIP/9150-00000016
CHANNEL(accountcode) is GENERAL
CHANNEL(contact) is
CHANNEL(endpoint) is 9150
In my testing, ${CHANNEL(contact)} is always empty.
Is it normal ?
Did I mis-read CHANNEL documentation ?