mgcp: Return 0 in case transcoding is disabled.

In case transcoding is disabled no error has happened, return
a zero. This is fixing starting the nat without transcoding.
This commit is contained in:
Holger Hans Peter Freyther 2010-09-24 04:41:28 +08:00
parent cd8e810302
commit cf1c8777a4
1 changed files with 1 additions and 1 deletions

View File

@ -955,7 +955,7 @@ static void delete_transcoder(struct mgcp_endpoint *endp)
int mgcp_reset_transcoder(struct mgcp_config *cfg)
{
if (!cfg->transcoder_ip)
return -1;
return 0;
static const char mgcp_reset[] = {
"RSIP 1 13@mgw MGCP 1.0\r\n"