Iñaki Baz Castillo schrieb: > 2009/7/7 Klaus Darilion <klaus.mailingli...@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.
IMO it is useful - eg. A calls PSTN and the call setup takes long - e.g. 10 seconds until "ringing". In this time intervall, A is already busy on the phone, thus other probably will get notified that A is currently on the phone and the will try to reach him later. regards klaus _______________________________________________ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel