[Kamailio-Users] Register Request Forward

Denis Putyato denis7979 at mail.ru
Tue Nov 10 13:04:41 CET 2009


Hi

If not secret, why do you want to use such scheme?

 

Your decision 

send(); - core function.

 

{

If (is_method("REGISTER")&&$fU==":.") send("udp:192.168.0.1:5060");

}

 

or 

 

{

 If (is_method("REGISTER")&&$fU==":.") {

   rewritehost("192.168.0.1");

     t_relay();

  }

}

 

From: users-bounces at lists.kamailio.org
[mailto:users-bounces at lists.kamailio.org] On Behalf Of toqeer ali
Sent: Tuesday, November 10, 2009 1:56 PM
To: users at lists.kamailio.org
Subject: [Kamailio-Users] Register Request Forward

 

Hi all,

 

My question is how to forward Register Request to another sip server.

 

For example one user (X-lite) want to register with 192.168.0.1(sip server1)
via 192.168.0.2(sip server 2).

it means that in the domain part of xlite is 192.168.0.2 and it basically
register with 192.168.0.1.

192.168.0.2 will forward Register request to 192.168.0.1.

it will be very  helpful if any one can answer.

 

Thanks 


-- 
Toqeer Ali Syed

Red Hat Certified Engineer
mob:     +92 321 9059916

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/users/attachments/20091110/f4dddb45/attachment.htm>


More information about the Users mailing list