I had the exact same symptoms. IAX2 --hfc 4s -->PSTN garbled voice. (SIP
fone ok).

Applied Stephen's modification to the code in the file
/..../src/visdn-head/modules/hfc-4s/sys_chan.c.

Centos 4.3, Asterisk 1.2.9.1, isdn--devel--0.1--patch-668 (latest
snapshot)

No garbled voice.

Fantastic! Thanks Stephen.

Just wondering if this breaks something else?

What would increasing the HFC_FIFO_JITTBUFF_HIGH (10) to a higher value
do? 

It's painful for me to test this as the load driver/unload driver
functions don't work right on centos (It looks like the scripts were
developed on SUSE - different init script functions). I need to reboot
each time.

Again thanks Stephen. Great birthday present for me. This has been
bugging me for nearly a month.


Rehan



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of stephen yong
Sent: 28 June 2006 04:31
To: [email protected]
Subject: [Visdn-hackers] Re: Voice calls broken 

Hi all,

I have been testing the hfc-4s driver (isdn--devel--0.1--patch-662) with

Asterisk 1.2.4 and I was getting broken voice in one direction as
follows:-

PSTN <---- HFC-4S <------ ASTERISK <--------- IAX2

; very bad

PSTN <---- HFC-4S <------ ASTERISK (playing IVR message)               ;

not too bad

PSTN <---- HFC-4S <------ ASTERISK <--------- SIP phone                ;

good

No problem in the opposite direction. All sounds good. Also no such 
problems with the HFC-E1 driver in both directions.

In function hfc_sys_chan_write() in hfc-4s,  I  uncommented the line 
'printk(KERN_DEBUG "Trimming output fifo\n")' and
I got lots of these messages when I made a call. So I decided to disable

the next line "goto not_copying", and  that fixed the problem! Maybe the

constant HFC_FIFO_JITTBUFF_HIGH (10) is set too low. The number of 
used_octets varies from 11-383. Apparently this bit of code is not  
found in the same function for the HFC-E1 driver.

Cheers,
Stephen Yong

_______________________________________________
Visdn-hackers mailing list
[email protected]
https://mailman.uli.it/mailman/listinfo/visdn-hackers


_______________________________________________
Visdn-hackers mailing list
[email protected]
https://mailman.uli.it/mailman/listinfo/visdn-hackers

Reply via email to