I recently upgraded to asterisk 11 from 1.8.
I had VXML working via AGI in 1.8 - from extensions.conf:
[VXML]
exten => s,1,Answer
exten => s,n,Set(ENCODED=${URIENCODE(${ARG1})})
exten => s,n,AGI(agi://localhost/url=${ENCODED})
exten => s,n,Hangup
Using asterisk 11 on the same host with the same config in extensions.conf:
-- Executing [s at VXML:1] Answer("SIP/143-00000043",
"") in new stack
-- Executing [s at VXML:2] Set("SIP/143-00000043",
"ENCODED=http%3A%2F%2Fexample.com%2Fcgi-bin%2Favxml") in new stack
-- Executing [s at VXML:3] AGI("SIP/143-00000043",
"agi://localhost/url=http%3A%2F%2Fexample.com%2Fcgi-bin%2Favxml") in
new
stack
[Feb 11 16:28:45] ERROR[28501][C-00000012]: utils.c:1187
ast_carefulwrite: write() returned error: Connection refused
[Feb 11 16:28:45] WARNING[28501][C-00000012]: res_agi.c:1528
launch_netscript: Connect to
'agi://localhost/url=http%3A%2F%2Fexample.com%2Fcgi-bin%2Favxml' failed:
Connection refused
-- Executing [s at VXML:4] Hangup("SIP/143-00000043",
"") in new stack
== Spawn extension (VXML, s, 4) exited non-zero on
'SIP/143-00000043'
however, my daemon listening on port 4573 never sees activity.
so i set up a super-simple server* on port 4573 and saw that Asterisk is
not attempting the connection.
can someone replicate this behavior ? Or is this just my config ?
* http://jeremy.kister.net/code/asterisk/simple_agid.pl
--
Jeremy Kister
http://jeremy.kister.net./