On Tue, Sep 27, 2011 at 5:42 AM, Antonio <asilva@wirelessmundi.com> wrote:
Hi,

I'm using a sangoma D100 transconding card for the codec g729, it works perfectly until recently that it stops working with the following error:


2011-09-27 10:32:45.192555 [DEBUG] mod_sangoma_codec.c:1095 sngtc_get_existing_rtp_session
2011-09-27 10:32:45.192555 [DEBUG] mod_sangoma_codec.c:1095 sngtc_get_free_rtp_session
2011-09-27 10:32:45.192555 [DEBUG] mod_sangoma_codec.c:224 New allocated port 13284 for IP 10.254.254.1/10.254.254.1
2011-09-27 10:32:45.192555 [DEBUG] mod_sangoma_codec.c:224 New allocated port 13286 for IP 10.254.254.1/10.254.254.1
2011-09-27 10:32:45.192555 [ERR] mod_sangoma_codec.c:1106 Create Transcoding Session Error
2011-09-27 10:32:45.192555 [DEBUG] mod_sangoma_codec.c:243 Released port 13284 for IP 10.254.254.1/10.254.254.1
2011-09-27 10:32:45.192555 [DEBUG] mod_sangoma_codec.c:243 Released port 13286 for IP 10.254.254.1/10.254.254.1
2011-09-27 10:32:45.192555 [DEBUG] mod_sangoma_codec.c:1095 sngtc_release_rtp_session
2011-09-27 10:32:45.192555 [ERR] mod_sangoma_codec.c:486 Failed to create Sangoma encoding session.
2011-09-27 10:32:45.192555 [ERR] switch_core_io.c:1060 Codec Sangoma G729 encoder error!


This error has trigger by the stop/start of freeswitch.

I had to restart the sangoma daemon (sngtc_server) to make it work again.


Do i have to restart the sangoma daemon every time i restart the freeswitch? shouldn't they be independent?

They are independent. If you can reproduce this problem, pastebin the log /var/log/sngtc_server.log output when the error happens.

Moises Silva
Senior Software Engineer, Software Development Manager
Sangoma Technologies Inc. | 100 Renfrew Drive, Suite 100, Markham ON L3R 9R6 Canada
t. 1 905 474 1990 x128 | e. moy@sangoma.com