[asterisk-bugs] [Asterisk 0014263]: Dial app seems to only allow dial string less than 255 characters

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jan 19 23:53:41 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14263 
====================================================================== 
Reported By:                markd
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14263
Category:                   Applications/app_dial
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.22 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-01-16 18:02 CST
Last Modified:              2009-01-19 23:53 CST
====================================================================== 
Summary:                    Dial app seems to only allow dial string less than
255 characters
Description: 
When using a dial string larger than 255 characters, the dial string
becomes automatically truncated to 255 characters.

The problem exists in the latest 1.4.22.1
====================================================================== 

---------------------------------------------------------------------- 
 (0098176) jamesgolovich (manager) - 2009-01-19 23:53
 http://bugs.digium.com/view.php?id=14263#c98176 
---------------------------------------------------------------------- 
Now we're getting somewhere, the value is limited because its a global
variable.  The problem here is in pbx.c:pbx_load_config: char
realvalue[256]

We can increase the length to some larger value or switch to ast_str or a
ptr.  It looks like only globals, include contexts, ignore pat, and
switches are affected by this.

I'll wait till the morning to talk to Tilghman or Russell to see what they
would want to do, but it is pretty trivial to resolve this issue. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-19 23:53 jamesgolovich  Note Added: 0098176                          
======================================================================




More information about the asterisk-bugs mailing list