I fixed the problem commenting the revert_uri(), so it call each time the modified uri that i have after lookup("aliases"). very easy after all.
What I am not able to preview is the future implication of commenting revert_uri() giving the fact that in all samples it is present.
Thanks
Rosario
----- Original Message ----- From: "Stefan Sayer" sayer@fokus.fraunhofer.de To: "Rosario Pingaro" rpingar@italycom.it Sent: Thursday, June 16, 2005 6:49 PM Subject: Re: Fw: [Serusers] voice mail problem on alias
Hello,
that is interesting - if you find the answer can you mail me as well? (I'd like to add that to the documentation.)
I think it depends on how you read the email adress from the db - probably you are loading it with something like avp_db_load( "$ruri", "$email/$email_scheme"); and if it is not found you'd have to check if it is an alias and lookup the real name.
Another option is to use user_prefix_separator, only a single ser instance, I think with this scheme there is not this problem with the alias (but i am not sure).
Stefan Rosario Pingaro wrote:
Debugging sems seems that the probelm is related on how ser pass the user to sems; in fact when I call the alias and the use is ofline ser pass the real user to sems. when ser get a timeout pass to sems the alias, sems is not able to find an email for the alias and so i get the error.
How to workaround this?
Thanks Rosario
----- Original Message ----- From: Rosario Pingaro To: serusers@lists.iptel.org Sent: Thursday, June 16, 2005 5:20 PM Subject: [Serusers] voice mail problem on alias
Hi I am implementing voice mail using ser and sems, ser 0.9.2 and latesr sems from cvs.
I have the failure_route[x] to activate the voicemail also when i get an invite timeoute for my users. failure_route[1] { revert_uri(); rewritehostport("xxx.xxx.xxx.xxx:5090"); append_branch(); t_relay_to_udp("xxx.xxx.xxx.xxx", "5090"); }
I don't have any problem when i try to leave a voice mail for an "user". On the "alias" the voicemail works fine when the user is offline, but when it is online and get a timeout sems respond with a 404 no email address for user
the fact that the voicemail works on alias when it is off line push me to think the problem is into the failure_route. But I don't know what to add to get it working.
Any help is welcome.
Thanks Rosario
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers