[Asterisk-Users] Re: Softhangup vs Hangup

Olle E. Johansson oej at edvina.net
Tue Dec 2 12:33:05 MST 2003


Steven Critchfield wrote:

> On Tue, 2003-12-02 at 07:44, Philipp von Klitzing wrote:

>>BTW: Where exactly is the difference between Hangup and Softhangup()?
> 
> 
> Hangup is something done in the course of the dialplan and works on the
> current channel where softhangup is a cli command that works on a named
> channel. 

Steven, try "show application softhangup" ;-) (couldn't avoid it)

softhangup return 0
hangup returns -1

I guess that processing of the extension continues after a softhangup if
you want to do post-call processing. Right?

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

/O




More information about the asterisk-users mailing list