Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vmj-qt
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
vmj-qt
Commits
ab2e0f79
Commit
ab2e0f79
authored
Jul 07, 2010
by
Dan Pascu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjusted ringtone delays
parent
103f948a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
sessions.py
blink/sessions.py
+3
-3
No files found.
blink/sessions.py
View file @
ab2e0f79
...
@@ -1653,10 +1653,10 @@ class IncomingSession(QObject):
...
@@ -1653,10 +1653,10 @@ class IncomingSession(QObject):
if
sound_file
is
not
None
and
sound_file
.
path
is
DefaultPath
:
if
sound_file
is
not
None
and
sound_file
.
path
is
DefaultPath
:
settings
=
SIPSimpleSettings
()
settings
=
SIPSimpleSettings
()
sound_file
=
settings
.
sounds
.
inbound_ringtone
sound_file
=
settings
.
sounds
.
inbound_ringtone
ringtone
=
WavePlayer
(
SIPApplication
.
alert_audio_mixer
,
sound_file
.
path
,
volume
=
sound_file
.
volume
,
loop_count
=
0
,
pause_time
=
6
)
if
sound_file
is
not
None
else
Null
ringtone
=
WavePlayer
(
SIPApplication
.
alert_audio_mixer
,
sound_file
.
path
,
volume
=
sound_file
.
volume
,
loop_count
=
0
,
pause_time
=
2.7
)
if
sound_file
is
not
None
else
Null
ringtone
.
bridge
=
SIPApplication
.
alert_audio_bridge
ringtone
.
bridge
=
SIPApplication
.
alert_audio_bridge
else
:
else
:
ringtone
=
WavePlayer
(
SIPApplication
.
alert_audio_mixer
,
Resources
.
get
(
'sounds/beeping_ringtone.wav'
),
volume
=
70
,
loop_count
=
0
,
pause_time
=
6
)
ringtone
=
WavePlayer
(
SIPApplication
.
alert_audio_mixer
,
Resources
.
get
(
'sounds/beeping_ringtone.wav'
),
volume
=
70
,
loop_count
=
0
,
pause_time
=
5
)
ringtone
.
bridge
=
SIPApplication
.
alert_audio_bridge
ringtone
.
bridge
=
SIPApplication
.
alert_audio_bridge
self
.
__dict__
[
'ringtone'
]
=
ringtone
self
.
__dict__
[
'ringtone'
]
=
ringtone
return
self
.
__dict__
[
'ringtone'
]
return
self
.
__dict__
[
'ringtone'
]
...
@@ -1742,7 +1742,7 @@ class SessionManager(object):
...
@@ -1742,7 +1742,7 @@ class SessionManager(object):
@
property
@
property
def
beeping_ringtone
(
self
):
def
beeping_ringtone
(
self
):
if
'beeping_ringtone'
not
in
self
.
__dict__
:
if
'beeping_ringtone'
not
in
self
.
__dict__
:
ringtone
=
WavePlayer
(
SIPApplication
.
voice_audio_mixer
,
Resources
.
get
(
'sounds/beeping_ringtone.wav'
),
volume
=
70
,
loop_count
=
0
,
pause_time
=
6
)
ringtone
=
WavePlayer
(
SIPApplication
.
voice_audio_mixer
,
Resources
.
get
(
'sounds/beeping_ringtone.wav'
),
volume
=
70
,
loop_count
=
0
,
pause_time
=
10
)
ringtone
.
bridge
=
SIPApplication
.
voice_audio_bridge
ringtone
.
bridge
=
SIPApplication
.
voice_audio_bridge
self
.
__dict__
[
'beeping_ringtone'
]
=
ringtone
self
.
__dict__
[
'beeping_ringtone'
]
=
ringtone
return
self
.
__dict__
[
'beeping_ringtone'
]
return
self
.
__dict__
[
'beeping_ringtone'
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment