[asterisk-bugs] [Asterisk 0015390]: Option U() functionality is not equivalent to application documentation

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jun 29 11:20:00 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15390 
====================================================================== 
Reported By:                kaldemar
Assigned To:                lmadsen
====================================================================== 
Project:                    Asterisk
Issue ID:                   15390
Category:                   Applications/app_dial
Reproducibility:            always
Severity:                   text
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.6.1.0 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-06-24 10:02 CDT
Last Modified:              2009-06-29 11:20 CDT
====================================================================== 
Summary:                    Option U() functionality is not equivalent to
application documentation
Description: 
App documentation for Dial() option U() suggests that gosub calls "routine"
x and arguments are delimited with ^. Instead, option U() treats x as a
context and calls for extension s and priority 1 in it, and arguments are
delimited with either a comma or ^.

Debug:
    -- Executing [123 at default:1] Dial("Console/dsp1",
"Local/100 at weasels,,U(context,123,arg2)") in new stack
[Jun 24 17:57:45] DEBUG[10604]: pbx.c:3179 pbx_extension_helper: Launching
'Answer'
    -- Executing [100 at weasels:1] Answer("Local/100 at weasels-15c7;2", "") in
new stack
    -- Called 100 at weasels
    -- Local/100 at weasels-15c7;1 answered Console/dsp1
[Jun 24 17:57:45] DEBUG[10603]: app_stack.c:240 gosub_exec: Channel
Local/100 at weasels-15c7;1 has no datastore, so we're allocating one.
[Jun 24 17:57:45] DEBUG[10603]: app_stack.c:299 gosub_exec: Setting 'ARG1'
to '123'
[Jun 24 17:57:45] DEBUG[10603]: app_stack.c:299 gosub_exec: Setting 'ARG2'
to 'arg2'

====================================================================== 

---------------------------------------------------------------------- 
 (0107133) lmadsen (administrator) - 2009-06-29 11:20
 https://issues.asterisk.org/view.php?id=15390#c107133 
---------------------------------------------------------------------- 
That is a feature request, not a documentation issue. If U() is working AS
DESCRIBED then there is no issue here. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-29 11:20 lmadsen        Note Added: 0107133                          
======================================================================




More information about the asterisk-bugs mailing list