hello again<br>sorry for stupid question, but I can&#39;t get this definition working. I have ver 3.1 of kamailio, the definitions don&#39;t work as it described in the manual. <br><pre class="code c"><span class="co2"></span>asterisk.<span class="me1">bindip</span> <span class="sy0">=</span> <span class="st0">&quot;asterisk.ip&quot;</span> desc <span class="st0">&quot;Asterisk IP Address&quot;</span>
asterisk.<span class="me1">bindport</span> <span class="sy0">=</span> <span class="st0">&quot;5080&quot;</span> desc <span class="st0">&quot;Asterisk Port&quot;</span>
kamailio.<span class="me1">bindip</span> <span class="sy0">=</span> <span class="st0">&quot;kamailio.ip&quot;</span> desc <span class="st0">&quot;Kamailio IP Address&quot;</span>
kamailio.<span class="me1">bindport</span> <span class="sy0">=</span> <span class="st0">&quot;5060&quot;</span> desc <span class="st0">&quot;Kamailio Port&quot;</span>
<span class="co2"></span><br>kamailio (ver 3.1 ) sais after restart I have syntax error<br>Oct 13 08:40:13 voip-test kamailio: : &lt;core&gt; [cfg.y:3412]: yyerror_at(): parse error in config file /usr/local/kamailio-3.1/etc/kamailio-pbx/kamailio.cfg, line 43, column 17: syntax error<br>
Oct 13 08:40:13 voip-test kamailio: : &lt;core&gt; [cfg.y:3412]: yyerror_at(): parse error in config file /usr/local/kamailio-3.1/etc/kamailio-pbx/kamailio.cfg, line 43, column 17: unknown config variable<br>Oct 13 08:40:13 voip-test kamailio: : &lt;core&gt; [cfg.y:3409]: yyerror_at(): parse error in config file /usr/local/kamailio-3.1/etc/kamailio-pbx/kamailio.cfg, line 43, column 19-33: <br>
 <br></pre><br><div class="gmail_quote">On Wed, Oct 13, 2010 at 8:59 AM, Borin <span dir="ltr">&lt;<a href="mailto:katerin.borin@gmail.com">katerin.borin@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Thanks, Lucas. That is exactly what I was looking for<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Tue, Oct 12, 2010 at 5:47 PM, Lucas Alvarez <span dir="ltr">&lt;<a href="mailto:lucasaa@gmail.com" target="_blank">lucasaa@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hello, here is How-To written by Daniel-Constantin Mierla of a Kamailio-Asterisk integration: <a href="http://kb.asipto.com/asterisk:realtime:kamailio-3.0.x-asterisk-1.6.2-astdb" target="_blank">http://kb.asipto.com/asterisk:realtime:kamailio-3.0.x-asterisk-1.6.2-astdb</a>, check the .cfg file posted there. Actually I followed up that tutorial and I have the extensions registered both on Asterisk and Kamailio. I hope this can be useful.<div>


Regards.</div><div><br></div><div><br></div><div>Lucas<br><br><div class="gmail_quote"><div><div></div><div>On Tue, Oct 12, 2010 at 1:34 PM, Borin <span dir="ltr">&lt;<a href="mailto:katerin.borin@gmail.com" target="_blank">katerin.borin@gmail.com</a>&gt;</span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div>Hello,<br>I am not good at kamailio. Could anyone tell me how can I forward register messages coming to kamailio to asterisk? I need users to be registered on kamailio and on asterisk at one time. <br>


I do in kamailio.cfg:<br>
if (is_method(&quot;REGISTER&quot;))<br>      {<br>                save(&quot;location&quot;);<br>                route(FWD_REG);<br>                exit;<br><br>        }<br>route[FWD_REG] {<br>       rewritehost(&quot;Asterisk_IP:5060&quot;);<br>



       if(!t_relay())<br>               sl_reply_error();<br><br>       exit;<br>}<br><br>But it (kamailio ver 3.1) does not forward them.<br><br>
<br></div></div>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br>
</div></div></blockquote></div><br>