[Home]

Summary:ASTERISK-24150: FRACK when using iax.conf bandwidth option.
Reporter:Richard Mudgett (rmudgett)Labels:
Date Opened:2014-07-31 12:01:21Date Closed:2014-08-07 13:53:22
Priority:MajorRegression?Yes
Status:Closed/CompleteComponents:Channels/chan_iax2
Versions:SVN Frequency of
Occurrence
Constant
Related
Issues:
Environment:Attachments:( 0) pjsip.conf
Description:A FRACK happens when you make an outgoing IAX2 call with the iax.conf.sample file used as the iax.conf file.

After some analysis, the FRACK happens because of the use of the iax.conf bandwidth option.  The option is supposed to be equivalent to various allow/disallow settings.  That option effectively does not work to select codecs.

With trunk installed, called 500@default from PJSIP extension with sample dialplan, got a FRACK during Dial(IAX2/guest@pbx.digium.com/s@default).

{noformat}
FRACK!, Failed assertion position < AST_VECTOR_SIZE(&cap->preference_order) (0) at line 380 in ast_format_cap_get_format of format_cap.c
[Jul 24 10:57:25] ERROR[25185][C-00000000]: format_cap.c:380 ast_format_cap_get_format: FRACK!, Failed assertion position < AST_VECTOR_SIZE(&cap->preference_order) (0)
Got 27 backtrace records
#0: [0x5f9f15] main/utils.c:2554 __ast_assert_failed() (0x5f9e91+84)
#1: [0x51f82a] asterisk/utils.h:812 _ast_assert()
#2: [0x520b94] main/format_cap.c:382 ast_format_cap_get_format() (0x520b52+42)
#3: [0x7fe81e6f84a1] channels/chan_iax2.c:5950 ast_iax2_new()
#4: [0x7fe81e71fb33] channels/chan_iax2.c:12531 iax2_request()
#5: [0x4bbd8f] main/channel.c:5878 ast_request() (0x4bb97e+411)
#6: [0x7fe81a19b690] apps/app_dial.c:2425 dial_exec_full()
#7: [0x7fe81a19f226] apps/app_dial.c:3118 dial_exec()
#8: [0x569926] main/pbx.c:1619 pbx_exec() (0x5697fb+12B)
#9: [0x7fe85ce3eeaf] pbx/pbx_lua.c:235 lua_pbx_exec()
#10: [0x7fe85cc1a328] liblua-5.1.so <unknown>()
#11: [0x7fe85cc24e7f] liblua-5.1.so <unknown>()
#12: [0x7fe85cc1a73d] liblua-5.1.so <unknown>()
#13: [0x7fe85cc19a6e] liblua-5.1.so <unknown>()
#14: [0x7fe85cc1a8ca] liblua-5.1.so <unknown>()
#15: [0x7fe85cc1644d] liblua-5.1.so lua_pcall() (0x7fe85cc163f0+5D)
#16: [0x7fe85ce419b4] pbx/pbx_lua.c:1427 exec()
#17: [0x573c5e] main/pbx.c:4904 pbx_extension_helper()
#18: [0x576c10] main/pbx.c:5907 ast_spawn_extension() (0x576bac+64)
#19: [0x57823d] main/pbx.c:6323 __ast_pbx_run()
#20: [0x579a8e] main/pbx.c:6649 pbx_thread()
#21: [0x5f6b31] main/utils.c:1178 dummy_start()
{noformat}
Comments: