[OpenSIPS-Users] test engage_media_proxy
Saúl Ibarra Corretgé
saul at ag-projects.com
Sat Aug 2 12:42:17 CEST 2014
On 01 Aug 2014, at 13:39, Edwin <eahaselhoff at gmail.com> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.opensips.org/pipermail/users/attachments/20140802/fa17296b/attachment.pgp>
More information about the Users
mailing list