[Users] set some flag that isn't reset after some call leg has finished

Klaus Darilion klaus.mailinglists at pernau.at
Tue Oct 10 17:22:05 CEST 2006


Ricardo Carvalho wrote:
 > How may I set some flag that isn't reset after some call leg has 
finished?
 > Every flag that I rise with setflag() gets always reset after that 
call leg finishes!!

The flags lifetime is over when the transaction is over.
You can use gflags module to have global flags.

If you need some flag for a dialog you either store it as record route 
param (see README of RR module) or as AVP in the database (see AVPOPS 
module)

regards
klaus


 >
 > Thanks in advance,
 > Ricardo.
 >
 >
 > _______________________________________________
 > Users mailing list
 > Users at openser.org
 > http://openser.org/cgi-bin/mailman/listinfo/users






More information about the sr-users mailing list