Automatic hang up when link breaks off

Cesc cesc.santa at gmail.com
Tue Jul 11 13:08:06 CEST 2006


Currently no.
As of now, only signalling transport error are notified and the not
setup. But in the middle of the call, minisip sends no "keep-alive".
As for the media ... what does the CX3 detect? abscence of RTP
packets? ICMP messages from somewhere? I do not think this is the best
way ... what if the other end sends no rtp if only silence is
detected? or if it reacts to icmps ... what an easy way for an
attacker to kill the app ...

Regards,

Cesc

On 7/11/06, jers at inwind.it <jers at inwind.it> wrote:
> Hi,
>
> I verified that Asterisk does not give its rtptimeout to CX3 but this one has an internal timeout. Is it possible to set a similar timeout in Mini
> sip.
>
> Thanks again.
> Jers
>
>
> > 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
> >
> >
> > _______________________________________________
> > Minisip-users mailing list
> > Minisip-users at minisip.org
> > http://lists.minisip.org/mailman/listinfo/minisip-users
> >
>
> _______________________________________________
> Minisip-users mailing list
> Minisip-users at minisip.org
> http://lists.minisip.org/mailman/listinfo/minisip-users
>


More information about the Minisip-users mailing list