Summary:ASTERISK-00107: Format-names are not used or used incorrectly in some places.
Reporter:oliver (oliver)Labels:
Date Opened:2003-08-16 08:39:53Date Closed:2008-01-15 14:32:09.000-0600
Versions:Frequency of
Description:The new feature of displaying format-names is very nice, but it's IMHO not doing the expected thing in some places.  Here's examples of what I found so far:

 == Registered translator 'gsmtolin' from format G723 to UNKN, cost 1
 == Registered translator 'lintogsm' from format UNKN to G723, cost 2
[codec_mp3_d.so] => (MP3/PCM16 (signed linear) Translator (Decoder only))
 == Registered translator 'mp3tolin' from format ULAW to UNKN, cost 5
[codec_lpc10.so] => (LPC10 2.4kbps (signed linear) Voice Coder)
 == Registered translator 'lpc10tolin' from format UNKN to UNKN, cost 2
 == Registered translator 'lintolpc10' from format UNKN to UNKN, cost 6
[etc, etc]

-- Accepting AUTHENTICATED call from x.x.x.x, requested format = 2, actual format = 2

In "show channel <channel>:

  NativeFormat: 2
   WriteFormat: 2
(an IAX2-channel, in this case).
Comments:By: Mark Spencer (markster) 2003-08-16 10:41:40

Fixing the first part, leaving the second part :)

By: Digium Subversion (svnbot) 2008-01-15 14:32:09.000-0600

Repository: asterisk
Revision: 1351

U   trunk/translate.c

r1351 | markster | 2008-01-15 14:32:08 -0600 (Tue, 15 Jan 2008) | 2 lines

Fix bug ASTERISK-107