[OpenSIPS-Users] [NEW FEATURE] - Automatic call termination on dialog timeout

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Nov 3 11:10:27 CET 2008


Hi Giuseppe,

yes, this feature will be available only starting with opensips 1.5

Regards,
Bogdan

Giuseppe Roberti wrote:
> Hi,
>
> nice to hear it :)
> Is it available only for the next release ?
>
> Thanks.
>
> Bogdan-Andrei Iancu wrote:
>> Hi,
>>
>> following the discussion [dialog expire event in dialog module] :
>>     http://lists.opensips.org/pipermail/users/2008-October/000640.html
>> here is the outcome:
>>
>> The dialog module is able to automatically send BYE (in both 
>> directions) when the dialog timeout event occurs.
>>
>> When the dialog is created (for the initial INVITE), you need to set 
>> the "bye_on_timeout_flag" in order to enable this feature. When the 
>> timeout event hints (and no BYE was received from any party), BYE 
>> requests will be generated in both directions and cut the call from 
>> the middle.
>>
>> Of course, you can catch this BYE requests in failure_route and do 
>> some custom processing for them.
>>
>> To read more, see the docs:
>>     
>> http://www.opensips.org/html/docs/modules/devel/dialog.html#id2515459
>>     
>> http://www.opensips.org/html/docs/modules/devel/dialog.html#bye-on-timeout-flag-id 
>>
>>
>>
>> The next step will be to  enhance failure route to allow request 
>> dropping ; then you can drop the BYEs and set a new dialog timeout - 
>> this will be a way of pre-longing the dialog lifetime.
>>
>> Regards,
>> Bogdan
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>




More information about the Users mailing list