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

Adrian Georgescu ag at ag-projects.com
Tue Jul 7 15:05:39 CEST 2009


Indeed being notified about someone in the process of establishing a  
phone call is a useful case.

Adrian

On Jul 7, 2009, at 2:30 PM, Klaus Darilion wrote:

>
>
> Iñaki Baz Castillo schrieb:
>> 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.
>
> 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 at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel




More information about the Devel mailing list