From 3fee239c4f2c88c269cb1cc4ebe4a4ffacecd13d Mon Sep 17 00:00:00 2001 From: "alex%croczilla.com" Date: Tue, 7 Feb 2006 00:48:04 +0000 Subject: [PATCH] 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 --- mozilla/zap/client/content/zap.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/mozilla/zap/client/content/zap.js b/mozilla/zap/client/content/zap.js index d87af7dd6cc..a994756587c 100644 --- a/mozilla/zap/client/content/zap.js +++ b/mozilla/zap/client/content/zap.js @@ -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; }