OpenSIPS variables

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

OpenSIPS variables

kostenftw
   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
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: OpenSIPS variables

Mike Tesliuk


2014-03-14 3:18 GMT-04:00 Mike Claudi Pedersen <[hidden email]>:
   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
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users