Ahh.. Thanks!  That did the trick. 
 
Now I have an all new problem. Whenever an incoming call is redirected to voicemail the call is disconnected immediately and SEMS is returning the error "606 could not find compatible payload".
 
We've checked all the codecs for the Sipura phone, as well as for SEMS and they are okay.  I've also scanned all the mailing list archives and done some google searching without finding any info on this problem.
 
Any ideas?  I've attached the debug log for SEMS once again.
 
Thanks very much!
 
Darren Nay - dnay@libertyisp.com
 
----- Original Message -----
From: Raphael Coeffic
To: Darren Nay ; serusers@lists.iptel.org
Cc: sems@lists.iptel.org
Sent: Saturday, November 29, 2003 5:30 AM
Subject: Re: [Serusers] SEMS - No email address error

Hello Darren,
 
the problem is, that the multi-domain support in the vm module is enabled.
The vm module then tries to find the email address with following query:
  SELECT email_address from subscriber where username='8646783188' and domain='10.10.0.58'
 
If you execute that query within mysql, i'm pretty sure that you won't get any result.
There are 2 solutions to your problem:
 
  1) disable the multi-domain support:
      - edit module/vm/defs.h and comment out #define MULTI_DOMAIN
      - compile the module again and install it.
 
  2) set the domain properly in the subscriber table. It must be the same as the domain in the Request URI.
 
If you choose 1), be sure that there will never be two users with the same username but a different domain name.
If you look at the subscriber table carefully, you will see that both username and domain are primary keys !
 
For questions related to Sems, please post to the sems@lists.iptel.org mailing list.
For questions related to Ser and its configuration, use serusers@lists.iptel.org.
 
-Regards,
Raphael.