Displaying 3 results from an estimated 3 matches for "ast_str_append".
2009 Mar 21
2
1.6.2 beta 1 crash
...les.
CRASH:
localhost*CLI> *** glibc detected *** /usr/sbin/asterisk: realloc(): invalid
next size: 0x08abff28 ***
======= Backtrace: =========
/lib/libc.so.6[0xdfa440]
/lib/libc.so.6(realloc+0x1a7)[0xdfb377]
/usr/sbin/asterisk(__ast_str_helper+0x75)[0x81403b5]
/usr/sbin/asterisk(ast_str_append+0x31)[0x814d531]
/usr/lib/asterisk/modules/func_odbc.so[0x14c1ee5]
/usr/sbin/asterisk(ast_func_read+0x100)[0x81009e0]
/usr/sbin/asterisk(pbx_substitute_variables_helper_full+0x29d)[0x81070dd]
/usr/sbin/asterisk[0x810797a]
/usr/sbin/asterisk[0x810a0a4]
/usr/sbin/asterisk[0x810bc20]
/usr/sbin/...
2008 Oct 08
1
make func_realtime work like app_realtime (1.6)
...base and your dialplan completely
breaks).
I'm getting a new 1.6 box built out and working, and wanted to emulate the
functionality of APP_realtime somehow, so I started digging around in the
func_realtime source - here's what I came up with:
For 1.6.0, look at line 86 of func_realtime.c
ast_str_append(&out, 0, "%s%s%s%s", var->name, args.delim2, var->value, args
.delim1);
I simply changed this to:
pbx_builtin_setvar_helper(chan, var->name, var->value);
Now when I call the realtime function, I get the channel variables populated
instead of having to parse that godawfu...
2009 Oct 05
3
Questions about app_jack.c
Hello,
My configuration is :
Card 0 - kernel dummy sound card
Card 1 - my soundcard
I have a jackd running in background. My jackd launch command is :
jackd --port-max 16 --realtime --no-mlock -d alsa --playback hw:1,0
--capture hw:1,0 --rate 8000 --period 1024 --shorts --inchannels 2
--outchannels 2 --dither triangular &
1 ) I open asterisk with chan_alsa.so connected (with asoundrc) to