On Mon, 2008-09-08 at 14:01 -0400, M. Ranganathan wrote: > On Mon, Sep 8, 2008 at 1:44 PM, Scott Lawrence > <[EMAIL PROTECTED]> wrote: > > > > On Mon, 2008-09-08 at 12:43 -0400, M. Ranganathan wrote: > >> > >> I turned on debugging for the media server and ran the test again. I > >> called the auto attendant directly from a SIP phone. The Media Server > >> hangs up the call. > >> > >> > >> When the media server goes to play the prompt I see : > >> > >> > >> "2008-09-08T16:25:41.359188Z":316:HTTP:DEBUG:sipxpbx:pid-15462:00000000:mediaserver:"HttpMessage::get[4] > >> returning 500 response" > >> > >> > >> After which I noiced a HTTP:DEBUG with > >> > >> raw_text = '\n A serious error has occured. Exiting. ', > >> > >> > >> After which the media server sends BYE. It appears that the cgi-bin > >> failed but I am not sure why. > > > > Look at mediaserver_cgi.log and httpd_error_log > > > > > > > > In httpd_error_log : > > [Mon Sep 08 11:42:00 2008] [notice] Digest: done > [Mon Sep 08 11:42:01 2008] [notice] Apache/2.2.9 (Unix) mod_ssl/2.2.9 > OpenSSL/0.9.8b DAV/2 configured -- resuming normal operations > [Mon Sep 08 11:45:02 2008] [error] [client 127.0.0.1] Premature end of > script headers: mediaserver.cgi > [Mon Sep 08 12:01:59 2008] [error] [client 127.0.0.1] Premature end of > script headers: mediaserver.cgi > > > I have attached mediaserver_cgi.log > > > I am sure its got something to do with bad configuration on my part. > Thanks in advance for help. > > It happens even after I update and dial plans for auto attendant.
The httpd_error_log line is because mediaserver.cgi didn't generate a proper output HTTP stream. Looking in mediaserver_cgi.log, it's because the CGI terminated due to: "2008-09-08T17:55:23.970835Z":10:MEDIASERVER_CGI:ERR:sipxpbx:pid-17771:00000000:mediaservercgi:"main: CGI request had no action specified: QUERY_STRING = 'action=autoattendant&name=aa_24&from=%22user%2Btwo%22%3Csip%3Auser2%40example.com%3E%3Btag%253D102DD51B-5AD9231C'" The 'action' it's talking about is the 'action' argument to the CGI. But we can see that the action is 'autoattendant' in the QUERY_STRING. It does look like something odd is going on in CGICC. Dale _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
