Hi, I recently encountered an odd situation: the network cable to my SPA-841 got unplugged while it was in the midst of a call. I got it re-plugged in about 30 seconds, and the phone rebooted. The phone showed no evidence of the previous call in progress and worked like normal. Asterisk, on the other hand, believed the call was still in progress -- my outgoing line was still in use, and it showed up in the "show channels" list. I resorted to the "soft hangup" command to terminate it. What could I do so that Asterisk would automatically terminate a call in these situations? Thanks, John
Eric Wieling aka ManxPower
2005-Apr-04 19:41 UTC
[Asterisk-Users] Detecting Downed SIP Phone
John Goerzen wrote:> Hi, > > I recently encountered an odd situation: the network cable to my > SPA-841 got unplugged while it was in the midst of a call. I got it > re-plugged in about 30 seconds, and the phone rebooted. The phone > showed no evidence of the previous call in progress and worked like > normal. > > Asterisk, on the other hand, believed the call was still in progress > -- my outgoing line was still in use, and it showed up in the "show > channels" list. I resorted to the "soft hangup" command to terminate > it. > > What could I do so that Asterisk would automatically terminate a call > in these situations?Wait. Asterisk will eventually realize the call is gone. That's what the whole "Maximum retries exceeced" message is about.
> John Goerzen > Sent: Monday, April 04, 2005 6:06 PM > Subject: [Asterisk-Users] Detecting Downed SIP Phone> I recently encountered an odd situation: the network cable to > my SPA-841 got unplugged while it was in the midst of a call. > I got it re-plugged in about 30 seconds, and the phone > rebooted. The phone showed no evidence of the previous call > in progress and worked like normal. > > Asterisk, on the other hand, believed the call was still in progress > -- my outgoing line was still in use, and it showed up in the > "show channels" list. I resorted to the "soft hangup" > command to terminate it. > > What could I do so that Asterisk would automatically > terminate a call in these situations?Check out: http://www.voip-info.org/wiki-Asterisk+sip+rtptimeout -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.1 - Release Date: 04/01/2005
On 2005-04-05, Rusty Shackleford <john97@flatline.com> wrote:>> What could I do so that Asterisk would automatically >> terminate a call in these situations? > > Check out: > http://www.voip-info.org/wiki-Asterisk+sip+rtptimeoutPerfect. Thanks! -- John