Hi.
I'm just starting with Kamailio - I've been to a few presentations about it, at Fosdem and KamailioWorld, but never used it so far.
I'm pretty familiar with Asterisk, and I want to use them in combination.
My first use case is to handle SIP registrations (both as a client, registering to a remote SIP server, and as a server, accepting registrations from handsets) in Kamailio instead of Asterisk, and still be able to route calls to/from the registered accounts through the Asterisk dialplan.
I suspect this is a pretty common starting point for people who've used Asterisk and want to add Kamailio to the setup?
So far I've been unsuccessful finding any Howto or Tutorial explaining how to do this - I can't help feeling I must simply be looking in the wrong place or in the wrong way.
Searching for topics like "Asterisk Kamailio Getting Started" I find:
http://kamailio.org/docs/ser-getting-started/SER-GettingStarted.pdf
but with 12 chapters and 85 pages I'm not sure which bits are the essential parts to do what I need.
I've also found http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x- asterisk-11.3.0-astdb but this seems to focus on a database backend, which I guess I'll want to use in due course, but doesn't seem the simplest place to start just to learn how Asterisk & Kamailio work together?
So, please can someone suggest a beginner's guide to introducing Kamailio into an Asterisk setup, keeping things as simple as possible to start with, so I can learn about Kamailio one bit at a time (since there do seem to be a lot of bits to it) from a familiar environment of using it with Asterisk?
Thanks in advance,
Antony.
On Mon, Feb 27, 2017 at 06:25:40PM +0100, Antony Stone wrote:
So, please can someone suggest a beginner's guide to introducing Kamailio into an Asterisk setup, keeping things as simple as possible to start with, so I can learn about Kamailio one bit at a time (since there do seem to be a lot of bits to it) from a familiar environment of using it with Asterisk?
The way to get an understanding is to use use kamailio, so begin without any integration to asterisk. Start using it the way you described (as an UAC and as a registrar) but don't see asterisk as something more than just an other sipserver you can interact with (you could use asterisk as an upstrean registrar or to register to kamailio).
On Monday 27 February 2017 at 18:43:18, Daniel Tryba wrote:
On Mon, Feb 27, 2017 at 06:25:40PM +0100, Antony Stone wrote:
So, please can someone suggest a beginner's guide to introducing Kamailio into an Asterisk setup, keeping things as simple as possible to start with, so I can learn about Kamailio one bit at a time (since there do seem to be a lot of bits to it) from a familiar environment of using it with Asterisk?
The way to get an understanding is to use use kamailio, so begin without any integration to asterisk. Start using it the way you described (as an UAC and as a registrar) but don't see asterisk as something more than just an other sipserver you can interact with (you could use asterisk as an upstrean registrar or to register to kamailio).
Ah, okay - I had thought it would be easier to stick with something I know and just replace small bits of it with the unfamiliar Kamailio, adding to my knowledge one step at a time, but I can see that your suggestion makes sense too, by keeping the interactions between the two out of the equation for now.
I guess https://www.kamailio.org/wiki/tutorials/getting-started/main is as good a place to get started as any?
Antony.
On Mon, Feb 27, 2017 at 08:01:37PM +0100, Antony Stone wrote:
Ah, okay - I had thought it would be easier to stick with something I know and just replace small bits of it with the unfamiliar Kamailio, adding to my knowledge one step at a time, but I can see that your suggestion makes sense too, by keeping the interactions between the two out of the equation for now.
You'd be looking at kamailio from an asterisk perspective, they are nothing alike (but rather complement each other). Once you have an idea how kamailio works as registrar and proxy, the tutorial on integration with asterisk (and why there is a shared db between them) should be kind of obvious.
I guess https://www.kamailio.org/wiki/tutorials/getting-started/main is as good a place to get started as any?
I guess, but also dig around in the archives of this mailing list. There is a good change any question you have already has been asked in the past (and hopefully answered).