Hi Folks… I am running across an issue that I am at an impasse on and hope you can help/guide me…
I have this system almost ready to deploy except for a problem I am having with codecs - I think !!!
General info is we are running Cent OS 6 - and Asterisk 12.0 on a clean system. I have only 10 extensions and they are SNOM 320 phones.
My specific problem is when I make an outbound call to a 3rd party or an extension call to my other office ( they have their own setup like this one ) - the call goes through using g729 which is installed and registered. However, if I try to access my voicemail or conference rooms, I get dead air - no audio and a command line full of the following output…
– Executing [*98@from-internal:1] Answer(“SIP/71006-0000072e”, “”) in new stack
– Executing [*98@from-internal:2] Wait(“SIP/71006-0000072e”, “1”) in new stack
[2013-05-15 15:18:25] WARNING[10721][C-00000744]: channel.c:5303 set_format: Unable to find a codec translation path from (g729) to (slin)
[2013-05-15 15:18:25] ERROR[10721][C-00000744]: channel.c:8717 ast_channel_start_silence_generator: Could not set write format to SLINEAR
– Executing [*98@from-internal:3] NoOp(“SIP/71006-0000072e”, “app-dialvm: Asking for mailbox”) in new stack
– Executing [*98@from-internal:4] Read(“SIP/71006-0000072e”, “MAILBOX,vm-login,3,2”) in new stack
[2013-05-15 15:18:26] WARNING[10721][C-00000744]: channel.c:5303 set_format: Unable to find a codec translation path from (g729) to (gsm|ulaw)
[2013-05-15 15:18:26] WARNING[10721][C-00000744]: file.c:1014 ast_streamfile: Unable to open vm-login (format (g729)): No such file or directory
– User disconnected
– Executing [*98@from-internal:5] NoOp(“SIP/71006-0000072e”, "app-dialvm: Got Mailbox ") in new stack
– Executing [*98@from-internal:6] Macro(“SIP/71006-0000072e”, “get-vmcontext,”) in new stack
– Executing [s@macro-get-vmcontext:1] Set(“SIP/71006-0000072e”, “VMCONTEXT=”) in new stack
– Executing [s@macro-get-vmcontext:2] GotoIf(“SIP/71006-0000072e”, “1?200:300”) in new stack
– Goto (macro-get-vmcontext,s,200)
– Executing [s@macro-get-vmcontext:200] Set(“SIP/71006-0000072e”, “VMCONTEXT=default”) in new stack
[2013-05-15 15:18:26] ERROR[10721][C-00000744]: app_voicemail.c:11953 acf_mailbox_exists: MAILBOX_EXISTS requires an argument ([@])
[2013-05-15 15:18:26] WARNING[10721][C-00000744]: func_logic.c:192 acf_if: Syntax IF(?[][:]) (expr must be non-null, and either or must be non-null)
[2013-05-15 15:18:26] WARNING[10721][C-00000744]: func_logic.c:193 acf_if: In this case, =’’, =‘SUCCESS’, and =‘FAILED’
– Executing [*98@from-internal:7] Set(“SIP/71006-0000072e”, “VMBOXEXISTSSTATUS=”) in new stack
– Executing [*98@from-internal:8] GotoIf(“SIP/71006-0000072e”, “0?good:bad”) in new stack
– Goto (from-internal,*98,14)
– Executing [*98@from-internal:14] NoOp(“SIP/71006-0000072e”, “app-dialvm: BAD mailbox @default”) in new stack
– Executing [*98@from-internal:15] Wait(“SIP/71006-0000072e”, “1”) in new stack
[2013-05-15 15:18:26] WARNING[10721][C-00000744]: channel.c:5303 set_format: Unable to find a codec translation path from (g729) to (slin)
[2013-05-15 15:18:26] ERROR[10721][C-00000744]: channel.c:8717 ast_channel_start_silence_generator: Could not set write format to SLINEAR
– Executing [*98@from-internal:16] NoOp(“SIP/71006-0000072e”, “app-dialvm: Asking for password so people can’t probe for existence of a mailbox”) in new stack
– Executing [*98@from-internal:17] Read(“SIP/71006-0000072e”, “FAKEPW,vm-password,3,2”) in new stack
[2013-05-15 15:18:27] WARNING[10721][C-00000744]: channel.c:5303 set_format: Unable to find a codec translation path from (g729) to (gsm|ulaw)
[2013-05-15 15:18:27] WARNING[10721][C-00000744]: file.c:1014 ast_streamfile: Unable to open vm-password (format (g729)): No such file or directory
– User disconnected
– Executing [*98@from-internal:18] NoOp(“SIP/71006-0000072e”, “app-dialvm: Asking for mailbox again”) in new stack
– Executing [*98@from-internal:19] Read(“SIP/71006-0000072e”, “MAILBOX,vm-incorrect-mailbox,3,2”) in new stack
[2013-05-15 15:18:27] WARNING[10721][C-00000744]: channel.c:5303 set_format: Unable to find a codec translation path from (g729) to (gsm|ulaw)
[2013-05-15 15:18:27] WARNING[10721][C-00000744]: file.c:1014 ast_streamfile: Unable to open vm-incorrect-mailbox (format (g729)): No such file or directory
If I change the order of the codecs in my Trunk and put the alaw/ulaw codecs ahead of the g729, then I CAN access the Voicemail and Conference rooms - BUT when I call my other office via IAX - then all I hear are clicks and noise and they CAN’T hear me!
I get similar output in my CLI - talking about codec translations etc.
How do set this up for any call - where or what should my settings be? I see codecs can be set on the phones - in the configs etc - what will work for ALL calls??