[Asterisk-bsd] hangup detection

Jeff LaCoursiere jeff at jeff.net
Thu Sep 29 15:34:11 CDT 2005


Hello,

Am running 1.0.8-BRIstuffed-0.2.0-RC8h on 5.4-RELEASE with a 4 port FXO
card from Digium (and about twelve Procomm 300, 301, 501, and 600 phones).
We have been playing around with it for about a month and finally put it
into production yesterday.  Twice in the past twenty four hours the first
line has become "stuck" in our main menu:

  == CDR updated on Zap/1-1
    -- Executing Goto("Zap/1-1", "#|1") in new stack
    -- Goto (default,#,1)
    -- Sent into invalid extension '#' in context 'default' on Zap/1-1
    -- Executing Playback("Zap/1-1", "invalid") in new stack
    -- Playing 'invalid' (language 'en')
    -- Timeout on Zap/1-1
  == CDR updated on Zap/1-1
    -- Executing Goto("Zap/1-1", "#|1") in new stack
    -- Goto (default,#,1)
    -- Sent into invalid extension '#' in context 'default' on Zap/1-1
    -- Executing Playback("Zap/1-1", "invalid") in new stack
    -- Playing 'invalid' (language 'en')
    -- Timeout on Zap/1-1
  == CDR updated on Zap/1-1
    -- Executing Goto("Zap/1-1", "#|1") in new stack
    -- Goto (default,#,1)
    -- Sent into invalid extension '#' in context 'default' on Zap/1-1
    -- Executing Playback("Zap/1-1", "invalid") in new stack
    -- Playing 'invalid' (language 'en')
    -- Timeout on Zap/1-1

This continues forever until I physically unplug the phone line from the
port, then plug it back in.  In the meantime the line rings busy from the
outside.

I think I can work around whatever causes this by making the menu timeout
and hangup, perhaps after some number of unsuccessful extensions?  Can
someone help me with a dialplan example that would accomplish this?

TIA!

Jeff LaCoursiere
Southland Gaming Virgin Islands
jeff at sgvi.net
jeff at jeff.net



More information about the Asterisk-BSD mailing list