autodialing

All installation and configuration problems and questions

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

autodialing

Postby Aminovsky » Wed Feb 14, 2007 1:04 pm

hi

i have i problem with autodialing ( predictive dialing) :


== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing AGI("Local/98597804@default-9bcd,2", "call_log.agi|98597804") i n new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/call_log.agi
-- AGI Script call_log.agi completed, returning 0
-- Executing Dial("Local/98597804@default-9bcd,2", "Zap/1/98597804&Zap/2/985 97804&Zap/3/98597804&Zap/4/98597804&Zap/5/98597804&Zap/8/98597804|55|tTo") in ne w stack
-- Called 1/98597804
-- Called 2/98597804
-- Called 3/98597804
-- Called 4/98597804
-- Called 5/98597804
-- Called 8/98597804
-- Zap/1-1 answered Local/98597804@default-9bcd,2
-- Hungup 'Zap/8-1'
-- Hungup 'Zap/5-1'
-- Hungup 'Zap/4-1'
-- Hungup 'Zap/3-1'
-- Hungup 'Zap/2-1'
> Channel Local/98597804@default-9bcd,1 was answered.
-- Executing AGI("Local/98597804@default-9bcd,1", "call_log.agi|8365") in ne w stack
== Manager 'sendcron' logged off from 127.0.0.1
-- Launched AGI Script /var/lib/asterisk/agi-bin/call_log.agi
== Spawn extension (default, 98597804, 2) exited non-zero on 'Local/98597804@d efault-9bcd,2'
-- Executing DeadAGI("Local/98597804@default-9bcd,2", "call_log.agi|h") in n ew stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/call_log.agi
-- AGI Script call_log.agi completed, returning 0
-- Executing DeadAGI("Local/98597804@default-9bcd,2", "VD_hangup.agi|PRI---- -NODEBUG-----16-----ANSWER-----5-----1") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/VD_hangup.agi
-- AGI Script VD_hangup.agi completed, returning 0
-- AGI Script call_log.agi completed, returning 0
-- Executing AGI("Zap/1-1", "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 AGI("Zap/1-1", "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 AGI("Zap/1-1", "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 Hangup("Zap/1-1", "") in new stack
== Spawn extension (default, 8365, 5) exited non-zero on 'Zap/1-1'
-- Executing DeadAGI("Zap/1-1", "call_log.agi|h") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/call_log.agi
-- AGI Script call_log.agi completed, returning 0
-- Executing DeadAGI("Zap/1-1", "VD_hangup.agi|PRI-----NODEBUG-----16------- --------") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/VD_hangup.agi
-- AGI Script VD_hangup.agi completed, returning 0
-- Hungup 'Zap/1-1'
Aminovsky
 
Posts: 20
Joined: Wed Nov 15, 2006 12:40 pm

Postby mflorell » Wed Feb 14, 2007 1:31 pm

How and why are you doing this?:

Executing Dial("Local/98597804@default-9bcd,2", "Zap/1/98597804&Zap/2/985 97804&Zap/3/98597804&Zap/4/98597804&Zap/5/98597804&Zap/8/98597804|55|tTo") in new stack
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby Aminovsky » Thu Feb 15, 2007 2:29 am

i have 8 phone zap .

dialplan :

at the first dialing, the call must pass through zap1.
at the second dialing, if zap1 busy then the call must pass through zap2, ...
so on ...
Aminovsky
 
Posts: 20
Joined: Wed Nov 15, 2006 12:40 pm

Postby gerski » Thu Feb 15, 2007 4:38 am

what is zap configured to? is it fxs? post your dialplan for outbound in extensions.conf
gerski
 
Posts: 432
Joined: Fri Jul 14, 2006 6:21 am

Postby Aminovsky » Thu Feb 15, 2007 4:45 am

yes it's fxs,

this is my dialplan :
;------------------------ --------------------------------------
exten => _9XXXXXXX,1,AGI(call_log.agi,${EXTEN})
exten => _9XXXXXXX,2,Dial(${TRUNK1}/${EXTEN}&${TRUNK2}/${EXTEN}&${TRUNK3}/${EXTEN}&${TRUNK4}/${EXTEN}&${TRUNK5}/${EXTEN}&${TRUNK8}/${EXTEN},55,tTo)
exten => _9XXXXXXX,3,Hangup

;------------------------ --------------------------------------
exten => _2XXXXXXX,1,AGI(call_log.agi,${EXTEN})
exten => _2XXXXXXX,2,Dial(${TRUNK1}/${EXTEN}&${TRUNK2}/${EXTEN}&${TRUNK3}/${EXTEN}&${TRUNK4}/${EXTEN}&${TRUNK5}/${EXTEN}&${TRUNK8}/${EXTEN},55,tTo)
exten => _2XXXXXXX,3,Hangup

;------------------------ --------------------------------------
exten => _7XXXXXXX,1,AGI(call_log.agi,${EXTEN})
exten => _7XXXXXXX,2,Dial(${TRUNK1}/${EXTEN},55,tTo)
exten => _7XXXXXXX,3,Hangup
;-------------------------------------------------------------- CALL INTERNATIONAL --------------------

exten => _0033.,1,AGI(call_log.agi,${EXTEN})
exten => _0033.,2,Dial(${TRUNKIAX2}/${EXTEN},55,tTo)
exten => _0033.,3,Hangup
Aminovsky
 
Posts: 20
Joined: Wed Nov 15, 2006 12:40 pm

Postby gerski » Thu Feb 15, 2007 4:47 am

what are your trunks? is it pri? you can define it group so it can randomly send to those trunks..
gerski
 
Posts: 432
Joined: Fri Jul 14, 2006 6:21 am

Postby Aminovsky » Thu Feb 15, 2007 5:20 am

trunks ::

[globals]
CONSOLE=Console/dsp ; Console interface for demo
TRUNK1=Zap/1
TRUNK2=Zap/2
TRUNK3=Zap/3
TRUNK4=Zap/4
TRUNK5=Zap/5
TRUNK8=Zap/8
Aminovsky
 
Posts: 20
Joined: Wed Nov 15, 2006 12:40 pm

Postby mflorell » Thu Feb 15, 2007 7:21 am

I would not recommend using POTS phone lines for VICIDIAL. There are all sorts of problems in call status detection that you will run into. If you cannot get some kind of T1/E1 you are much better off using SIP or IAX VOIP trunks.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby Aminovsky » Thu Feb 15, 2007 7:42 am

we cant use now E1 nor IAX nor SIP Trunk, we ordered an E1 card, but now we must start to use TDM400P card until we get the new one.
Aminovsky
 
Posts: 20
Joined: Wed Nov 15, 2006 12:40 pm

Postby Aminovsky » Thu Feb 15, 2007 11:05 am

when i start a campaign it whork if the status is manual but it dosn't when the status is automatique " predictive " :(
Aminovsky
 
Posts: 20
Joined: Wed Nov 15, 2006 12:40 pm

Using Groups

Postby jonsolbg » Mon Feb 19, 2007 2:04 pm

Hi, I think your problem is in asterisk and not the vicidial.

For that you wanted to do you must define the trunk like this:
TRUNK=Zap/r1

The r means: use a round-robin search, starting at the next highest channel than last
; time (aka. ascending rotary hunt group).
So if you have 8 channels you'll dial the first, then the second and so on untill start again with the first.

In every channel definition you must set the group, for instance:

group=1
signalling=fxs_ks
context=any_context
channel=3

group=1
signalling=fxs_ks
context=any_context
channel=2

group=1
signalling=fxs_ks
context=any_context
channel=4

So, you'll have 3 channels and every one of them will have its turn to be gateway.
jonsolbg
 
Posts: 18
Joined: Tue Feb 13, 2007 4:53 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 81 guests