Summary:ASTERISK-04354: [patch] TDD MODE ON command hangs up channel if TDD MODE not supported by that channel.
Reporter:Kevin P. Fleming (kpfleming)Labels:
Date Opened:2005-06-05 16:58:59Date Closed:2011-06-07 14:09:59
Versions:Frequency of
Description:If the TDD MODE ON command is executed against a channel that does not support TDD MODE, the channel is hung up.  The proper behavior according to the documentation is to return 0 if it is unsupported (1 if it is supported and enabled).


Function 'ast_channel_setoption' in 'channel.c' is returning -1 and errno=ENOSYS for channels that do not have the 'setoption' function defined.  This function is used to set TDD MODE.  If a channel does not have this function, setting any options on the channel generates an error, and appears to hang up the channel.  The TDD MODE option should not do this, instead it should return zero.<br />
The attached patch does fix the issue, however i'm fairly new to Asterisk code, and it may not be the right place/way to fix the issue.<br />
I have faxed a signed disclaimer.
Comments:By: Russell Bryant (russell) 2005-06-14 14:59:26

I noticed a little bug in the original patch so I am closing this until it is resolved again for cvs head