[OpenSIPS-Users] timeout_avp in Dialog
Răzvan Crainea
razvan at opensips.org
Thu Dec 18 09:03:27 CET 2014
Hi, Alexander!
1. You don't need the variable, you can use directly $DLG_timeout = 10;
2. How do you check if the dialog is deleted or not? Are you using the
dlg_list command? If you also want to send BYE messages to your clients,
you should use the 'B' flag when creating the dialog[1].
[1] http://www.opensips.org/html/docs/modules/1.11.x/dialog#id293797
Best regards,
Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com
On 12/18/2014 08:59 AM, Kalala Alexander wrote:
> I for some reason it does not work ... Dialog is not break.
> if(is_method("INVITE")){
> setflag(FLT_ACC);
> $var(time)=10;
> create_dialog();
> $DLG_timeout = $var(time);
> xlog("L_NOTICE"," DIALOG $DLG_timeout sec $var(time)\n");
> }
> Conclusion:
> DIALOG 10 sec 10
> 16.12.2014, 12:41, "Răzvan Crainea" <razvan at opensips.org>:
>> Hi, Alexander!
>>
>> You can simply assing the dialog variable with the value of the AVP:
>>
>> $DLG_timeout = $avp(old_timeout_avp);
>>
>> Best regards,
>> Răzvan Crainea
>> OpenSIPS Solutions
>> www.opensips-solutions.com <http://www.opensips-solutions.com/>
>> On 12/13/2014 02:14 AM, Kalala Alexander wrote:
>>> Perhaps there is an example of how to use and take $DLG_timeout
>>> seconds of AVP ??
>>> 13.12.2014, 02:59, "Laszlo" <laszlo at voipfreak.net>
>>> <mailto:laszlo at voipfreak.net>:
>>>> See
>>>> http://www.opensips.org/Documentation/Migration-1-10-0-to-1-11-0#toc2
>>>>
>>>> On Sat, Dec 13, 2014 at 12:47 AM, Kalala Alexander
>>>> <klistrod at yandex.ru <mailto:klistrod at yandex.ru>> wrote:
>>>>
>>>> Hi,
>>>>
>>>> http://www.opensips.org/html/docs/modules/1.11.x/dialog.html
>>>>
>>>> Prompt where disappeared function "timeout_avp" module Dialog
>>>> whether there is any alternative to it?
>>>>
>>>> --
>>>> С уважением
>>>> Инженер по телекоммуникациям
>>>> Калала Александр
>>>> vel: 375291146285
>>>> life: 375256819996
>>>> skype: klistrod
>>>>
>>>> VoIP Network Engineer
>>>> dCAP, CCNAVoice
>>>> Kalala Alexander
>>>> http://callcenters.by/
>>>> http://skytel.by/
>>>> http://voiplab.by/
>>>> http://asterisk-pbx.by/
>>>>
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>
>>>>
>>>> --
>>>>
>>>> --
>>>> Kind regards,
>>>> Laszlo Bekesi
>>>> http://voipfreak.net <http://voipfreak.net/>
>>>> ,
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>
>>> /--
>>> С уважением/
>>> /Инженер по телекоммуникациям /
>>> /Калала Александр /
>>> /vel: 375291146285/
>>> /life: 375256819996//
>>> /
>>> /skype: klistrod
>>> /
>>> //
>>> /VoIP Network Engineer
>>> dCAP, CCNAVoice
>>> Kalala Alexander/
>>> http://callcenters.by/ //
>>> http://skytel.by/
>>> http://voiplab.by/
>>> http://asterisk-pbx.by/
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>> ,
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
> /--
> С уважением/
> /Инженер по телекоммуникациям /
> /Калала Александр /
> /vel: 375291146285/
> /life: 375256819996//
> /
> /skype: klistrod
> /
> //
> /VoIP Network Engineer
> dCAP, CCNAVoice
> Kalala Alexander/
> http://callcenters.by/ //
> http://skytel.by/
> http://voiplab.by/
> http://asterisk-pbx.by/
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20141218/ef557b9e/attachment-0001.htm>
More information about the Users
mailing list