Solved

No audio on SIP calls with Asterisk

Posted on 2013-01-02
7
1,877 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
  • 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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Healthcare providers, insurance companies and other covered entities trust eFax Corporate to transmit their most sensitive documents. eFax Corporate can help your organization implement a HIPAA compliant cloud faxing solution.
Skype is a P2P (Peer to Peer) instant messaging and VOIP (Voice over IP) service – as well as a whole lot more.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
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…

707 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

12 Experts available now in Live!

Get 1:1 Help Now