Displaying 11 results from an estimated 11 matches for "ast_variable".
Did you mean:
add_variable
2014 Dec 16
1
Realtime not storing voicemail password changes
...d notice
that the password is not stored in the db when it is changed.
A little hair pulling and playing around and I think the problem is in the
function ast_update2_realtime in main/config.c.
Issued source is ==>
int ast_update2_realtime(const char *family, ...)
{
RAII_VAR(struct ast_variable *, lookup_fields, NULL,
ast_variables_destroy);
RAII_VAR(struct ast_variable *, update_fields, NULL,
ast_variables_destroy);
va_list ap;
va_start(ap, family);
/* XXX: If we wanted to pass no lookup fields (select all), we'd be
* out of luck. realtime_a...
2003 Jul 11
4
module : cdr_sybase.so
...quot;cdr_sybase: Could not insert cdr:
%s\n",sqlcmd);
return -1;
}
return 0;
}
char *description(void)
{
return desc;
}
int unload_module(void)
{
dbexit();
ast_cdr_unregister(name);
return 0;
}
int load_module(void)
{
int res;
struct ast_config *cfg;
struct ast_variable *var;
char *dbuser, *password, *dbserver, *application;
cfg = ast_load(config);
if (!cfg) {
ast_log(LOG_WARNING, "Unable to load config for sybase CDR's: %s\n",
config);
return 0;
}
var = ast_variable_browse(cfg, "global");
if (!var) {
return 0;...
2007 Jan 03
3
Asterisk Core Dump in app_queue - Anyone seen?
...queue *) 0x81adca8
ql = (struct ast_call_queue *) 0xbddfaec0
qn = (struct ast_call_queue *) 0xb7dc03b3
cfg = (struct ast_config *) 0x81aca30
cat = 0x81507e0 "mcao_QMain"
tmp = 0x6d6f7250 <Address 0x6d6f7250 out of bounds>
var = (struct ast_variable *) 0x811e340
prev = (struct member *) 0x8101b79
cur = (struct member *) 0x2854554f
newm = (struct member *) 0x0
new = 0
general_val = 0x2854554f <Address 0x2854554f out of bounds>
interface = '\0' <repeats 79 times>
penalty...
2006 Apr 25
0
SQL update failing/long fullcontact
...or Scanner - 137
<sip:xxxxxxxx@yyy.yy.yyy.yyy:5060;user=phone;transport=' is not a valid
SIP contact (missing sip:) trying to use anyway
Any ideas how to stop this? Most of the time it's harmless but some make
the SQL queries so long they overflows sql in res_config.c:
static struct ast_variable *realtime_mysql(..) {
char sql[256];
..
snprintf(sql, sizeof(sql), "SELECT * FROM %s WHERE %s%s '%s'", table,
newparam, op, newval);
..
}
then:
Apr 25 11:29:46 DEBUG[1480] res_config_mysql.c: MySQL RealTime: Update
SQL: UPDATE sip SET ipaddr = 'yyy.yy.yyy.yyy'...
2007 Oct 31
1
segfault - asterisk crash and restart
...\000\000\200a@\000\000\000\000P?zA\000\000\000\000?\037\a?7\000\000\000?\006F\017\000\000\000\000\230\006F\017\000\000\000\000PfzA\000\000\000\000WfzA\000\000\000\000\220\232\035\017",
'\0' <repeats 12 times>, "
gzA\000\000\000\000\237RE\000\000\000\000"...
v = (struct ast_variable *) 0x0
res = -1
var = (struct ast_variable *) 0xf16aa30
__PRETTY_FUNCTION__ = "realtime_exec"
#11 0x000000000048e18e in pbx_extension_helper (c=0xf460320, con=0x0,
context=0xf460698 "macro-outbound",
exten=0xf4606e8 "s", priority=4, label=0x0, callerid=0xf198f10...
2014 Sep 24
0
Asterisk 12.6.0 Now Available
...ing the stack
(Reported by Deepak Singh Rawat)
* ASTERISK-24254 - CDRs: Application/args/dialplan CEP updated
during dial operation (Reported by Matt Jordan)
* ASTERISK-24231 - crash: CLI execution of realtime destroy
sippeers id 1 causes crash due to NULL name provided to
ast_variable (Reported by Niklas Larsson)
* ASTERISK-24249 - SIP debugs do not stop (Reported by Avinash
Mohod)
* ASTERISK-23577 - res_rtp_asterisk: Crash in
ast_rtp_on_turn_rtp_state when RTP instance is NULL (Reported by
Jay Jideliov)
* ASTERISK-23634 - With TURN Asterisk crashes on multi...
2014 Sep 24
0
Asterisk 12.6.0 Now Available
...ing the stack
(Reported by Deepak Singh Rawat)
* ASTERISK-24254 - CDRs: Application/args/dialplan CEP updated
during dial operation (Reported by Matt Jordan)
* ASTERISK-24231 - crash: CLI execution of realtime destroy
sippeers id 1 causes crash due to NULL name provided to
ast_variable (Reported by Niklas Larsson)
* ASTERISK-24249 - SIP debugs do not stop (Reported by Avinash
Mohod)
* ASTERISK-23577 - res_rtp_asterisk: Crash in
ast_rtp_on_turn_rtp_state when RTP instance is NULL (Reported by
Jay Jideliov)
* ASTERISK-23634 - With TURN Asterisk crashes on multi...
2004 Jun 04
3
illegal instruction
Skipped content of type multipart/alternative-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 1604 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20040604/8bc355fd/smime.bin
2016 Jul 13
0
Certified Asterisk 13.8-cert1 Now Available
...(Reported by George Joseph)
* ASTERISK-24544 - Compile fails on OSX Yosemite because of
incorrect detection of htonll and ntohll (Reported by George
Joseph)
* ASTERISK-24231 - crash: CLI execution of realtime destroy
sippeers id 1 causes crash due to NULL name provided to
ast_variable (Reported by Niklas Larsson)
* ASTERISK-24626 - Voicemail passwords not being stored in ARA
(Reported by Paddy Grice)
* ASTERISK-24693 - Investigate and fix memory leaks in Asterisk
(Reported by Kevin Harwell)
* ASTERISK-24355 - [patch] chan_sip realtime uses case sensitive
col...
2016 Jul 27
3
Asterisk 14.0.0-beta1 Now Available
...(Reported by George Joseph)
* ASTERISK-24544 - Compile fails on OSX Yosemite because of
incorrect detection of htonll and ntohll (Reported by George
Joseph)
* ASTERISK-24231 - crash: CLI execution of realtime destroy
sippeers id 1 causes crash due to NULL name provided to
ast_variable (Reported by Niklas Larsson)
* ASTERISK-24626 - Voicemail passwords not being stored in ARA
(Reported by Paddy Grice)
* ASTERISK-24693 - Investigate and fix memory leaks in Asterisk
(Reported by Kevin Harwell)
* ASTERISK-24355 - [patch] chan_sip realtime uses case sensitive
col...
2019 Dec 24
0
Certified Asterisk 16.3-cert1 Now Available
...Compile fails on OSX Yosemite because of incorrect detection of htonll and
ntohll
(Reported by George Joseph)
- [ASTERISK-24231
<https://issues.asterisk.org/jira/browse/ASTERISK-24231>] -
crash: CLI execution of realtime destroy sippeers id 1 causes crash due to
NULL name provided to ast_variable
(Reported by Niklas Larsson)
- [ASTERISK-24626
<https://issues.asterisk.org/jira/browse/ASTERISK-24626>] -
Voicemail passwords not being stored in ARA
(Reported by Paddy Grice)
- [ASTERISK-24693
<https://issues.asterisk.org/jira/browse/ASTERISK-24693>] -
Investigate and...