Automatic hang up when link breaks off

jers at inwind.it jers at inwind.it
Mon Jul 10 18:17:54 CEST 2006


Hi all,

I’m carrying out simple voip network as test-plant for may job. I’m using the minisip_textui voip client mounted on a PC with Debian SO and kernel 2.6.9 (say A). In a PC with Windows (say C) I’ve installed the CX3 softphone. My PBX is Asterisk 1.2.9.1 and it is mounted on a third pc (say B). It’s not important the softphone in Windows environment but I need the control calls through consol in linux PC.

Therefore, my network is as follows:  
A (win) <--> B (Asterisk) <--> C (minisip)

My problem is that I should test the liveness of connections during communications. I’d like the communication were automatically hung up if one physical connections become broken. In order to do that, I configured Asterisk sip.conf file including the following parameters:

[general]
rtpkeepalive = 5
rtptimeout = 10
rtpholdtimeout = 15

In the follow, the results of my tests during a call.

1.	A-B connection goes down: both  CX3 and Minisip hang up the call. 
In this case, when rtptimeout fires,  Asterisk sends BYE methods to both clients. Minisip will receive the packet and stops the call. Instead, I suppose CX3 gets the Asterisk rtptimeout during the registration and so it breaks the call when its own timeout fires.

2.	B-C connection goes down: CX3 breaks the call but Minisip remains in INCALL state. 
Only if I reconnect the B-C link, Minisip hangs up because the remote user ended the call.

Is there any parameter to set so that minisip can get the Asterisk rtptimeout and behaves as the CX3? If no, do you know any other method to obtain the automatic hang up if a link get down?

I hope anyone can help me. Sorry for my english! 
Thanks in advance.
Bye 
Jers




More information about the Minisip-users mailing list