Looking at the Asterisk::AGI docs, maybe try calling ReadParse() early in the script to read in anything from stdin?
(From the docs) # pull AGI variables into %input %input = $AGI->ReadParse(); -- _____________________________________________________________________ -- 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