[SR-Users] forward sip register

Borin katerin.borin at gmail.com
Wed Oct 13 11:25:38 CEST 2010


Thanks a lot for a link. before was:
listen=udp:IP:port
I changed it to
listen=udp:IP
port=5070

Now works


On Wed, Oct 13, 2010 at 10:50 AM, Daniel-Constantin Mierla <
miconda at gmail.com> wrote:

>  Hello,
>
> what is the configuration line before (not the comments)?
>
> If it is alias or listen, then there is a conflict in the grammar, not very
> trivial to fix:
>
> http://sip-router.org/tracker/index.php?do=details&task_id=56&project=1&pagenum=2
>
> Cheers,
> Daniel
>
>
> On 10/13/10 10:44 AM, Borin wrote:
>
> 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 at 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 at 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 at 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 at lists.sip-router.org
>>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>>
>>>>
>>>
>>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-users at lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
> --
> Daniel-Constantin Mierlahttp://www.asipto.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20101013/b10236b7/attachment.htm>


More information about the sr-users mailing list