|Summary:||ASTERISK-20338: iax2 debug only shows received packets when "iax2 set debug peer xxx" is used|
|Reporter:||John Covert (jcovert)||Labels:|
|Date Opened:||2012-08-29 10:59:48||Date Closed:||2012-09-10 15:55:07|
|Environment:||All (my environment is Mac OSX 10.4.11 PowerPC)||Attachments:||( 0) chan_iax2.c.patch|
|Description:||Only received packets are shown by "iax2 set debug peer xxxx".|
In routine iax_outputframe, the correct test for either "iaxdebug" or a match with "debugaddr" is done.
However, routine send_packet was not modified to call iax_outputframe instead of directly calling iax_showframe.
Also, routine send_apathetic_reply, while modified to call iax_outputframe, still contains a test of "iaxdebug" which should not be done, since the full, correct test is in iax_outputframe.