Thanks juha
I will try and send you a feedback
Danilo
-----Messaggio originale-----
Da: sr-users-bounces(a)lists.sip-router.org
[mailto:sr-users-bounces@lists.sip-router.org] Per conto di Juha Heinanen
Inviato: venerdì 29 aprile 2011 17:14
A: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) -Users
Mailing List
Oggetto: [SR-Users] R: R: R: lcr module: strip and tag
Alida - Danilo SMALDONE writes:
Could you please send a simple script with load_gws()
and next_gw()
working?
I've tried but I'll never seen working strip
and tag
for example:
if (!load_gws("1")) {
xlog("L_ERR", "Cannot load gws for $rm <$ru>\n");
send_reply("500", "Server Internal Error - Cannot load
gateways");
exit;
};
if (!next_gw()) {
xlog("L_WARN", "No gateways for $rm <$ru>\n");
send_reply("503", "Service not available - No gateways");
exit;
};
if (t_relay())
exit;
-- juha
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users