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
[email protected] 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:[email protected]:5061,
to:[email protected] <to%[email protected]>
,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
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to