[asterisk-dev] RFC 3264 - RTP media stream should be set to recvonly when recording messages via a SIP channel

Russell Bryant russell at digium.com
Fri Feb 1 08:16:43 CST 2008


Iain McBride wrote:
> The root cause is a particular behavior of this PSTN gateway.  When no 
> media (RTP) packets are seen in one direction or the other for 30 seconds, 
> the PSTN gateway assumes that the call has died and tears it down.  This 
> seems to be an interpretation of section 5.1 of RFC 3264, which says that 
> the direction attributes of the media stream MUST be set appropriately.

Thanks for the well written message.  :)

There is an option that should be a quick fix for you.  Set the
"transmit_silence_during_record" option to "yes" in the [options] section of
asterisk.conf.

-- 
Russell Bryant
Senior Software Engineer
Open Source Team Lead
Digium, Inc.



More information about the asterisk-dev mailing list