[OpenSIPS-Users] OpenSIPS variables

Mike Tesliuk mike at ultra.net.br
Fri Mar 14 18:59:44 CET 2014


check on the documentation

http://www.opensips.org/Documentation/Script-CoreVar




2014-03-14 3:18 GMT-04:00 Mike Claudi Pedersen <mike.pedersen at ipnordic.dk>:

>    following er some asterisk values that is formatted and set;
>
>                 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)=);
>
>
> i would like to know how to do the equivalent in openSIPS.
>
>
> _______________________________________________
> 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/20140314/8ef0f2e8/attachment.htm>


More information about the Users mailing list