Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
1991c71a
Commit
1991c71a
authored
Apr 15, 2010
by
Alexandre Savard
Browse files
[#2618] Parse host name for incoming phone number
parent
40cdb895
Changes
1
Hide whitespace changes
Inline
Side-by-side
sflphone-common/src/sip/sipvoiplink.cpp
View file @
1991c71a
...
@@ -3557,6 +3557,10 @@ mod_on_rx_request (pjsip_rx_data *rdata)
...
@@ -3557,6 +3557,10 @@ mod_on_rx_request (pjsip_rx_data *rdata)
if
(
found
!=
std
::
string
::
npos
)
if
(
found
!=
std
::
string
::
npos
)
peerNumber
.
erase
(
found
,
found
+
4
);
peerNumber
.
erase
(
found
,
found
+
4
);
found
=
peerNumber
.
find
(
"@"
);
if
(
found
!=
std
::
string
::
npos
)
peerNumber
.
erase
(
found
);
_debug
(
"UserAgent: Peer number: %s"
,
peerNumber
.
c_str
());
_debug
(
"UserAgent: Peer number: %s"
,
peerNumber
.
c_str
());
// Get the server voicemail notification
// Get the server voicemail notification
...
...
Write
Preview
Supports
Markdown
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