Jean-Yves Avenard
2007-Nov-04 17:01 UTC
[asterisk-users] Issues after upgrading from 1.2 to 1.4: hangup immediately
Dear all I am trying to upgrade our asterisk from 1.2 to 1.4.x There is something that now fails to work, reading the various documentations, I can not explain why. Here is an extract of my extensions.conf [welcome] exten => 299,1,Answer ; Answer the line exten => 299,2,Set(TIMEOUT(digit)=5) ; Set Digit Timeout to 5 seconds exten => 299,3,Set(TIMEOUT(response)=10) ; Set Response Timeout to 10 seconds exten => 299,4,BackGround(welcome) ; Play Welcome to ... include => internal-sip exten => t,1,Goto(0,1) ; If they take too long, go back to default exten => i,1,Playback(invalid) ; "That's not valid, try again" exten => i,2,Goto(s,2) ; try again ---- However, right after playing welcome, it will hangup ! this used to wait 10s then fall on the extension t This is what I see on the console: -- Executing [299 at welcome:1] Answer("Zap/5-1", "") in new stack -- Executing [299 at welcome:2] Goto("Zap/5-1", "|s|1") in new stack -- Goto (welcome,s,1) -- Executing [s at welcome:1] Set("Zap/5-1", "TIMEOUT(digit)=5") in new stack -- Digit timeout set to 5 -- Executing [s at welcome:2] Set("Zap/5-1", "TIMEOUT(response)=10") in new stack -- Response timeout set to 10 -- Executing [s at welcome:3] BackGround("Zap/5-1", "hello") in new stack -- <Zap/5-1> Playing 'transfer' (language 'en') == Auto fallthrough, channel 'Zap/5-1' status is 'UNKNOWN' -- Hungup 'Zap/5-1' Any ideas? Thank you in advance Jean-Yves
Eric "ManxPower" Wieling
2007-Nov-04 17:21 UTC
[asterisk-users] Issues after upgrading from 1.2 to 1.4: hangup immediately
Look at the section starting on line 100 in /path/to/src/asterisk-1.4.13/UPGRADE.txt You should have read this file before upgrading to 1.4. Jean-Yves Avenard wrote:> Dear all > > I am trying to upgrade our asterisk from 1.2 to 1.4.x > > There is something that now fails to work, reading the various > documentations, I can not explain why. > > Here is an extract of my extensions.conf > > [welcome] > exten => 299,1,Answer ; Answer the line > exten => 299,2,Set(TIMEOUT(digit)=5) ; Set Digit Timeout to 5 seconds > exten => 299,3,Set(TIMEOUT(response)=10) ; Set Response > Timeout to 10 seconds > exten => 299,4,BackGround(welcome) ; Play Welcome to ... > > include => internal-sip > > exten => t,1,Goto(0,1) ; If they take too long, go back to default > exten => i,1,Playback(invalid) ; "That's not valid, try again" > exten => i,2,Goto(s,2) ; try again > > ---- > > However, right after playing welcome, it will hangup ! > this used to wait 10s then fall on the extension t > > This is what I see on the console: > -- Executing [299 at welcome:1] Answer("Zap/5-1", "") in new stack > -- Executing [299 at welcome:2] Goto("Zap/5-1", "|s|1") in new stack > -- Goto (welcome,s,1) > -- Executing [s at welcome:1] Set("Zap/5-1", "TIMEOUT(digit)=5") in new stack > -- Digit timeout set to 5 > -- Executing [s at welcome:2] Set("Zap/5-1", "TIMEOUT(response)=10") > in new stack > -- Response timeout set to 10 > -- Executing [s at welcome:3] BackGround("Zap/5-1", "hello") in new stack > -- <Zap/5-1> Playing 'transfer' (language 'en') > == Auto fallthrough, channel 'Zap/5-1' status is 'UNKNOWN' > -- Hungup 'Zap/5-1'