Summary: | DAHLIN-00093: Asterisk auto dial context execute no matter the user response for the call or not using dahdi channel | ||
Reporter: | dachaoshui (daichaoshui) | Labels: | |
Date Opened: | 2009-04-19 23:22:43 | Date Closed: | 2009-04-20 08:37:44 |
Priority: | Trivial | Regression? | No |
Status: | Closed/Complete | Components: | General |
Versions: | 2.1.0.4 | Frequency of Occurrence | |
Related Issues: | |||
Environment: | Attachments: | ||
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. ****** ADDITIONAL INFORMATION ****** Here is the output from Asterisk -r: -- Attempting call on DAHDI/g0/13****** for 200@call-to-cust:1 (Retry 1) -- Executing [200@call-to-cust:1] Ringing("DAHDI/1-1", "") in new stack -- Executing [200@call-to-cust:2] Wait("DAHDI/1-1", "3") in new stack -- Executing [200@call-to-cust:3] BackGround("DAHDI/1-1", "custom/FoodOrder-ResponseToCustNotice") in new stack -- <DAHDI/1-1> Playing 'custom/FoodOrder-ResponseToCustNotice.slin' (language 'en') -- Executing [200@call-to-cust:4] ExecIf("DAHDI/1-1", "1?Background(custom/FoodOrder-Place-2)") in new stack -- <DAHDI/1-1> Playing 'custom/FoodOrder-Place-2.slin' (language 'en') -- Executing [200@call-to-cust:5] ExecIf("DAHDI/1-1", "1?Background(custom/FoodOrder-Time-2)") in new stack -- <DAHDI/1-1> Playing 'custom/FoodOrder-Time-2.slin' (language 'en') -- Executing [200@call-to-cust:6] ExecIf("DAHDI/1-1", "1?Background(custom/FoodOrder-ResponseToCustHavePlace)") in new stack -- <DAHDI/1-1> Playing 'custom/FoodOrder-ResponseToCustHavePlace.slin' (language 'en') -- Executing [200@call-to-cust:7] Set("DAHDI/1-1", "FoodOrders_updCloseToUserOrder(1)") in new stack -- Executing [200@call-to-cust:8] Playback("DAHDI/1-1", "vm-goodbye") in new stack -- <DAHDI/1-1> Playing 'vm-goodbye.gsm' (language 'en') Executing [200@call-to-cust:9] Hangup("DAHDI/1-1", "") in new stack == Spawn extension (call-to-cust, 200, 9) exited non-zero on 'DAHDI/1-1' -- Hungup 'DAHDI/1-1' | ||
Comments: | By: dachaoshui (daichaoshui) 2009-04-19 23:23:28 i am using asterisk 1.6.0 There is no any problem with SIP/XXXX channel |