Displaying 9 results from an estimated 9 matches for "headp".
Did you mean:
head
2018 Feb 20
2
Modifying CDR values from a hangup extension in Asterisk 13
...ks the entire chain
> of CDRs, for all CDRs related to the channel:
>
> for (; (cdr = ao2_iterator_next(it_cdrs)); ao2_unlock(cdr),
> ao2_cleanup(cdr)) {
> ao2_lock(cdr);
> for (it_cdr = cdr; it_cdr; it_cdr = it_cdr->next) {
> struct varshead *headp = NULL;
>
> if (it_cdr->fn_table == &finalized_state_fn_table) {
> continue;
> }
> if (!strcasecmp(channel_name, it_cdr->party_a.snapshot->name))
> {
> headp = &it_cdr->party_a.variables;
&g...
2015 Aug 04
2
Modifying CDR values from a hangup extension in Asterisk 13
With endbeforehexten=no I actually get two CDR entries. One for the call
and a second one for the "h" extension.
"","13","10","sip-locals","""13""
<13>","SIP/13-00000006","SIP/10-00000007","Dial","SIP/10","2015-08-04
06:28:44","2015-08-04
2009 Mar 21
2
1.6.2 beta 1 crash
...quot;1,0",
len=4096)
at func_odbc.c:545
#9 0x081009e0 in ast_func_read (chan=0x8a527e8, function=0xb6f9fe20
"ODBC_MSSQL(IVR_TEST_Asterisk 1001)", workspace=0xb6f9ee10 "1,0", len=4096)
at pbx.c:3346
#10 0x081070dd in pbx_substitute_variables_helper_full (c=0x8a527e8,
headp=0x8a52900, cp1=0x8a0fae8 "HASH(Cliente)=${ODBC_MSSQL(IVR_TEST_Asterisk
${ANI})}",
cp2=0xb6fa3f02 "", count=8177, used=0xb6fa61a8) at pbx.c:3481
#11 0x0810797a in pbx_extension_helper (c=0x8a527e8, con=0x0,
context=0x8a52a58 "outgoing", exten=0x8a52aa8 "141&...
2007 Oct 31
1
segfault - asterisk crash and restart
...58a0) at chanvars.c:69
name = 0x10f1d58b0 <Address 0x10f1d58b0 out of bounds>
#1 0x000000000049948f in pbx_builtin_setvar_helper (chan=0xf460320,
name=0x2aaabf53cbf7 "DIALSTATUS",
value=0x417a0690 "BUSY") at pbx.c:5825
newvariable = (struct ast_var_t *) 0x10f1d58a0
headp = (struct varshead *) 0xf460880
nametail = 0x2aaabf53cbf7 "DIALSTATUS"
__PRETTY_FUNCTION__ = "pbx_builtin_setvar_helper"
#2 0x00002aaabf53938e in dial_exec_full (chan=0xf460320,
data=0x417a2e50, peerflags=0x417a0c50, continue_exec=0x0)
from /usr/lib/asterisk/modules/app_di...
2004 Jun 10
1
RE: question about prepaid app_prepaid
...uot;, *s2; // CHANGE: buffer to
store Bridging Time out. Storm Petersen */
char announcemsg[256] = "", *ann;
struct localuser *outgoing=NULL, *tmp;
struct ast_channel *peer;
***************
*** 380,385 ****
--- 382,390 ----
struct varshead *headp, *newheadp;
struct ast_var_t *newvar;
int go_on=0;
+ time_t myt;
+ int iBrdgTO=0; /* CHANGE: Time out after
call bridged. Storm Petersen */
+
if (!data) {
ast_log(LOG_WARNING, "Dial requires an argument
(technolo...
2003 Apr 20
4
${EPOCH} and ${DATETIME} patch
...snprintf(workspace, workspacelen -1, "%02d%02d%04d-%02d:%02d:%02d",
+ brokentime.tm_mday,
+ brokentime.tm_mon+1,
+ brokentime.tm_year+1900,
+ brokentime.tm_hour,
+ brokentime.tm_min,
+ brokentime.tm_sec
+ );
+ *ret = workspace;
} else {
AST_LIST_TRAVERSE(headp,variables,entries) {
#if 0
2006 May 03
1
my asterisk crashed
...ibc.so.6
(gdb) bt full
#0 ast_var_name (var=0x1) at chanvars.c:71
name = 0xffffffff <Address 0xffffffff out of bounds>
#1 0x0808934e in pbx_builtin_getvar_helper (chan=0x0, name=0xf5bc2d46
"OUTBOUND_GROUP") at pbx.c:5904
variables = (struct ast_var_t *) 0x1
headp = (struct varshead *) 0xa281be8
#2 0xf5bbe1e4 in dial_exec_full (chan=0xa281820, data=0x0,
peerflags=0xf469fee8) at app_dial.c:964
tnam = 0x0
tn2 = 0x1 ""
callerid = '\0' <repeats 59 times>
res = -1
u = (struct localuser *) 0xa56d418...
2004 Jun 10
3
FW: question about prepaid app_prepaid
Hi,
I have compiled and installed app_prepaid module. But have problem when
connect to postgres database. I guess so because after key in card number,
it always play prepaid-no-aaa voice file.
Anyone succeeded in configuring the app_prepaid for prepaid calling service
for asterisk? Please help.
Ps: where can I view the log file for this module.
Thanks.
Tom
--------------
2005 Jan 18
2
problems compiling asterisk-addons
Hello maybe someone can help me?
I did the CVS checkout and then compiled asterisk
Then I tried to compile the addons and got the following (don't
understand what's wrong at all and can't find anything about this error
on google/wiki)
app_addon_sql_mysql.c:164:64: macro "AST_LIST_REMOVE" requires 4
arguments, but only 3 given
app_addon_sql_mysql.c: In function