diff --git a/sflphone-common/src/sip/sipvoiplink.cpp b/sflphone-common/src/sip/sipvoiplink.cpp index bf4e21fb2bfcdecaca39a639f8c33d67ab9712e7..dfb34d2f83489ab42e5284ac3b04982525bd1bcf 100644 --- a/sflphone-common/src/sip/sipvoiplink.cpp +++ b/sflphone-common/src/sip/sipvoiplink.cpp @@ -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