OpenSER module avpops
AVPs can be considered as variables per SIP transaction, and they can be specific for a user. Using them, many services can be created directly from configuration file, e.g., serial-forking, dynamic ringing time-out, white/black lists.
A very useful function is avp_printf() which allow to combine strings and pseudo-variables to get new values.
# make a SIP uri from caller's username and callee's domain
avp_printf("$avp(i:123)", "sip:$fU@$tU");
avp_check() does testing of pseudo-variables with different operators like equal, regular expresion matching, fast matching, bitwise tests ... avp_op() can be used for arithmetic operations.
Links to documentation of avpops module:
Created by: miconda, Last modification: Thu 15 of Feb, 2007 (10:39 UTC)
Featured -
Search:

Page Changes















