klaus.mailinglists at pernau.at
Wed Aug 17 17:55:25 CEST 2005
Do you really need an external script? You can also access db tables
using avpops, which is much more nicer.
Sebastian Kühner wrote:
> To get the username of the caller, I use the following code in my shell
> 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...
> Serusers mailing list
> serusers at lists.iptel.org
More information about the sr-users