Asterisk cmd Congestion
Synopsis
Indicate congestion and wait for hangupDescription
Congestion()Sends a signal to inform the channel of congestion. This command waits for the user to hang up; it does not continue execution of further commands.
Note that this command does not actually play a congestion tone to the user. If you wish to do that, call Playtones(congestion) before calling this command.
new in asterisk 1.2: Now this app supports an optional 'timeout' argument. If the optional timeout is specified, the calling channel
will be hung up after the specified number of seconds. Otherwise, this
application will wait until the calling channel hangs up.
Example
exten => s,1,Answer ; can't Playtones unless we answer first
exten => s,2,Playtones(congestion) ; send the audio sequence that humans understand means "congestion"
exten => s,3,Congestion ; signal the other end of congestion. Wait for hangup.
Return code
Always returns -1.See also
- CONGESTION
- indications.conf: Configuration file of various sounds
- Asterisk cmd Playtones
Asterisk | Applications | Functions | Variables | Expressions | Asterisk FAQ

Comments