HI All,
I am curious, for those of you who use Kamailio with Asterisk or another PBX. Who forwards Registrations to Asterisk or PBX, and who lets Kamailio maintain Registrations?
Thanks All!
On Tue, May 29, 2018 at 05:55:07PM +0000, Wilkins, Steve wrote:
Who forwards Registrations to Asterisk or PBX, and who lets Kamailio maintain Registrations?
That all depends on what you're trying to accomplish.
But one historical problem with Asterisk has been that Dial()ing peers through a trunk sip.conf peer to reach them via a centralised registrar broke certain Class 5 features (MWI, presence stuff) that relied on contact bindings being in local AstDB.
As I understand it, the new chan_pjsip driver has effectively vanquished that problem, so it makes no difference if your registrar is outboard or internal.
To overcome what Alex described, PATH module provides a simple but powerful solution to be used in intermediary proxies. In such a scenario, Kamailio only forwards Registrations.
https://kamailio.org/docs/modules/5.1.x/modules/path.html
For the other option, have a look at the famous example: http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb
About use of PJSIP, I've had my part of disappointments and inconsistencies when it comes to integration with an edge proxy, hope others have more luck.
On Tue, May 29, 2018 at 1:57 PM, Alex Balashov abalashov@evaristesys.com wrote:
On Tue, May 29, 2018 at 05:55:07PM +0000, Wilkins, Steve wrote:
Who forwards Registrations to Asterisk or PBX, and who lets Kamailio maintain Registrations?
That all depends on what you're trying to accomplish.
But one historical problem with Asterisk has been that Dial()ing peers through a trunk sip.conf peer to reach them via a centralised registrar broke certain Class 5 features (MWI, presence stuff) that relied on contact bindings being in local AstDB.
As I understand it, the new chan_pjsip driver has effectively vanquished that problem, so it makes no difference if your registrar is outboard or internal.
-- Alex Balashov | Principal | Evariste Systems LLC
Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Hello,
This answer is somewhat based on previous questions that you have asked.
Who forwards Registrations to Asterisk or PBX, and who lets Kamailio maintain Registrations?
As Alex said, it depends on what you are trying to accomplish. In addition, I would say that it depends on the call scenarios you expect to see.
Kamailio is more efficient at processing and routing SIP messages, so I let it do as much of the work as possible. I would only forward calls to Asterisk in order to do the things that Kamailio cannot, like answer the call in order to play an automated message, an IVR, record DTMF etc. Kamailio can implement calling queues, but I chose to put those in Asterisk as well as it has additional functionality.
For a normal call from user A to user B, you don’t need to involve asterisk at all.
With kind regards Pan B. Christensen Developer Phonect AS