Hello Hugh,

First, thank you very much for your reply. Please find my below reply.

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?
 
Please note that my Asterisk server, Kamailio server and MySQL servers are three different servers and are in same VPC on Amazon EC2.

I just noticed that it is showing the RTPProxy related messages in log file, even though my RTPProxy server is running.

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:
udp        0      0 127.0.0.1:7722          0.0.0.0:*                           1598/rtpproxy

When I call from 100 to 500, please find the below Kamailio log:

INFO: <script>: [500@111.93.82.36:5060]{INVITE} From Outside World to Asterisk Box sip:10.0.0.107:5060
ERROR: rtpproxy [rtpproxy.c:1647]: send_rtpp_command(): can't send command to a RTP proxy
ERROR: rtpproxy [rtpproxy.c:1682]: send_rtpp_command(): proxy <udp:127.0.0.1:7722> does not respond, disa$
WARNING: rtpproxy [rtpproxy.c:1539]: rtpp_test(): can't get version of the RTP proxy
rtpproxy [rtpproxy.c:1576]: rtpp_test(): support for RTP proxy <udp:127.0.0.1:7722> has been dis$
ERROR: rtpproxy [rtpproxy.c:2565]: force_rtp_proxy(): no available proxies
INFO: <script>: [asterisk@10.0.0.107:5060]{NOTIFY} Call from Media-Server Cluster
ERROR: rtpproxy [rtpproxy.c:2565]: force_rtp_proxy(): no available proxies
INFO: <script>: [500@10.0.0.107:5060]{INVITE} Call from Media-Server Cluster
INFO: <script>: [asterisk@10.0.0.107:5060]{OPTIONS} Call from Media-Server Cluster
INFO: <script>: [asterisk@10.0.0.107:5060]{OPTIONS} Call from Media-Server Cluster
INFO: <script>: [asterisk@10.0.0.107:5060]{OPTIONS} Call from Media-Server Cluster

Sometimes, When I call from 100 to 500, it is not hitting the Asterisk server.

Sometimes, When I call from 100 to 500, it is hitting the Asterisk server and find the blow Kamailio log:

INFO: <script>: [500@111.93.82.36:5060]{INVITE} From Outside World to Asterisk Box sip:10.0.0.107:5060
INFO: <script>: [asterisk@10.0.0.107:5060]{OPTIONS} Call from Media-Server Cluster
INFO: <script>: [asterisk@10.0.0.107:5060]{OPTIONS} Call from Media-Server Cluster

In all above cases, clients are not registering on Asterisk server.

Please find my Kamailio configuration file at the below link:

http://pastebin.com/dsBgErhp

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.

I look forward to your reply. Please do needful.

Thanks in advance.

Regards,
Chandra.


On Mon, Jun 16, 2014 at 9:48 PM, Waite, Hugh <hugh.waite@acision.com> wrote:

Hi,

 

I’m not a big Asterisk user so I may not be able to help much here.

To encourage a helpful response, please provide some information on what you are expecting to happen and not just what isn’t happening.

 

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.

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?

 

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.

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.

 

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’.

-A 54.86.X.X/10.0.1.15 –l 10.0.1.10/10.0.1.15

 

Hope that helps you get a bit further.

 

Hugh

 

From: sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] On Behalf Of Chandramouli P
Sent: 16 June 2014 10:34
To: sr-users@lists.sip-router.org
Subject: Re: [SR-Users] Unable to make calls within the extensions

 

Hello,

I really don't understand why I am not getting any reply for my query. Is it the wrong mailing list for my question?

Can anybody confirm?

Thank you.

Regards,
Chandra.

 

On Fri, Jun 13, 2014 at 5:48 PM, Chandramouli P <mouli123@gmail.com> wrote:

Hello,

 

Can anybody please respond?

 

Any update would be appreciated.

 

Thank you.

 

Regards,

Chandra.

 

 

On Wed, Jun 11, 2014 at 12:55 PM, Chandramouli P <mouli123@gmail.com> wrote:

Hi,

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.

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>)".

Please find the below environment:

Operating System: Ubuntu 14.04 Server (64-Bit)
Kamailio: 4.0
Asterisk: 11.10
Database: MySQL (UNIX ODBC)
Environment: Amazon EC2
Follwed Links:
http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb
http://pastebin.com/VPpfErYn
Daniel's Patched RTPProxy Installation (Please note that My Asterisk and Kamailio servers are behind NAT in Amazon EC2)

Below is my configuration:

 

 

Note: I inserted the records in to the respective tables with "cmp" as context.

 

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:

 

 

Any update would be appreciated.

 

Thanks in advance.

 

Regards,
Chandra.

 

 

 

 



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.


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users