Thanks. That was the problem.
I was working with the normal mail template, then it just stopped. Your idea
fixed my problem. Thanks a bunch.
C.
-----Original Message-----
From: Raphael Coeffic [mailto:coeffic@fokus.fraunhofer.de]
Sent: August 13, 2004 4:21 AM
To: CJ Benson
Cc: serusers(a)lists.iptel.org
Subject: Re: [Serusers] Emailing Voice Mail
Hi,
If you use the standard mail template for voicemail, then the plug-in will
use the domain it has been passed by Ser. The vm module passes the domain
it has found in the request uri. It is possible that if the user is
online, then the request uri will be replaced through the user's contact
leading vm to use the domain from the contact.
I'm not really sure of that, but it is the only idea i have :-(.
If you don't use multiple domains, just change the mail template:
instead of 'from: voicemail@%domain%', you could use something like
'voicemail(a)mysipserver.com'com'.
-Raphael.
On Fri, 13 Aug 2004, CJ Benson wrote:
Greetings once again all,
Thanks so much for your help on my previous silly errors. I have again met
up with one. I'm trying to have SEMS email users their voice mail. IF the
user is offline, it works very well, however, if the user is online, it
fails.
>From the logs I see that when the user is offline it is emailing them
from
"voicemail(a)mysipserver.com" but when the
user is online, it tries to mail
them from "voicemail@<users_public_ip>"
The domain in the subscriber table if MySQL is set to the correct domain,
but the contact field in the location table is set to
<user_phone_number>@<user_public_ip> if that makes a difference.
Thanks in advance for your help.
Cheers,
C.
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers