[asterisk-users] ring no answer / RONA versus HangUp

Tilghman Lesher tlesher at digium.com
Wed Jun 16 10:50:23 CDT 2010


On Wednesday 16 June 2010 08:21:17 David Backeberg wrote:
> I know if I do not do an Answer() that the call is not yet picked up.
> However, if I do a HangUp(), is that functionally equivalent? Can you
> Hangup() a channel you never Answer() ed?

A Hangup just returns -1, which causes the dialplan to terminate.  So yes,
you can Hangup() a call you never answered.

-- 
Tilghman Lesher
Digium, Inc. | Senior Software Developer
twitter: Corydon76 | IRC: Corydon76-dig (Freenode)
Check us out at: www.digium.com & www.asterisk.org



More information about the asterisk-users mailing list