[asterisk-users] 1.6.2 No "soft hangup"?
Steve Johnson
stevej456 at gmail.com
Tue Apr 20 11:05:07 CDT 2010
Hello asteriskers,
I wanted to force a hangup of a SIP to SIP call from the Asterisk CLI>
prompt, and found references on using the command "soft hangup
<SIP/channel>", but as you can see below, the "soft hangup" command
does not seem to exist, and there is no mention about it in the
UPGRADE*.txt documents.
Can anyone shed light on what would replace "soft hangup" in 1.6.2.x
?? (This asterisk server is strictly SIP/IAX2, no DAHDI hardware)
Thanks!
Ref: http://www.mail-archive.com/asterisk-users@lists.digium.com/msg185265.html
Asterisk 1.6.2.7-rc2, Copyright (C) 1999 - 2010 Digium, Inc. and others.
..
*CLI> sip show channels
Peer User/ANR Call ID Format
Hold Last Message Expiry
1.2.3.4 104 b45f77d8-f7789d 0x100 (ulaw) No Rx: ACK
5.6.7.8 1866******* 37e7735e0a294a2 0x4 (ulaw) No Rx: ACK
*CLI> core show channels
Channel Location State Application(Data)
SIP/isp-000000 (None) Up AppDial((Outgoing Line))
SIP/104-00000012 1866*******@outbound: Up Dial(SIP/isp/1866*******
2 active channels
1 active call
*CLI> soft hangup SIP/104-00000012
No such command 'soft hangup SIP/104-00000012' (type 'core show help
soft hangup' for other possible commands)
*CLI> core soft hangup SIP/104-00000012
No such command 'core soft hangup SIP/104-00000012' (type 'core show
help core soft' for other possible commands)
*CLI> sip soft hangup SIP/104-00000012
No such command 'sip soft hangup SIP/104-00000012' (type 'core show
help sip soft hangup' for other possible commands)
*CLI> core stop now
(This stopped the call of course, but also killed asterisk in the process)
More information about the asterisk-users
mailing list