[asterisk-users] Rules about congestion

Carlos Chavez cursor at telecomabmex.com
Tue Feb 20 18:12:42 MST 2007


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20070220/7c239566/attachment.pgp


More information about the asterisk-users mailing list