Channel Type variable

Hello,

From the DumpChan application, I am able to get the current chan type:

[2020-08-27 16:26:13] Info:
[2020-08-27 16:26:13] Name= SIP/SRV-000006bd
[2020-08-27 16:26:13] Type= SIP

How can I get this variable into the dialplan? Channel name I get with ${CHANNEL}, but how about channel type? I couldn’t find this variable here: Home - Asterisk Documentation

Thank you

Parse the channel name for the characters up to the /.

1 Like

Yes, I know that this is possible, I thought that there is a way to get it directly without parsing the channel name.
I will go with this method.
Thank you David.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.