[Serusers] SEMS - No email address error

Raphael Coeffic rco at iptel.org
Sat Nov 29 13:30:56 CET 2003


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 at lists.iptel.org mailing list.
For questions related to Ser and its configuration, use serusers at lists.iptel.org.

-Regards,
Raphael.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20031129/9a269087/attachment.htm>


More information about the sr-users mailing list