search for: ast_exists_extension

Displaying 6 results from an estimated 6 matches for "ast_exists_extension".

2004 Jun 26
2
Newbie needs help
I've been banging my head on a brick wall for about an hour now trying to understand why the following doesn't work (which is even provided as an example in the distribution!). The goal is to create a voicemail-only extension not associated with a phone. I'd rather not have an extension dedicated to VoicemailMain(), so I would like the user to be able to hit '*' during
2004 Apr 08
3
Re: : External access to voicemail
...*context; - char *ecodes = "#"; + char *ecodes = "*#"; char *stringp; time_t start; time_t end; @@ -1117,12 +1117,12 @@ if (mkdir(dir, 0700) && (errno != EEXIST)) ast_log(LOG_WARNING, "mkdir '%s' failed: %s\n", dir, strerror(errno)); if (ast_exists_extension(chan, strlen(chan->macrocontext) ? chan->macrocontext : chan->context, "o", 1, chan->callerid)) - ecodes = "#0"; + ecodes = "*#0"; /* Play the beginning intro if desired */ if (strlen(prefile)) { if (ast_fileexists(prefile, NULL, NULL) > 0)...
2003 Nov 18
4
Help with Warnings
...+++++++++++++++++++++++++++++++++++ /* Fax tone -- Handle and return NULL */ ????????????????????????if (!p->faxhandled) { ????????????????????????????????p->faxhandled++; ????????????????????????????????if (strcmp(ast->exten, "fax")) { ????????????????????????????????????????if (ast_exists_extension(ast, ast->context, "fax", 1, ast->callerid)) { ????????????????????????????????????????????????if (option_verbose > 2) ????????????????????????????????????????????????????????ast_verbose(VERBOSE_ PREFIX_3 "Redirecting %s to fax extension\n", ast->name); ?????????????...
2006 Dec 20
0
asterisk run on vxworks for hardware pbx
...callbk_real_context = callbk->context; ast_copy_string(xferto,pu->dst,sizeof(xferto)); cid_num = callbk->cid.cid_num; cid_name = callbk->cid.cid_name; if (ast_exists_extension(callbk, callbk_real_context,xferto, 1, cid_num)) { snprintf(dialstr, sizeof(dialstr), "%s@%s/n", xferto, callbk_real_context); } callback_request_and_dial(callbk, "Local", ast_be...
2006 Mar 14
3
Attended Transfer - transfer timeout, how to change?
Hi, We are trying to use attended transfer with Asterisk 1.2.5, but when we do the transfer and dial the new number, it times out after 3 rings and then the callee is put back to the original agent. Where can I adjust the timeout which applies to the number we are transferring to? I have changed the extension for this number to timeout at 60 seconds, but that seems to make no difference. --
2003 Jul 23
5
Asterisk as a stand alone voice mail server
I'm sure asterisk would make a great stand alone voice mail server. Basically I want to get rid of our voice mail system and replace it with *, but the problem is we use a cisco cluster with skinny clients. So I was thinking the way to contact a * server, would be through our 3640. But so far any attempt has failed. I am wondering if anyone has done something similar. Just want to verify the