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

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Aug 7 18:59:00 CDT 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:              08-07-2007 18:59 CDT
====================================================================== 
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?
====================================================================== 

---------------------------------------------------------------------- 
 ctooley - 08-07-07 18:59  
---------------------------------------------------------------------- 
Don't use that version of app_deadexternalivr.c, it's broken.  I have a
replacement but can't upload it until someone removes the attachment that's
there. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-07-07 18:59  ctooley        Note Added: 0068564                          
======================================================================




More information about the asterisk-bugs mailing list