Dahdi and function CHANNEL

Home » Asterisk Users » Dahdi and function CHANNEL
Asterisk Users No Comments


core show function CHANNEL mentions “Additional items may be available from
the channel driver providing
the channel; see its documentation for details”.

Where can you find DAHDI-related info ?

More specifically I would to know within dialplan, which Dahdi (trunk) group
current dahdi channel belongs to (a bit like command “dahdi show channels
group 1″)..
How can I find this ?
(precisely, suppose Dahdi spans 1 and 2 belongs to group 1, spans 3 to group
2. Which dialplan function would output
1 or 2 depending on the channel id calling this function ?)