Identify caller (name/ip) for handleCommand

Hi,

I have a requirement to know whether a call (on or off) is from IFTTT/myopenhab or from android/iphone client or web. Is there a way to get this information?