Solved

No audio on SIP calls with Asterisk

Posted on 2013-01-02
7
1,985 Views
Last Modified: 2013-01-03
The connection is Asymmetric. I have set QoS for sip and RTP to premium. I don't think it's happening only when the outgoing traffic is saturated.

Setup
PBX-in a flash

Trunk 1 setup
qualify=3600
nat=yes
insecure=very
host=chicago-1f.vtnoc.net
fromdomain=chicago-1f.vtnoc.net
context=from-trunk&from-trunk
canreinvite=no
authuser=xxxxxxxxxx
dtmfmode=inband

Open in new window


Trunk 2 setup
type=peer
username=xxxxxx
disallow=all
allow=ulaw
; allow=g729
fromuser=149830
trustrpid=yes
sendrpid=yes
insecure=invite
qualify=yes

Open in new window



Attached is the log for the call. It is abnormally large. For a 5 second call the log was almost 7000 lines!

-Jaga
asterisk-log.txt
0
Comment
Question by:Jeff swicegood
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 20

Expert Comment

by:José Méndez
ID: 38739045
tcpdump -w /tmp/1wayaudio.cap  --> reproduce the affected call while running, then finish with ctrl-c

then upload to cloudshark.org so we can analyze the situation.

Thanks,
0
 
LVL 1

Author Comment

by:Jeff swicegood
ID: 38741408
0
 
LVL 20

Expert Comment

by:José Méndez
ID: 38741512
Apologies, think the -s switch is needed for packets not to be limited in size:

tcpdump -w /tmp/1wayaudio.cap -s 0

Also calling and called numbers will be needed to identify the call flow.

Thank you,
0
Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

 
LVL 1

Author Comment

by:Jeff swicegood
ID: 38741586
0
 
LVL 20

Accepted Solution

by:
José Méndez earned 500 total points
ID: 38741746
Got it. Asterisk is the only one sending audio to IP address 216.246.105.146. I was also able to listen to Jitsi's audio stream, heard your prayers by the way, nice singing mate.

This means the audio stream from the phone to Asterisk, and from Asterisk to the provider is fine in terms that it exists at the minimum. The other way around doesn't, however.

There are no audio packets from the provider's IP address. They advertised that IP

Connection Information (c): IN IP4 216.246.105.146

would handle the audio, yet there is no trace of it in the capture, from Asterisk's standpoint.

When Asterisk sent them the connection info, it went out as follows:

Connection Information (c): IN IP4 76.6.24.151

So this is Asterisk telling the provider where to send the audio on the public network. Now the questions are:

- Is that correct?
- If so, what device in your network is in charge of NAT'ing IP  76.6.24.151?
- Is it logging RTP activity from the provider?

1 more clarification: is this dead air between you and the far end party, or is it 1 way audio?
0
 
LVL 1

Author Closing Comment

by:Jeff swicegood
ID: 38742005
Ok, problem solved. The device that NAT's the external IP has only one client anther router with another NAT. I put that client in the DMZ, eliminating the double NAT and it worked. Thanks a lot. Hare Krishna!
0
 
LVL 20

Expert Comment

by:José Méndez
ID: 38742028
Glad to hear that!
0

Featured Post

Major Incident Management Communications

Major incidents and IT service outages cost companies millions. Often the solution to minimizing damage is automated communication. Find out more in our Major Incident Management Communications infographic.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I'm Dumb-phoned(ed) Last week, I noticed this message when adding events to my Google Calendar: On June 27th (2015), Google is removing SMS as a notification option for Google Calendar events.  Their assumption is that enough people have smart p…
Let’s list some of the technologies that enable smooth teleworking. 
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

688 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