[Serusers] User
Klaus Darilion
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.
klaus
Sebastian Kühner wrote:
> 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
>
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
>
More information about the sr-users
mailing list