Commit 1991c71a authored by Alexandre Savard's avatar Alexandre Savard
Browse files

[#2618] Parse host name for incoming phone number

parent 40cdb895
...@@ -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)
_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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment