[OpenSIPS-Users] Help!! error: use_media_proxy(): empty response from mediaproxy

Krunal Patel krunal.lists at gmail.com
Thu Dec 18 09:50:47 CET 2008


Hi,

I got succeed to fix this issue.

Thanks,
Krunal Patel

On Tue, Dec 16, 2008 at 10:19 PM, Krunal Patel <krunal.lists at gmail.com>wrote:

> Hi,
>
> In reply route, we are detecting that callee is behind NAT or not.
> If it is then calling use_mediaproxy.
> So in case of public to behind NAT , mediproxy will be used.
> Audio is working for that.
>
> But now If I register 1 UAC from public & 2 UAC behind NAT using same
> credentials.
>
> Now If I do call from PSTN to that user, openser will send INvite to all
> three registered users.
> means it will fork INvite.
>
> If the user which is behind NAT pickup the call, not getting audio.
> getting error: empty response from mediaproxy when mediaproxy is called
> from reply route.
>
> Please advice..
>
> Thanks,
> Krunal Patel
>
>
> On Tue, Dec 16, 2008 at 5:55 PM, Dan Pascu <dan at ag-projects.com> wrote:
>
>> On Tuesday 16 December 2008, Krunal Patel wrote:
>> > Hi
>> >
>> > As request is coming from Public IP , use_mediaproxy is not being
>> > called for invite.
>>
>> So how do you imagine this working? The user behind NAT talks with
>> mediaproxy and the user with a public IP talks with whom exactly?
>>
>> > But callee is behind NAT that's why use_mediaproxy has been called in
>> > reply route.
>> >
>> > One more thing, I have put force_rport at the beginning of main route ,
>> > I have removed that & the issue is fixed.
>> > but Now facing signaling issue in case internal & external port are
>> > different for nated client.
>> >
>> > Please advice what to do
>>
>> You need to call use_media_proxy for both the requests and the replies for
>> any call you intend to send through mediaproxy.
>>
>> --
>> Dan
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20081218/dfe0e9cd/attachment-0001.htm 


More information about the Users mailing list