I am using Asterisk PBX to call a softphone, i use thise command : “originate SIP/100 extension 4004” , in the dialplan, I have to get the CALLERID variable, but in this case, it’s always empty!
P.S : if i call the extension (4004), from the softphone(100), the CALLERID is set, and I can get it with : ${CALLERID(num)}.
How to get the caller id in the originate case?
the final solution i am using now :
i didn’t find another solution.