Hi, Grigoriy

First of all, double check that you've got gsm plug-in loaded without error.
After that, check that your sems user has got permissions to access that
file.

BTW, I'm quite sure that your issue is caused by permissions.

2011/6/21 Grygoriy Dobrovolskyy <[email protected]>

> Good day, i have some files moved from asterisk with the .gsm
> extension, sems has the gsm audio module loaded however he is not able
> to stream me the file. I would like to use sems as a simple
> announncement player. Asterisk plays that files without any problem.
> What should i do to make sems play gsm encoded audio ?
> Thank you.
>
> Logs:
>
>  [#b6927b70/6756] [update_uas_reply, trans_layer.cpp:1473] DEBUG:
> update_uas_reply(t=0x82331e0)
>  [#b6927b70/6756] [reset_timer, sip_trans.cpp:185] DEBUG: New timer of
> type G at time=385 (repeated=0)
>  [#b6927b70/6756] [reset_timer, sip_trans.cpp:185] DEBUG: New timer of
> type H at time=1960 (repeated=0)
>  [#b6927b70/6756] [onSessionStart, Announcement.cpp:143] DEBUG:
> AnnouncementDialog::onSessionStart
>  [#b6927b70/6756] [fileName2Fmt, AmAudioFile.cpp:91] ERROR:
> fileName2Fmt: could not find a format with that extension: 'gsm'
>  [#b6927b70/6756] [fpopen_int, AmAudioFile.cpp:178] ERROR: while
> trying to determine the format of
> '/var/lib/asterisk/sounds/message_queue_INFOEN.gsm'
>  [#b6927b70/6756] [startSession, Announcement.cpp:159] ERROR: Couldn't
> open file /var/lib/asterisk/sounds/message_queue_INFOEN.gsm.
>  [#b6927b70/6756] [processEventsCatchExceptions, AmSession.cpp:424]
> ERROR: AnnouncementDialog::onSessionStart: Cannot open file
>
>  [#b6927b70/6756] [processEventsCatchExceptions, AmSession.cpp:431]
> ERROR: 500 unexpected exception.
>  [#b6927b70/6756] [run, AmSession.cpp:348] DEBUG: session event loop
> ended, finalizing session
>  [#b6927b70/6756] [finalize, AmSession.cpp:523] DEBUG: running
> finalize sequence...
>  [#b6927b70/6756] [destroy, AmSession.cpp:553] DEBUG: AmSession::destroy()
>  [#b6927b70/6756] [stop, AmThread.cpp:148] DEBUG: Thread 3063053168
> (3063053168) calling on_stop, give it a chance to clean up.
>  [#b6927b70/6756] [on_stop, AmSession.cpp:537] DEBUG: AmSession::stop()
>  [#b6927b70/6756] [clearAudio, AmSession.cpp:777] DEBUG: Audio cleared !!!
>  [#b6927b70/6756] [stop, AmThread.cpp:163] DEBUG: Thread 3063053168
> (3063053168) finished detach.
>  [#b6927b70/6756] [finalize, AmSession.cpp:529] DEBUG: session is stopped.
>  [#b6927b70/6756] [_start, AmThread.cpp:72] DEBUG: Thread 3063053168 is
> ending.
>  [#b6802b70/6757] [_start, AmThread.cpp:68] DEBUG: Thread 3061853040
> is starting.
>  [#b6c2ab70/6753] [run, udp_trsp.cpp:213] DEBUG: vv M [|] u recvd msg via
> UDP vv
> _______________________________________________
> Sems mailing list
> [email protected]
> http://lists.iptel.org/mailman/listinfo/sems
>



-- 
Best regards,
Alekzander Spiridonov
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems

Reply via email to