[asterisk-bugs] [Asterisk 0017830]: saydigit not working

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Aug 11 00:26:25 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17830 
====================================================================== 
Reported By:                voipsystems
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17830
Category:                   Sounds
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.10 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-08-10 23:32 CDT
Last Modified:              2010-08-11 00:26 CDT
====================================================================== 
Summary:                    saydigit not working
Description: 
I have configure asterisk 1.6.2.10, I try to use SayDigits, ashowing the
files are being played in the clie but cannot hear any sounds as shown
below
If I play:
    -- Executing [1444 at default:1] Wait("SIP/jose-00000001", "5") in new
stack
    -- Executing [1444 at default:2] SayDigits("SIP/jose-00000001", "1234")
in new stack
    -- <SIP/jose-00000001> Playing 'digits/1.ulaw' (language 'en')
    -- <SIP/jose-00000001> Playing 'digits/2.ulaw' (language 'en')
    -- <SIP/jose-00000001> Playing 'digits/3.ulaw' (language 'en')
    -- <SIP/jose-00000001> Playing 'digits/4.ulaw' (language 'en')
    -- Executing [1444 at default:3] SayNumber("SIP/jose-00000001", "1234")
in new stack
    -- <SIP/jose-00000001> Playing 'digits/1.ulaw' (language 'en')
    -- <SIP/jose-00000001> Playing 'digits/thousand.ulaw' (language 'en')
    -- <SIP/jose-00000001> Playing 'digits/2.ulaw' (language 'en')
    -- <SIP/jose-00000001> Playing 'digits/hundred.ulaw' (language 'en')
    -- <SIP/jose-00000001> Playing 'digits/30.ulaw' (language 'en')
    -- <SIP/jose-00000001> Playing 'digits/4.ulaw' (language 'en')
    -- Executing [1444 at default:4] Hangup("SIP/jose-00000001", "") in new
stack
  == Spawn extension (default, 1444, 4) exited non-zero on
'SIP/jose-00000001'
I can't hear anything
But I i play:

  == Using SIP RTP CoS mark 5
    -- Executing [1555 at default:1] SayDigits("SIP/jose-00000002", "123") in
new stack
    -- <SIP/jose-00000002> Playing 'digits/1.ulaw' (language 'en')
    -- <SIP/jose-00000002> Playing 'digits/2.ulaw' (language 'en')
    -- <SIP/jose-00000002> Playing 'digits/3.ulaw' (language 'en')
    -- Executing [1555 at default:2] BackGround("SIP/jose-00000002",
"demo-congrats") in new stack
    -- <SIP/jose-00000002> Playing 'demo-congrats.ulaw' (language 'en')
[Aug 10 16:30:59] NOTICE[10465]: chan_sip.c:21476
handle_request_subscribe: Received SIP subscribe for peer without mailbox:
jose
    -- Executing [1555 at default:3] SayNumber("SIP/jose-00000002", "233,f")
in new stack
    -- <SIP/jose-00000002> Playing 'digits/2.ulaw' (language 'en')
    -- <SIP/jose-00000002> Playing 'digits/hundred.ulaw' (language 'en')
    -- <SIP/jose-00000002> Playing 'digits/30.ulaw' (language 'en')
    -- <SIP/jose-00000002> Playing 'digits/3.ulaw' (language 'en')
    -- Executing [1555 at default:4] SayNumber("SIP/jose-00000002", "1234,f")
in new stack
    -- <SIP/jose-00000002> Playing 'digits/1.ulaw' (language 'en')
    -- <SIP/jose-00000002> Playing 'digits/thousand.ulaw' (language 'en')
    -- <SIP/jose-00000002> Playing 'digits/2.ulaw' (language 'en')
    -- <SIP/jose-00000002> Playing 'digits/hundred.ulaw' (language 'en')
    -- <SIP/jose-00000002> Playing 'digits/30.ulaw' (language 'en')
    -- <SIP/jose-00000002> Playing 'digits/4.ulaw' (language 'en')
    -- Executing [1555 at default:5] Hangup("SIP/jose-00000002", "") in new
stack
  == Spawn extension (default, 1555, 5) exited non-zero on
'SIP/jose-00000002'
I can heard everything less the SayDigits
I check the sounds asterisk dir and is ok
====================================================================== 

---------------------------------------------------------------------- 
 (0125794) voipsystems (reporter) - 2010-08-11 00:26
 https://issues.asterisk.org/view.php?id=17830#c125794 
---------------------------------------------------------------------- 
I have:

exten => 1666,1,Answer()
exten => 1666,n,SayDigits(1234)
exten => 1666,BackGround(demo-congrats)
exten => 1666,n,Read(ACCOUNT,demo-congrats,6)
exten => 1666,n,Set(NAME=${ODBC_ACCOUNT_NAME(${ACCOUNT})})
exten => 1666,n,BackGround(demo-congrats)

I see in my cli:

  == Using SIP RTP CoS mark 5
    -- Executing [1666 at default:1] Answer("SIP/jose-00000007", "") in new
stack
    -- Executing [1666 at default:2] SayDigits("SIP/jose-00000007", "1234")
in new stack
    -- <SIP/jose-00000007> Playing 'digits/1.slin' (language 'en')
    -- <SIP/jose-00000007> Playing 'digits/2.slin' (language 'en')
    -- <SIP/jose-00000007> Playing 'digits/3.slin' (language 'en')
    -- <SIP/jose-00000007> Playing 'digits/4.slin' (language 'en')
    -- Executing [1666 at default:3] Read("SIP/jose-00000007",
"ACCOUNT,demo-congrats,6") in new stack
    -- Accepting a maximum of 6 digits.
    -- <SIP/jose-00000007> Playing 'demo-congrats.slin' (language 'en')
    -- User entered '123456'
[Aug 10 17:25:50] ERROR[32144]: pbx.c:3363 ast_func_read: Function
ODBC_ACCOUNT_NAME not registered
    -- Executing [1666 at default:4] Set("SIP/jose-00000007", "NAME=") in new
stack
    -- Executing [1666 at default:5] BackGround("SIP/jose-00000007",
"demo-congrats") in new stack
    -- <SIP/jose-00000007> Playing 'demo-congrats.slin' (language 'en')

And I don't hear anything in my softphone 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-08-11 00:26 voipsystems    Note Added: 0125794                          
======================================================================




More information about the asterisk-bugs mailing list