Hi Anca!

Nice feature, missing since long time :-)

If I understand the code, this triggers PUBLISH with "trying" even if 
the dialog is not created (e.g. script error after dialoginfo_set()).

In this case, it will stay in trying state for default lifetime.

Wouldn't it be better to send "trying" also from a callback.

regards
klaus


Anca Vamanu schrieb:
> Revision: 5835
>           http://opensips.svn.sourceforge.net/opensips/?rev=5835&view=rev
> Author:   anca_vamanu
> Date:     2009-07-06 16:06:57 +0000 (Mon, 06 Jul 2009)
> 
> Log Message:
> -----------
> - changed the was dialoginfo publications are triggered. Now for triggering 
> dialoginfo publications it is needed to call a function - dialoginfo_set for 
> each INVITE which starts a dialog for which you want to have state published. 
> This is better than the old way when the dialog publications were done for 
> each dialog for which dialog_create function from dialog module was called.
> 
> Modified Paths:
> --------------
>     trunk/modules/pua_dialoginfo/README
>     trunk/modules/pua_dialoginfo/doc/pua_dialoginfo_admin.xml
>     trunk/modules/pua_dialoginfo/pua_dialoginfo.c
> 
> 
> This was sent by the SourceForge.net collaborative development platform, the 
> world's largest Open Source development site.
> 
> _______________________________________________
> Devel mailing list
> Devel@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

_______________________________________________
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to