[Freeswitch-users] Problems with Voicemail
Peter P GMX
Prometheus001 at gmx.net
Mon Nov 23 18:37:11 PST 2009
I sorted it out.
Something went wrong with the odbc database. I deleted the voicemail
database tables, restarted FS and let FS create the tables again. Now it
works.
I can even share the voicemails across 2 Freeswitch boxes.
Best regards
Peter
Peter P GMX schrieb:
> I now created a file inbox.PCMA and get the following:
>
> * inbox.PCMA is played
> * the recorded voive mail file is not played (FS does not even try
> to do that)
> * then I hear
> o "to listen to the recording press 1"
> o "to save the recording press 2"
> o ...
>
> Here's the debug output
> 2009-11-22 20:17:43.701098 [DEBUG] switch_core_io.c:660
> sofia/internal/200 at sip1.mydomain.com receive message [TRANSCODING_NECESSARY]
> 2009-11-22 20:17:44.278600 [DEBUG] switch_ivr_play_say.c:1428 done
> playing file
> 2009-11-22 20:17:44.386776 [INFO] mod_native_file.c:82 Opening File
> [/usr/local/freeswitch/sounds/en/us/callie/inbox.PCMA] 8000hz
> 2009-11-22 20:17:45.201099 [DEBUG] switch_ivr_play_say.c:1428 done
> playing file
> 2009-11-22 20:17:45.201099 [DEBUG] switch_ivr_play_say.c:118 No language
> specified - Using [en]
> 2009-11-22 20:17:45.201099 [DEBUG] switch_ivr_play_say.c:273 Handle
> play-file:[voicemail/vm-listen_to_recording.wav] (en:en)
> 2009-11-22 20:17:45.201099 [DEBUG] switch_ivr_play_say.c:1136 Codec
> Activated L16 at 8000hz 1 channels 20ms
> 2009-11-22 20:17:45.201099 [DEBUG] switch_core_io.c:660
> sofia/internal/200 at sip1.mydomain.com receive message [TRANSCODING_NECESSARY]
> 2009-11-22 20:17:46.419933 [DEBUG] switch_ivr_play_say.c:1428 done
> playing file
>
> nGrepping port 3306 I can see that the correct filenames are retrieved
> from the mysql/odbc database:
> 1258894746.0.200.sip1.mydomain.com$d11c2a74-d766-11de-997b-bd7aecdc2a16.Gor
> Nico.061035013113.inboxq/usr/local/freeswitch/storage/voicemail/default/sip1.mydomain.com/200/msg_c57a5e84-d766-11de-997b-bd7aecdc2a16.wav.4..B_NORMAL.....47
> 1258897120.0.200.sip1.mydomain.com$580dafee-d76c-11de-84d4-a1cd7fa320b3.Gor
> Nico.061035013113.inboxq/usr/local/freeswitch/storage/voicemail/default/sip1.mydomain.com/200/msg_4d484a7e-d76c-11de-84d4-a1cd7fa320b3.wav.5..B_NORMAL.........
> Both filenames can be read.
>
> Best regards
> Peter
>
> Peter P GMX schrieb:
>
>> I installed all sounds from SVN, but
>>
>> usr/local/freeswitch/sounds/en/us/callie/inbox.PCMA
>>
>> isn't there. I checked another, older installation and couldn't this
>> file either.
>>
>> I think that freeswitch tries to build a sound path for the file to be
>> played, and some parts of the path are missing.
>> I expect it would play a recorded message at that time in
>> /usr/local/freeswitch/storage/voicemail/default/${domain} and the
>> defined format is "wav" not pcma.
>>
>> I also set "storage_dir" explicitely in the voicemail configs,but this
>> also didn't help.
>>
>> Best regards
>> Peter
>>
>>
>> Brian West schrieb:
>>
>>
>>> I'm going to venture to guess maybe the file was recorded in a
>>> different codec and NOT pcma?
>>>
>>> /b
>>>
>>> On Nov 20, 2009, at 6:56 PM, Peter P GMX wrote:
>>>
>>>
>>>
>>>
>>>> 2009-11-20 23:16:53.592349 [ERR] mod_native_file.c:68 Error opening /
>>>> usr/local/freeswitch/sounds/en/us/callie/inbox.PCMA
>>>>
>>>>
>>>>
>>> _______________________________________________
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>>>
>>>
>>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
More information about the FreeSWITCH-users
mailing list