2010/6/3 Iñaki Baz Castillo ibc@aliax.net:
dlg_manage(); set_dlg_profile("out","$avp(AVP_CLIENT_USERNAME)");
The problem is that there is no way to find the current dialog information based on dialog profiles, as such information is not provided when running MI dlg_list or dlg_list_ctx.
I strongly missed the 'profile_list_dlgs' MI command which does exactly what I want :)