PHAN, Quang-Minh (Docteur Ordinateur) writes:
I want to implement serial forking with avpops module and I have this
problem. The set of destinations for each user is stored in a database and I use apv_db_load to load it. However, I couldn't find a way to sort them in the right order. For example, I cant tell SER to try destination A before B, then C because there is no way to specify this in the database.
if you use location table to store the destinations, then you can use lcr module to implement serial forking according to q value.
Another feature I want to implement is to allow a client to specify a timeout for a destination. Eg. Try A for x seconds, then try B for y seconds, then try C.
lcr module has a timer variable that is used to timeout all but the last destination.
-- juha