How to know the caller's sip device name?

Hello all !

in a macro I would like to know the id of sip device that is calling.

It is an internal sip device called like sip/2100 or sip/2200

And when the guy is coming into the macro I would like to know the 2100 or 2200 or whatever. With ${EXTEN} I may know the extension that he dialed, now I need somthing simular to know the device name.

Hope that I was clear, thanks a lot for any feedback !


Try use the function CALLERID:



Marco Bruni

Thank you Marco ! That’s what I needed !