Hi all,
I have this scenario: A SIP Client needs to register with both a SER server and a non-SER sip server (different domains). How can I achieve this in SER's config?
I have seen this example in the list to forward the REGISTER message to other SER servers:
if(method == "REGISTER") { if(src_ip==<IP of peer1> || src_ip==<IP of peer2>) { save_noreply("location"); } else { if(!www_authorize("<my domain>", "subscriber")) { www_challenge("<my domain>", "0"); break; } if(!check_to()) { sl_send_reply("403", "Use To=username next time"); break; } if(!save("location")) { sl_reply_error(); break; } forward_tcp("<IP of peer1", 5060); forward_tcp("<IP of peer2", 5060); } break; }
Would it work for my scenario? I tried it but it seems the forward_tcp line gave me this error: "forward_req: ERROR: cannot forward to af 2, proto 2 no coresponding listening socket"
I'm using SER 0.8.14, thanks all in advance.
_________________________________________________________________ Powerful Parental Controls Let your child discover the best the Internet has to offer. http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI... Start enjoying all the benefits of MSNĀ® Premium right now and get the first two months FREE*.