[Serusers] User

Sebastian Kühner skuehner at veraza.com
Wed Aug 17 17:49:43 CEST 2005


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





More information about the sr-users mailing list