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

Krunal Patel krunal.lists at gmail.com
Tue Dec 16 10:01:41 CET 2008


Hi

I am getting error: use_media_proxy(): empty response from mediaproxy .

Here is the scenario for which I am getting the error.

Caller is public & callee is behind nat.
When openser gets 183 or 200 OK from callee, use_mediaproxy is being called
& got the error.

here is the snippet from cfg.
on_reply_route[1]
{
    if (status=~"(180)|(183)|2[0-9][0-9]") {

        if ((isbflagset(6) || isbflagset(7) || nat_uac_test("19"))
&&!search("^Content-Length:[ ]*0")) {
                xlog("USEMEDIAPROXY#####$fU#############\n ");
                use_media_proxy();
        };
        if(client_nat_test("1")) {
                fix_nated_contact();
                xlog("fixnated contact##################\n ");
                if (status=~"(183)|(200)") {
                    xlog("fixnatedSDP##################\n ");
                    fix_nated_sdp("3");
                };
        };

    };
}

debug message:

Dec 16 09:39:22  proxydispatcher[3621]: lookup
3F38861B-6A0A-E583-B0E6-9B9EF4C5F84F at 192.168.1.10 192.168.1.11:49156:audio
XXX.XXX.XXX.XXX domain.com local unknown unknown
SJphone/1.60.320/L=20(SJ=20Labs) info=from:FROM at domain.com:5061,
to:TO at domain.com <to%3ATO at domain.com>
,fromtag:1027223280,totag:1056113071618701460
Dec 16 09:39:22  proxydispatcher[3621]: execution time:  0.03 ms
Dec 16 09:39:22  /usr/local/sbin/openser[14733]: error: use_media_proxy():
empty response from mediaproxy

Please let me know what I am doing wrong.

--
Krunal patel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20081216/c4345872/attachment.htm 


More information about the Users mailing list