Hi All,
We ‘re encountering the error “Codec G.729 encoder error!”. Would you please give us some hints how to resolve the issue ? I’ve attached the log message in the followings. Thanks
SIP Log:
2015-08-11 14:32:28.807295 [DEBUG] sofia.c:6715 Channel sofia/internal/10810609@146.222.181.146 entering state [completed][200]
2015-08-11 14:32:28.807295 [NOTICE] mod_dptools.c:1309 Channel [sofia/internal/10810609@146.222.181.146] has been answered
2015-08-11 14:32:28.807295 [DEBUG] switch_channel.c:3759 (sofia/internal/10810609@146.222.181.146) Callstate Change EARLY -> ACTIVE
EXECUTE sofia/internal/10810609@146.222.181.146 playback(ivr/ivr-welcome_to_freeswitch.wav)
2015-08-11 14:32:28.807295 [DEBUG] switch_ivr_play_say.c:1359 Codec Activated L16@8000hz 1 channels 20ms
recv 454 bytes from tcp/[146.222.181.146]:53483 at 14:32:28.817573:
------------------------------------------------------------------------
ACK sip:10818899@146.222.181.242:5060;transport=tcp SIP/2.0
Via: SIP/2.0/TCP 146.222.181.146:5060;branch=z9hG4bK146f1e181af4
From: <sip:10810609@146.222.181.146>;tag=11828~406686f1-eb54-4f74-9646-b75095131124-22185543
To: <sip:10818899@146.222.181.242>;tag=F3Qc7t63vH7pK
Date: Tue, 11 Aug 2015 06:46:42 GMT
Call-ID: b8327a80-5c919a52-1457-92b5de92@146.222.181.146
Max-Forwards: 70
CSeq: 101 ACK
Allow-Events: presence, kpml
Content-Length: 0
------------------------------------------------------------------------
2015-08-11 14:32:28.827339 [DEBUG] sofia.c:6715 Channel sofia/internal/10810609@146.222.181.146 entering state [ready][200]
2015-08-11 14:32:28.827339 [ERR] mod_g729.c:102 This codec is only usable in passthrough mode!
2015-08-11 14:32:28.827339 [ERR] switch_core_io.c:1423 Codec G.729 encoder error!
2015-08-11 14:32:28.827339 [DEBUG] switch_ivr_play_say.c:1805 done playing file /usr/local/freeswitch/sounds/en/us/callie/ivr/ivr-welcome_to_freeswitch.wav
EXECUTE sofia/internal/10810609@146.222.181.146 sleep(500)
2015-08-11 14:32:28.927320 [DEBUG] switch_rtp.c:6462 Correct audio ip/port confirmed.
2015-08-11 14:32:29.347316 [NOTICE] switch_core_state_machine.c:315 sofia/internal/10810609@146.222.181.146 has executed the last dialplan instruction, hanging up.
2015-08-11 14:32:29.347316 [NOTICE] switch_core_state_machine.c:317 Hangup sofia/internal/10810609@146.222.181.146 [CS_EXECUTE] [NORMAL_CLEARING]
2015-08-11 14:32:29.347316 [DEBUG] switch_core_state_machine.c:539 (sofia/internal/10810609@146.222.181.146) State EXECUTE going to sleep
2015-08-11 14:32:29.347316 [DEBUG] switch_core_state_machine.c:473 (sofia/internal/10810609@146.222.181.146) Running State Change CS_HANGUP
2015-08-11 14:32:29.347316 [DEBUG] switch_core_state_machine.c:739 (sofia/internal/10810609@146.222.181.146) Callstate Change ACTIVE -> HANGUP
2015-08-11 14:32:29.347316 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/10810609@146.222.181.146) State HANGUP
2015-08-11 14:32:29.347316 [DEBUG] mod_sofia.c:431 Channel sofia/internal/10810609@146.222.181.146 hanging up, cause: NORMAL_CLEARING
2015-08-11 14:32:29.347316 [DEBUG] mod_sofia.c:484 Sending BYE to sofia/internal/10810609@146.222.181.146
send 657 bytes to tcp/[146.222.181.146]:5060 at 14:32:29.348499:
------------------------------------------------------------------------
BYE sip:10810609@146.222.181.146:5060;transport=tcp SIP/2.0
Via: SIP/2.0/TCP 146.222.181.242;branch=z9hG4bK62B2N5Z2yK39D
Max-Forwards: 70
From: <sip:10818899@146.222.181.242>;tag=F3Qc7t63vH7pK
To: <sip:10810609@146.222.181.146>;tag=11828~406686f1-eb54-4f74-9646-b75095131124-22185543
Call-ID: b8327a80-5c919a52-1457-92b5de92@146.222.181.146
CSeq: 79301310 BYE
User-Agent: FreeSWITCH-mod_sofia/1.7.0+git~20150810T224801Z~28ae331c93~64bit
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, path, replaces
Reason: Q.850;cause=16;text="NORMAL_CLEARING"
Content-Length: 0
------------------------------------------------------------------------
2015-08-11 14:32:29.347316 [DEBUG] switch_core_state_machine.c:60 sofia/internal/10810609@146.222.181.146 Standard HANGUP, cause: NORMAL_CLEARING
2015-08-11 14:32:29.347316 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/10810609@146.222.181.146) State HANGUP going to sleep
2015-08-11 14:32:29.347316 [DEBUG] switch_core_state_machine.c:508 (sofia/internal/10810609@146.222.181.146) State Change CS_HANGUP -> CS_REPORTING
2015-08-11 14:32:29.347316 [DEBUG] switch_core_state_machine.c:473 (sofia/internal/10810609@146.222.181.146) Running State Change CS_REPORTING
2015-08-11 14:32:29.347316 [DEBUG] switch_core_state_machine.c:827 (sofia/internal/10810609@146.222.181.146) State REPORTING
2015-08-11 14:32:29.347316 [DEBUG] switch_core_state_machine.c:104 sofia/internal/10810609@146.222.181.146 Standard REPORTING, cause: NORMAL_CLEARING
2015-08-11 14:32:29.347316 [DEBUG] switch_core_state_machine.c:827 (sofia/internal/10810609@146.222.181.146) State REPORTING going to sleep
2015-08-11 14:32:29.347316 [DEBUG] switch_core_state_machine.c:499 (sofia/internal/10810609@146.222.181.146) State Change CS_REPORTING -> CS_DESTROY
2015-08-11 14:32:29.347316 [DEBUG] switch_core_session.c:1639 Session 5 (sofia/internal/10810609@146.222.181.146) Locked, Waiting on external entities
2015-08-11 14:32:29.347316 [NOTICE] switch_core_session.c:1657 Session 5 (sofia/internal/10810609@146.222.181.146) Ended
2015-08-11 14:32:29.347316 [NOTICE] switch_core_session.c:1661 Close Channel sofia/internal/10810609@146.222.181.146 [CS_DESTROY]
2015-08-11 14:32:29.347316 [DEBUG] switch_core_state_machine.c:630 (sofia/internal/10810609@146.222.181.146) Running State Change CS_DESTROY
2015-08-11 14:32:29.347316 [DEBUG] switch_core_state_machine.c:640 (sofia/internal/10810609@146.222.181.146) State DESTROY
2015-08-11 14:32:29.347316 [DEBUG] mod_sofia.c:341 sofia/internal/10810609@146.222.181.146 SOFIA DESTROY
2015-08-11 14:32:29.347316 [DEBUG] switch_core_state_machine.c:111 sofia/internal/10810609@146.222.181.146 Standard DESTROY
2015-08-11 14:32:29.347316 [DEBUG] switch_core_state_machine.c:640 (sofia/internal/10810609@146.222.181.146) State DESTROY going to sleep
recv 362 bytes from tcp/[146.222.181.146]:5060 at 14:32:29.358948:
------------------------------------------------------------------------
Best Regards,
David