[Kamailio-Users] Handling of REGISTER messages when Kamilio is in front of Asterisk

Alex Balashov abalashov at evaristesys.com
Mon Mar 16 16:22:36 CET 2009


Kamailio is a much more high-performance registrar than Asterisk and is 
better for high volume.

Juan Perez wrote:

> Hello
> We are implementing an architecture with Kamailio and Asterisk with
> real time and are debating who should be the Registrar for the SIP
> clients.
> We are biased towards leaving that to Kamailio and use Asterisk to provide the media services: vmail, conference etc. It looks like this is the recommended way as per several tutorials on the net suggest that solution. As a down side we will have to use a combination of near-end [STUN, ALG] and far-end Nat solutions [rtp-proxy] to handle the media and also are kind of worried about how we should handle the Cass 5 features tipical of a residential line.
> 
> 
> But a member of our team suggests to use Asterisk for that and have Kamailio forwarding the REGISTER request from the clients to the Asterisk. Asterisk can handle media and also users behind a NAT. We have never done it that way and we are not sure whether it is possible or not, whether it is acceptable SIP-wise or not. For example: if the proxy is load balancing the REGISTER messages then the clients should be given the IP of the proxy to send the REGISTERs and the NAT binding in the customer's NAT/Firewall will be associated to the IP of the proxy, not the IP of the Asterisk.
> On then other hand, Asterisk as a PBX supports a lot of Class 5 features natively.
> If possible, I would like to set up  call at 3pm Eastern today to get things set up for a successful interop test with CityVoice.  Let me know if you’re available at that time and I will make all necessary arrangements on this end.



Thanks,


> We would like to hear your input, suggestions and comments about this, what other people are doing. If we had only a few user then 1 Asterisk box should be enough but we are planning on having way more that what an Asterisk machine alone can handle, that is why we want to load balance using kamailio.
> 
> regards
> 
> jp
> 
> 
>       
> 
> 
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users


-- 
Alex Balashov
Evariste Systems
Web    : http://www.evaristesys.com/
Tel    : (+1) (678) 954-0670
Direct : (+1) (678) 954-0671
Mobile : (+1) (678) 237-1775



More information about the Users mailing list