Stuck Channel - Is the dial plan the cause?

I have had the following problem for many Asterisk versions from 13 to now 20.

I have the following stuck channel that always appear on my systems.

Channel Location State Application(Data)
Message/ast_msg_queue s-Cell@check-barring:5 Up Hangup()

Below is the part of the dial plan:

    exten => s-Cell,1,NoOp(The number is a cell number)
    exten => s-Cell,n,GotoIf($["${FORWARDING}"="yes"]?s-Cell,6)
    exten => s-Cell,n,GotoIf($[${ODBC_barringcellular(${EXT})}=yes]?s-Cell,6)
    exten => s-Cell,n,Playback(feature-not-avail-line)
    exten => s-Cell,n,Hangup
    exten => s-Cell,n,NoOp(User is Allowed to call Cellphones)
    exten => s-Cell,n,Return()

Any suggestions as to how to fix it, it’s doesn’t really affect the system or performance.

That’s for text messaging. The channel will always exist once at least one out of dialog text message occurs. Endpoints should be configured, though, to send out of dialog messages to a context strictly for text messaging as it won’t work with contexts that handle voice calls and will appear like this.

1 Like

If you don’t use out bound of sip messages handling, you can work around this channel creation by specifying non existent message context in pjsip endpoint.

Asterisk will then reject sip message by 4xx cause and channel will not be created

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