I'm trying to interface Asterisk with an Alcatel PABX and trying to find a code that works well. It says it doesn't support ulaw, though it doesn't reject it. It supports G.729, and that works fine, but we'd prefer not to use compression. When I use alaw, the path from Asterisk to the Alcatel is completely clean, but the other way has a set of clicks that kind of sound like old-fashioned audio noise. The outgoing SDP looks like this: v=0 o=root 1691755711 1691755711 IN IP4 205.232.38.178 s=Asterisk PBX 10.7.1 c=IN IP4 205.232.38.178 t=0 0 m=audio 11432 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv The reply SDP is: v=0 o=default 1359060187 1359060187 IN IP4 10.10.22.246 s=Asterisk PBX 10.7.1 c=IN IP4 10.10.22.246 t=0 0 m=audio 32000 RTP/AVP 8 101 a=sendrecv a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=maxptime:90 Any suggestions on how to debug what's causing this?
Your sounds might be too loud. We use a lot of custom sounds here and when the volume approaches 0 db (asterisk standard is -3 db) we get fuzz and clicks. -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Richard Kenner Sent: Thursday, January 24, 2013 2:45 PM To: asterisk-users at lists.digium.com Subject: [asterisk-users] "clicking" sound with alaw codec I'm trying to interface Asterisk with an Alcatel PABX and trying to find a code that works well. It says it doesn't support ulaw, though it doesn't reject it. It supports G.729, and that works fine, but we'd prefer not to use compression. When I use alaw, the path from Asterisk to the Alcatel is completely clean, but the other way has a set of clicks that kind of sound like old-fashioned audio noise. The outgoing SDP looks like this: v=0 o=root 1691755711 1691755711 IN IP4 205.232.38.178 s=Asterisk PBX 10.7.1 c=IN IP4 205.232.38.178 t=0 0 m=audio 11432 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv The reply SDP is: v=0 o=default 1359060187 1359060187 IN IP4 10.10.22.246 s=Asterisk PBX 10.7.1 c=IN IP4 10.10.22.246 t=0 0 m=audio 32000 RTP/AVP 8 101 a=sendrecv a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=maxptime:90 Any suggestions on how to debug what's causing this? -- _____________________________________________________________________ -- 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
On 01/24/2013 09:44 PM, Richard Kenner wrote: [snip]> When I use alaw, the path from Asterisk to the Alcatel is completely > clean, but the other way has a set of clicks that kind of sound like > old-fashioned audio noise.[snip] It's been ages since I experienced that but things to check that come to mind in no particular order are: - DAHDI settings (sync source) - Asterisk server not properly grounded - timing is off (check logs) - shared interrupts (make sure nic/TDM card have their own) - jitterbuffer settings (try on/off) - echo cancellation going bonkers (OSLEC?) - QoS (proper priority for voice packets?) - PCI slot (if you have a card, try changing the slot it's in) Use Wireshark to see the difference between a good call and a bad one. If you see a lot of time jumps on the bad call then look at your network/QoS. Regards, Patrick
> - jitterbuffer settings (try on/off)I added jbenable=yes and get lots of: [Jan 24 17:53:41] WARNING[12317]: abstract_jb.c:284 ast_jb_put: DAHDI/i1/2128518396-6c7 received frame with invalid timing info: has_timing_info=1, len=0, ts=371371424, src=RTP [Jan 24 17:53:41] WARNING[12317]: abstract_jb.c:284 ast_jb_put: DAHDI/i1/2128518396-6c7 received frame with invalid timing info: has_timing_info=1, len=0, ts=371371434, src=RTP
On 01/24/2013 11:57 PM, Richard Kenner wrote:>> - jitterbuffer settings (try on/off) > > I added > jbenable=yes > > and get lots of: > > [Jan 24 17:53:41] WARNING[12317]: abstract_jb.c:284 ast_jb_put: DAHDI/i1/2128518396-6c7 received frame with invalid timing info: has_timing_info=1, len=0, ts=371371424, src=RTP > [Jan 24 17:53:41] WARNING[12317]: abstract_jb.c:284 ast_jb_put: DAHDI/i1/2128518396-6c7 received frame with invalid timing info: has_timing_info=1, len=0, ts=371371434, src=RTPCheck https://issues.asterisk.org/jira/browse/ASTERISK-12042 Regards, Patrick