[OpenSIPS-Users] OpenSIPS variables
Bogdan-Andrei Iancu
bogdan at opensips.org
Mon Mar 17 16:15:17 CET 2014
Hello,
What variables are available in OpenSISP, see
http://www.opensips.org/Documentation/Script-CoreVar-1-10
For various ops over variables, see the script transformations:
http://www.opensips.org/Documentation/Script-Tran-1-10
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 14.03.2014 09:17, Mike Claudi Pedersen wrote:
> set(FROM=${CUT(SIP_HEADER(From),:,2)});
> set(FROMIP=${CUT(FROM,@,2)});
> set(FROM=${CUT(FROM,@,1)});
> set(TO=${CUT(SIP_HEADER(To),:,2)});
> set(TO=${CUT(TO,@,1)});
>
> noop(RDNIS: ${CALLERID(rdnis)});
> noop(NAME=${CALLERID(name)});
> set(CALLERID(name)=);
>
> --
> Med venlig hilsen
> ipnordic A/S
>
> Mike Claudi Pedersen
> Tekniker
>
> Telefon: 79301033
> www.ipnordic.dk <http://www.ipnordic.dk/>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140317/0ac4b44e/attachment.htm>
More information about the Users
mailing list