Hello,

this list has a message size limit of 40k; if you have large debug logs
to post, you can use pastebin or similar.

Subject:
SER->SEMS Config Not recording the voice message -> AmAudioEvent::noAudio event!
From:
"Randy Jackson" <[email protected]>
Date:
Thu, 11 Dec 2008 15:16:24 -0500
To:
<[email protected]>

Hello,

I have sems-0.10.0-rc2 & ser-0.9.6-sems loaded on a Linux centos 5 system. I am 
trying to run the voicemail application in the default configuration as identified 
in the instructions for the ser/sems combo that I have installed. Per the 
instructions I have downloaded the source to /usr/local/src in their respective 
directories and installed Ser for Sems in /opt/ser-sems. Right now I'm trying to 
understand and resolve a number of issues.  The first being passing the P-App-Name 
and P-App-Param headers with the INVITE. I have tried to pass these values a number 
of ways with no success because the avpops:load_avps: db_load fails on the 
language. I have worked around this by hardcoding the email and language with the 
avp_write before the call is made from ser to sems.  When doing so the voicemail 
application answers the call and presumably records the message.  I say presumably 
because I'm seeing the following indicators that the recording of the message and 
the sending of the e

mail are not really taking place. First indicator in the sems debug output is after the AmSession::SipRequest->onSessionStart I'm getting a "posting AmAudioEvent::noAudio event". Additionally when the sendMailNotification is called the log shows that the record size is 0. I’m expecting the recorded voice file to be in /tmp/<sessionid>.wav, but I’m not seeing the file show up. I've started to trace the code, but I sincerely believe that there is some that I have configured wrong. I have included the configuration files and debug output to assist in clarifying what I have stated. Can you help me get the right configuration so that I can successfully record a message and send it via email? Thanks in advance.

-Randy

About passing of parameters to SEMS, you will find string composition
much simpler with ser 2.1 functions.

As you already have noticed SEMS did not record any audio:
(4373) DEBUG: sendMailNotification (AnswerMachine.cpp:343): recorded
data size: 0
I suppose you are behind a NAT and your client sends RTP to some public
address, thus it does not reach the voicemail server. SEMS expects RTP
from 10.x.x.228/43436 . If you run tcpdump, do you see RTP flowing to SEMS?

The AmAudioEvent::noAudio is sent to notify the application of the end
of the welcome message, so that it knows it should start recording.

I would also suggest trying SEMS 1.0 or 1.1 RC1 as it is way easier to
use (no need for SER as SIP stack any more etc),
http://ftp.iptel.org/pub/sems/1.1/rc1/src/sems-1.1.0-rc1.tar.gz

BR
Stefan Sayer


-------- Original Message --------
Subject: Forward of moderated message
Date: Mon, 15 Dec 2008 15:47:27 +0100
From: [email protected]
To: [email protected]


--
Stefan Sayer
VoIP Services

[email protected]
www.iptego.com

IPTEGO GmbH
Am Borsigturm 40
13507 Berlin
Germany

Amtsgericht Charlottenburg, HRB 101010
Geschaeftsfuehrer: Alexander Hoffmann

_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems

Reply via email to