Problems with phantom calls in Asterisk queues.

seaq

Joined
Sep 17, 2008
Messages
41
Likes
0
Points
0
#1
Hello friends;

I have a fairly serious problem with incoming calls from the PSTN to my Elastix PBX, which arrive to the IVR and then to the first of 3 queues which was configured for the incoming calls.

The point is that at any time, a call appears exceeding the limit of time on waiting set out for each queue, which causes blockage of the queue initially, then make that the PBX locks up completely.

Information of the problem:

STATE OF THE QUEUES: where there is a waiting call on Channel 36 with nearly 45 minutes of delay, when the maximum waiting in the queue is 5 minutes.

pbx*CLI> queue show
703 has 0 calls (max unlimited) in 'ringall' strategy (1s holdtime), W:0, C:1, A:0, SL:0.0% within 0s
Members:
Local/1105@from-internal/n (In use) has taken 1 calls (last was 1572 secs ago)
Local/1106@from-internal/n (Not in use) has taken no calls yet
Local/1103@from-internal/n (In use) has taken no calls yet
Local/1107@from-internal/n (In use) has taken no calls yet
Local/1101@from-internal/n (Not in use) has taken no calls yet
No Callers
pbx*CLI>
702 has 1 calls (max unlimited) in 'ringall' strategy (0s holdtime), W:0, C:0, A:8, SL:0.0% within 0s
Members:
Local/1105@from-internal/n (In use) has taken no calls yet
Local/1106@from-internal/n (Not in use) has taken no calls yet
Local/1103@from-internal/n (In use) has taken no calls yet
Local/1107@from-internal/n (In use) has taken no calls yet
Local/1101@from-internal/n (Not in use) has taken no calls yet
Callers:
1. Zap/36-1 (wait: 44:46, prio: 0)
pbx*CLI>
701 has 1 calls (max unlimited) in 'ringall' strategy (3s holdtime), W:0, C:12, A:0, SL:0.0% within 0s
Members:
Local/1105@from-internal/n (In use) has taken 4 calls (last was 58 secs ago)
Local/1106@from-internal/n (Not in use) has taken 1 calls (last was 1193 secs ago)
Local/1103@from-internal/n (In use) has taken 2 calls (last was 1155 secs ago)
Local/1107@from-internal/n (In use) has taken 3 calls (last was 416 secs ago)
Local/1101@from-internal/n (Not in use) has taken no calls yet
Callers:
1. Zap/6-1 (wait: 2:11, prio: 0)
pbx*CLI>
default has 0 calls (max unlimited) in 'ringall' strategy (0s holdtime), W:0, C:0, A:0, SL:0.0% within 0s
No Members
No Callers


locked channel's status:

pbx*CLI> zap show channel 36
Channel: 36
File Descriptor: 49
Span: 2
Extension: s
Dialing: no
Context: from-pstn
Caller ID:
Calling TON: 0
Caller ID name:
Destroy: 0
InAlarm: 0
Signalling Type: ISDN PRI
Radio: 0
Owner: Zap/36-1
Real: Zap/36-1 (Linear)
Callwait: <None>
Threeway: <None>
Confno: -1
Propagated Conference: -1
Real in conference: 0
DSP: yes
Relax DTMF: no
Dialing/CallwaitCAS: 0/0
Default law: alaw
Fax Handled: no
Pulse phone: no
Echo Cancellation: 128 taps unless TDM bridged, currently ON
PRI Flags:
PRI Logical Span: Implicit
Actual Confinfo: Num/0, Mode/0x0000
Actual Confmute: No
Hookstate (FXS only): Onhook


This is a correct channel:

pbx*CLI> zap show channel 62
Channel: 62
File Descriptor: 74
Span: 2
Extension: s
Dialing: no
Context: from-pstn
Caller ID:
Calling TON: -1
Caller ID name:
Destroy: 0
InAlarm: 0
Signalling Type: ISDN PRI
Radio: 0
Owner: Zap/62-1
Real: Zap/62-1
Callwait: <None>
Threeway: <None>
Confno: -1
Propagated Conference: -1
Real in conference: 0
DSP: yes
Relax DTMF: no
Dialing/CallwaitCAS: 0/0
Default law: alaw
Fax Handled: no
Pulse phone: no
Echo Cancellation: 128 taps unless TDM bridged, currently ON
PRI Flags: Call
PRI Logical Span: Implicit
Actual Confinfo: Num/0, Mode/0x0000
Actual Confmute: No
Hookstate (FXS only): Onhook


STATE OF CHANNELS: Please note that not appears the Zap Channel 36:

pbx*CLI> show channels
Channel Location State Application(Data)
Zap/33-1 400@from-pstn:1 Ringing AppDial((Outgoing Line))
SIP/1211-b733bb38 s@macro-dialout-trun Ring Dial(ZAP/g1/400|300|)
SIP/11031-b6e3bcb8 1103@Normal:1 Ringing AppDial((Outgoing Line))
Local/1103@from-inte s@macro-dial:7 Ring Dial(SIP/11031|20|m(acc_1)tM(a
Local/1103@from-inte 701@from-internal:1 Down AppQueue((Outgoing Line))
Zap/7-1 (None) Up AppDial((Outgoing Line))
SIP/1309-b73562e8 s@macro-dialout-trun Up Dial(ZAP/g0/3333167|300|)
SIP/1382-08af41f8 (None) Up AppDial((Outgoing Line))
SIP/1320-b7316db0 s@macro-dial:7 Up Dial(SIP/1382||tr)
Zap/5-1 (None) Up AppDial((Outgoing Line))
SIP/11103-b732f098 s@macro-dialout-trun Up Dial(ZAP/g0/2938298|300|)
SIP/1361-08b96948 1361@Normal:1 Ringing AppDial((Outgoing Line))
Zap/61-1 s@macro-dial:7 Up Dial(SIP/1361||tr)
Zap/62-1 s-CONGESTION@macro-e Up Congestion(10)
Zap/1-1 (None) Up AppDial((Outgoing Line))
SIP/11105-b7345588 s@macro-dialout-trun Up Dial(ZAP/g0/4204626|300|)
Zap/4-1 (None) Up AppDial((Outgoing Line))
SIP/11101-b7318ee8 s@macro-dialout-trun Up Dial(ZAP/g0/2615751|300|)
SIP/1361-08c90c08 1361@Normal:1 Ringing AppDial((Outgoing Line))
Zap/32-1 s@macro-dial:7 Up Dial(SIP/1361||tr)
Zap/6-1 701@ext-queues:10 Up Queue(701|t|||600)
SIP/1361-08c72090 (None) Up AppDial((Outgoing Line))
Zap/34-1 s@macro-dial:7 Up Dial(SIP/1361||tr)
SIP/11107-b680cbb8 (None) Up AppDial((Outgoing Line))
Local/1107@from-inte s@macro-dial:7 Up Dial(SIP/11107|20|m(acc_1)tM(a
Local/1107@from-inte 701@from-internal:1 Up AppQueue((Outgoing Line))
Zap/2-1 701@ext-queues:10 Up Queue(701|t|||600)
Zap/39-1 (None) Up AppDial((Outgoing Line))
Zap/3-1 s@macro-dialout-trun Up Dial(ZAP/g1/506|300|)
SIP/11109-b6e28670 555@Avanzado:4 Up ChanSpy()
SIP/11051-b7303be0 1105@Avanzado:1 Ringing AppDial((Outgoing Line))


The Call waiting blocked, cause that the queue where it is located, it's also blocked; and at the end, finish hanging the whole Asterisk PBX.

I have to kill bad, the Asterisk processes with the following instruction:

killall -9 asterisk

Asterisk automatically recovers trhough "asterisk-save". But it cuts the calls in course, that which impairs the users and harms the good performance of the company.

On the WEB, i found a parameter for silence's detection and auto hangingup to SIP channels:

silencedetecthangup=45

I have it set to 5 in sip_custom.conf and globals_custom.conf:

silencedetecthangup=5

However, hasn't given the expected result.


Also I activated the lines to detect busy tone into zapata.conf:

;Uncomment these lines if you have problems with the disconection of your analog lines
busydetect=yes
busycount=3

Also I found en Elastix forum a similar solution (http://www.elastix.org/index.php?option ... 5925#20874), as following:

;Uncomment these lines if you have problems with the disconection of your analog lines
; (According to Telefonica)
answeronpolarityswitch=yes
hanguponpolarityswitch=yes

But this hint is for analog lines and not for digital lines.


I've installed a PRI E1 with a DIGIUM TE220B Card, Elastix 1.3 under RedHat EL 5.1. All on a Hewlett Packard DL380 Server.


¿Howto I can to solve this problem?


Thankyou for your help.


Greetings.
 

seaq

Joined
Sep 17, 2008
Messages
41
Likes
0
Points
0
#2
I've noticed that the phenomenom appears with more intensity when the FOP is activated. But the problem persists.

Any suggestions?
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,887
Members
17,565
Latest member
omarmenichetti
Top