Permalink
Browse files

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

  • Loading branch information...
1 parent 183fe88 commit 44412305dce8e09d441f1b66cff00bb6a581df5b @shimaore committed Feb 19, 2014
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/RTCSession.js
View
@@ -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']);
}
}
}

0 comments on commit 4441230

Please sign in to comment.