Summary:ASTERISK-03547: [patch] Make Sure IAX2 picks the requested format (if available)
Reporter:Anthony Minessale (anthm)Labels:
Date Opened:2005-02-19 09:26:14.000-0600Date Closed:2008-01-15 15:25:46.000-0600
Versions:Frequency of
Environment:Attachments:( 0) iaxtweak_rev1.diff
Description:This patch tweaks the behaviour in chan_iax2.c so that when a certian format is requested, you are guarenteed to use that format if it's available.


Disclaimer on file
Comments:By: Mark Spencer (markster) 2005-02-19 10:10:54.000-0600

Does this actually change the behavior?  It looks like c->nativeformats is anded with the supplied format before this is ever called such that ast_translator_best_choice is always the same as format, right?

By: Anthony Minessale (anthm) 2005-02-19 11:11:14.000-0600

dunno? how does best_codec know which one is format in an ANDED list? Wasn't this what you wanted me to try on the phone? If not wanna take a crack at it?

By: Anthony Minessale (anthm) 2005-02-19 12:00:06.000-0600

This patch will add more info to the native bridge fail message to get an idea what is going on.

By: Mark Spencer (markster) 2005-02-19 14:47:51.000-0600

Added to CVS, thanks!

By: Russell Bryant (russell) 2005-02-26 13:01:57.000-0600

not included in 1.0

By: Digium Subversion (svnbot) 2008-01-15 15:25:46.000-0600

Repository: asterisk
Revision: 5057

U   trunk/channels/chan_iax2.c

r5057 | markster | 2008-01-15 15:25:46 -0600 (Tue, 15 Jan 2008) | 2 lines

Provide more info when native bridge cannot occur (bug ASTERISK-3547)