[Freeswitch-users] Call Hangup

David Ponzone david.ponzone at ipeva.fr
Mon Jun 20 12:43:01 MSD 2011


there are 2 ways to do that:
Session timers: with this, FS will send a RE-INVITE to phones every X minutes, and if the phone does not answer, it's considerer dead, so it is unregistered and the current calls will be hung up
RTP Timeout: this will detect that media is missing, and will hang up the call

Session timers has to be enabled on the SIP Profile with:
<param name="enable-timer" value="true"/>
<param name="session-timeout" value="120"/>

RTP timeout has to be enabled in the SIP Profile with:
     <param name="rtp-timeout-sec" value="300"/>
(use the value you wish. Also, be careful with this, it can lead to issues with some phones when you put a call on hold/mute or if you use VAD)

David Ponzone  Direction Technique
email: david.ponzone at ipeva.fr
tel:      01 74 03 18 97
gsm:   06 66 98 76 34

Service Client IPeva
tel:      0811 46 26 26
www.ipeva.fr  -   www.ipeva-studio.com

Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.

Le 20/06/2011 à 09:55, Alessandro a écrit :

> Hi,
> I have an active call from the extension A to the extension B.
> If one of the two extension is disconnected from the network without 
> deregistration the call isn't hung up by the server. The call should be 
> hangup when FS realizes that the extension isn't in the network?
> Is there a time out to be set somewhere?
> thanks
> Regards
> Alessandro Luppi
> -- 
> Ing. Alessandro Luppi
> Software development
> Seletech srl
> Via Collodi 8, 20052 Monza (MI) - Italy
> Tel: +39.039.5962000 - Fax: +39.039.9716905
> email: a.luppi at seletech.com - Web: www.seletech.com   or   www.seletech.eu
> _______________________________________________
> Join us at ClueCon 2011, Aug 9-11, Chicago
> http://www.cluecon.com 877-7-4ACLUE
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110620/0aea1f44/attachment.html 

More information about the FreeSWITCH-users mailing list