[asterisk-bugs] [Asterisk 0010363]: ExternalIVR changes not playing audio

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Nov 6 15:25:29 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10363 
====================================================================== 
Reported By:                ctooley
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10363
Category:                   Applications/app_externalivr
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.9  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             08-01-2007 15:52 CDT
Last Modified:              11-06-2007 15:25 CST
====================================================================== 
Summary:                    ExternalIVR changes not playing audio
Description: 
Attached is a diff against Asterisk 1.4.9 for some proposed changes to
app_externalivr.c which improves functionality and adds support for
socket connections instead of running an application.  However, I
can't seem to get the audio to play when it uses the socket
connection.

I've also attached a simple script that plays a standard prompt and
here is the dialplan entries to  play the script:

[EIVRBeep]
exten => s,1,Answer()
exten => s,n,ExternalIVR(/root/play_beep.sh)

That will play the beep audio file in the asterisk sounds directory.

Changing the dialplan to:
[EIVRBeep]
exten => s,1,Answer()
exten => s,n,ExternalIVR(ivr://localhost:2949)

You should be able to have netcat listen to port 2949
    nc -l -p 2949
and have asterisk connect to that.  Then, typing the following in the
nc session should do the same thing:
P,FOO
O,autoclear
A,beep

It doesn't play the audio and I can't seem to figure out why.  I'm
guessing the generator isn't working as expected?
====================================================================== 

---------------------------------------------------------------------- 
 russell - 11-06-07 15:25  
---------------------------------------------------------------------- 
When we talked about this at Astricon, you were saying that you would port
it to trunk, and then we'd merge it in.  Have you had any time to look into
doing that? 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-06-07 15:25  russell        Note Added: 0073237                          
======================================================================




More information about the asterisk-bugs mailing list