Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Changing RTP frame size


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
jan.blom at peopleinte...
Guest





PostPosted: Thu Apr 07, 2016 11:05 am    Post subject: [asterisk-users] Changing RTP frame size Reply with quote

I am trying to set-up an Asterisk server to ”transcode” between different RTP frame sizes. I have devices on one side using alaw with ptime 20 ms and some equipment on the other side requiring ptime 10. I am using the latest Asterisk 13.8.0. The set-up looks like this:

A (ptime 20) ---> asterisk ---> B (ptime 10)

In Asterisk I have two peers defined with only one codec in each, alaw:10 and alaw:20 respectively. The SIP call set-up looks fine and each side announces the correct ptime in the SDP (both Asterisk and B has the ptime=10 attribute in the SDP). The dialplan is currently first answering A’s call, plays a prompt and then Dial() into B.

This is what the media streams look like, including RTP frame size:

A --- 20ms -------> asterisk -----20ms!-----> B

A <-- 20ms ------- asterisk <-----10ms---- B

The stream from Asterisk to B has the wrong frame size, it should be 10ms. Looking at the media from B to A, we can see that asterisk properly changes frame size in one direction.

I also tried to use ulaw on the path between Asterisk and B to see if that would trigger a proper transcoding, but the results were the same (in terms of frame size, but with correct change of codec ).

Is this supposed to work? Any suggestions for workarounds?


Best regards,
Jan Blom
Back to top
rnewton at digium.com
Guest





PostPosted: Wed Apr 13, 2016 4:20 pm    Post subject: [asterisk-users] Changing RTP frame size Reply with quote

On Thu, Apr 7, 2016 at 11:04 AM, Jan Blom <jan.blom@peopleinteractive.se> wrote:
Quote:
<snip>
Is this supposed to work? Any suggestions for workarounds?

I believe so. That sounds odd. Hard to know without seeing the packet
trace of the call.

Which SIP channel driver are you using?

I think you are safe to go ahead and file an issue report. Please
include the sip.conf/pjsip.conf plus a packet capture and Asterisk
debug log (be sure to get the DEBUG channel turned on in logger.conf)
with correlating SIP trace.

--
Rusty Newton
Digium, Inc. | Community Support Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
direct: +1 256 428 6200

Check us out at: http://digium.com & http://asterisk.org

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services