[Serusers] rtpproxy and call hold

Bogdan-Andrei IANCU iancu at fokus.fraunhofer.de
Mon Jul 26 18:29:28 CEST 2004


Andrei Pelinescu-Onciul wrote:

>On Jul 26, 2004 at 03:28, Richard <mypop3mail at yahoo.com> wrote:
>  
>
>>Hi,
>>
>>How does rtpproxy handle call hold? Normally when the
>>call is put on hold, it doesn't have any rtp packets
>>between two end UA. Would it cause rtpproxy to tear
>>down the connection after timeout (default 60s)?
>>    
>>
>
>Yes, but on the other hand when you exit the on hold state the UA sends
>a re-INVITE. So if you properly handle re-INVITEs for natted calls, the
>re-INVITE will be caught by nathelper, the sdp re-written and the
>rtpproxy binding re-created (or updated if it already exists).
>
>Andrei
>  
>
actually when you enter on hold state, a re-INVITE  with 0.0.0.0 addr in 
SDP is sent. So if catch also this one, you can tear down the rtp 
session without waiting for timeout. At the second re-Invite (when exit 
from on hold) you have to create a new rtp session

bogdan




More information about the sr-users mailing list