Dialparties.agi issues in 1.4

hi all;

does anyone know of issues with the latest “dialparties.agi”? Im using asterisk 1.4 (in TB 2.6.2).

unable to connect calls from IVR to extensions. Started seeing “Connect attempt from ‘127.0.0.1’ unable to authenticate” error. Apparently dialparties.agl (/var/lib/asterisk/agi-bin/dialparties.agi) has problems using get_var:

$ampmgruser = get_var( $AGI, “AMPMGRUSER” );
$ampmgrpass = get_var( $AGI, “AMPMGRPASS” );

The extension is showing as registered:

trixbox1*CLI> sip show peers
Name/username Host Dyn Nat ACL Port Status

1030/1030 192.168.0.97 D N 36854 OK (11 ms)

27 sip peers [Monitored: 3 online, 24 offline Unmonitored: 0 online, 0 offline]

and I “hardcoded” the user / password, to allow dialparties.agl to execute all the way through, but dialparties.agl is not finding the extension (1030), and returning "Returned from dialparties with no extensions to call and DIALSTATUS: ‘’ " (note the empty DIALSTATUS), even though the extension is available:

– Executing [1030@ivr-2:1] ExecIf(“SIP/networks-7871084-09a59510”, “0|dbDel|”) in new stack
– Executing [1030@ivr-2:2] Set(“SIP/networks-7871084-09a59510”, “__NODEST=”) in new stack
– Executing [1030@ivr-2:3] Goto(“SIP/networks-7871084-09a59510”, “from-did-direct|1030|1”) in new stack
– Goto (from-did-direct,1030,1)
– Executing [1030@from-did-direct:1] Macro(“SIP/networks-7871084-09a59510”, “exten-vm|1030|1030”) in new stack
– Executing [s@macro-exten-vm:1] Macro(“SIP/networks-7871084-09a59510”, “user-callerid”) in new stack
– Executing [s@macro-user-callerid:1] Set(“SIP/networks-7871084-09a59510”, “AMPUSER=+1XXXX”) in new stack
– Executing [s@macro-user-callerid:2] GotoIf(“SIP/networks-7871084-09a59510”, “0?report”) in new stack
– Executing [s@macro-user-callerid:3] ExecIf(“SIP/networks-7871084-09a59510”, “1|Set|REALCALLERIDNUM=+1XXXXX”) in new stack
– Executing [s@macro-user-callerid:4] Set(“SIP/networks-7871084-09a59510”, “AMPUSER=”) in new stack
– Executing [s@macro-user-callerid:5] Set(“SIP/networks-7871084-09a59510”, “AMPUSERCIDNAME=”) in new stack
– Executing [s@macro-user-callerid:6] GotoIf(“SIP/networks-7871084-09a59510”, “1?report”) in new stack
– Goto (macro-user-callerid,s,11)
– Executing [s@macro-user-callerid:11] GotoIf(“SIP/networks-7871084-09a59510”, “0?continue”) in new stack
– Executing [s@macro-user-callerid:12] Set(“SIP/networks-7871084-09a59510”, “__TTL=64”) in new stack
– Executing [s@macro-user-callerid:13] GotoIf(“SIP/networks-7871084-09a59510”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,20)
– Executing [s@macro-user-callerid:20] NoOp(“SIP/networks-7871084-09a59510”, “Using CallerID “+1XXXX” <+1XXXX>”) in new stack
– Executing [s@macro-exten-vm:2] Set(“SIP/networks-7871084-09a59510”, “RingGroupMethod=none”) in new stack
– Executing [s@macro-exten-vm:3] Set(“SIP/networks-7871084-09a59510”, “VMBOX=1030”) in new stack
– Executing [s@macro-exten-vm:4] Set(“SIP/networks-7871084-09a59510”, “EXTTOCALL=1030”) in new stack
– Executing [s@macro-exten-vm:5] Set(“SIP/networks-7871084-09a59510”, “CFUEXT=”) in new stack
– Executing [s@macro-exten-vm:6] Set(“SIP/networks-7871084-09a59510”, “CFBEXT=”) in new stack
– Executing [s@macro-exten-vm:7] Set(“SIP/networks-7871084-09a59510”, “RT=15”) in new stack
– Executing [s@macro-exten-vm:8] Macro(“SIP/networks-7871084-09a59510”, “record-enable|1030|IN”) in new stack
– Executing [s@macro-record-enable:1] GotoIf(“SIP/networks-7871084-09a59510”, “1?check”) in new stack
– Goto (macro-record-enable,s,4)
– Executing [s@macro-record-enable:4] AGI(“SIP/networks-7871084-09a59510”, “recordingcheck|20090514-181538|1242339323.5”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20090514-181538|1242339323.5: Inbound recording not enabled
– AGI Script recordingcheck completed, returning 0
– Executing [s@macro-record-enable:5] MacroExit(“SIP/networks-7871084-09a59510”, “”) in new stack
– Executing [s@macro-exten-vm:9] Macro(“SIP/networks-7871084-09a59510”, “dial|15|tr|1030”) in new stack
– Executing [s@macro-dial:1] GotoIf(“SIP/networks-7871084-09a59510”, “1?dial”) in new stack
– Goto (macro-dial,s,3)
– Executing [s@macro-dial:3] AGI(“SIP/networks-7871084-09a59510”, “dialparties.agi”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
– AGI Script dialparties.agi completed, returning 0
– Executing [s@macro-dial:4] NoOp(“SIP/networks-7871084-09a59510”, "Returned from dialparties with no extensions to call and DIALSTATUS: ") in new stack

I’m kinda at a dead end here at the moment. Was hoping someone has a line on issues with dialparties.agi that aren’t already known (freepbx.org/forum/freepbx/us … als-issu….), related to either changing the default password, or some bug in the current version of the code.

The next step is a fresh install, which I would dearly like to avoid, since I spent a lot of time getting this on the air (including replacing ethernet device driver for a dell vostro 220)…

ANY help, pointers, thoughts, ideas, magical incantations, etc would be very appreciated.

Thanks

-avi