[asterisk-dev] ExternalIVR with sockets on release 1.6.2.0

Dan Cropp dan at amtelco.com
Tue Mar 2 14:13:37 CST 2010


I am running Asterisk 1.6.2.0 release.

 

I am able to get the dialplan to execute an external IVR that's in a
file.

exten => 101,1,Verbose(1,Test)

exten => 101,2,Answer()

exten => 101,n,ExternalIVR(/root/play_beep.sh)

 

 

 

However, when I try to have ExternalIVR connect to a socket it is not
working.

For the server, I execute

netcat -l -p 2949

 

The dialplan looks like...

exten => 101,1,Verbose(1,Test)

exten => 101,2,Answer()

exten => 101,n,ExternalIVR(ivr://localhost:2949)

 

 

It successfully answers the call.  The output is showing...

 

    -- Executing [101 at phones:3] ExternalIVR("SIP/1000-00000000",
"ivr://localhost:2949") in new stack

[Mar  2 14:09:41] WARNING[3396]: app_externalivr.c:402 app_exec:
SIP/1000-00000000: Answering channel and starting generator

  == Spawn extension (phones, 101, 3) exited non-zero on
'SIP/1000-00000000'

 


 

Does socket ExternalIVR require some additional modules or settings?

 

Have a great day!

Dan Cropp

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20100302/84b1302e/attachment.htm 


More information about the asterisk-dev mailing list