Re: [asterisk-users] asterisk 11 AGI

2013-02-11 Thread Jeremy Kister

On 2/11/2013 11:13 PM, Jeremy Kister wrote:
> [Feb 11 16:28:45] ERROR[28501][C-0012]: utils.c:1187
> ast_carefulwrite: write() returned error: Connection refused
[...]

can someone replicate this behavior ?  Or is this just my config ?


opening issue in jira; this is a bug.

https://issues.asterisk.org/jira/browse/ASTERISK-21065


--

Jeremy Kister
http://jeremy.kister.net./

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] asterisk 11 AGI

2013-02-11 Thread Jeremy Kister

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@VXML:1] Answer("SIP/143-0043", "") in new stack
 -- Executing [s@VXML:2] Set("SIP/143-0043", 
"ENCODED=http%3A%2F%2Fexample.com%2Fcgi-bin%2Favxml") in new stack
 -- Executing [s@VXML:3] AGI("SIP/143-0043", 
"agi://localhost/url=http%3A%2F%2Fexample.com%2Fcgi-bin%2Favxml") in new 
stack
[Feb 11 16:28:45] ERROR[28501][C-0012]: utils.c:1187 
ast_carefulwrite: write() returned error: Connection refused
[Feb 11 16:28:45] WARNING[28501][C-0012]: res_agi.c:1528 
launch_netscript: Connect to 
'agi://localhost/url=http%3A%2F%2Fexample.com%2Fcgi-bin%2Favxml' failed: 
Connection refused

 -- Executing [s@VXML:4] Hangup("SIP/143-0043", "") in new stack
   == Spawn extension (VXML, s, 4) exited non-zero on 'SIP/143-0043'

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./


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users