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

dashy dude dashy_v2000 at yahoo.com
Fri Dec 16 08:56:27 MST 2005


Ya..
I also faced the same problem when running asterisk HA
cluster.
the workaround I did was to use a script to shut down
network service first, then asterisk so that the BYE
doesn't reach the client and then again start the
network service (I needed to login remotely)

Hope this helps


--- Douglas Garstang <dgarstang at oneeighty.com> wrote:

> 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
> _______________________________________________
> --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
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the asterisk-users mailing list