Displaying 4 results from an estimated 4 matches for "numsubst".
2003 Oct 07
1
[PATCH] allow announcements in app_dial
...ot;, *s;
+ char announcemsg[256] = "", *ann;
struct localuser *outgoing=NULL, *tmp;
struct ast_channel *peer;
int to;
@@ -344,8 +345,10 @@
int allowredir_out=0;
int allowdisconnect=0;
int privacy=0;
+ int announce=0;
int resetcdr=0;
int clearchannel=0;
+ int cnt=0;
char numsubst[AST_MAX_EXTENSION];
char restofit[AST_MAX_EXTENSION];
char *transfer = NULL;
@@ -419,6 +422,16 @@
} else if (strchr(transfer, 'C')) {
resetcdr = 1;
}
+ /* XXX ANNOUNCE SUPPORT */
+ else if ((ann = strstr(transfer, "A("))) {
+ announce = 1;
+ strncpy(announcemsg...
2003 Nov 18
4
Help with Warnings
...++++++++++
Nov 17 17:13:51 NOTICE[1242768320]: File app_dial.c, Line 502
(dial_exec): Unable to create channel of type 'Zap'
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
/* Request the peer */
????????????????tmp->chan = ast_request(tech, chan->nativeformats,
numsubst);
????????????????if (!tmp->chan) {
????????????????????????/* If we can't, just go on to the next call */
????????????????????????ast_log(LOG_NOTICE, "Unable to create channel of
type '%s'\n", tech);
????????????????????????if (chan->cdr)
???????????????????????????????...
2006 May 03
1
my asterisk crashed
...00\000WZ?\t\220?i?\000\000\000\000\200?i?"
privintro = '\0' <repeats 1023 times>
outgoing = (struct localuser *) 0x0
tmp = (struct localuser *) 0x0
to = 0
numbusy = 0
numcongestion = 0
numnochan = 0
cause = 0
numsubst = '\0' <repeats 79 times>
restofit = '\0' <repeats 79 times>
cidname = '\0' <repeats 79 times>
toast = '\0' <repeats 79 times>
l = 0x0
privdb_val = 0
calldurationlimit = 0
config = {featu...
2007 Oct 31
1
segfault - asterisk crash and restart
...x417a0c50, continue_exec=0x0)
from /usr/lib/asterisk/modules/app_dial.so
res = 0
u = (struct ast_module_user *) 0xf0e48d0
rest = 0x0
cur = 0x0
outgoing = (struct dial_localuser *) 0xf13eba0
peer = (struct ast_channel *) 0x0
to = 0
numbusy = 0
numcongestion = 0
numnochan = 0
cause = 0
numsubst = "4612 at 10.201.2.224\000??\000\00061?@
\017\000\000\000\000????\000\000\000\000?@ \017\000\000\000\000?@
\017\000\000\000\000`t4?7", '\0' <repeats 11 times>,
"?\fzA\000\000\000\000\000\fzA\000\000\000\0006\000\000\000\000\000\000\000\000????*\000\0006",
'\0&...