search for: macrocontext

Displaying 20 results from an estimated 26 matches for "macrocontext".

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
...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) { if (ast_streamfile(chan, pr...
2005 Jun 20
1
voicemail system
...| Type | Null | Key | Default | Extra | +--------------+-------------+------+-----+---------+-------+ | msgnum | int(11) | YES | | NULL | | | dir | varchar(80) | YES | MUL | NULL | | | context | varchar(80) | YES | | NULL | | | macrocontext | varchar(80) | YES | | NULL | | | callerid | varchar(40) | YES | | NULL | | | origtime | varchar(40) | YES | | NULL | | | duration | varchar(20) | YES | | NULL | | | recording | longblob | YES | | NULL | | +---...
2004 Aug 10
0
Personal Meetme conferences; is there a better way to do this?
...only by modifying res_parking.c and using a more complicated dial plan. [see below]. It seems like there should be an easier way to do this. What am I missing? S ----------------- Changes to res_parking.c: ... /* Use the non-macro context to transfer the call */ if(strlen(transferer->macrocontext)) transferer_real_context=transferer->macrocontext; else transferer_real_context=transferer->context; + pbx_builtin_setvar_helper(transferee,"TRANSFERER",transferer->name); "new" dialplan: exten => 7,1,Wait,1 exten => 7,2,Answer exten => 7,3,GotoIf(...
2005 Aug 30
0
Re: [Asterisk-Dev] voicemessages table
...------------+------+-----+---------+-------+ > > | msgnum | int(11) | YES | | NULL > > | | > > | dir | varchar(80) | YES | MUL | NULL > > | | > > | context | varchar(80) | YES | | NULL > > | | > > | macrocontext | varchar(80) | YES | | NULL > > | | > > | callerid | varchar(40) | YES | | NULL > > | | > > | origtime | varchar(40) | YES | | NULL > > | | > > | duration | varchar(20) | YES | | NULL > > | |...
2006 Dec 20
0
asterisk run on vxworks for hardware pbx
...show_queue(head); memset(xferto, 0, sizeof(xferto)); //callbk = ast_channel_alloc(0); callbk = ast_get_channel_by_exten_locked(pu->dst, context); if (!ast_strlen_zero(callbk->macrocontext)) callbk_real_context = callbk->macrocontext; else callbk_real_context = callbk->context; ast_copy_string(xferto,pu->dst,sizeof(xferto));...
2009 Jul 17
1
Voicemail ODBC storage table schema
...ow where I can find an updated schema for the generic voicemail storage table. Apparently, only the "flag" field has appeared, but I can't find out what is the type of the field. Here are the fields it's trying to update : [INSERT INTO voicemessages (dir,msgnum,recording,context,macrocontext,callerid,origtime,duration,mailboxuser,mailboxcontext,flag) VALUES (?,?,?,?,?,?,?,?,?,?,?)] I had to roll back to 1.6.1.0 in the meantime. Thanks. Hoggins! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/...
2005 Aug 30
0
Re: [Asterisk-Dev] voicemessages table
...------------+------+-----+---------+-------+ > > | msgnum | int(11) | YES | | NULL > > | | > > | dir | varchar(80) | YES | MUL | NULL > > | | > > | context | varchar(80) | YES | | NULL > > | | > > | macrocontext | varchar(80) | YES | | NULL > > | | > > | callerid | varchar(40) | YES | | NULL > > | | > > | origtime | varchar(40) | YES | | NULL > > | | > > | duration | varchar(20) | YES | | NULL > > | |...
2010 Jun 19
2
Voicemail ODBC
I have Asterisk 1.4.32 and I would like save all VoiceMail to MSSQL 2008 database. I configured ODBC, but I receive this errors. [Jun 18 14:00:37] NOTICE[19914] res_odbc.c: Connecting sqlserver [Jun 18 14:00:37] NOTICE[19914] res_odbc.c: res_odbc: Connected to sqlserver [kupalaodbc] [Jun 18 14:00:37] WARNING[19914] app_voicemail.c: SQL Prepare failed![SELECT COUNT(*) FROM pbx_VoiceMail
2014 May 29
1
Voice mail with ODBC
...sk [asterisk-connector]... [2014-05-28 14:55:13] WARNING[12260][C-00000006]: app_voicemail.c:4086 insert_data_cb: SQL Direct Execute failed! [2014-05-28 14:55:13] WARNING[12260][C-00000006]: app_voicemail.c:4202 store_file: SQL Execute error! [INSERT INTO voicemessages (dir,msgnum,recording,context,macrocontext,callerid,origtime,duration,mailboxuser,mailboxcontext,flag,msg_id) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)] == Parsing '/var/spool/asterisk/voicemail/default/701/INBOX/msg0000.txt': Found == Parsing '/var/spool/asterisk/voicemail/default/701/INBOX/msg0000.txt': Found -- Auto fallt...
2023 Dec 14
1
asterisk release 21.0.1
...pp_macro: Remove deprecated module. This module was deprecated in Asterisk 16 and is now being removed in accordance with the Asterisk Module Deprecation policy. For most modules that interacted with app_macro, this change is limited to no longer looking for the current context from the macrocontext when set. The following modules have additional impacts: app_dial - no longer supports M^ connected/redirecting macro app_minivm - samples written using macro will no longer work. The sample needs to be re-written app_queue - can no longer call a macro on the called party's channel....
2023 Dec 14
1
asterisk release 21.0.1
...pp_macro: Remove deprecated module. This module was deprecated in Asterisk 16 and is now being removed in accordance with the Asterisk Module Deprecation policy. For most modules that interacted with app_macro, this change is limited to no longer looking for the current context from the macrocontext when set. The following modules have additional impacts: app_dial - no longer supports M^ connected/redirecting macro app_minivm - samples written using macro will no longer work. The sample needs to be re-written app_queue - can no longer call a macro on the called party's channel....
2023 Oct 18
0
asterisk release 21.0.0
...pp_macro: Remove deprecated module. This module was deprecated in Asterisk 16 and is now being removed in accordance with the Asterisk Module Deprecation policy. For most modules that interacted with app_macro, this change is limited to no longer looking for the current context from the macrocontext when set. The following modules have additional impacts: app_dial - no longer supports M^ connected/redirecting macro app_minivm - samples written using macro will no longer work. The sample needs to be re-written app_queue - can no longer call a macro on the called party's channel....
2023 Oct 18
0
asterisk release 21.0.0
...pp_macro: Remove deprecated module. This module was deprecated in Asterisk 16 and is now being removed in accordance with the Asterisk Module Deprecation policy. For most modules that interacted with app_macro, this change is limited to no longer looking for the current context from the macrocontext when set. The following modules have additional impacts: app_dial - no longer supports M^ connected/redirecting macro app_minivm - samples written using macro will no longer work. The sample needs to be re-written app_queue - can no longer call a macro on the called party's channel....
2009 Jan 28
2
How to retrieve a phone number from call forwarding?
...88 -- User hung up == Spawn extension (voicepulse-in, 12222222, 5) exited non-zero on 'SIP/mrXXXX-08XXXX' zeus*CLI> Here is what I see in a text file in /var/spool/asterisk/voicemail/default/101/INBOX ; ; Message Information file ; [message] origmailbox=101 context=voicepulse-in macrocontext= exten=12222222 priority=5 callerchan=SIP/mrXXXX-08XXXX callerid="ATIVA DAVID " <3333333> origdate=Wed Jan 28 06:20:34 PM EST 2009 origtime=1233184834 category= duration=6 Thank you. I really appreciate any help. -------------- next part -------------- An HTML attachment was scru...
2006 Nov 30
0
Voicemail callback bug?
...-- Playing 'vm-prev' (language 'en') > -- Playing 'vm-advopts' (language 'en') > -- Playing 'vm-toreply' (language 'en') > > > msg0001.txt looks like this: > > [message] > origmailbox=400 > context=vm-in > macrocontext= > exten=vmu > priority=106 > callerchan=SIP/vm-082b9f78 > callerid="Buck Aneer" <300> > origdate=Thu Sep 28 04:18:36 PM UTC 2006 > origtime=1159460316 > category= > duration=7 > > > No entry in voicemail config file for "3" leads me to...
2010 Jun 19
0
Asterisk ODBC
Ok, this issue I resolved, I just changed the TDS version to 7.0. But now I receive different error, I can't insert into database. [Jun 19 14:30:25] WARNING[6212] app_voicemail.c: SQL Prepare failed![INSERT INTO pbx_VoiceMail (dir,msgnum,recording,context,macrocontext,callerid,origtime,duration,mailboxuser,mailboxcontext) VALUES (?,?, ? , ?,?,?,?,?,?,?)] [Jun 19 14:30:25] WARNING[6212] res_odbc.c: SQL Prepare failed. Attempting a reconnect... [Jun 19 14:30:25] NOTICE[6212] res_odbc.c: Connecting sqlserver [Jun 19 14:30:25] NOTICE[6212] res_odbc.c: res_odbc: Con...
2007 Dec 08
0
Can't listen to voicemail message
...BOX/msg0000' (language 'se') == Spawn extension (default, *500, 3) exited non-zero on 'SIP/597-00f0c410' ----- s n i p ----- And the msg0000.txt file look like this: ----- s n i p ----- ; ; Message Information file ; [message] origmailbox=500 context=macro-switchboard-number macrocontext=default exten=s priority=26 callerchan=IAX2/alexander-1 callerid=XXXXXXXXX origdate=Thu Nov 1 12:43:38 PM UTC 2007 origtime=1193921018 category= duration=17 ----- s n i p ----- Alexander is the PRI Asterisk that IAX2 forwards all calls to Graham (where the log above is from). And the call to '...
2009 Dec 07
1
Automon -> Voicemail
Hi all, What's the best method to send automon call recordings (*1) to the voicemail box of the Asterisk user? Do you have to trap hangups, etc, or is there some global variable that can be set? Thanks! S.
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