[asterisk-dev] synchronizing RTP

Klaus Darilion klaus.mailinglists at pernau.at
Mon Mar 8 07:07:23 CST 2010


Hi!

I have a problem with generating a nice RTP stream with one packet every 
20ms.

I have the following setup:

Asterisk+SendFAX <--SIP/G711--> Asterisk+T38Gateway <---SIP/T38---> ATA

This T38Gateway application is implemented to send an RTP packet to 
SendFAX every time it receives an RTP packet.

On the other side, SendFAX apparently does the same, because as soon as 
the call is established both Asterisk's exchange RTP packets like crazy 
- 5000 packets/s.

What is the best way to solve this problem? How should the voice frames 
generated in the T38Gateway application to get a correct RTP stream 
(e.g. 160 samples/frame, 50 frames/s)?

Thanks
Klaus



More information about the asterisk-dev mailing list