Hi Bogdan-Andrei.

I will take a look in the first link now. I have already read about dlg_end_dlg 
and I'm using it with success, following another hint from you.


Thank you very much!


RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979


________________________________
De: Bogdan-Andrei Iancu <[email protected]>
Enviado: segunda-feira, 28 de setembro de 2015 07:03
Para: OpenSIPS users mailling list; Rodrigo Pimenta Carvalho
Assunto: Re: [OpenSIPS-Users] How to set default_timeout for dialogs, without 
resetting OpenSIPS ?

Hi Rodrigo,

The timeout for a call can be set (in a per-call manner) when the call starts 
(during re-INVITE) or during any sequential requests (ACK, re-INVITE), etc. See 
DLG_timeout variable:
    http://www.opensips.org/html/docs/modules/1.11.x/dialog.html#timeout-pvar-id

If you want to tear down the call, use the dlg_end_dlg MI command :
    http://www.opensips.org/html/docs/modules/1.11.x/dialog.html#id296795

Best regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 25.09.2015 23:56, Rodrigo Pimenta Carvalho wrote:


Dear OpenSIPS-Users,


A kind of management application in my project must provide an way of a  system 
manager sets the default_timeout for dialogs in our already running OpenSIPS. 
How to do it?


I was looking for an way of sending a command to OpenSIPS 2.2 to configure it 
to tear down (hang up) every call after a determined timeout. So I have just 
read about MI, dialog exported MI functions and dialog exported 
pseud-variables. What I want is to configure the default_timeout without having 
to reset the OpenSIPS.


However, I didn't find a way of doing that. I was thing about to use mi_fifo 
and a exported command, but no way.


Is there a way of controlling the default_timeout for dialogs, while OpenSIPS 
is running?


If not, I was thinking about changing the value of timeout column in the table 
dialog, for each dialog. But, it sounds a bit complicated.


Any idea?


Any hint will be very helpful!


Best regards.




RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979



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


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

Reply via email to