[OpenSER-Users] Global variables in scripts.

Juha Heinanen jh at tutpro.com
Fri Apr 25 16:29:31 CEST 2008


Peter Lemenkov writes:

 > Are any ways to define global variables in openser's scripts?
 > 
 > I need somethng like

you should be able to achieve what you want in your example by storing
the ip addresses in two AVPs in a route block.  then they are usable in
onreply and failure route blocks of the same transaction.  if you use
VARs, values are not usable in onreply and failure route.

-- juha




More information about the sr-users mailing list