[Home]

Summary:ASTERISK-02721: Erroneous warning Dial argument takes format (technology1/[device:]number1&technology2/[device:]number2...|optional timeout)
Reporter:matti (matti)Labels:
Date Opened:2004-11-01 08:51:47.000-0600Date Closed:2004-11-02 07:55:14.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Applications/app_dial
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:When a calling fails, asterisk can give the following warning and not continue with the priority greater by 101.

Nov  1 16:46:23 WARNING[507926]: Dial argument takes format (technology1/[device
:]number1&technology2/[device:]number2...|optional timeout)

****** ADDITIONAL INFORMATION ******

The error occurs because the continue statement is executed with the current data in the cur variable instead of the rest of the data:
               /* check the results of ast_call */
               if (res) {
                       /* Again, keep going even if there's an error */
                       if (option_debug)
                               ast_log(LOG_DEBUG, "ast call on peer returnned %d\n", res);
                       else if (option_verbose > 2)
                               ast_verbose(VERBOSE_PREFIX_3 "Couldn't call %s\n", numsubst);
                       ast_hangup(tmp->chan);
                       tmp->chan = NULL;
                       continue;
Comments:By: Mark Spencer (markster) 2004-11-01 09:45:31.000-0600

Fixed in CVS