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
b92e8b55
Commit
b92e8b55
authored
Aug 30, 2010
by
Adrian Georgescu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added pstn prefix setting
parent
6e6b42bd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
account.py
blink/configuration/account.py
+1
-0
sessions.py
blink/sessions.py
+2
-0
No files found.
blink/configuration/account.py
View file @
b92e8b55
...
...
@@ -14,6 +14,7 @@ from blink.configuration.datatypes import ApplicationDataPath, CustomSoundFile,
class
PSTNSettingsExtension
(
PSTNSettings
):
idd_prefix
=
Setting
(
type
=
unicode
,
default
=
None
,
nillable
=
True
)
prefix
=
Setting
(
type
=
unicode
,
default
=
None
,
nillable
=
True
)
class
RTPSettingsExtension
(
RTPSettings
):
...
...
blink/sessions.py
View file @
b92e8b55
...
...
@@ -1810,6 +1810,8 @@ class SessionManager(object):
address
=
cls
.
number_strip_re
.
sub
(
''
,
address
)
if
isinstance
(
account
,
Account
)
and
account
.
pstn
.
idd_prefix
is
not
None
:
address
=
re
.
sub
(
r'^\+'
,
account
.
pstn
.
idd_prefix
,
address
)
if
isinstance
(
account
,
Account
)
and
account
.
pstn
.
prefix
is
not
None
:
address
=
account
.
pstn
.
prefix
+
address
return
address
def
_remove_session
(
self
,
session
):
...
...
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