Page 1 of 1

when using sip, i get alot of dropped calls

PostPosted: Thu Apr 19, 2007 2:07 pm
by ckwall
When using a T1 I never had any dropped calls in my vdad report. I am doing adapt hard limit of 1 so that only one number is dialed per avaialble agent. It worked perfectly with a t1. well, i recently switched so that the dialer goes over sip to another server connected to a t1. Now I get about a 7% drop rate. When looking at it, these calls are all dispositon failed with a dialstatus of congestion. they are not actually dialing out and dropping like the definition would imply. I could use some advice on this issue. No output posted. Not sure what to share yet.

thanks

PostPosted: Fri Apr 20, 2007 12:19 pm
by mflorell
What kind of data connection is between you and your SIP carrier?

Does your SIP carrier have a limit to the number of trunks they will allow you to dial out on?

PostPosted: Fri Apr 20, 2007 12:33 pm
by ckwall
the vicidial server is on an internal network connected to another asterisk server which has tdm (PRI) circuits plugged into it. I do not beleive i am limitting any calls.

on an interesting note... I set the campaign to dial with one agent always idle... i still get the dropped calls on the vdad report.

PostPosted: Fri Apr 20, 2007 12:41 pm
by mflorell
Have you tried IAX trunks?

for the dialing, have you tried RATIO dialing with available-only set to Y?

PostPosted: Fri Apr 20, 2007 12:43 pm
by ckwall
no and no... let me try ratio

PostPosted: Fri Apr 20, 2007 2:22 pm
by ckwall
sadly this did not make a difference.

PostPosted: Mon Apr 23, 2007 12:33 pm
by ckwall
here are the settings:

VICIDIAL Campaign: STOP | SLOW | GO MODIFY | SUMMARY | REPORTS
DIAL LEVEL: 1.0 TRUNK SHORT/FILL: 0 / FILTER: NONE TIME: 2007-04-23 11:31:43
- min MAX LEVEL: 1 DROPPED MAX: 3% TARGET DIFF: 0 INTENSITY: 0
DIAL TIMEOUT: 25 TAPER TIME: 2100 LOCAL TIME: 24hours AVAIL ONLY: Y
DIALABLE LEADS: CALLS TODAY: AVG AGENTS: DIAL METHOD: RATIO
HOPPER LEVEL: 10 DROPPED / ANSWERED: / DL DIFF: STATUSES: NEW, , , ,
LEADS IN HOPPER: 8 DROPPED PERCENT: % DIFF: 0.00% ORDER: DOWN
VIEW USER GROUP SHOW AGENT ID HIDE SERVER INFO
1 calls being placed 1 calls ringing 0 calls waiting for agents
2 agents logged in 1 agents in calls 1 agents waiting 0 paused agents

VICIDIAL: Agents Time On Calls Campaign: 6001 2007-04-23 11:31:43

+------------+--------------------+-----------+----------+-----------------+-----------------+---------+------------+
| STATION | USER | SESSIONID | STATUS | SERVER IP | CALL SERVER IP | MM:SS | CAMPAIGN |
+------------+--------------------+-----------+----------+-----------------+-----------------+---------+------------+
| SIP/3570 | 3570 | 8600056 | READY | 10.0.1.180 | | 0:49 | 6001 |
| SIP/3569 | 3569 | 8600055 | INCALL A | 10.0.1.180 | | 9:49 | 6001 |
+------------+--------------------+-----------+----------+-----------------+-----------------+---------+------------+
2 agents logged in on all servers
System Load Average: 0.04


here is the vdad report... I dont understand why i am still getting reports of dropped calls:

VICIDIAL: Auto-dial Stats 2007-04-23 11:27:09

---------- TOTALS
Total Calls placed from this Campaign: 140
Average Call Length for all Calls in seconds: 28.35

---------- DROPS
Total DROP Calls: 3 2.14%
Percent of DROP Calls taken out of Answers: 3 / 68 4.41%
Average Length for DROP Calls in seconds: 5

---------- AUTO-DIAL NO ANSWERS
Total NA calls -Busy,Disconnect,RingNoAnswer: 72 51.43%
Average Call Length for NA Calls in seconds: 1

---------- AGENT STATS
+--------------------------+------------+----------+--------+
| AGENT | CALLS | TIME M | AVRG M |
+--------------------------+------------+----------+--------+
| 3569 - 3569 | 22 | 33:40 | 1:32 |
| 3570 - 3570 | 18 | 29:41 | 1:39 |
+--------------------------+------------+----------+--------+
| TOTAL Agents: 2 | 40 | 63:21 | 1:35 |
+--------------------------+------------+----------+--------+
| Average Wait time between calls 0:44 |
+-----------------------------------------------------------+

---------- TIME STATS


GRAPH IN 15 MINUTE INCREMENTS OF TOTAL CALLS PLACED FROM THIS CAMPAIGN
+------+-------------------------------------------------------------------------------------------------------+-------+-------+
| HOUR |0 3 6 8 11 14 17 21 24 27 30 34 37 40 43 46| DROPS | TOTAL |
+------+-------------------------------------------------------------------------------------------------------+-------+-------+
|+1000+|************X | 0 | 5 |
| 15 |>>>D**********************************************************X | 1 | 28 |
| 30 |*****************************************X | 0 | 18 |
| 45 |******************************************************************************************************X| 0 | 46 |
|+1100+|>>>>>D************************************X | 2 | 19 |
| 15 |******************************************************X | 0 | 24 |
+------+-------------------------------------------------------------------------------------------------------+-------+-------+

PostPosted: Mon Apr 23, 2007 12:40 pm
by ckwall
I dont know if this has anyting to do with it, but I am getting alot of records in my cdr database that look like this:

uniqueid: 1177349422.18486
calldate: 2007-04-23 11:30:22
clid: "V0423113022000245299" <800XXXXXXX>
src: 800XXXXXXX
dst: 9XXXXXXXXXX
dcontext: default
channel: Local/9XXXXXXXXX@default-cbc2,2
dstchannel: SIP/dialer-09cb3138
lastapp: DeadAGI
lastdata: VD_hangup.agi|PRI-----NODEBUG-----34-----CONGESTION----------
duration: 2
billsec: 0
disposition: FAILED
amaflags: 3
accountcode:
userfield:
agentid:
servicetype: NULL
billable: NULL

PostPosted: Tue Apr 24, 2007 11:19 am
by mflorell
I haven't seen this problem before when using another Asterisk server as a gateway, is the other machine using FreePBX or Trixbox by chance?

If it is getting a CONGESTION then it is most likely the gateway machine that is sending it. Can you post the dialplan path or Asterisk CLI output of one of these calls on the gateway?

PostPosted: Tue Apr 24, 2007 11:25 am
by ckwall
I am glad you replied... I needed to come back and post my findings. I took all of the dropped calls and manually dialed them. They are error messages from places like cell providers and phone companies that are answering and saying something, then hanging up. So it acts like a dropped call. Seem like the data is accurate and my research was not.