<div dir="ltr">In the cfg file you will note that the IP address of the asterisk server and kamailio server are different, so this should not matter.</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 21, 2016 at 3:08 AM, Gopalakrishnan N <span dir="ltr"><<a href="mailto:saigop@gmail.com" target="_blank">saigop@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Am not a expert user of Kamilio. But this looks like, port issue. Kamilio SIP port and Asterisk SIP port not supposed to be same I guess.. <div><br></div><div>Regards,</div><div>Gopal.</div></div><br><div class="gmail_quote"><div><div class="h5"><div dir="ltr">On Thu, 21 Jul 2016 at 02:07 Tickling Contest <<a href="mailto:tickling.contest@gmail.com" target="_blank">tickling.contest@gmail.com</a>> wrote:<br></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hello,<div><br></div><div>I am following the instructions in <a href="http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb" target="_blank">http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb</a> to configure my Kamailio and Asterisk (using PJSIP realtime with MySQL). I am able to get Kamailio register the clients (tested with Zoiper softphone), but having trouble getting any further to load balance a couple of Asterisk servers. Here is a range of issues I have:</div><div><br></div><div>(a) The Kamailio server keeps sending UDP SIP messages to the Asterisk server and it is not clear where to control what protocol to use to send SIP messages Asterisk server(s).</div><div>(b) I followed the instructions for the dispatcher module in the wiki, but it is not clear why I should use the #!define WITH_ASTERISK directive to enumerate the bind IPs and ports (how does this reconcile with the list of Asterisk servers in the dispatcher.list file?):</div><div><br></div><div><div>!ifdef WITH_ASTERISK</div><div>asterisk.bindip = "192.168.1.102" desc "Asterisk IP Address"</div><div>asterisk.bindport = "5060" desc "Asterisk Port"</div><div>kamailio.bindip = "192.168.1.101" desc "Kamailio IP Address"</div><div>kamailio.bindport = "5060" desc "Kamailio Port"</div></div><div><br></div><div>Also, where do I specify the protocol to use when sending to the Asterisk servers? Is it auto detected? If so, why is Kamailio not detecting that the Asterisk servers are only listening on TCP?</div><div><br></div><div>Any help is appreciated. My entire /etc/kamailio/kamailio.cfg file is in here: <a href="https://gist.github.com/ticklingcontest/c7437dbc2d8e838834ee4d852753f254" target="_blank">https://gist.github.com/ticklingcontest/c7437dbc2d8e838834ee4d852753f254</a>. I am using Kamailio 4.0.4 with Asterisk 13.7.2 using TCP for PJSIP.</div><div><br></div><div>Thanks!</div><div><br></div></div></div></div>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>
<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>