Sorry, yeah. you should probably ignore that part :-) The same dispatcher deals with client connections from the "public" network as well as inbound
Ok thanks, it's clear now. :)
In the REGFWD route you send all the registrations to ALL the Asterisks? If so, why?
In this way should be an option to keep registration in Kamailio only, let Asterisk do its specific job, and configure Asterisk to accept all calls coming from Kamailio as authorized calls by its IP?
These are exactly my goals and was trying to understand which is the best way to achieve this. Any suggestion is welcome, thanks.
Anty
------------------------------
Message: 3 Date: Tue, 30 Apr 2013 23:02:20 +0100 From: Barry Flanagan barry@flanagan.ie To: "Kamailio (SER) - Users Mailing List" sr-users@lists.sip-router.org Subject: Re: [SR-Users] Kamailio 3.x and Asterisk Realtime Integration plus Message-ID: CALJb54_1FGmGV4HfmR1zHgcAGqMsSPu6kriTv72W3adyHF3dQw@mail.gmail.com Content-Type: text/plain; charset="utf-8"
On 1 May 2013 02:14, Aldo Antignano aldo@antignano.it wrote:
Yes, that would be as simple as commenting out the route(REGFWD) on Kamailio and putting a peer entry in Asterisk sip.conf for the Kamailio server. However, this then requires that Asterisk be set up to send any calls not known locally to your single Kamailio IP address, which also makes it more difficult to have multiple kamailio as Asterisk will need to know on which kamailio instance a particular client is registered. You could probably do this in Asterisk by querying the kamailio location table but things get needlessly complicated then.
If Asterisk is simply functioning as a PSTN gateway this would be fine. In this case you probably want to use the WITH_PSTN rather than WITH_ASTERISK setting in kamailio.cfg.
As I said, my aim was using Asterisk as a PBX (supporting call queues, BLF, Device State etc) so I needed the clients registered to Asterisk. Total registrations for my use case would not exceed 1,000 so having the registers sent to all asterisk servers made sense. For a large scale system I would keep registrations off Asterisk completely.
Regards,
-Barry Flanagan