[SR-Users] forward sip register

Borin katerin.borin at gmail.com
Wed Oct 13 08:59:26 CEST 2010


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
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20101013/9962e738/attachment.htm>


More information about the sr-users mailing list