Hello Jiri,
Wow ... voicemail is working now: TNX !
I can ear "something" with my Xlite client but voice is pretty distorted, I suppose that I have to convert the default announcement to another sample rate/frequency/codec.
Unfortunately nothing is recorded, here is a trascript of voicemail session, any help will be appreciated ...
200 OK 58383:45571714 00000BD46BBF2446 Contact: sip:300001@interconnessioni.it:5090 Content-Type: application/sdp . v=0 o=username 0 0 IN IP4 127.0.0.1 s=session c=IN IP4 127.0.0.1 t=0 0 m=audio 30410 RTP/AVP 3 a=rtpmap:3 gsm/8000 .
(3163) DEBUG: openReplyFifo (AmRequest.cpp:292): openReplyFifo start (3163) DEBUG: openReplyFifo (AmRequest.cpp:313): creating reply fifo filehandle (3163) DEBUG: openReplyFifo (AmRequest.cpp:334): opening reply fifo (3163) DEBUG: write_to_fifo (AmRequest.cpp:635): Write to fifo: completed (3163) DEBUG: getReturnCode (AmRequest.cpp:380): response from Ser: 200 fifo_t_reply succeeded (3163) DEBUG: getReturnCode (AmRequest.cpp:401): r_uri= <> (3163) DEBUG: getReturnCode (AmRequest.cpp:404): cmd.next_hop= <> (3163) DEBUG: getReturnCode (AmRequest.cpp:405): cmd.route= <> (3163) DEBUG: run (AmSession.cpp:115): Sending Rtp data to 212.141.166.135/8000 (3163) DEBUG: onSessionStart (AnswerMachine.cpp:65): starting sending announce...(/sems/audio/default_en.wav) (3163) DEBUG: trying to read WAV file (3163) DEBUG: tag = <RIFF> (3163) DEBUG: file size = <129710> (3163) DEBUG: tag = <WAVE> (3163) DEBUG: tag = <fmt > (3163) DEBUG: chunk_size = <18> (3163) DEBUG: fmt = <01> (3163) DEBUG: channels = <1> (3163) DEBUG: rate = <8000> (3163) DEBUG: bits/sample = <16> (3163) DEBUG: tag = <fact> (3163) DEBUG: chunk size = <4> (3163) DEBUG: tag = <data> (3163) DEBUG: chunk size = <129660> (3163) DEBUG: play (AmRtpStream.cpp:244): AmRtpStream::play: using payload 3 (3163) ERROR: pcm16_2_gsm: number of blocks should be integral (block size = 320) (3163) DEBUG: onSessionStart (AnswerMachine.cpp:67): ... announce reaches its end. (3163) DEBUG: onSessionStart (AnswerMachine.cpp:73): starting recording message...(/tmp/4FC9AB89-F383-412E-930B-E1694B82AAFB@212.141.166.135.wav) (3163) DEBUG: record (AmRtpStream.cpp:267): AmRtpStream::record: using payload 3 ...
(3163) DEBUG: onSessionStart (AnswerMachine.cpp:76): ... finished recording message (3163) DEBUG: onSessionStart (AnswerMachine.cpp:82): recorded data size: 0 (3163) DEBUG: sadSession (AmSession.cpp:274): searching for session to destroy (hash=4FC9AB89-F383-412E-930B-E1694B82AAFB@212.141.166.135569566049,sess_key=00000BD46BBF2446) (3163) DEBUG: destroySession (AmSession.cpp:313): sess_it == sessions.end() (3028) DEBUG: getReturnCode (AmRequest.cpp:380): response from Ser: 200 fifo_t_reply succeeded (3028) DEBUG: getReturnCode (AmRequest.cpp:401): r_uri= <> (3028) DEBUG: getReturnCode (AmRequest.cpp:404): cmd.next_hop= <> (3028) DEBUG: getReturnCode (AmRequest.cpp:405): cmd.route= <> (3030) DEBUG: run (AmSession.cpp:213): Session cleaner starting its work (3030) DEBUG: run (AmSession.cpp:227): session 80e6740 has been destroyed' (3030) DEBUG: run (AmSession.cpp:244): Session cleaner finished