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
Hi Andy,
NicklasZ wrote:
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
t_relay("udp:yyy.yyy.yyy.yyy:5060"); #or for stateless #forward("udp:yyy.yyy.yyy.yyy:5060");
} };
i think its very easy but i'm a greenhorn ;)
Thanks Andy
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users