On Tue, 2007-02-20 at 11:05 -0800, Yuan LIU wrote:
> On my wild learning curve, I encountered numerous occasions when a channel 
> remained in "Congestion" state after a Congestion() step without going to 
> the next step, which is Hangup().  I couldn't find a definite pattern but it 
> seems to happen when a channel is hung up by the other party or by some 
> other action.  Any recommendation about preventing such?

        If you look at the following page:

http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+Congestion

        You can see there the following:

"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."

"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."

        A little google or a search on the above site will answer most of your
questions.

-- 
Telecomunicaciones Abiertas de Mexico S.A. de C.V.
Carlos Chávez Prats
Director de Tecnología
+52-55-91169161 ext 2001

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to