Skip to content
Snippets Groups Projects
Commit 1991c71a authored by Alexandre Savard's avatar Alexandre Savard
Browse files

[#2618] Parse host name for incoming phone number

parent 40cdb895
Branches
Tags
No related merge requests found
......@@ -3557,6 +3557,10 @@ mod_on_rx_request (pjsip_rx_data *rdata)
if (found!=std::string::npos)
peerNumber.erase(found, found+4);
found = peerNumber.find("@");
if (found!=std::string::npos)
peerNumber.erase(found);
_debug("UserAgent: Peer number: %s", peerNumber.c_str());
// Get the server voicemail notification
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment