[asterisk-bugs] [DAHDI-linux 0014934]: Asterisk auto dial context execute no matter the user response for the call or not using dahdi channel

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Apr 20 08:37:44 CDT 2009


The following issue has been UPDATED. 
====================================================================== 
http://bugs.digium.com/view.php?id=14934 
====================================================================== 
Reported By:                daichaoshui
Assigned To:                file
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   14934
Category:                   General
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     closed
Resolution:                 duplicate
Duplicate:                  14935
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-04-19 23:22 CDT
Last Modified:              2009-04-20 08:37 CDT
====================================================================== 
Summary:                    Asterisk auto dial context execute no matter the
user response for the call or not using dahdi channel
Description: 
When i create an auto dial out plan on /var/spool/asterisk/outgoing

Channel: DAHDI/g0/13********
MaxRetries: 0
RetryTime: 30
WaitTime: 45
Context: call-to-cust
Extension: 200
Priority: 1
Archive: Yes

Set: OrderInfo_id=1
Set: OrderInfo_PLACE=2
Set: OrderInfo_TIME=2
Set: OrderInfo_isHavePlace=1

[call-to-cust] 
exten => 200,1,Ringing
exten => 200,1,Answer()
exten => 200,n,Wait(3) 
exten => 200,n(Response),Background(custom/FoodOrder-ResponseToCustNotice)

exten => 200,n,ExecIf($["${FOORODER_PLACE_${OrderInfo_PLACE}}" !=
""]?Background(${FOORODER_PLACE_${OrderInfo_PLACE}})) 
exten => 200,n,ExecIf($["${FOORODER_TIME_${OrderInfo_TIME}}" !=
""]?Background(${FOORODER_TIME_${OrderInfo_TIME}})) 
exten => 200,n,ExecIf($["${FOORODER_isHavePlace_${OrderInfo_isHavePlace}}"
!= ""]?Background(${FOORODER_isHavePlace_${OrderInfo_isHavePlace}})) 
exten => 200,n,SET(FoodOrders_updCloseToUserOrder(${OrderInfo_id}))
exten => 200,n,Playback(vm-goodbye)
exten => 200,n,Hangup()

I want make a call to the user 13******, when the user receive the call,
it will
play some messages to the user and then hangup.

The problem is the user can receive the call, but whatever the user push
the answer key or not, the call-to-cust will execute immediattly.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
duplicate of        0014935 Asterisk auto dial out will execute imm...
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-04-20 08:37 file           Relationship added       duplicate of 0014935
2009-04-20 08:37 file           Duplicate ID             0 => 14935          
2009-04-20 08:37 file           Status                   new => resolved     
2009-04-20 08:37 file           Resolution               open => duplicate   
2009-04-20 08:37 file           Assigned To               => file            
2009-04-20 08:37 file           Status                   resolved => closed  
======================================================================




More information about the asterisk-bugs mailing list