Hi<br><br>I am getting error: use_media_proxy(): empty response from mediaproxy .<br><br>Here is the scenario for which I am getting the error.<br><br>Caller is public & callee is behind nat.<br>When openser gets 183 or 200 OK from callee, use_mediaproxy is being called & got the error.<br>
<br>here is the snippet from cfg.<br>on_reply_route[1]<br>{<br> if (status=~"(180)|(183)|2[0-9][0-9]") {<br><br> if ((isbflagset(6) || isbflagset(7) || nat_uac_test("19")) &&!search("^Content-Length:[ ]*0")) {<br>
xlog("USEMEDIAPROXY#####$fU#############\n ");<br> use_media_proxy();<br> };<br> if(client_nat_test("1")) {<br> fix_nated_contact();<br> xlog("fixnated contact##################\n ");<br>
if (status=~"(183)|(200)") {<br> xlog("fixnatedSDP##################\n ");<br> fix_nated_sdp("3");<br> };<br> };<br>
<br> };<br>}<br><br>debug message:<br><br>Dec 16 09:39:22 proxydispatcher[3621]: lookup <a href="mailto:3F38861B-6A0A-E583-B0E6-9B9EF4C5F84F@192.168.1.10">3F38861B-6A0A-E583-B0E6-9B9EF4C5F84F@192.168.1.10</a> 192.168.1.11:49156:audio XXX.XXX.XXX.XXX <a href="http://domain.com">domain.com</a> local unknown unknown SJphone/1.60.320/L=20(SJ=20Labs) info=<a href="http://from:FROM@domain.com:5061">from:FROM@domain.com:5061</a>,<a href="mailto:to%3ATO@domain.com">to:TO@domain.com</a>,fromtag:1027223280,totag:1056113071618701460<br>
Dec 16 09:39:22 proxydispatcher[3621]: execution time: 0.03 ms<br>Dec 16 09:39:22 /usr/local/sbin/openser[14733]: error: use_media_proxy(): empty response from mediaproxy<br><br>Please let me know what I am doing wrong.<br>
<br>--<br>Krunal patel<br>