Error "is not a known channel"

Hi, I am using asterisk 13.30.0 on Debian 10
suddenly one of my channels stuck and I don’t know why
then I want to hangup channel with the command "channel request hangup " and I got error :
is not a known channel

can you please tell me why I got this error?

1 Like

Can anyone help me with this situation please?

1 Like

On the basis of the limited information provided: Because you entered the wrong channel name.

1 Like

No, I did it right way
I can tell you any information you want, just tell me

1 Like

Is the channel still active (in a call, you can still send / receive audio)? Or has the channel been hung up already, but still appears in the list of active channels?

1 Like

I have the same problem, and channel already hanged up

channel already hanged up

Then why do you want to hangup this channel, which (after hangup) does not exist anymore?
With that command, you can send a hangup request to a channel which still exists and you want to disconnect.

Maybe you are confusing the channels?
Normally, you have two channels: One from the caller, one from the callee. If one of these channels still exist, after either caller or callee hung up, you can only disconnect this one still existing channels (see “core show channels concise”) and get the correct name of that channel you want to disconnect.

1 Like

I meant the existence of only one channel and that channel will not be interrupted
but I don’t have it because I restart asterisk before

@lordgurke @bford @david551
look at these photos please

no one doesn’t know the problem?

anyyyyyyyyone? really?
such a simple thing
its a bug?

It means that something, somewhere, is holding on to a channel reference. Where that is, why, noone can say. It could be in chan_sip for example in some off-nominal, or some other place based on how you are using Asterisk.

1 Like

Thank you for reply,
How can I find it?
I can give you any log if you want to solved the problem

You can file an issue[1] but you’d need to try to isolate it further and eliminate chan_sip, as that is community supported. If the problem still exists with chan_pjsip then you’d need to provide a configuration that reproduces the issue or information on how things are exactly being used.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.