On 01 Aug 2014, at 13:39, Edwin <[email protected]> wrote: > 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). >
HI, engage_media_proxy just sets come callbacks in the dialog module, so the actual SDP changes happen asynchronously, later. Regards, -- Saúl Ibarra Corretgé AG Projects
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
