Hello Saúl,

I just saw this issue with call_control, mediaproxy and nat_traversal modules. I have ported them to the new version now. Instead of attempting to find the dlg_flag in the dialog exports, you should just call create_dlg from the dialog API. It is lighter ( don't have to iterate through all dialog parameters ) and you get an immediate response, whether the dialog creation was successful or not.


Regards,

--
Vlad Paiu
OpenSIPS Developer



On 06/16/2011 01:07 PM, Saúl Ibarra Corretgé wrote:
Hi Vlad,

On Jun 16, 2011, at 11:57 AM, Vlad Paiu wrote:

Hello,

OpenSIPS 1.7 has not been officially released yet :)
If you mean you have upgraded everything from trunk, please check [1].
Briefly, the flag was removed, and to maintain functionality you have to call 
create_dialog() with a "B" parameter, like this :
    create_dialog("B");

[1] http://www.opensips.org/html/docs/modules/devel/dialog.html#id298503


MediaProxy and nat_traversal modules currently use the now deprecated dlg_flag 
in order to enable dialog tracking by themselves, for example when 
engage_mediaproxy is used.

What is the new API that needs to be used from now on in order to achieve the 
same behavior?


Thanks and regards,

--
Saúl Ibarra Corretgé
AG Projects




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




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

Reply via email to