[asterisk-bugs] [Asterisk 0012502]: SayNumber() hangs up channel when asked to say a number >= 1, 000, 000, 000.

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Apr 23 09:48:58 CDT 2008


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=12502 
====================================================================== 
Reported By:                bcnit
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   12502
Category:                   Applications/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.6.0-beta7.1 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             04-23-2008 08:40 CDT
Last Modified:              04-23-2008 09:48 CDT
====================================================================== 
Summary:                    SayNumber() hangs up channel when asked to say a
number >= 1,000,000,000.
Description: 
With a dialplan of:

-------------------------
exten => 21,1,Answer(500)
exten => 21,2,SayNumber(999999999)
exten => 21,3,SayNumber(1000000000)
exten => 21,4,NoOp(We never see this)

exten => h,1,NoOp(Hung up)
-------------------------

Asterisk hangs up when it tries to run priority 3 as follows:

-------------------------
-- Executing [21 at default:1] Answer("SIP/200-087ab0d8", "500") in new
stack
-- Executing [21 at default:2] SayNumber("SIP/200-087ab0d8", "999999999") in
new stack
-- <SIP/200-087ab0d8> Playing 'digits/9.gsm' (language 'en')
-- <SIP/200-087ab0d8> Playing 'digits/hundred.gsm' (language 'en')
-- <SIP/200-087ab0d8> Playing 'digits/90.gsm' (language 'en')
-- <SIP/200-087ab0d8> Playing 'digits/9.gsm' (language 'en')
-- <SIP/200-087ab0d8> Playing 'digits/million.gsm' (language 'en')
-- <SIP/200-087ab0d8> Playing 'digits/9.gsm' (language 'en')
-- <SIP/200-087ab0d8> Playing 'digits/hundred.gsm' (language 'en')
-- <SIP/200-087ab0d8> Playing 'digits/90.gsm' (language 'en')
-- <SIP/200-087ab0d8> Playing 'digits/9.gsm' (language 'en')
-- <SIP/200-087ab0d8> Playing 'digits/thousand.gsm' (language 'en')
-- <SIP/200-087ab0d8> Playing 'digits/9.gsm' (language 'en')
-- <SIP/200-087ab0d8> Playing 'digits/hundred.gsm' (language 'en')
-- <SIP/200-087ab0d8> Playing 'digits/90.gsm' (language 'en')
-- <SIP/200-087ab0d8> Playing 'digits/9.gsm' (language 'en')
-- Executing [21 at default:3] SayNumber("SIP/200-087ab0d8", "1000000000") in
new stack
== Spawn extension (default, 21, 3) exited non-zero on 'SIP/200-087ab0d8'
-- Executing [h at default:1] NoOp("SIP/200-087ab0d8", "Hung up") in new
stack
-------------------------

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

---------------------------------------------------------------------- 
 svnbot - 04-23-08 09:48  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 114579

U   branches/1.4/main/pbx.c

------------------------------------------------------------------------
r114579 | file | 2008-04-23 09:48:53 -0500 (Wed, 23 Apr 2008) | 4 lines

Instead of stopping dialplan execution when SayNumber attempts to say a
large number that it can not print out a message informing the user and
continue on.
(closes issue http://bugs.digium.com/view.php?id=12502)
Reported by: bcnit

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=114579 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-23-08 09:48  svnbot         Note Added: 0085884                          
04-23-08 09:48  svnbot         Status                   new => assigned     
04-23-08 09:48  svnbot         Assigned To               => file            
======================================================================




More information about the asterisk-bugs mailing list