Hi Marcello,
you may use the in 1.1.0 the new serial forking support . See
http://www.openser.org/pipermail/users/2005-November/002086.html
regards.
bogdan
Marcello Lupo wrote:
Hi,
I'm using exec_dset to get my list of gateways. For me is not possible to use
the LCR module due to the complexity and preferences on which the gateways
are chosen (particular algorithm based on caller and called and some other
preferences in the DB).
Most of the times i have a multiple gateways returned as lines (as requested
from exec_dset module) ordered from the best to the worst:
sip:[EMAIL PROTECTED]
sip:[EMAIL PROTECTED]
sip:[EMAIL PROTECTED]
Now if i launch this dset in t_relay the openser use parallel forking to all
of them and this not what i need (i need serial forking on failure).
I read some documentation about doing the serial forking using avpops and
there is no problem about it but i cannot use avp_db_load due to the same
problem of LCR module.
My problem is that I'm missing the way to move this list from dset to the avp
list, or have the way to get the list of gateways directly from my script in
the AVP.
I'm not a C coder, may be some one can give me only an example of a simple
module that take the same environment variable of exec_dset and let it
execute my shell script that give back on standard output the list above in
an avp?
Do you have some ideas on how to do it?
Thanks,
Bye,
Marcello
_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users