Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

No audio on SIP calls with Asterisk

Posted on 2013-01-02
7
Medium Priority
?
2,064 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
Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

 
LVL 1

Author Comment

by:Jeff swicegood
ID: 38741586
0
 
LVL 20

Accepted Solution

by:
José Méndez earned 2000 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

There are no good configuration guides for HP-H3C router to LYNC on the web. :( Big statement, but we havent been able to find one yet. We did find the following document useful, but the information was not enough to use H3C router for use as a L…
Messaging apps are amazing tools with the power to do a lot of good, but the truth is the process of collaborating with coworkers requires relationships established through meaningful communication - the kind of communication that only happens face-…
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…

609 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