Is it possible to test if engage_media_proxy succeeded or failed?

This because I have to fix the SDP headers if the mediaproxy fails...

I was trying something like this:

if(engage_media_proxy())
{
        xlog("L_INFO", " INFO : engage_media_proxy O.K.\n");
}
else
{
        xlog("L_INFO", " INFO fix_nated_sdp\n");
        fix_nated_sdp("10");
}

But it looks like engage_media_proxy() always returns 1 (true).

Regards,

Edwin



--
View this message in context: 
http://opensips-open-sip-server.1449251.n2.nabble.com/test-engage-media-proxy-tp7592749.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to