Solved

PBX stops sending audio mid-sentence (of outgoing message)

Posted on 2013-11-22
4
385 Views
Last Modified: 2013-12-09
Asterisk: PBX stops sending audio mid-sentence (of outgoing message). I don't think it's happening because the outgoing traffic is saturated.

I have attached the logfile. In there is says that  the transmission is not being responded to. This is not a problem of 1 way audio. When it works, it works both ways.

Sometimes it does not stop. Maybe this is an issue for Viatalk, my provider.
asterisk-stops-sending-audio-mid.txt
0
Comment
Question by:Jeff swicegood
  • 2
4 Comments
 
LVL 1

Author Comment

by:Jeff swicegood
ID: 39678759
The PBX is behind a router which is behind a router/modem. I have put the router in the DMZ of the modem to eliminate the double NAT. Outgoing calls never drop connection with the peer (provider).

username=1919XXXXXXX
type=peer
secret=XXXXXXXXXX
qualify=3600
nat=yes
insecure=very
host=chicago-1f.vtnoc.net
fromdomain=chicago-1f.vtnoc.net
context=from-trunk&from-trunk
canreinvite=no
authuser=1919XXXXXXX
dtmfmode=inband

Open in new window


Could it be that the PBX is not reading the correct external IP?

Here is a picture of my SIP configuration.SIP settingsSIP settings
0
 
LVL 1

Accepted Solution

by:
Jeff swicegood earned 0 total points
ID: 39707717
Found the following online, applied it and it worked!

It's Your Firewall, Stupid. I wish I had a nickel for every message thread that has been written that goes something like this. "I can make calls out of my system, but the people I call can't hear me." Or vice versa. The answer is pretty simple if you stop and think about it for a second. A phone call has two participants. One talks and the other one listens. Then you take turns. At least that's the theory. For that to actually work in the world of Internet telephony, the talking legs of the call have to be able to get from Point A to Point B and from Point B to Point A. If your IP-based telephone or Asterisk system is sitting behind a firewall/router, you have to configure your router to pass the incoming data into the server and telephone on your private network. If the telephone or Asterisk system on the other end of the call happens to also be sitting behind a firewall/router, then we have what's called "double NAT issues." And, no, this doesn't refer to no-see-ums on a steamy summer night in Dixie. Bottom line: If any of this communications traffic can't find it's way to the other end, then someone can't hear all or part of the telephone conversation.

To fix NAT problems with Asterisk, you simply tell your router to forward all data received on UDP ports 4569, 5004 to 5037, 5039 to 5082, and 10000 to 20000 to the private IP address of your Asterisk server. You also must make certain that the following entries exist in /etc/asterisk/rtp.conf:

[general]
rtpstart=10000
rtpend=20000

And bindport = 5060 must exist in the [general] context of /etc/asterisk/sip.conf. The aggregations take care of the rtp.conf and sip.conf setups for you. But you must reconfigure your router/firewall. Last, but not least, you probably need to complete the next step below as well.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Static route between two Sonicwalls 6 36
Comms between vlans via router 2 22
KVM switch 7 25
Not able to route between subnets 8 50
I recently purchased a Bluetooth headset called the Music Jogger (model BSH10). The control buttons on it look like this: One of my goals is to use it as the microphone and speakers for Skype calls. In that respect, it works well. However, I …
In the world of WAN, QoS is a pretty important topic for most, if not all, networks. Some WAN technologies have QoS mechanisms built in, but others, such as some L2 WAN's, don't have QoS control in the provider cloud.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now