timeout_avp in Dialog

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

timeout_avp in Dialog

klistrod
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
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: timeout_avp in Dialog

Laszlo

On Sat, Dec 13, 2014 at 12:47 AM, Kalala Alexander <[hidden email]> 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
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


--

--
Kind regards,
Laszlo Bekesi
http://voipfreak.net

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: timeout_avp in Dialog

klistrod
Perhaps there is an example of how to use and take $DLG_timeout  seconds of AVP ??
 
13.12.2014, 02:59, "Laszlo" <[hidden email]>:

On Sat, Dec 13, 2014 at 12:47 AM, Kalala Alexander <[hidden email]> 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
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 
--

--
Kind regards,
Laszlo Bekesi
http://voipfreak.net
,

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 
 
--
С уважением
Инженер по телекоммуникациям 
Калала Александр 
vel: 375291146285
life: 375256819996
skype: klistrod
 
VoIP Network Engineer
dCAP, CCNAVoice
Kalala Alexander
 
 

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: timeout_avp in Dialog

Razvan Crainea-3
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
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" [hidden email]:

On Sat, Dec 13, 2014 at 12:47 AM, Kalala Alexander <[hidden email]> 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
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 
--

--
Kind regards,
Laszlo Bekesi
http://voipfreak.net
,

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 
 
--
С уважением
Инженер по телекоммуникациям 
Калала Александр 
vel: 375291146285
life: 375256819996
skype: klistrod
 
VoIP Network Engineer
dCAP, CCNAVoice
Kalala Alexander
 
 


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: timeout_avp in Dialog

klistrod
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" <[hidden email]>:
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
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" [hidden email]:

On Sat, Dec 13, 2014 at 12:47 AM, Kalala Alexander <[hidden email]> 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
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 
--

--
Kind regards,
Laszlo Bekesi
http://voipfreak.net
,

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 
 
--
С уважением
Инженер по телекоммуникациям 
Калала Александр 
vel: 375291146285
life: 375256819996
skype: klistrod
 
VoIP Network Engineer
dCAP, CCNAVoice
Kalala Alexander
 
 


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
,

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 
 
--
С уважением
Инженер по телекоммуникациям 
Калала Александр 
vel: 375291146285
life: 375256819996
skype: klistrod
 
VoIP Network Engineer
dCAP, CCNAVoice
Kalala Alexander
 
 
 
 
 
 

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: timeout_avp in Dialog

Razvan Crainea-3
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" [hidden email]:
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
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" [hidden email]:

On Sat, Dec 13, 2014 at 12:47 AM, Kalala Alexander <[hidden email]> 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
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 
--

--
Kind regards,
Laszlo Bekesi
http://voipfreak.net
,

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 
 
--
С уважением
Инженер по телекоммуникациям 
Калала Александр 
vel: 375291146285
life: 375256819996
skype: klistrod
 
VoIP Network Engineer
dCAP, CCNAVoice
Kalala Alexander
 
 


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
,

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 
 
--
С уважением
Инженер по телекоммуникациям 
Калала Александр 
vel: 375291146285
life: 375256819996
skype: klistrod
 
VoIP Network Engineer
dCAP, CCNAVoice
Kalala Alexander
 
 
 
 
 
 


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users