[asterisk-bugs] [Asterisk 0016971]: When playing from ExternalIVR, the playback is very fast (about double the speed of standard Playback)

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Mar 31 11:02:55 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16971 
====================================================================== 
Reported By:                daninmadison
Assigned To:                thedavidfactor
====================================================================== 
Project:                    Asterisk
Issue ID:                   16971
Category:                   Applications/app_externalivr
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 250614 
Request Review:              
====================================================================== 
Date Submitted:             2010-03-05 09:54 CST
Last Modified:              2010-03-31 11:02 CDT
====================================================================== 
Summary:                    When playing from ExternalIVR, the playback is very
fast (about double the speed of standard Playback)
Description: 
I'm running on Debian 5.0.2

I have a 0x4 ulaw format channel connected to Asterisk.

When I use Playback from a Dialplan, the audio plays great.
However, when I send the call to an ExternalIVR and attempt to playback
the same file, it plays at (approximately) double the speed.

This occurs every time I try it.


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

---------------------------------------------------------------------- 
 (0120025) daninmadison (reporter) - 2010-03-31 11:02
 https://issues.asterisk.org/view.php?id=16971#c120025 
---------------------------------------------------------------------- 
Last night I tried this again from home.  I set Asterisk at a more verbose
level.
asterisk -vvvvvvvc.
I compared my X-Lite settings and everything matches on the two boxes
(except for one is 1000 and the other is 1001).  Both 1000 and 1001 are
configured the same in Asterisk.

    -- Registered SIP '1001' at 192.168.10.126 port 30500
       > Saved useragent "X-Lite release 1104o stamp 56125" for peer 1001
    -- Unregistered SIP '1000'
    -- Executing [101 at phones:1] Verbose("SIP/1001-00000000", "1,Extension
101")                                                                      
       in new stack
 Extension 101
    -- Executing [101 at phones:2] Answer("SIP/1001-00000000", "") in new
stack
    -- Executing [101 at phones:3] Playback("SIP/1001-00000000", "beep") in
new sta                                                                    
        ck
    -- <SIP/1001-00000000> Playing 'beep.ulaw' (language 'en')
    -- Executing [101 at phones:4] Playback("SIP/1001-00000000",
"enter-a-time") in                                                         
                    new stack
    -- <SIP/1001-00000000> Playing 'enter-a-time.ulaw' (language 'en')
    -- Executing [101 at phones:5] ExternalIVR("SIP/1001-00000000",
"ivr://localhos                                                            
                t:2949") in new stack
       > ExternalIVR received application and arguments:
ivr://localhost:2949
       > ExternalIVR received options: (null)
       > Parsing options from: [(null)]
    -- Answering channel and starting generator
       > got command 'O,autoclear'
       > got command 'A,beep'
       > got command 'A,tt-somethingwrong'
       > got command 'A,tt-weasels'
[Mar 30 19:34:26] ERROR[15896]: app_externalivr.c:707 eivr_comm:
SIP/1001-000000                                                            
                00: Child process went away
  == Spawn extension (phones, 101, 5) exited non-zero on
'SIP/1001-00000000'


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

Just ran another test at work and I still have strange playback only
during ExternalIVR.  Here's the CLI output using Asterisk -vvvvvvvc...

    -- Registered SIP '1000' at 192.168.9.9 port 50882
       > Saved useragent "X-Lite release 1104o stamp 56125" for peer 1000
    -- Executing [101 at phones:1] Verbose("SIP/1000-00000000", "1,Extension
101") in new stack
 Extension 101
    -- Executing [101 at phones:2] Answer("SIP/1000-00000000", "") in new
stack
    -- Executing [101 at phones:3] Playback("SIP/1000-00000000", "beep") in
new stack
    -- <SIP/1000-00000000> Playing 'beep.ulaw' (language 'en')
    -- Executing [101 at phones:4] Playback("SIP/1000-00000000",
"enter-a-time") in new stack
    -- <SIP/1000-00000000> Playing 'enter-a-time.ulaw' (language 'en')
    -- Executing [101 at phones:5] ExternalIVR("SIP/1000-00000000",
"ivr://localhost:2949") in new stack
       > ExternalIVR received application and arguments:
ivr://localhost:2949
       > ExternalIVR received options: (null)
       > Parsing options from: [(null)]
    -- Answering channel and starting generator
       > got command 'O,autoclear'
       > got command 'S,beep'
       > got command 'A,tt-somethingwrong'
       > got command 'A,tt-weasels'
       > got command 'E,End of ExternalIVR'
[Mar 31 09:37:25] NOTICE[21732]: app_externalivr.c:813 eivr_comm:
SIP/1000-00000000: Exiting: End of ExternalIVR
    -- Executing [101 at phones:6] Hangup("SIP/1000-00000000", "") in new
stack
  == Spawn extension (phones, 101, 6) exited non-zero on
'SIP/1000-00000000'


One other piece of information...
The Debian/Asterisk is running in a VMWare virtual machine on my desktop.
Since the play works fine to the Desktop X-Lite, I'm not sure why
ExternalIVR play would be different.  Or why dialplan play and ExternalIVR
play works to a laptop connecting up to the same Asterisk virtual machine. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-03-31 11:02 daninmadison   Note Added: 0120025                          
======================================================================




More information about the asterisk-bugs mailing list