Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Implementation of versatica#199 into jssip-for-node.

  • Loading branch information...
commit 44412305dce8e09d441f1b66cff00bb6a581df5b 1 parent 183fe88
@shimaore authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  src/RTCSession.js
View
2  src/RTCSession.js
@@ -739,6 +739,8 @@ RTCSession.prototype.receiveRequest = function(request) {
contentType = request.getHeader('content-type');
if (contentType && (contentType.match(/^application\/dtmf-relay/i))) {
new DTMF(this).init_incoming(request);
+ } else {
+ request.reply(415,null,['Accept: application/dtmf-relay']);
}
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.