<div dir="ltr">Hello Hugh,<br><br>First, thank you very much for your reply. Please find my below reply.<br><br>At this poing of time, I just want to establish a call between two extensions. As you said, clients are registered on Kamailio. But, not registering on Asterisk. Plese note that Kamailio (Kam-SBC in sip.conf) server is registered on Asterisk server. I have one doubt here. Do we need create a trunk in Asterisk (sip.conf) for Kamailio? Is it compulsory?<br>
 <br>Please note that my Asterisk server, Kamailio server and MySQL servers are three different servers and are in same VPC on Amazon EC2.<br><br>I just noticed that it is showing the RTPProxy related messages in log file, even though my RTPProxy server is running. <br>
<br>I used "rtpproxy -A 54.85.55.69 -F -l 10.0.0.122 -s udp:localhost:7722" command. When I execute "netstat -pln | grep rtpp", it is showing the output as:<br>udp        0      0 <a href="http://127.0.0.1:7722">127.0.0.1:7722</a>          0.0.0.0:*                           1598/rtpproxy<br>
<br><b>When I call from 100 to 500, please find the below Kamailio log:</b><br><br>INFO: <script>: [500@111.93.82.36:5060]{INVITE} From Outside World to Asterisk Box sip:<a href="http://10.0.0.107:5060">10.0.0.107:5060</a><br>
ERROR: rtpproxy [rtpproxy.c:1647]: send_rtpp_command(): can't send command to a RTP proxy<br>ERROR: rtpproxy [rtpproxy.c:1682]: send_rtpp_command(): proxy <udp:<a href="http://127.0.0.1:7722">127.0.0.1:7722</a>> does not respond, disa$<br>
WARNING: rtpproxy [rtpproxy.c:1539]: rtpp_test(): can't get version of the RTP proxy<br>rtpproxy [rtpproxy.c:1576]: rtpp_test(): support for RTP proxy <udp:<a href="http://127.0.0.1:7722">127.0.0.1:7722</a>> has been dis$<br>
ERROR: rtpproxy [rtpproxy.c:2565]: force_rtp_proxy(): no available proxies<br>INFO: <script>: [asterisk@10.0.0.107:5060]{NOTIFY} Call from Media-Server Cluster<br>ERROR: rtpproxy [rtpproxy.c:2565]: force_rtp_proxy(): no available proxies<br>
INFO: <script>: [500@10.0.0.107:5060]{INVITE} Call from Media-Server Cluster<br>INFO: <script>: [asterisk@10.0.0.107:5060]{OPTIONS} Call from Media-Server Cluster<br>INFO: <script>: [asterisk@10.0.0.107:5060]{OPTIONS} Call from Media-Server Cluster<br>
INFO: <script>: [asterisk@10.0.0.107:5060]{OPTIONS} Call from Media-Server Cluster<br><br><b>Sometimes, When I call from 100 to 500, it is not hitting the Asterisk server.</b><br><br><b>Sometimes, When I call from 100 to 500, it is hitting the Asterisk server and find the blow Kamailio log:</b><br>
<br>INFO: <script>: [500@111.93.82.36:5060]{INVITE} From Outside World to Asterisk Box sip:<a href="http://10.0.0.107:5060">10.0.0.107:5060</a><br>INFO: <script>: [asterisk@10.0.0.107:5060]{OPTIONS} Call from Media-Server Cluster<br>
INFO: <script>: [asterisk@10.0.0.107:5060]{OPTIONS} Call from Media-Server Cluster<br><br>In all above cases, clients are not registering on Asterisk server.<br><br><b>Please find my Kamailio configuration file at the below link:</b><br>
<br><a href="http://pastebin.com/dsBgErhp">http://pastebin.com/dsBgErhp</a><br><br>Can you please check my configuration file and correct me where I am doing the mistake? (Or) It would be great help to me, if you are able to send your working configuration file of Kamailio.<br>
<br>I look forward to your reply. Please do needful.<br><br>Thanks in advance.<br><br>Regards,<br>Chandra.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 16, 2014 at 9:48 PM, Waite, Hugh <span dir="ltr"><<a href="mailto:hugh.waite@acision.com" target="_blank">hugh.waite@acision.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="blue" vlink="purple" lang="EN-GB">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I’m not a big Asterisk user so I may not be able to help much here.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">To encourage a helpful response, please provide some information on what you are expecting to happen and not just what isn’t happening.<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">If you are expecting a second phone to ring, this is likely to be a signalling issue. You said that the clients are registered on Kamailio. Are they also registered
 on the Asterisk server? The second and third lines in your logs say “Subscriber Absent/Everyone is busy” which suggests they are not.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">A network trace taken on the Kamailio or asterisk server will show if the REGISTER is being forwarded to Asterisk. Are there any errors logged when the REGISTER
 is processed by Asterisk which indicates a failure?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">It looks like the system falls back to voicemail, so you are also expecting the Asterisk server to play media. This will be a separate media issue.<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I have used rtpproxy (with the advertised address patch) in Amazon to bridge media between internet facing and private subnets in a VPC. This may or may not
 be necessary depending on whether the Asterisk server has a public IP address.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I found that I couldn’t use different advertised addresses depending on which direction the signalling was going on a single private IP address. I worked around
 this by allocating a second private ip address to the instance and used that in the ‘bridge’.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">-A 54.86.X.X/<a href="http://10.0.1.15" target="_blank">10.0.1.15</a> –l <a href="http://10.0.1.10/10.0.1.15" target="_blank">10.0.1.10/10.0.1.15</a><u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hope that helps you get a bit further.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hugh<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US"> <a href="mailto:sr-users-bounces@lists.sip-router.org" target="_blank">sr-users-bounces@lists.sip-router.org</a> [mailto:<a href="mailto:sr-users-bounces@lists.sip-router.org" target="_blank">sr-users-bounces@lists.sip-router.org</a>]
<b>On Behalf Of </b>Chandramouli P<br>
<b>Sent:</b> 16 June 2014 10:34<br>
<b>To:</b> <a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<b>Subject:</b> Re: [SR-Users] Unable to make calls within the extensions<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hello,<br>
<br>
I really don't understand why I am not getting any reply for my query. Is it the wrong mailing list for my question?<br>
<br>
Can anybody confirm?<br>
<br>
Thank you.<u></u><u></u></p>
</div>
<p class="MsoNormal">Regards,<br>
Chandra.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Fri, Jun 13, 2014 at 5:48 PM, Chandramouli P <<a href="mailto:mouli123@gmail.com" target="_blank">mouli123@gmail.com</a>> wrote:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">Hello,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Can anybody please respond? <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Any update would be appreciated.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Thank you.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Regards,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Chandra.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Wed, Jun 11, 2014 at 12:55 PM, Chandramouli P <<a href="mailto:mouli123@gmail.com" target="_blank">mouli123@gmail.com</a>> wrote:<u></u><u></u></p>
<div>
<p>Hi,<u></u><u></u></p>
<p>I am new to Kamailio. I started RTPProxy using "rtpproxy -A 54.85.12.15 -F -l 10.0.0.122 -s udp:localhost:7722" command and see that my sip phones are registered with Kamailio. I am able to see using "kamctl ul show" command. But, I am unable to establish
 call between my registered extension through Asterisk using Kamailio. I see that calls are hitting my Asterisk server when I call from extension. I am not getting any audio and the other extension is also not at all ringing. I could not able to figure out
 where I am doing the mistake? I am not sure whether the mistake is in Kamailio or Asterisk.<u></u><u></u></p>
<p>In my Asterisk server, I am seeing the correct configuration using "odbcinst -q -d" and "isql -v MySQL-asterisk chandra test123456" and "odbc show (At CLI>)".<u></u><u></u></p>
<p>Please find the below environment:<u></u><u></u></p>
<p>Operating System: Ubuntu 14.04 Server (64-Bit)<br>
Kamailio: 4.0<br>
Asterisk: 11.10<br>
Database: MySQL (UNIX ODBC)<br>
Environment: Amazon EC2<br>
Follwed Links: <br>
<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><br>
<a href="http://pastebin.com/VPpfErYn" target="_blank">http://pastebin.com/VPpfErYn</a><br>
Daniel's Patched RTPProxy Installation (Please note that My Asterisk and Kamailio servers are behind NAT in Amazon EC2)<u></u><u></u></p>
<div>
<p class="MsoNormal">Below is my configuration:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><strong><a href="http://pastebin.com/fr8m9gr7" target="_blank">http://pastebin.com/fr8m9gr7</a></strong><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><strong>Note:</strong> I inserted the records in to the respective tables with "cmp" as context.
<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">When I call from 100 to 500, I am not getting any sound and another extension is not ringing and getting the below messages at Asterisk CLI:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><strong><a href="http://pastebin.com/y4tXXrnF" target="_blank">http://pastebin.com/y4tXXrnF</a></strong><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Any update would be appreciated.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Thanks in advance.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Regards,<br>
Chandra.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<br>
<hr>
<font color="Gray" face="Arial" size="1">This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed
 to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you for understanding.<br>
</font>
<br clear="all"> 
</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" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>