[SR-Users] Issue using Kamailio as a proxy in front of Asterisk

Stoyan Mihaylov stoyan.v.mihaylov at gmail.com
Wed Jun 6 20:41:30 CEST 2012


We use also Kamailio in front of Asterisk - but I forward only calls to
Asterisk - register/unregister stay in Kamailio. Asterisk dont know which
device is registered, and which is not.


On Wed, Jun 6, 2012 at 8:20 PM, Dominik Mauritz <dominik.mauritz at web.de>wrote:

> Hi All,
>
> some days ago I installed Kamailio as a front end for Asterisk following
> this tutorial:
>
> http://kb.asipto.com/asterisk:**realtime:kamailio-3.1.x-**
> asterisk-1.6.2-astdb<http://kb.asipto.com/asterisk:realtime:kamailio-3.1.x-asterisk-1.6.2-astdb>
>
> I added Multi Domain support and adjusted some other things to fit my
> environment. Almost everything is working perfectly now. One small issue is
> left:
>
> With Kamailio in front of Asterisk I have one feature (next to other cool
> things) I was missing for years. I am now able to register more than one
> device on the same SIP account. This is nothing new for Kamailio users but
> Asterisk doesn’t support this.
>
> If I register two phones on one SIP account with Kamailio everything is
> fine. They are able to make outgoing calls and both ring on incoming calls.
> But if one phone unregisters Kamailio forwards the unregister request to
> Asterisk and Asterisk sets this account to offline. Now a call comes in but
> Asterisk is not sending out an invite because for Asterisk the phone is
> offline.
>
> I wonder if it is possible to forward an unregister request from Kamailio
> to Asterisk only if the last endpoint registered with one SIP account
> unregisters. If there is more than one endpoint using the same Account
> Kamailio should not forward the unregister request to Asterisk.
>
> Any idea?
>
> Thanks,
> Dominik
>
> ______________________________**_________________
> 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<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/20120606/6cf7a01a/attachment.htm>


More information about the sr-users mailing list