<div>Thanks it Registered but i can't call on this .. "authentication Required from proxy". what i should do now.</div><div> </div>The secret is that the other sip server was asterisk and i want route call to asterisk via kamailio :).<br>
<br><div class="gmail_quote">2009/11/10 Denis Putyato <span dir="ltr"><<a href="mailto:denis7979@mail.ru">denis7979@mail.ru</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="RU" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New";color:#1F497D">Hi</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New";color:#1F497D">If not secret, why do you want to use such scheme?</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New";color:#1F497D"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New";color:#1F497D">Your decision </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New";color:#1F497D">send(); - core function.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New";color:#1F497D"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New";color:#1F497D">{</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New";color:#1F497D">If (is_method(“REGISTER”)&&$fU==”….”)
send(“udp:192.168.0.1:5060”);</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New";color:#1F497D">}</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New";color:#1F497D"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New";color:#1F497D">or </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New";color:#1F497D"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New";color:#1F497D">{</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New";color:#1F497D"> If (is_method(“REGISTER”)&&$fU==”….”)
{</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New";color:#1F497D"> rewritehost(“192.168.0.1”);</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New";color:#1F497D"> t_relay();</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New";color:#1F497D"> }</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New";color:#1F497D">}</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New";color:#1F497D"> </span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt">
<a href="mailto:users-bounces@lists.kamailio.org" target="_blank">users-bounces@lists.kamailio.org</a> [mailto:<a href="mailto:users-bounces@lists.kamailio.org" target="_blank">users-bounces@lists.kamailio.org</a>] <b>On
Behalf Of </b>toqeer ali<br>
<b>Sent:</b> Tuesday, November 10, 2009 1:56 PM<br>
<b>To:</b> <a href="mailto:users@lists.kamailio.org" target="_blank">users@lists.kamailio.org</a><br>
<b>Subject:</b> [Kamailio-Users] Register Request Forward</span></p>
</div><div><div></div><div class="h5">
<p class="MsoNormal"> </p>
<p class="MsoNormal">Hi all,</p>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">My question is how to forward Register Request to another
sip server.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">For example one user (X-lite) want to register with
192.168.0.1(sip server1) via 192.168.0.2(sip server 2).</p>
</div>
<div>
<p class="MsoNormal">it means that in the domain part of xlite is 192.168.0.2 and
it basically register with 192.168.0.1.</p>
</div>
<div>
<p class="MsoNormal">192.168.0.2 will forward Register request to 192.168.0.1.</p>
</div>
<div>
<p class="MsoNormal">it will be very helpful if any one can answer.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Thanks </p>
</div>
<div>
<p class="MsoNormal"><br>
-- <br>
Toqeer Ali Syed<br>
<br>
Red Hat Certified Engineer<br>
mob: +92 321 9059916</p>
</div>
</div></div></div>
</div>
</blockquote></div><br><br clear="all"><br>-- <br>Toqeer Ali Syed<br><br>Red Hat Certified Engineer<br>mob: +92 321 9059916<br>