Play ringback for all provisional responses, not just 180.

git-svn-id: svn://10.0.0.236/branches/ZAP_20050610_BRANCH@189065 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
alex%croczilla.com
2006-02-07 00:48:04 +00:00
parent 0d64d4e7ec
commit 3fee239c4f

View File

@@ -2322,10 +2322,7 @@ OutboundCallHandler.fun(
function notifyResponseReceived(rc, dialog, response, flow) {
this._dump(response.statusCode+" response for call="+this.call);
if (response.statusCode[0] == "1") {
if (response.statusCode == "180") {
// ringing
this.call.ringback.play(wConfig["urn:mozilla:zap:ringingtone"]);
}
this.call.ringback.play(wConfig["urn:mozilla:zap:ringingtone"]);
this.call["urn:mozilla:zap:status"] =
response.statusCode + " " + response.reasonPhrase;
}