FIFO/UAC's local errors send back a reply beginning with status code now
authorJiri Kuthan <jiri@iptel.org>
Sat, 21 Sep 2002 09:57:28 +0000 (09:57 +0000)
committerJiri Kuthan <jiri@iptel.org>
Sat, 21 Sep 2002 09:57:28 +0000 (09:57 +0000)
modules/tm/uac.c

index 14fa017..358f5e7 100644 (file)
@@ -429,7 +429,7 @@ int fifo_uac_from( FILE *stream, char *response_file )
                                sizeof(err_buf), "FIFO/UAC" ) ;
                if (err_ret > 0 )
                {
-                       fifo_reply(response_file, err_buf );
+                       fifo_reply(response_file, "%d %s", sip_error, err_buf );
                } else {
                        fifo_reply(response_file, "500 FIFO/UAC error: %d\n",
                                ret );