Hello.
I have an "if" statement for a trusted IP, for which i don't ask for
Proxy-Auth. This is what i have.
if (method=="INVITE" && src_ip!=my.trusted.addr.ip) {
if ( !radius_proxy_authorize("")) {
proxy_challenge("", "1");
break;
};
};
Hope this helps.
Cheers.
Ricardo.-
-----Mensaje original-----
De: Doug Eubanks [mailto:admin@dougware.net]
Enviado el: Martes, 01 de Febrero de 2005 15:31
Para: serusers(a)lists.iptel.org
Asunto: [Serusers] Trusted IP
Does anyone have an example cfg with a call forwarded from a
trusted ip (ie, no registration is ever sent)?
This is what I am trying, but with no luck...
if (src_ip==DIALINGATEAY && method=="ACK" ) {
record_route();
use_media_proxy();
setflag(1);
log(1, "Prepaid Call ACK Detected\n");
rewritehostport("TERMGATEWAY:5060");
forward(uri:host, uri:port);
break;
};
Thanks,
Doug
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers