CalleeExtNum Variable

Hello,

In the dialplan by using DumpChan() function I can get a variable called CalleeExtNum, is there any way to get the value of this variable in the dialplan?

I couldn’t find it here: Asterisk Standard Channel Variables - Asterisk Project - Asterisk Project Wiki

Thanks

It’s not a standard channel variable. It would be accessed the same as any other channel variable.

@jcolp you’re right, I’m able to get this variable by using just {CalleeExtNum}, what about this variable: ConnectedLineIDNum? I tried {ConnectedLineIDNum} - but not getting anything, is there any way to get his value as well?

Thank you

You can use the CONNECTEDLINE dialplan function[1].

[1] Asterisk 18 Function_CONNECTEDLINE - Asterisk Project - Asterisk Project Wiki

@jcolp, I can’t find how to get that value by using this function, I found just how to set - but nothing about how to get his value.

Thanks

The same as any other dialplan function. Example:

${CONNECTEDLINE(num)}
1 Like

That works perfectly.
Thank you @jcolp

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