[asterisk-users] Help with perl AGI script

Russell Bryant russell at digium.com
Sun Aug 6 20:05:41 MST 2006


On Sun, 2006-08-06 at 06:58 -0400, Roy Kidder wrote:
> I tried it again, reading a single line from stdin and got the "200
> result=0" message. Is there potential for there to be other messages? i.d.
> "200 result=1" or "404 file not found"? Also, is there always going to be
> a single line from stdin, or should I loop until I find the line I'm
> looking for?

It should always be a single line.  As long as the command you sent is
valid, the result will be "200 result=something", but it is possible for
the response to be different if there is a problem.

-- 
Russell Bryant
Software Developer
Digium, Inc.




More information about the asterisk-users mailing list