Hi! I have the following scenario: Asterisk INVITE-----> | <--200,ACK-- | Playback(Foo) | Dial(..) | ---------INVITE-----> | <-----404. ACK------> | As my extension configuration stops after the Dial command I expect Asterisk to hang up the call. Instead I see on the console: | | == Auto fallthrough, channel 'SIP/81.16.153.183-0883dea0' status is 'CONGESTION' | | Then I hear the congestion tone for 10 secondes, then Asterisk sends BYE | <-----BYE----| Why does Asterisk not hangup immediately? Why 10 seconds congestion tone? Is this configurable? thanks klaus
On Tue, 2009-01-20 at 16:08 +0100, Klaus Darilion wrote:> As my extension configuration stops after the Dial command I expect > Asterisk to hang up the call. Instead I see on the console: > | > | > == Auto fallthrough, channel 'SIP/81.16.153.183-0883dea0' status is > 'CONGESTION' > |Auto-fallthrough means that Asterisk couldn't find any more priority numbers for the current extension, so it had to guess what the correct course of action was (whether to hang up, play congestion, etc.). If you want it to hangup instead of playing congestion, simply add another priority to your extension (right after the call to the Dial() application) which calls the Hangup() application explicitly. -- Jared Smith Digium, Inc. | Training Manager
Sean Bright schrieb:> Klaus Darilion wrote: >> Ok. >> >> Just for the info to others: the 10 seconds are hardcoded in pbx.c > > What line in which version? >at least in 1.4.22: grep -r -A 10 -B 10 "Auto fallthrough" * klaus