[OpenSIPS-Users] mediaproxy losing audio after on-hold?

Henk Hesselink henk at voipro.nl
Tue Apr 26 16:17:10 CEST 2011


Hi Saúl,

On 4/26/11 9:26 AM, Saúl Ibarra Corretgé wrote:
> On 04/23/2011 05:51 PM, Henk Hesselink wrote:
>> Hi,
>>
>> We occasionally have calls losing audio after the call has been put on
>> hold for a while (1-2 minutes) if the caller is behind NAT. What
>> happens is:
>>
>> 1. caller puts call on-hold
>> 2. after 1-2 minutes the NAT binding times out
>> 3. caller takes call back
>> 4. the REINVITE has new ports
>> 5. mediaproxy doesn't pick up on the new ports
>> 6. no audio
>>
>> If the caller transfers the call (i.e. a new INVITE) then there is no
>> problem.
>>
>> Is there something special we need to do when processing the REINVITE
>> to tell mediaproxy to pick up the new ports? We use separate calls to
>> use_media_proxy and end_media_session, we don't use engage_media_proxy.
>>
>
> If you use the separate functions you'll need to call use_media_proxy
> also for re-INVITEs, in order to instruct MediaProxy to allocate new
> ports and update the ongoing session.
>
>
> Regards,

Thanks for the info.  Do we also need to call end_media_session before
the call to use_media_proxy?

Regards,

Henk



More information about the Users mailing list