[OpenSIPS-Devel] SF.net SVN: opensips:[5835] trunk/modules/pua_dialoginfo

Iñaki Baz Castillo ibc at aliax.net
Tue Jul 7 13:07:18 CEST 2009


2009/7/7 Klaus Darilion <klaus.mailinglists at pernau.at>:
> 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.

PUBLISH "dialog" with "trying" state is in fact a NOOP and it's not
useful at all from the watcher's perspective. I suggest never to
publish it.

Also, the "proceeding" state means that a 1xx with no To tag (this is,
a 100) has been received. This is also not useful, so I wouldn't
publish it.

-- 
Iñaki Baz Castillo
<ibc at aliax.net>



More information about the Devel mailing list