Hi again,
Sorry if my mail a little bit late.(I don't have 24 hours internet connection here
=( )
I'm having my voicemail running now. Thanx for the explanations.
The problem right now is, I cannot dial mailbox and mailbox_query
I found SEMS log like below when I try to call 113 (mailbox):
(12441) DEBUG: execute (AmInterfaceHandler.cpp:144): Request OK: dispatch it!
(12441) ERROR: createSession (AmSessionContainer.cpp:300): application 'mailbox'
not found !(12441) ERROR: startSessionUAS (AmSessionContainer.cpp:232): startSession:
application 'mailbox' not found !
(12441) DEBUG: init (AmCtrlInterface.cpp:231): AmUnixCtrlInterface::init @
/tmp/2447D16C-461F06B2000C51E5-00004000
(12441) DEBUG: write_to_socket (AmUtils.cpp:588): sending:
<:t_reply:/tmp/2447D16C-461F06B2000C51E5-00004000
500
application 'mailbox' not found !
49070:1051723537
0F97205D-461F06B2000C51F5-00004000
and 117 (mailbox_query):
(12441) DEBUG: execute (AmInterfaceHandler.cpp:144): Request OK: dispatch it!
(12441) ERROR: createSession (AmSessionContainer.cpp:300): application
'mailbox_query' not found !(12441) ERROR: startSessionUAS
(AmSessionContainer.cpp:232): startSession: application 'mailbox_query' not found
!
(12441) DEBUG: init (AmCtrlInterface.cpp:231): AmUnixCtrlInterface::init @
/tmp/7DBEC3E3-461F06A50003254E-00004000
(12441) DEBUG: write_to_socket (AmUtils.cpp:588): sending:
<:t_reply:/tmp/7DBEC3E3-461F06A50003254E-00004000
500
application 'mailbox_query' not found !
18704:1203513393
448D10E4-461F06A50003256F-00004000
I didn't found any python or IVR logs when running SEMS.conf. Is that maybe the
problems?
And, do I have to install IMAP server for the mailbox application?
are voicemail and mailbox application related? I mean, voicemail record the voice
message and maibox stores it in the mail directory (this is just my thought)
Please more explain this part if I'm wrong.
Thank you
Regards,
Meidiana
sip <sip(a)arcdiv.com> wrote:
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 voicemail config 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 sorry for 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.
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
Check outnew cars at Yahoo! Autos.