Summary: | ASTERISK-00276: Dial returns 1 on success when using chan_local | ||
Reporter: | bicster (bicster) | Labels: | |
Date Opened: | 2003-09-15 12:40:56 | Date Closed: | 2011-06-07 14:11:58 |
Priority: | Trivial | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | Dial is returning 1 when using a chan_local target. According to the Dial helptext, this should never happen. ****** ADDITIONAL INFORMATION ****** Consider this case: exten => 667,1,AGI(Dial,local/18005558355@isdnout) [isdnout] exten => _X.,1,Dial(CAPI/2930065:b${EXTEN}) exten => _X.,2,Dial(CAPI/2939318:b${EXTEN}) exten => _X.,3,Dial(CAPI/2939423:b${EXTEN}) exten => _X.,4,Dial(CAPI/2930064:b${EXTEN}) exten => _X.,5,answer exten => _X.,6,absolutetimeout,10 exten => _X.,7,playtones(480+620) And the following snippet from the AGI program: $_ = $AGI->exec( "dial", $ARGV[0] ); printf STDERR "DIAL returned $_\n"; When the call succeeds, dial always returns 1. | ||
Comments: | By: Mark Spencer (markster) 2003-09-16 14:28:53 What are you expecting it to return? By: bicster (bicster) 2003-09-16 15:32:03 It is supposed to return -1 or 0 according to the helptext. I spoke with citats a few months ago about this. It only seems to be broken in the case of chan_local. By: Brian West (bkw918) 2004-02-01 11:32:10.000-0600 please respond if this is still a problem. We will reopen. |