hello again
sorry for stupid question, but I can't get this definition working. I have ver 3.1 of kamailio, the definitions don't work as it described in the manual.
asterisk.bindip = "asterisk.ip" desc "Asterisk IP Address"
asterisk.bindport = "5080" desc "Asterisk Port"
kamailio.bindip = "kamailio.ip" desc "Kamailio IP Address"
kamailio.bindport = "5060" desc "Kamailio Port"

kamailio (ver 3.1 ) sais after restart I have syntax error
Oct 13 08:40:13 voip-test kamailio: : <core> [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
Oct 13 08:40:13 voip-test kamailio: : <core> [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
Oct 13 08:40:13 voip-test kamailio: : <core> [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:
 

On Wed, Oct 13, 2010 at 8:59 AM, Borin <katerin.borin@gmail.com> wrote:
Thanks, Lucas. That is exactly what I was looking for


On Tue, Oct 12, 2010 at 5:47 PM, Lucas Alvarez <lucasaa@gmail.com> wrote:
Hello, here is How-To written by Daniel-Constantin Mierla of a Kamailio-Asterisk integration: http://kb.asipto.com/asterisk:realtime:kamailio-3.0.x-asterisk-1.6.2-astdb, 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.
Regards.


Lucas

On Tue, Oct 12, 2010 at 1:34 PM, Borin <katerin.borin@gmail.com> wrote:
Hello,
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.
I do in kamailio.cfg:
if (is_method("REGISTER"))
      {
                save("location");
                route(FWD_REG);
                exit;

        }
route[FWD_REG] {
       rewritehost("Asterisk_IP:5060");
       if(!t_relay())
               sl_reply_error();

       exit;
}

But it (kamailio ver 3.1) does not forward them.


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users