[Serusers] Trusted IP

Doug Eubanks admin at dougware.net
Tue Feb 1 20:31:00 CET 2005


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




More information about the sr-users mailing list