[OpenSER-Users] forward one user to a spezific ip

NicklasZ nicklasz at gmx.de
Tue Jul 24 19:47:11 CEST 2007


Hi

what do i have to do to forward only 1 user to a spezific IP address on 
INVITE?

if(method=="INVITE")
{
    if (uri=~"^sip:\200" || src_ip == xxx.xxx.xxx.xxx) {
              ???????
            it should be forwarded on fixed ip yyy.yyy.yyy.yyy:5060
    }
};

i think its very easy but i'm a greenhorn ;)

Thanks
Andy 





More information about the Users mailing list