Hello,I already shared a pretty well explained tutorial.It's pretty straightforward starting from the default kamailio configuration https://github.com/kamailio/kamailio/blob/5.2/etc/kamailio.cfg (that's for 5.2, use whichever version you have)You need to install rtpproxy locally: https://blog.voipxswitch.com/2015/06/18/rtpproxy-compiling-installing-on-debian-8/Then you enable:#!define WITH_MYSQL#!define WITH_AUTH#!define WITH_NAT#!define WITH_PSTNThen you need to set the B server IP and portpstn.gw_ip = "B-SERVER-IP" desc "PSTN GW Address"
pstn.gw_port = "B-SERVER-PORT" desc "PSTN GW Port"and add your users to the db via kamctl utility (you need to configure /etc/kamailio/kamctlrc)Hope that helps._______________________________________________On Fri, Nov 15, 2019 at 2:31 PM Sujit Roy <sujitroydhk@gmail.com> wrote:Thanks for the good suggestion.Can you kindly suggest the configuration in kamailio for both A & B SIP Gateway endpoint ?ThanksOn Fri, Nov 15, 2019 at 7:31 PM David Villasmil <david.villasmil.work@gmail.com> wrote:If you're only using Asterisk as a media server, why use it? Why not just use rtpproxy or mediaproxy? it'd be much simpler and you'd achieve the same thing.Unless you need to do something specific in Asterisk, there's really no need.Should help you getting started._______________________________________________On Fri, Nov 15, 2019 at 1:21 PM Sujit Roy <sujitroydhk@gmail.com> wrote:_______________________________________________HelloHere is my call flow scenario.SIP Gateway (A)Kamailio (K)Asterisk (AST)SIP Gateway (B)Now i want to send calls from A -> B by using Asterisk as media server.Kamailio shall be used to authenticate A and allow A to send calls to B.What are the configurations i need to make in Kamailio and Asterisk ?Thanks in advance.--RegardsSujit Roy
===================
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--_______________________________________________RegardsSujit Roy
===================
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users