[Asterisk-Users] Shutting down Asterisk when not in RTP Stream

Douglas Garstang dgarstang at oneeighty.com
Thu Dec 15 10:46:06 MST 2005


Grrrr! Asterisk sends a BYE to the phone when it gets shut down. What a pain. Eventhough it isn't in the RTP path, it must keep track of it's current call state, and when you shut it down, terminate all those calls.

Reason I am trying this is that I've had asterisk core dump on me a few times, and I'd like to be able to restart it without losing calls in progress.

Doug.

-----Original Message-----
From: Douglas Garstang 
Sent: Thursday, December 15, 2005 10:38 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [Asterisk-Users] Shutting down Asterisk when not in RTP Stream


I'm very confused about something.

I have two phones that have reinvited and have an RTP session open. I confirmed this by running ngrep on the Asterisk box. Asterisk still shows the calls on the console.

*CLI> sip show channels
Peer             User/ANR    Call ID      Seq (Tx/Rx)  Form  Hold     Last Message   
192.168.10.125   a00090201   45dfabad1bd  00103/00000  ulaw  No       Tx: ACK        
192.168.10.4     a00090101   ca3279d8-3e  00102/00001  ulaw  No       Tx: ACK        

When I shut asterisk down, the call terminates. I don't understand that. If Asterisk isn't in the RTP path, how can shutting it down terminate an active call?

Don't know if it's relevant, but the 192.168.10.4 is an OpenSER box. 

Thanks.
Doug.
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list