tsipsey / sip-js

Automatically exported from code.google.com/p/sip-js
0 stars 0 forks source link

482-Loop detected, when sending BYE-Request #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello, 
I use your sip-js libary for a webRTC-Client and found a Problem.
1. When I start a Call on Client A to Client B 
2. and finally send a BYE from Client A, 
3. Client B find other transaction and Answer with a 482 "Loop detected - found 
another transaction" Error. 

I tried to ignore this Error using the Following Code.

if 
(this.stack.findOtherTransaction(request,transaction)&&request.method!="BYE") {
   transaction.sendResponse(transaction.createResponse(482, "Loop detected - found another transaction"));
   return;
}

But I don't know, if that is the best way to solve the Problem.

Original issue reported on code.google.com by Thomas.F...@googlemail.com on 13 Sep 2012 at 7:41