[OpenSER-Users] Issue with Openser Serial Forking

Aadilkhan Maniyar amaniyar at velankani.com
Fri Mar 28 14:32:21 CET 2008


Thanks again Juha... Will try this out..

-----Original Message-----
From: Juha Heinanen [mailto:jh at tutpro.com] 
Sent: Friday, March 28, 2008 7:02 PM
To: Aadilkhan Maniyar
Cc: users at lists.openser.org; 'Vinod Kumar Singh'; 'Amit Nagpal'
Subject: RE: [OpenSER-Users] Issue with Openser Serial Forking

Aadilkhan Maniyar writes:

 > Can you please give me a code snippet of how can I implement serial
 > forking using the modules/functions mentioned below.

i don't know about core functions (in fact i was not able to find them
in core cook book, but i'm pretty sure they must be there somewhere),
but if you use lcr, you call load_contacts() in your route block, then
set a failure route, then call next_contacts() and t_relay.  in your
failure route, you then just keep on setting failure route again and
call next_contacts()/t_relay again as long as next_contacts() returns 1,
i.e., there are still contacts left.  see lcr README.

-- juha






More information about the Users mailing list