Hello,
To get the username of the caller, I use the following code in my shell
scripts:
POS1=`expr index "$SIP_HF_FROM" : + 1`;
LENGTH=`expr index "$SIP_HF_FROM" @ - $POS1`;
USER=`expr substr "$SIP_HF_FROM" $POS1 $LENGTH`;
Is there any other way to do that? I need to make a query with the username
of the CALLING user...
Thanks!
Sebastian