diff --git a/README.md b/README.md index 885e80e..eae21be 100644 --- a/README.md +++ b/README.md @@ -378,16 +378,16 @@ srf.invite((req, res) => { srf.proxyRequest(req, res); // proxy to a specified destination - srf.proxyRequest( req, res, 'sip:next.hop.com'); + srf.proxyRequest( req, 'sip:next.hop.com'); // lots of options available, // plus a callback to indicate success if needed - srf.proxyRequest( req, res, ['sip:try.this.com', 'sip:try.that.com'], { + srf.proxyRequest( req, ['sip:try.this.com', 'sip:try.that.com'], { recordRoute: true, forking: 'sequential', followRedirects: true, provisionalTimeout: '2s', - finalTimeout: '20s' + finalTimeout: '20s', headers: { Subject: 'my subject header' } @@ -470,4 +470,4 @@ srf.use(function (err, req, res, next) { // an error occurred! }); srf.invite((req, res) => {...}); -``` \ No newline at end of file +```