do you have lastest git HEAD ?
can you update and try again?


On Wed, Apr 28, 2010 at 11:03 AM, Peter P GMX <Prometheus001@gmx.net> wrote:
Hello,

I tried mod_com_g720 with 2 licenses and ran into a problem:

What DOES work with G729:

   * Calling Mailbox (Phone is Snom 360)
   * Calling external Numbers through Patton gatway

What does NOT work

   * Calling another Snom Phone with G.729 enabled (both Phones use
     TLS/SRTP)

Here an exempt from the log calling phone is 200, called phone is Snom 320:
2010-04-28 16:47:57.022827 [DEBUG] sofia_glue.c:3632 Audio Codec Compare
[G729:18:8000:20]/[G729:18:8000:20]
2010-04-28 16:47:57.022827 [DEBUG] sofia_glue.c:2293 Already using G729
2010-04-28 16:47:57.022827 [DEBUG] sofia_glue.c:3565 Set 2833 dtmf send
payload to 101
2010-04-28 16:47:57.022827 [DEBUG] sofia.c:4619 Processing updated SDP
2010-04-28 16:47:57.022827 [DEBUG] sofia_glue.c:2580 Audio params are
unchanged for sofia/internal/sip:208@192.168.178.126:5060.
2010-04-28 16:47:57.029474 [INFO] mod_com_g729.c:146 DECODER CREATE -
0x9a09510 0x8e774c8
2010-04-28 16:47:57.128943 [ERR] mod_com_g729.c:142 DECODER CREATE
FAILED - 0x8e9f9a8 (nil)
2010-04-28 16:47:57.128943 [ERR] switch_core_io.c:327 Codec G.729
decoder error!
2010-04-28 16:47:57.128943 [DEBUG] switch_ivr_bridge.c:478
sofia/internal/200@fs00.telefaks.biz ending bridge by request from read
function

g729_status
Permitted G.729AB channels: 2
Encoders in use: 0
Decoders in use: 0

Here is the dialplan
   <extension name="Local_Extension_no_Voicemail">.
     <condition field="destination_number" expression="^\S*$"
break="never">.
       <action application="set" data="transfer_ringback=${us-ring}"/>.
       <action application="set" data="dialed_ext=208"/>.
       <action application="set" data="effective_caller_id_number=200"/>.
       <action application="set" data="effective_caller_id_name=Peter "/>.
       <action application="db"
data="insert/call_return/${dialed_ext}/${caller_id_number}"/>.
       <action application="db"
data="insert/last_dial_ext/${dialed_ext}/${uuid}"/>.
       <action application="set" data="dialed_ext=208"/>.
       <action application="export" data="dialed_ext=208"/>.
       <action application="ring_ready" />.
       <action application="bridge" data="user/208@my.domain"/>
     </condition>.
   </extension>

Just tested it with an Aastra Phone without TLS: Same Behaviour.

Anybody has a clue how to solve this?

Best regards
Peter



--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
googletalk:conf+888@conference.freeswitch.org
pstn:+19193869900