* You are viewing the archive for July 19th, 2012

Route Incoming Calls

Hi, Let say I have 8 PSTN line on dahdi 1~8. When a call come to dahdi 8, I
want it play a particular IVR and terminate the call. I’m looking at elastix’s GUI but seems no setting about it. Please advice.

Thanks a lot :)

BR, Anam.

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

WOW Offer From DIDX For This Week!!

We are pleased to announce special offer on the Singapore Numbers.

You know Singapore as a country only has a few million people, but one of the highest per Capita Income ?

If you have not Yet started to sell them, HERE is your chance to offer these numbers.

SOOOO…. 20 Singapore numbers for just $50 a month with a one time $50
Setup Fee.

Have questions ? Call me – Or Drop me your number, I will call you :)

+1 <%2B1%20850%20433%208555>850 226 5271

Have a Lovely coming weekend :)

Muneeb Iqbal – (Ricky)
Manager Sales Fb.com/muneebiqbal Skype: JustMuneeb
*
*

Agent Receives Call While Making Calls

Good morning,

I have an asterisk 1.4.43 running here in the company. We are facing the following difficulty. We have one that is responsive in a queue and logs through agents (we still use the AgentCallBackLogin for this). Works perfectly queue receptive.

The problem is now the need to perform also called receptive, and is occurring when they are in an active call, responsive receive calls at the same time. The application queue does not mean that the extension is a active link.

Does anyone have any idea how to solve this problem?

tks, Eduardo