Channel Is Rsrvd And Does Not Turn Off

Hi list.

I have Asterisk installed on a Debian 1.8 6 64-bit.

What happens is the following, some channels are not being hangup properly. They run the hangup in dialplan, but the output of the command “core show channels” shows several channels with status “rsrvd.” Checking the server’s memory, the “top” command shows multiple processes and stopped using the Asterisk server memory.

I tried to shut down the channels with the command “channel request hangup Khomp_SMS/B0C2-0″ (Khomp_SMS/B0C2-0 the channel is locked), but nothing happens. I can only release these channels when I restart asterisk.

Can one imagine what might be happening?


*Output of command “core show channels”:*
*
*
charger*CLI> core show channels Channel Location State Application(Data)
Khomp_SMS/B0C2-0 s@khomp-sms:1 Rsrvd (None)
Khomp_SMS/B0C1-0 s@khomp-sms:1 Rsrvd (None)
Khomp_SMS/B0C1-0 s@khomp-sms:1 Rsrvd (None)
Khomp_SMS/B0C1-0 s@khomp-sms:1 Rsrvd (None)
Khomp_SMS/B0C1-0 s@khomp-sms:1 Rsrvd (None)
Khomp_SMS/B0C1-0 s@khomp-sms:1 Rsrvd (None)
Khomp_SMS/B0C1-0 s@khomp-sms:1 Rsrvd (None)
Khomp_SMS/B0C1-0 s@khomp-sms:1 Rsrvd (None)
Khomp_SMS/B0C1-0 s@khomp-sms:1 Rsrvd (None)
Khomp_SMS/B0C1-0 s@khomp-sms:1 Rsrvd (None)
Khomp_SMS/B0C1-0 s@khomp-sms:1 Rsrvd (None)
Khomp/B0C1-0.0 (None) Up AppDial((Outgoing Line))
SIP/9549-00000f2c s@macro-dialout-trun Up Dial(Khomp/*gebs/99451060,300,
13 active channels
1 active call
4884 calls processed


*Here’s the context:*

context khomp-sms {
s => {
Noop(Mensagem recebida);
Noop(Tipo de mensagem: ${KSmsType});
if( “${KSmsType}” = “confirm” ) {
Noop(Mensagem de confirmacao de entrega);
Agi(confirmation.py);
if( “${AGISTATUS}” = “SUCCESS”) {
Log(NOTICE,AGI executado com sucesso);
} else {
Log(WARNING,Problema ao executar AGI – Status:
${AGISTATUS});
}
}
Hangup();
}
h => { Hangup(); }
}


*Follow the logs of the channel:*

[2012-07-19 10:15:26] VERBOSE[554] pbx.c: — Executing [s@khomp-sms:1]
NoOp(“Khomp_SMS/B0C0-0″, “Mensagem recebida”) in new stack
[2012-07-19 10:15:26] VERBOSE[554] pbx.c: — Executing [s@khomp-sms:2]
NoOp(“Khomp_SMS/B0C0-0″, “Tipo de mensagem: confirm”) in new stack
[2012-07-19 10:15:26] VERBOSE[554] pbx.c: — Executing [s@khomp-sms:3]
GotoIf(“Khomp_SMS/B0C0-0″, “1?4:11″) in new stack
[2012-07-19 10:15:26] VERBOSE[554] pbx.c: — Goto (khomp-sms,s,4)
[2012-07-19 10:15:26] VERBOSE[554] pbx.c: — Executing [s@khomp-sms:4]
NoOp(“Khomp_SMS/B0C0-0″, “Mensagem de confirmacao de entrega”) in new stack
[2012-07-19 10:15:26] VERBOSE[554] pbx.c: — Executing [s@khomp-sms:5]
AGI(“Khomp_SMS/B0C0-0″, “confirmation.py”) in new stack
[2012-07-19 10:15:26] VERBOSE[554] res_agi.c: — AGI
Script confirmation.py completed, returning 0
[2012-07-19 10:15:26] VERBOSE[554] pbx.c: — Executing [s@khomp-sms:6]
GotoIf(“Khomp_SMS/B0C0-0″, “1?7:9″) in new stack
[2012-07-19 10:15:26] VERBOSE[554] pbx.c: — Goto (khomp-sms,s,7)
[2012-07-19 10:15:26] VERBOSE[554] pbx.c: — Executing [s@khomp-sms:7]
Log(“Khomp_SMS/B0C0-0″, “NOTICE,AGI executado com sucesso”) in new stack
[2012-07-19 10:15:26] NOTICE[554] Ext. s: AGI executado com sucesso
[2012-07-19 10:15:26] VERBOSE[554] pbx.c: — Executing [s@khomp-sms:8]
Goto(“Khomp_SMS/B0C0-0″, “10″) in new stack
[2012-07-19 10:15:26] VERBOSE[554] pbx.c: — Goto (khomp-sms,s,10)
[2012-07-19 10:15:26] VERBOSE[554] pbx.c: — Executing [s@khomp-sms:10]
NoOp(“Khomp_SMS/B0C0-0″, “Finish if_if_khomp-sms_335_336″) in new stack
[2012-07-19 10:15:26] VERBOSE[554] pbx.c: — Executing [s@khomp-sms:11]
NoOp(“Khomp_SMS/B0C0-0″, “Finish if_khomp-sms_335″) in new stack
[2012-07-19 10:15:26] VERBOSE[554] pbx.c: — Executing [s@khomp-sms:12]
Hangup(“Khomp_SMS/B0C0-0″, “”) in new stack
[2012-07-19 10:15:26] VERBOSE[554] pbx.c: == Spawn extension (khomp-sms, s, 12) exited non-zero on ‘Khomp_SMS/B0C0-0′
[2012-07-19 10:15:26] VERBOSE[554] pbx.c: — Executing [h@khomp-sms:1]
Hangup(“Khomp_SMS/B0C0-0″, “”) in new stack
[2012-07-19 10:15:26] VERBOSE[554] pbx.c: == Spawn extension (khomp-sms, h, 1) exited non-zero on ‘Khomp_SMS/B0C0-0′
[2012-07-19 12:45:23] VERBOSE[554] asterisk.c: — Remote UNIX
connection disconnected


I appreciate any help!

Best regards

Rodrigo Lang

3 Responses to “Channel Is Rsrvd And Does Not Turn Off”

  1. Kevin P. said:

    Jul 19, 12 at 3:58 pm

    You will probably need to ask the person(s) who made the channel driver you are using, since it’s not part of Asterisk itself.

  2. Rodrigo Lang said:

    Jul 20, 12 at 7:05 am

    Hi Kevin.

    Thanks for the reply, can probably be just that. I’ll contact the support that made ​​the driver. In fact I sent the email to see if anyone has gone through a similar situation and give tips.

    Thank you, Rodrigo Lang.

    2012/7/19 Kevin P. Fleming


    Rodrigo Lang

  3. Rodrigo Lang said:

    Jul 20, 12 at 9:44 am

    I checked with the plate holder and really is a driver error.

    Thanks, Rodrigo Lang.

    2012/7/20 Rodrigo Lang


    Rodrigo Lang