g729 issue


I have not found any advice within previous topics so I post new one.
For the beginning I have asterisk with cisco 7940 and Linksys PAP2T.
Calls goes around without any problems between phones and to/from provider.
All using alaw/ulaw/g729. System prompts plays too.
Problem starts with voicemail.

I cannot leave message or record any greeting when usiing codec g729. When doing the same with alaw/ulaw all works fine including greetings and leaving vm messages.

This is home system, with one active call at maximum.

PLease advice what left me to do.

example logs below:

-- Executing [111@DLPN_DialPlan1:1] VoiceMailMain("SIP/193-00000031", "193@default") in new stack -- <SIP/193-00000031> Playing 'vm-password' (language 'en') -- <SIP/193-00000031> Playing 'vm-youhave' (language 'en') -- <SIP/193-00000031> Playing 'vm-no' (language 'en') -- <SIP/193-00000031> Playing 'vm-messages' (language 'en') -- <SIP/193-00000031> Playing 'vm-options' (language 'en') -- Recording the message -- <SIP/193-00000031> Playing 'vm-rec-name' (language 'en') -- <SIP/193-00000031> Playing 'beep' (language 'en') -- x=0, open writing: /var/spool/asterisk/voicemail/default/193/greet.tmp format: wav49, 0x81832e8 -- x=1, open writing: /var/spool/asterisk/voicemail/default/193/greet.tmp format: gsm, 0x8165ef0 -- x=2, open writing: /var/spool/asterisk/voicemail/default/193/greet.tmp format: wav, 0x81a64b0 -- x=3, open writing: /var/spool/asterisk/voicemail/default/193/greet.tmp format: g729, 0x819b4e0 [Nov 5 22:33:03] WARNING[11750]: channel.c:3124 set_format: Unable to find a codec translation path from 0x100 (g729) to 0x40 (slin) [Nov 5 22:33:03] WARNING[11750]: app.c:589 __ast_play_and_record: Unable to set to linear mode, giving up == Spawn extension (DLPN_DialPlan1, 111, 1) exited non-zero on 'SIP/193-00000031'

Do you have G.729 licenses installed on your system? G.729 codec translation is subject to royalties due to the patents on G.729.


Well, I haven’t got, yet.
When i check show channel during outside call, I can see 2 legs. Does it mean I need 2 licenses or just 1 (like per call) ??

I’d say you had no licences. You only need licences if you need to convert G.729 to another format.