saycel / webph.one

The SayCel Webph.one - An App for Community Cell Networks
GNU Affero General Public License v3.0
11 stars 6 forks source link

Rejecting a call results in "Sorry, we could not complete... " because App returns 487 #135

Closed sanchi closed 6 years ago

sanchi commented 6 years ago

"487 Request Terminated" is the wrong code to reject a call - this will be sent when receiving CANCEL (when the caller cancels the call). "486 Rejected" or "603 Decline" is the proper one, and it should be interpreted by the App properly on the caller side.

Possibly destroying some JsSip call object on the called side does make JsSip send a 487?

gmarcos87 commented 6 years ago

Ok, I will change the code

sanchi commented 6 years ago

thanks!