[Asterisk-Dev] Silence suppression and ast_waitfor()

Luki asterisk at lugosoft.com
Sun Jan 9 01:47:41 MST 2005


Hi everyone:

I'm experimenting with silence suppression on the Sipura ATA -- during an 
actual conversation this works quite well for me. However, when dialing an 
extension with music on hold for example, I get no audio from * to the ATA 
when there is no audio coming from the ATA. It's due to the ast_waitfor() 
call used in some apps (app_dial, app_rxfax for example) which blocks until 
more data comes in. No wonder I see no traffic on the wire in either 
direction.

Now I'm brainstorming for ideas how to change this to let * send packets 
when none are received... without breaking everything else, that is -- any 
ideas? Or is messing with this a bad idea?

--Luki






More information about the asterisk-dev mailing list