Hi All,

I setup auto dial on my asterisk server. The problem
is asterisk does not wait for called party to answer
the call but proceed to process the extension specifed
in my .call file

My sample call file :

hannel: local/[EMAIL PROTECTED]
MaxRetries: 5
RetryTime: 300
WaitTime: 40
Account: Reminder
context: remindem
extension: s
priority: 1
Set: MSG=0135.20070601.0124787924
Set: APPTDT=20070601
Set: APPTTIME=0135
Set: APPTPHONE=0124787924
Set: CALLATTEMPTS=5
Set: CALLDELAY=300

My outbound-reminder context:

[outbound-reminder]
exten => _01N.,1,Dial(Zap/g1/${EXTEN},20)

My remindem context :

[remindem]
exten => s,1,Answer()
exten => s,2,Wait(2)
exten => s,3,Playback(custom/reminder5)

Once asterisk start to execute .call file, my handset
rings but the console shows Playback(custom/reminder5)


Below shows some console messages :

-- Attempting call on local/[EMAIL PROTECTED] for [EMAIL PROTECTED]:1
(Retry 1)
    -- Executing [EMAIL PROTECTED]:1]
Dial("Local/[EMAIL PROTECTED],2",
"Zap/g1/0124787924|20") in new stack
    -- Called g1/0124787924
    -- Zap/3-1 answered Local/[EMAIL PROTECTED],2
[Jun  1 02:50:09] WARNING[8651]: pbx.c:4976 ast_pbx_outgoing_exten:
Local/[EMAIL PROTECTED],1 already has a call record??
       > Channel Local/[EMAIL PROTECTED],1 was answered.
    -- Executing [EMAIL PROTECTED]:1]
Answer("Local/[EMAIL PROTECTED],1", "") in new stack
    -- Executing [EMAIL PROTECTED]:2]
Wait("Local/[EMAIL PROTECTED],1", "2") in new stack
  == Spawn extension (outbound-reminder, 0124787924, 1) exited non-zero on
'Local/[EMAIL PROTECTED],2'
    -- Executing [EMAIL PROTECTED]:3] Playback("Zap/3-1", "custom/reminder5") in
new stack



I really appreciate if some one can help me

Regards
ASLAY















_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to