Adapt Not Dialing The correct number of lines

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Adapt Not Dialing The correct number of lines

Postby creativess » Mon Oct 01, 2007 10:20 pm

I have a vicidial server that appears to be operating almost perfectly.


The server is showing inconsistent data and not dialing the correct number of lines. I have the dial level set to an 8:1 ratio and it is delivering about 1 call per minute to the agents. Here is some output from the server.


Server is on a SIP trunk, but it also has a T1 (with worse performance)
It says its dialing 16 calls in the vicidil_auto_calls table, but the dialer is actually only dialing about 1/3 to 1/2 of those calls on average.
When agents log into the dialer for the first wave of calls that goes out it is dialing the correct number of lines. Then after some time, normally less than a minute, the calls drop to about half that. I have tried using all the adapt settings as well as ratio with the same results.

One day last week we had the server set to a 4:1 ratio with 4 agents logged in and with 6 hours of calling each their average calls per hour was 23.

Here are some server details and output.
Asterisk 1.2.18
Pentium 4 3.4 GHZ 2GB RAM 150GB 7200 RPM HD
No recording
Vicidial Version: VERSION: 2.0.129 BUILD: 70322-1545
Max of 4 agents
CentOS 4.4

[root@localhost ~]# screen -r
There are several suitable screens on:
22728.ASTVDauto (Detached)
6465.ASTfastlog (Detached)
22731.ASTVDremote (Detached)
6463.ASTVDadapt (Detached)
22725.ASTlisten (Detached)
22719.ASTupdate (Detached)
22722.ASTsend (Detached)
Type "screen [-d] -r [pid.]tty.host" to resume one of them.


mysql> select * from vicidial_auto_calls;
+--------------+-------------+-------------+--------+---------+--------------------+----------------------+----------------------------+------------+--------------+---------------------+-----------+--------+---------------------+----------+
| auto_call_id | server_ip | campaign_id | status | lead_id | uniqueid | callerid | channel | phone_code | phone_number | call_time | call_type | stage | last_update_time | alt_dial |
+--------------+-------------+-------------+--------+---------+--------------------+----------------------+----------------------------+------------+--------------+---------------------+-----------+--------+---------------------+----------+
| 19462 | 192.168.1.9 | INSITE | SENT | 14540 | NULL | V1001200556000014540 | NULL | 1 | 8188892928 | 2007-10-01 20:05:56 | OUT | START | 2007-10-01 20:05:56 | NONE |
| 19474 | 192.168.1.9 | INSITE | SENT | 14559 | NULL | V1001200650000014559 | NULL | 1 | 8189515162 | 2007-10-01 20:06:50 | OUT | START | 2007-10-01 20:06:50 | NONE |
| 19475 | 192.168.1.9 | INSITE | SENT | 14560 | NULL | V1001200650000014560 | NULL | 1 | 8189516016 | 2007-10-01 20:06:50 | OUT | START | 2007-10-01 20:06:50 | NONE |
| 19476 | 192.168.1.9 | INSITE | SENT | 14561 | NULL | V1001200650000014561 | NULL | 1 | 8189518832 | 2007-10-01 20:06:50 | OUT | START | 2007-10-01 20:06:50 | NONE |
| 19469 | 192.168.1.9 | INSITE | SENT | 14550 | NULL | V1001200627000014550 | NULL | 1 | 8188998444 | 2007-10-01 20:06:27 | OUT | START | 2007-10-01 20:06:27 | NONE |
| 19456 | 192.168.1.9 | INSITE | SENT | 14528 | NULL | V1001200522000014528 | NULL | 1 | 8187182023 | 2007-10-01 20:05:22 | OUT | START | 2007-10-01 20:05:22 | NONE |
| 19480 | 192.168.1.9 | INSITE | SENT | 14567 | NULL | V1001200708000014567 | NULL | 1 | 8189818872 | 2007-10-01 20:07:08 | OUT | START | 2007-10-01 20:07:08 | NONE |
| 19464 | 192.168.1.9 | INSITE | SENT | 14542 | NULL | V1001200556000014542 | NULL | 1 | 8188898384 | 2007-10-01 20:05:56 | OUT | START | 2007-10-01 20:05:56 | NONE |
| 19477 | 192.168.1.9 | INSITE | SENT | 14562 | NULL | V1001200656000014562 | NULL | 1 | 8189519980 | 2007-10-01 20:06:56 | OUT | START | 2007-10-01 20:06:56 | NONE |
| 19473 | 192.168.1.9 | INSITE | SENT | 14557 | NULL | V1001200650000014557 | NULL | 1 | 8189205348 | 2007-10-01 20:06:50 | OUT | START | 2007-10-01 20:06:50 | NONE |
| 19470 | 192.168.1.9 | INSITE | SENT | 14552 | NULL | V1001200627000014552 | NULL | 1 | 8189021802 | 2007-10-01 20:06:27 | OUT | START | 2007-10-01 20:06:27 | NONE |
| 19478 | 192.168.1.9 | INSITE | SENT | 14564 | NULL | V1001200656000014564 | NULL | 1 | 8189521457 | 2007-10-01 20:06:56 | OUT | START | 2007-10-01 20:06:56 | NONE |
| 19481 | 192.168.1.9 | INSITE | SENT | 14568 | NULL | V1001200714000014568 | NULL | 1 | 8189819421 | 2007-10-01 20:07:14 | OUT | START | 2007-10-01 20:07:14 | NONE |
| 19482 | 192.168.1.9 | INSITE | SENT | 14569 | NULL | V1001200714000014569 | NULL | 1 | 8189822272 | 2007-10-01 20:07:14 | OUT | START | 2007-10-01 20:07:14 | NONE |
| 19479 | 192.168.1.9 | INSITE | XFER | 14565 | 1191294429.2012999 | V1001200708000014565 | SIP/64.192.112.13-0a1686e8 | 1 | 8189804085 | 2007-10-01 20:07:08 | OUT | XFER-0 | 2007-10-01 20:07:18 | NONE |
| 19472 | 192.168.1.9 | INSITE | SENT | 14556 | NULL | V1001200635000014556 | NULL | 1 | 8189088950 | 2007-10-01 20:06:35 | OUT | START | 2007-10-01 20:06:35 | NONE |
+--------------+-------------+-------------+--------+---------+--------------------+----------------------+----------------------------+------------+--------------+---------------------+-----------+--------+---------------------+----------+
16 rows in set (0.00 sec)

mysql> select * from live_channels;
+----------------------------+-------------+---------------+-----------+---------------------------+
| channel | server_ip | channel_group | extension | channel_data |
+----------------------------+-------------+---------------+-----------+---------------------------+
| Zap/pseudo-1995083056 | 192.168.1.9 | NULL | ring | SIP/ring |
| SIP/64.192.112.13-0a164860 | 192.168.1.9 | NULL | 8600052 | 8600052 |
| SIP/64.192.112.13-0a1045e0 | 192.168.1.9 | NULL | 8600053 | 8600053 |
| SIP/64.192.112.13-0a13f748 | 192.168.1.9 | NULL | ring | SIP/ring |
| Zap/pseudo-1802199348 | 192.168.1.9 | NULL | ring | SIP/ring |
| SIP/64.192.112.13-0a180250 | 192.168.1.9 | NULL | ring | SIP/ring |
| SIP/64.192.112.13-0a1880b0 | 192.168.1.9 | NULL | agi | agi-VDADtransfer.agi|8365 |
| SIP/64.192.112.13-0a1686e8 | 192.168.1.9 | NULL | ring | SIP/ring |
| SIP/64.192.112.13-0a12c920 | 192.168.1.9 | NULL | ring | SIP/ring |
+----------------------------+-------------+---------------+-----------+---------------------------+
9 rows in set (0.00 sec)


The server appears to be working other than that. Any help would be very appreciated.
creativess
 
Posts: 34
Joined: Sun Mar 25, 2007 5:23 am

Postby mflorell » Mon Oct 01, 2007 10:28 pm

Do you have multiple contexts in your dialplan?

Can we see some Asterisk CLI output of a call that is on the vicidial_auto_calls list but is not live?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby mflorell » Mon Oct 01, 2007 10:29 pm

Do you have multiple contexts in your dialplan?

Can we see some Asterisk CLI output of a call that is on the vicidial_auto_calls list but is not live?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Here is the extensions file

Postby creativess » Mon Oct 01, 2007 10:42 pm

Here is extensions file and some more data...

-- AGI Script agi://192.168.1.9:4577/call_log completed, returning 0
-- Executing AGI("SIP/64.192.112.13-0a14d338", "agi-VDADtransfer.agi|8365")
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
-- AGI Script agi://192.168.1.9:4577/call_log completed, returning 0
-- Executing DeadAGI("Local/19252991151@default-1749,2", "agi://192.168.1.9:n new stack
-- AGI Script agi://192.168.1.9:4577/VD_hangup--HVcau ... NODEBUG---
-- SIP/64.192.112.13-0a13c970 is ringing
-- SIP/64.192.112.13-0a13c970 is making progress passing it to Local/1925314
-- SIP/64.192.112.13-0a13ffa8 answered Local/19252991917@default-bb8f,2
== Manager 'sendcron' logged off from 127.0.0.1
-- Executing AGI("Local/19252991917@default-bb8f,1", "agi://192.168.1.9:4577
-- AGI Script agi://192.168.1.9:4577/call_log completed, returning 0
-- Executing AGI("Local/19252991917@default-bb8f,1", "agi-VDADtransfer.agi|8
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
== Spawn extension (default, 19252991917, 3) exited non-zero on 'Local/1925299
-- Executing DeadAGI("Local/19252991917@default-bb8f,2", "agi://192.168.1.9:
-- AGI Script agi://192.168.1.9:4577/call_log completed, returning 0
-- Executing DeadAGI("Local/19252991917@default-bb8f,2", "agi://192.168.1.9:n new stack
-- AGI Script agi://192.168.1.9:4577/VD_hangup--HVcau ... NODEBUG---
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing AGI("SIP/64.192.112.13-0a13ffa8", "agi-VDADtransfer.agi|8365")
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing MeetMe("SIP/64.192.112.13-0a13ffa8", "8600053") in new stack
-- SIP/64.192.112.13-0a13c970 answered Local/19253141376@default-9c11,2
-- Executing AGI("Local/19253141376@default-9c11,1", "agi://192.168.1.9:4577
== Manager 'sendcron' logged off from 127.0.0.1
-- AGI Script agi://192.168.1.9:4577/call_log completed, returning 0
-- Executing AGI("Local/19253141376@default-9c11,1", "agi-VDADtransfer.agi|8
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
== Spawn extension (default, 19253141376, 3) exited non-zero on 'Local/1925314
-- Executing DeadAGI("Local/19253141376@default-9c11,2", "agi://192.168.1.9:
-- AGI Script agi://192.168.1.9:4577/call_log completed, returning 0
-- Executing DeadAGI("Local/19253141376@default-9c11,2", "agi://192.168.1.9: new stack
-- AGI Script agi://192.168.1.9:4577/VD_hangup--HVcau ... NODEBUG---
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_astguiclient.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing AGI("SIP/64.192.112.13-0a13c970", "agi-VDADtransfer.agi|8365")
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
== Spawn extension (default, 8600052, 1) exited non-zero on 'SIP/64.192.112.13
-- Executing DeadAGI("SIP/64.192.112.13-0a142bc8", "agi://192.168.1.9:4577/c
-- AGI Script agi://192.168.1.9:4577/call_log completed, returning 0
-- Executing DeadAGI("SIP/64.192.112.13-0a142bc8", "agi://192.168.1.9:4577/V
-- AGI Script agi://192.168.1.9:4577/VD_hangup--HVcau ... NODEBUG---
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_astguiclient.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Spawn extension (default, 8600053, 1) exited non-zero on 'SIP/64.192.112.13
-- Executing DeadAGI("SIP/64.192.112.13-0a13ffa8", "agi://192.168.1.9:4577/c
-- AGI Script agi://192.168.1.9:4577/call_log completed, returning 0
-- Executing DeadAGI("SIP/64.192.112.13-0a13ffa8", "agi://192.168.1.9:4577/V
-- AGI Script agi://192.168.1.9:4577/VD_hangup--HVcau ... NODEBUG---
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing MeetMe("SIP/64.192.112.13-0a13c970", "8600052") in new stack
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_astguiclient.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Spawn extension (default, 8600052, 1) exited non-zero on 'SIP/64.192.112.13
-- Executing DeadAGI("SIP/64.192.112.13-0a13c970", "agi://192.168.1.9:4577/c
-- AGI Script agi://192.168.1.9:4577/call_log completed, returning 0
-- Executing DeadAGI("SIP/64.192.112.13-0a13c970", "agi://192.168.1.9:4577/V
-- AGI Script agi://192.168.1.9:4577/VD_hangup--HVcau ... NODEBUG---
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing AGI("SIP/64.192.112.13-0a14d338", "agi-VDADtransfer.agi|8365")
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_astguiclient.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Spawn extension (default, 8365, 3) exited non-zero on 'SIP/64.192.112.13-0a
-- Executing DeadAGI("SIP/64.192.112.13-0a14d338", "agi://192.168.1.9:4577/c
-- AGI Script agi://192.168.1.9:4577/call_log completed, returning 0
-- Executing DeadAGI("SIP/64.192.112.13-0a14d338", "agi://192.168.1.9:4577/V
-- AGI Script agi://192.168.1.9:4577/VD_hangup--HVcau ... NODEBUG---
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_astguiclient.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing Set("Local/19253149522@default-c415,2", "CALLERID(all)=<7149570
-- Executing AGI("Local/19253149522@default-c415,2", "agi://192.168.1.9:4577
-- AGI Script agi://192.168.1.9:4577/call_log completed, returning 0
-- Executing Dial("Local/19253149522@default-c415,2", "SIP/19253149522@64.19
-- Called 19253149522@64.192.112.13
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_astguiclient.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing Set("Local/19253610298@default-455f,2", "CALLERID(all)=<7149570
-- Executing AGI("Local/19253610298@default-455f,2", "agi://192.168.1.9:4577
-- AGI Script agi://192.168.1.9:4577/call_log completed, returning 0
-- Executing Dial("Local/19253610298@default-455f,2", "SIP/19253610298@64.19
-- Called 19253610298@64.192.112.13
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_astguiclient.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing Set("Local/19253614606@default-4dcf,2", "CALLERID(all)=<7149570
-- Executing AGI("Local/19253614606@default-4dcf,2", "agi://192.168.1.9:4577
-- AGI Script agi://192.168.1.9:4577/call_log completed, returning 0
-- Executing Dial("Local/19253614606@default-4dcf,2", "SIP/19253614606@64.19
-- Called 19253614606@64.192.112.13
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
-- SIP/64.192.112.13-0a14d338 is ringing
-- SIP/64.192.112.13-0a14d338 is making progress passing it to Local/1925314
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_astguiclient.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing Set("Local/19253618762@default-fdf1,2", "CALLERID(all)=<7149570
-- Executing AGI("Local/19253618762@default-fdf1,2", "agi://192.168.1.9:4577
-- AGI Script agi://192.168.1.9:4577/call_log completed, returning 0
-- Executing Dial("Local/19253618762@default-fdf1,2", "SIP/19253618762@64.19
-- Called 19253618762@64.192.112.13
-- SIP/64.192.112.13-0a123078 is ringing
-- SIP/64.192.112.13-0a123078 is making progress passing it to Local/1925361
-- SIP/64.192.112.13-0a12bf10 is ringing
-- SIP/64.192.112.13-0a12bf10 is making progress passing it to Local/1925361
-- SIP/64.192.112.13-0a13ce28 is ringing
-- SIP/64.192.112.13-0a13ce28 is making progress passing it to Local/1925361
-- SIP/64.192.112.13-0a14d338 answered Local/19253149522@default-c415,2
== Manager 'sendcron' logged off from 127.0.0.1
-- Executing AGI("Local/19253149522@default-c415,1", "agi://192.168.1.9:4577/call_log") in new stack
-- AGI Script agi://192.168.1.9:4577/call_log completed, returning 0
-- Executing AGI("Local/19253149522@default-c415,1", "agi-VDADtransfer.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
== Spawn extension (default, 19253149522, 3) exited non-zero on 'Local/19253149522@default-c415,2'
-- Executing DeadAGI("Local/19253149522@default-c415,2", "agi://192.168.1.9:4577/call_log") in new stack
-- AGI Script agi://192.168.1.9:4577/call_log completed, returning 0
-- Executing DeadAGI("Local/19253149522@default-c415,2", "agi://192.168.1.9:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----21-----0)") in new stack
-- AGI Script agi://192.168.1.9:4577/VD_hangup--HVcau ... --21-----0) completed, returning 0
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing AGI("SIP/64.192.112.13-0a14d338", "agi-VDADtransfer.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing MeetMe("SIP/64.192.112.13-0a14d338", "8600053") in new stack
== Spawn extension (default, 19253610298, 3) exited non-zero on 'Local/19253610298@default-455f,2'
== Manager 'sendcron' logged off from 127.0.0.1
-- Executing DeadAGI("Local/19253610298@default-455f,2", "agi://192.168.1.9:4577/call_log") in new stack
-- AGI Script agi://192.168.1.9:4577/call_log completed, returning 0
-- Executing DeadAGI("Local/19253610298@default-455f,2", "agi://192.168.1.9:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0-----CANCEL----------)") in new stack
-- AGI Script agi://192.168.1.9:4577/VD_hangup--HVcau ... ----------) completed, returning 0
== Spawn extension (default, 19253614606, 3) exited non-zero on 'Local/19253614606@default-4dcf,2'
== Manager 'sendcron' logged off from 127.0.0.1
-- Executing DeadAGI("Local/19253614606@default-4dcf,2", "agi://192.168.1.9:4577/call_log") in new stack
-- AGI Script agi://192.168.1.9:4577/call_log completed, returning 0
-- Executing DeadAGI("Local/19253614606@default-4dcf,2", "agi://192.168.1.9:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0-----CANCEL----------)") in new stack
-- AGI Script agi://192.168.1.9:4577/VD_hangup--HVcau ... ----------) completed, returning 0
== Manager 'sendcron' logged off from 127.0.0.1
== Spawn extension (default, 19253618762, 3) exited non-zero on 'Local/19253618762@default-fdf1,2'
-- Executing DeadAGI("Local/19253618762@default-fdf1,2", "agi://192.168.1.9:4577/call_log") in new stack
-- AGI Script agi://192.168.1.9:4577/call_log completed, returning 0
-- Executing DeadAGI("Local/19253618762@default-fdf1,2", "agi://192.168.1.9:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0-----CANCEL----------)") in new stack
-- AGI Script agi://192.168.1.9:4577/VD_hangup--HVcau ... ----------) completed, returning 0
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_astguiclient.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Spawn extension (default, 8600053, 1) exited non-zero on 'SIP/64.192.112.13-0a14d338'
-- Executing DeadAGI("SIP/64.192.112.13-0a14d338", "agi://192.168.1.9:4577/call_log") in new stack
-- AGI Script agi://192.168.1.9:4577/call_log completed, returning 0
-- Executing DeadAGI("SIP/64.192.112.13-0a14d338", "agi://192.168.1.9:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0---------------)") in new stack
-- AGI Script agi://192.168.1.9:4577/VD_hangup--HVcau ... ----------) completed, returning 0
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_astguiclient.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing Set("Local/19253651283@default-cae0,2", "CALLERID(all)=<7149570487>") in new stack
-- Executing AGI("Local/19253651283@default-cae0,2", "agi://192.168.1.9:4577/call_log") in new stack
-- AGI Script agi://192.168.1.9:4577/call_log completed, returning 0
-- Executing Dial("Local/19253651283@default-cae0,2", "SIP/19253651283@64.192.112.13||tTo") in new stack
-- Called 19253651283@64.192.112.13
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_astguiclient.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_astguiclient.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
-- SIP/64.192.112.13-0a14d338 is making progress passing it to Local/19253651283@default-cae0,2
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_astguiclient.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing Set("Local/19253707076@default-03f9,2", "CALLERID(all)=<7149570487>") in new stack
-- Executing AGI("Local/19253707076@default-03f9,2", "agi://192.168.1.9:4577/call_log") in new stack
-- AGI Script agi://192.168.1.9:4577/call_log completed, returning 0
-- Executing Dial("Local/19253707076@default-03f9,2", "SIP/19253707076@64.192.112.13||tTo") in new stack
-- Called 19253707076@64.192.112.13







mysql> select * from vicidial_auto_calls;
+--------------+-------------+-------------+--------+---------+--------------------+----------------------+----------------------------+------------+--------------+---------------------+-----------+--------+---------------------+----------+
| auto_call_id | server_ip | campaign_id | status | lead_id | uniqueid | callerid | channel | phone_code | phone_number | call_time | call_type | stage | last_update_time | alt_dial |
+--------------+-------------+-------------+--------+---------+--------------------+----------------------+----------------------------+------------+--------------+---------------------+-----------+--------+---------------------+----------+
| 19757 | 192.168.1.9 | INSITE | XFER | 14915 | 1191296126.2864001 | V1001203526000014915 | SIP/64.192.112.13-0a14d338 | 1 | 9253149522 | 2007-10-01 20:35:26 | OUT | XFER-0 | 2007-10-01 20:35:48 | NONE |
| 19758 | 192.168.1.9 | INSITE | SENT | 14916 | NULL | V1001203526000014916 | NULL | 1 | 9253610298 | 2007-10-01 20:35:26 | OUT | START | 2007-10-01 20:35:26 | NONE |
| 19759 | 192.168.1.9 | INSITE | SENT | 14917 | NULL | V1001203526000014917 | NULL | 1 | 9253614606 | 2007-10-01 20:35:26 | OUT | START | 2007-10-01 20:35:26 | NONE |
| 19760 | 192.168.1.9 | INSITE | SENT | 14918 | NULL | V1001203529000014918 | NULL | 1 | 9253618762 | 2007-10-01 20:35:29 | OUT | START | 2007-10-01 20:35:29 | NONE |
| 19745 | 192.168.1.9 | INSITE | SENT | 14903 | NULL | V1001203404000014903 | NULL | 1 | 9252611098 | 2007-10-01 20:34:04 | OUT | START | 2007-10-01 20:34:04 | NONE |
| 19751 | 192.168.1.9 | INSITE | SENT | 14909 | NULL | V1001203450000014909 | NULL | 1 | 9252949476 | 2007-10-01 20:34:50 | OUT | START | 2007-10-01 20:34:50 | NONE |
| 19755 | 192.168.1.9 | INSITE | SENT | 14913 | NULL | V1001203508000014913 | NULL | 1 | 9253140562 | 2007-10-01 20:35:08 | OUT | START | 2007-10-01 20:35:08 | NONE |
| 19750 | 192.168.1.9 | INSITE | SENT | 14908 | NULL | V1001203447000014908 | NULL | 1 | 9252847481 | 2007-10-01 20:34:47 | OUT | START | 2007-10-01 20:34:47 | NONE |
+--------------+-------------+-------------+--------+---------+--------------------+----------------------+----------------------------+------------+--------------+---------------------+-----------+--------+---------------------+----------+
8 rows in set (0.00 sec)

mysql> select * from live_channels;
+----------------------------+-------------+---------------+-----------+--------------+
| channel | server_ip | channel_group | extension | channel_data |
+----------------------------+-------------+---------------+-----------+--------------+
| Zap/pseudo-1995083056 | 192.168.1.9 | NULL | ring | SIP/ring |
| SIP/64.192.112.13-0a164860 | 192.168.1.9 | NULL | 8600052 | 8600052 |
| SIP/64.192.112.13-0a1045e0 | 192.168.1.9 | NULL | 8600053 | 8600053 |
| SIP/64.192.112.13-0a14d338 | 192.168.1.9 | NULL | ring | SIP/ring |
| Zap/pseudo-1802199348 | 192.168.1.9 | NULL | ring | SIP/ring |
+----------------------------+-------------+---------------+-----------+--------------+
5 rows in set (0.00 sec)




Extensions.conf...
this is the only context I am aware of.

exten => _X.,1,Set(CALLERID(all)=<7149570487>)
exten => _X.,2,AGI(agi://192.168.1.9:4577/call_log)
;exten => _X.,3,Dial(${TRUNKX}/${EXTEN},,tTo)
exten => _X.,3,Dial(SIP/${EXTEN}@64.192.112.13,,tTo)
creativess
 
Posts: 34
Joined: Sun Mar 25, 2007 5:23 am

Anyone Have any ideas?

Postby creativess » Tue Oct 02, 2007 7:08 pm

Any help would be very much appreciated.
creativess
 
Posts: 34
Joined: Sun Mar 25, 2007 5:23 am

Postby peacy » Wed Oct 03, 2007 2:19 am

Please post the full contents of the [default] context. (not just the dial out part).

Also, you shouldn't change the callerid in your dialplan. You have to specify it on the campaign configuration screen.
peacy
 
Posts: 55
Joined: Thu Jul 05, 2007 1:46 pm
Location: UK

Postby ramindia » Wed Oct 03, 2007 11:37 am

Hi

exten => _X.,1,Set(CALLERID(all)=<7149570487>)
exten => _X.,2,AGI(agi://192.168.1.9:4577/call_log)
;exten => _X.,3,Dial(${TRUNKX}/${EXTEN},,tTo)
exten => _X.,3,Dial(SIP/${EXTEN}@64.192.112.13,,tTo)


_X. is the not the formal way of doing

asteriks catches everything, i had some time back some problem
with _X. then later change to specific dial plan match like

_91 USA and _9011 for international ( depends on the provider accept the prefix dial or ENUM)

and Strip 9, so its easy.

If you are using multiple servers. like registering agent with one box
then sip peering with other box.

try all in one server first and see the performance meet your requirement
and then split the servers depends on you requirements

ram
Kindly post your feedback, if this solution works.
so its very usefull for others who join later as a NEWBIE.
ramindia
 
Posts: 688
Joined: Wed Oct 11, 2006 4:06 am
Location: India

NEVER FOUND THE CAUSE

Postby creativess » Wed Oct 17, 2007 12:33 pm

We investigated this pretty thoroughly and we wiped the system and resinstalled and it took care of it. Must have made a mistake while installing.
creativess
 
Posts: 34
Joined: Sun Mar 25, 2007 5:23 am


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 77 guests