Okay, I'll see if I can answer this so that it makes a little sense.
Our particular setup is, from what I gather, rather normal. We have a SER server running
with a basic, general ser.cfg. We also have another SER server running with a
SEMS-specific ser.cfg that we use for handling all the SEMS stuff (it's the only one
that directly communicates with the SEMS socket). Our SER server runs on port 5060. Our
ser server that handles SEMS stuff runs on port 5090.
The basic gist of the config for SEMS is that it checks the URI for some of the basic SEMS
stuff (echo server, conference calls, etc), and if it doesn't meet one of those
criteria, it defaults to sending the call to the SEMS voicemail module:
if (uri=~"^sip:301") {
if(!t_write_unix("/tmp/am_sock","echo")) {
t_reply("500","error contacting sems");
};
break;
};
log(1,"**** VM ****\n");
if(!t_write_unix("/tmp/am_sock","voicemail")) {
t_reply("500","error contacting sems");
};
break;
etc, etc.
Inside the sems.conf, there's a config line to point to the ser fifo (or socket).
Something like: ser_fifo_name=/tmp/vm_ser_fifo
SEMS should automagically determine the number dialed and the email address to send the
wav/mp3 message based on communication via the fifo. It talks to the SER server and
queries the DB through it, querying, I believe, the subscriber table for the
email_address.
There is another way to give SEMS the email address and default language for the email
template, using AVPs, but I've never gotten it to work. It appears the syntax is not
accepted in the version of the tm I have with SER 0.9.6. You can look at the SEMS config
examples for more information there.
From there, it's just a matter of setting some
timeout conditions in the port 5060 SER, so that if a user doesn't answer (or
isn't logged in), it forwards the call to the port 5090 SER (which forwards it to
SEMS).
I hope I didn't confuse things further.
N.
On Thu, 12 Apr 2007 06:59:53 -0700 (PDT), Meidiana Ten wrote
Hi,
Thanx very much for replying this fast..
I'm having SER v.0.9.6 as server.
Just now, I tried to re-configure my SER script
and I place the forwarding script before subscriber lookup and the voicemail works
perfectly now. Btw, thanx before..
What I'm confusing now is the usage of voicemail and mailbox.
As I know from the tutorials, voicemail is used for storing voice message which a caller
left for negative reply callee and mailbox is to store the the message. Is that right?
What I got here is, whoever a caller left a voice message for, voicemail is directly
store in /var/spool/mail/root, and the <To> header is always fill with
root@localhost.
What file can I configure so the <To> header can be dynamic depend on who the
caller leave the message for?
Then, when I tried to call mailbox (113), my voicemailconfig log appears that the mailbox
application not found? What is that matter?
Sorry if my questions alittle bit confusing..
Thanx again
Regards,
Meidiana
sip <sip(a)arcdiv.com> wrote: Forwarding a call to SEMS should be done on the server
side. Trying to do it via the client side adds in a whole new level of annoyance and
complexity, and I've honestly never gotten client-side forwards to work right from
X-lite.
What version of SER are you using? Have you looked at the SEMS setup configs? What does
the portion of your SER config look like where you send a call to SEMS?
N.
On Wed, 11 Apr 2007 07:25:55 -0700 (PDT), Meidiana Ten wrote
Hi there,
I'm sorryfor bothering all this time with same questions
I still can't solve the problem because nobody reply it.
I really don't have any idea about how SEMS works.
I setup eyebeam to forward call to voicemail number which is 115@domain
for more info, the voicemail address was one of the user in subscriber/aliases table of
SER that I added.
When the call forwarded, SER have to check to usrloc for the address. It automatically
appear that User not found on the softphone.
Will it be any way that I don't have to create the address for voicemail address but
SER can forward the call for SEMS?
Or maybe my softphone forward call setting isn't right?Btw, I'm using eyebeam.
I hope that someone reply for my mail this time.
I'm sorry if my english is bad.
Regards,
Meidiana
-----------------------------------------------------------------------
Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo!
Games.