News & Reviews
More How-To's & Tips More News
More Reviews Device Configuration Tools
No account yet? Create one
Forgot your Username or Password?

Welcome to the Voxilla VoIP Forum.

Voxilla has been a trusted source for accurate, up-to-date information on the IP Communications industry since 2002. A dedicated staff of reporters and engineers produce feature articles and product reviews to keep industry watchers abreast of the people, companies, and trends driving a fast moving market.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.





Closed Thread
 
LinkBack Thread Tools Rate Thread Display Modes
  #11 (permalink)  
Old August 5th, 2005, 10:21 AM
chandave chandave is offline
Senior Member
 
Join Date: Jul 2005
Posts: 362
chandave is an unknown quantity at this point
Send a message via MSN to chandave
Default Re: Asterisk + BV + Xten pro bad quality to PSTN lines

Quote:
Originally Posted by thameema

Another problem i have is, most of the times i m getting the following lines in my asterisk log.

Code:
Aug  2 20:22:28 NOTICE[2772]: rtp.c:515 ast_rtp_read: Unknown RTP codec 72 received
Aug  2 20:22:29 NOTICE[2772]: rtp.c:515 ast_rtp_read: Unknown RTP codec 72 received
Aug  2 20:22:34 NOTICE[2772]: rtp.c:515 ast_rtp_read: Unknown RTP codec 72 received
I might be able to shed some light on the RTP codec message.

I, too, get these messages on my Asterisk console. I've looked into the code for the problem and it might have to do with RTCP packets in the RTP voice data stream.

Here's my take on it.

Normal VOIP using 2 RTP data streams and 2 RTCP datastreams for voice traffic. Each RTP and RTCP datastream is normally unidirectional. So, when you initiate a call, you tell the remote end which IP and UDP port you are listening on for voice traffic TO your machine. The remote end will also tell you which IP and UDP port you should send your voice traffic to in order for them to receive it. These are the unidirectional RTP data streams.

In addition to the RTP streams, are the RTCP data streams that provides statistics and synchronization info (used, for example, when you have DTMFmode=rfc2888, to coordinate the DTMF tone and the SIP INFO packet representing the DTMF tone). These data streams are usually setup separate from the RTP streams (i.e. 2 more UDP ports are used).

This changes with Symmetric RTP. Symmetric RTP abandons the use of separate RTP streams. When you make a call, you establish an RTP data stream for voice traffic to the remote end. The remote end is suppose to use that same RTP data stream to send voice traffic back to you.

Most VOIP implementations use Symmetric RTP to work around problems with Network Address Translation (NAT) systems and troublesome Firewalls.

How does this affect you?

It looks like some SIP UA implementations inject RTCP packets into the Symmetric RTP datastream. As a result, you get the "Unknown RTP codec 72 received" message on the Asterisk console. I believe the codec 72 is really an RTCP "Sender Report" (Payload type 200) with the high-order bit masked off ( 200 - 128 = 72).

I believe your XTen client has Symmetric RTP support enabled. As a result, it is sending it's RTCP "Sender Reports" back to Asterisk using the same RTP data stream as your voice traffic. Asterisk doesn't understand the RTCP packet that appears to be announcing itself as an RTP with a payload type 72 and ignores the packet.

Why this is degrading your BV connection is a mystery. I can only tell you that I get the NOTICE messages but my audio quality does not degrade.

In my sip.conf entry for BV, I use "NAT=no" and I port forward on my NAT devices. Contrary to expected meaning, "NAT=no" does not turn off NAT support (Asterisk's behavior of using externip in the SIP messages). Instead, this only disables Symmetric RTP for the connection.

You might want to try turning off Symmetric RTP support on the XTen and just use STUN to open up the pinholes in your firewall.

See ya...

d.c.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #12 (permalink)  
Old August 5th, 2005, 08:16 PM
thameema thameema is offline
Member
 
Join Date: Jan 2005
Posts: 85
thameema
Default RE: Re: Asterisk + BV + Xten pro bad quality to PSTN lines

Thanks chandave. You are the man. Now I am clear about the error message. Your answer raises two questions. First, when you said turn off Symmetric support in xten, i went to Xten menu > Advanced Settings > RTP Settings > Send RTCP messages = NO. Is this the right way to turn off symmetric support?
Second question. If i want to use STUN server, Can i use any stun server available like stun.fwdnet.net:3872 or Do I need to run my own STUN in my asterisk box or somewhere?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #13 (permalink)  
Old August 6th, 2005, 02:49 AM
chandave chandave is offline
Senior Member
 
Join Date: Jul 2005
Posts: 362
chandave is an unknown quantity at this point
Send a message via MSN to chandave
Default RE: Re: Asterisk + BV + Xten pro bad quality to PSTN lines

I would suggest you start by turning off the RTCP messages. That might just remove all the "Unknown RTP codec type 72 received" messages.

To turn off Symmetric RTP, I think the setting is in Main Menu > Advanced System Settings > RTP Settings > Obey Reverse UDP Mapping Rules = NO.

You might also encounter another "Obey Reverse UDP Rules" in Main Menu > Advanced System Settings > SIP Settings > Obey Reverse UDP Rules". DO NOT SET THIS TO "NO" IF YOUR DESIRE IS TO DISABLE SYMMETRIC RTP. This setting controls how SIP_REGISTER, SIP_INVITE, SIP_ACK, SIP_BYE, SIP_OPTIONS, etc are sent to the SIP proxy and registrar.

For STUN servers, it does not matter which to use. It only matters that the STUN server can reliably be reached. You can run your own if you feel that FWD's STUN is too overloaded. VOIP-INFO.ORG has a list of publicly accessible STUN server. Just search for STUN.

See ya...

d.c.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #14 (permalink)  
Old August 6th, 2005, 08:08 AM
thameema thameema is offline
Member
 
Join Date: Jan 2005
Posts: 85
thameema
Default RE: Re: Asterisk + BV + Xten pro bad quality to PSTN lines

You are great. It works without any noise problems. I did exactly what you have told and it solved my problem.


I am using FWD STUN and I am not sure how to check the load on FWD stun server. If anybody knows how and whats the impact on using public stun server that would be more helpful.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #15 (permalink)  
Old August 6th, 2005, 11:47 PM
mberlant's Avatar
mberlant mberlant is offline
Senior Member
 
Join Date: Aug 2004
Location: USA or Japan
Posts: 5,013
mberlant is an unknown quantity at this point
Default RE: Re: Asterisk + BV + Xten pro bad quality to PSTN lines

If you read one of the threads here that describes the function of a STUN server you will see that a STUN server enjoys a very low workload, much like a time server.
__________________
Please do not send technical questions via PM.
Please post all questions to the forum.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old August 6th, 2005, 11:47 PM
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:



Similar Threads for: Asterisk + BV + Xten pro bad quality to PSTN lines
Thread Thread Starter Forum Replies Last Post
Bad sound quality PSTN call placemaster Linksys (Sipura) VoIP Support Forum 6 April 13th, 2006 05:52 AM
Help?Anyone successfully configured VoicePulse for Xten Pro dpulis VoicePulse Support Forum 0 August 10th, 2005 10:04 PM
PSTN callee complaining about BAD VOICE QUALITY!! [RESOLVED] amerhamid Linksys (Sipura) VoIP Support Forum 5 February 20th, 2005 09:40 PM
PSTN to VOIP bad quality static calls marciofranco Linksys (Sipura) VoIP Support Forum 5 December 6th, 2004 02:36 PM
Bad quality of PSTN->FXO->FXS->Phone click Linksys (Sipura) VoIP Support Forum 3 November 25th, 2004 02:35 PM



All times are GMT. The time now is 12:56 PM.


vBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd. SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc. Logos and trademarks are the property of Voxilla or their respective owner. All other content © 2003-2007 by Voxilla, Inc.