Hello, In regard of register Kamailio to asterisk, You have to use uac module, But Why do you choice this! It's better to keep on your way with IP Authentication even if both server are not in the same network,too. Because Kamailio could work multi-homed. Just Enable mhome=1 in kamailio. With Best Regards.Mojtaba
On Wed, Mar 13, 2019 at 10:33 AM Isravel Raja Thangamani < iraja@ebusinessbpo.com> wrote:
Hi,
I wanted to achieve the following scenario with Kamailio and Asterisk/FreeSwitch
Kamailio as a trunk for Receiving incoming calls and forward to Asterisk and Make outgoing calls. My current working setup like this
VoIP Provider -> Kamailio -> Asterisk Clusters
Where Kamailio(NAT for public) and Asterisk in the same local network, So I had to do only one thing just create the SIP trunk in Asterisk for authenticating all the Kamailio Incoming calls and making outgoing calls like this
[kamailio] host=172.18.1.1 type=friend disallow=all allow=ulaw context=trunkinbound
This is IP based authentication, This is working fine since both servers are in the same local network or having the public IP's
What I want is, I want to register the Kamailio Trunk in an asterisk with Username Password authentication,
My current setup for making that,
VoIP Provider -> Kamailio(Public) -> Asterisk(Randomly Changing Public IP, Broadband Connection)
I want to register Kamailio SIP in asterisk trunk so that I can forward the incoming calls to asterisk via SIP extension
[kamailio] host=172.18.1.1 user=user secret=password type=friend disallow=all allow=ulaw context=trunkinbound
Let me know if anyone doesn't understand my concern
Thanks & Regards,
Isravel Raja N. Thangamani
Work US: +1 424 354 8443 | Home US: +1 480 588 2008 Mobile PH: +63 998 596 7805 | Off Ext: 7901 Address: 15th Fl., Cebu IT Tower - 1, Cebu Business Park, Cebu City, Philippines 6000 Website: www.azpired.com | Email: iraja@ebusinessbpo.com iraja@ebusinessbpo.com
Follow us
https://facebook.com/azpiredinc/. https://twitter.com/azpired. https://plus.google.com/+AzpiredCebuCity. https://www.youtube.com/channel/UCrFkeO0pxugkGMtcTRjGxpQ
The information contained in this email message and any attachments is confidential and intended only for the addressee(s). If you are not an addressee, you may not copy or disclose the information, or act upon it, and you should delete it entirely from your email system. Please notify the sender that you received this email in error.
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users