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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user