[Serusers] Voicemail implementation
jan at iptel.org
Fri Jul 25 18:43:16 CEST 2003
On 25-07 12:20, Juan J. Sierralta P. wrote:
> What a I meant was: Since SER checks the To HF to get the user so its
> email address for voicemail but sometimes the To URI doesn't reflect the
> real created username in SER DBs, because some SIP Phone called
> 6389420 at xdomain and xdomain proxy prefixed "562" and forwarded to SER
> since the SER user is 5626389420 at serdomain but the To HF says
> 6389420 at xdomain, so the username doesn't match in the DB.
> And I was wondering if SER used To HF to check if the missed call was
> for one of its users but I noted that actually it logs every missed call
> even if the user doesn't exist in the domain, that's why I asked how can
> I check if the user actually exist in the subscriber table.
> Thanks for the support.
Sorry, I was wrong, username from R-URI is taken, not from To, I just
looked it up in the sources.
The username part of R-URI will be preserved if you use
rewritehostport, the function rewrites just hostname and (optionaly)
port number, so voicemail will be still able to get callee's username.
More information about the sr-users