search for: macro_exec

Displaying 13 results from an estimated 13 matches for "macro_exec".

2006 Mar 21
7
Multiple processes
Does anyone have any ideas why my recently updated * 1.2.5 system should spawn multiple * process at seemingly random intervals? Regards L:ee ########################################### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.f-secure.com/ -------------- next part -------------- An HTML attachment was scrubbed...
2007 Apr 03
3
Adding DND to dialplan
...ted) exten => _#79,n,Macro(hangupcall,) ;further down include => dnd-on include => dnd-off - - - Monitoring asterisk from the CLI, when I dial #78 on an extension, I just get a fast busy signal and this information is reported on the CLI: Apr 3 10:41:33 WARNING[30702]: app_macro.c:144 macro_exec: No such context 'macro-user-callerid' for macro 'user-callerid' Apr 3 10:41:33 WARNING[30702]: func_db.c:97 function_db_write: DB requires an argument, DB(<family>/<key>)=value Apr 3 10:41:33 WARNING[30702]: file.c:504 ast_openstream_full: File do-not-disturb does not...
2004 Dec 11
1
RealTime and Macro question?
...to call a macro, which is defined in extensions.conf from a realtime extension configured in Mysql. Beacuse when i try i receive an error - no such context. -- Executing Macro("SIP/1007-2165", "dialnumber_wvm,1004,SIP/1004") Dec 11 12:51:04 WARNING[22551]: app_macro.c:100 macro_exec: No such context 'macro-dialnumber_wvm,1004,SIP/1004' for macro 'dialnumber_wvm,1004,SIP/1004' Here is what i have in extensions table : id context exten priority app appdata _____________________________________________ 1 sip-internal 1004 1...
2008 Dec 02
1
Using Dial M option from extensions.ael
...rs). It seems to me that asterisk keeps looking for this macro in extensions.conf and not in extensions.ael. I tried both (and variations of those with ^ instead of ,) : Dial(Local/${EXTEN:1},,M(mymacro(${EXTEN})); Dial(Local/${EXTEN:1},,M(&mymacro,${EXTEN})); both lead to unexpected results: macro_exec: No such context 'macro-mymacro' for macro 'mymacro' As a workaround, I could write my macro in extensions.conf, but ... Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081202/e0...
2004 May 25
4
fax/sandsp segfaulting asterisk
...quot;, priority=3, callerid=0x0, action=-1119885548) at pbx.c:1207 #9 0x08078016 in ast_spawn_extension (c=0x80fde20, context=0x80fde20 "d?\017\b", exten=0x80fde20 "d?\017\b", priority=135257632, callerid=0x80fde20 "d?\017\b") at pbx.c:1691 #10 0x4180f484 in macro_exec (chan=0x814ad38, data=0x814a820) at app_macro.c:141 #11 0x0807175f in pbx_exec (c=0x814ad38, app=0x8138330, data=0xbd3ff204, newstack=1) at pbx.c:424 #12 0x0807929b in pbx_extension_helper (c=0x814ad38, context=0x814ae90 "macro-faxreceive", exten=0x814af84 "s", priority=1,...
2006 Nov 16
5
spandsp 0.0.3 RxFax fax reception crashes bristuffed asterisk 1.2.13
...xec (chan=0x818c5f8, data=0xa74a4798) at app_rxfax.c:327 #6 0x08090088 in pbx_extension_helper (c=0x818c5f8, con=<value optimized out>, context=<value optimized out>, exten=0x818c83c "s", priority=2, label=0x0, callerid=0x0, action=1) at pbx.c:554 #7 0xa762cb05 in macro_exec (chan=0x818c5f8, data=0xa74aafe8) at app_macro.c:221 #8 0x08090088 in pbx_extension_helper (c=0x818c5f8, con=<value optimized out>, context=<value optimized out>, exten=0x818c83c "s", priority=1, label=0x0, callerid=0x0, action=1) at pbx.c:554 #9 0x08091dee in __a...
2004 Apr 30
6
app_dbodbc segfault
Is anyone out there using app_dbodbc (http://www.bkw.org/~brian/app_dbodbc.c)? Any problems with it? I was able to get it all working, but it causes * to segfault every now and then. It does not appear to be related to any specific function (ODBCget,ODBCput,ODBCdel,ODBCdelltree). It is 100% repeatable. If I noload the module, everything works fine, but when its running, after calls to any of the
2003 Apr 20
1
Macros not working as expected with extension "h" in some circumstances
...205, 1) exited non-zero on 'SIP/2203-751b' -- Executing Macro("SIP/2203-751b", "record-cleanup") in new stack -- Executing SetVar("SIP/2203-751b", "MONITORDIR=/var/spool/asterisk/monitor") in new stack DEBUG[30737]: File app_macro.c, Line 166 (macro_exec): Extension s, priority 1 returned normally even though call was hung up DEBUG[7176]: File chan_sip.c, Line 503 (__sip_ack): Stopping retransmission on '15125295754753e9727742e77c3d1c51@10.0.1.10' of Request 103: Found *CLI> Output when destination side ends the call first (this wor...
2006 Mar 14
0
invoking a macro doesn't work
...rity of 1, yet that is what it appears to be telling me does not exist. Any ideas what is causing my macro not to start? Server2*CLI> -- Executing Macro("Zap/9-1", "stdexten|784|Zap/10|124|8311111|4621111") in new stack Mar 14 14:53:33 WARNING[31359]: app_macro.c:151 macro_exec: Context 'macro-stdexten' for macro 'stdexten' lacks 's' extension, priority 1 -- Hungup 'Zap/9-1' Server2*CLI> asterisk 1.2.5 zaptel 1.2.4 mandriva 2005LE from extensions.conf [desks] <snip> exten => 784,1,macro(stdexten,${EXTEN},${PobanzD...
2006 Oct 30
0
Realtime trouble with contex
...xten => 202,1, Macro(stdexten,202,SIP/202) ;exten => user3, 1, Goto(202|1) switch => Realtime/office@extensions from user 333 i dialing 222 and get this message: Executing Macro("SIP/333-086e2000", "stdexten,222,SIP/222") Oct 30 14:29:39 WARNING[65203]: app_macro.c:160 macro_exec: No such context 'macro-stdexten,222,SIP/222' for macro 'stdexten,222,SIP/222' if i uncomments lines: exten => 333,1, Macro(stdexten,333,SIP/333) exten => user1, 1, Goto(333|1) exten => 222,1, Macro(stdexten,222,SIP/222) exten => user1, 1, Goto(222|1) in file extension...
2008 Dec 02
0
Using Dial M option from extensions.ael [SOLVED]
...and not in extensions.ael. > >> I tried both (and variations of those with ^ instead of ,) : > >> Dial(Local/${EXTEN:1},,M(mymacro(${EXTEN})); > >> Dial(Local/${EXTEN:1},,M(&mymacro,${EXTEN})); > >> > >> both lead to unexpected results: > >> macro_exec: No such context 'macro-mymacro' for macro 'mymacro' > > > > I'd say use the U option instead of G. > > ... instead of M. > > > AEL macros are converted to Gosub routines, not Macros. > > > Philipp Kempgen > > -- > http://www.das-as...
2004 Aug 27
3
Digit detect during a Background() inside a Macro wrongly jumps b ack to the calling context to match digits?
...ying 'autoattendant-ivr/grtg-6' (language 'en') Aug 27 01:13:06 DEBUG[7175]: chan_iax2.c:5156 socket_read: Ooh, voice format changed to 2 Aug 27 01:13:09 DEBUG[68621]: channel.c:1101 ast_settimeout: Scheduling timer at 0 sample intervals Aug 27 01:13:09 DEBUG[68621]: app_macro.c:145 macro_exec: Oooh, got something to jump out with ('8')! Aug 27 01:13:09 DEBUG[68621]: pbx.c:1811 ast_pbx_run: Oooh, got something to jump out with ('8')! Aug 27 01:13:10 WARNING[68621]: pbx.c:1913 ast_pbx_run: Invalid extension '8', but no rule 'i' in context 'macro-process...
2007 Oct 31
1
segfault - asterisk crash and restart
...ETTY_FUNCTION__ = "pbx_extension_helper" #6 0x000000000048f472 in ast_spawn_extension (c=0xf460320, context=0xf460698 "macro-outbound", exten=0xf4606e8 "s", priority=61, callerid=0xf198f10 "6465956167") at pbx.c:2288 No locals. #7 0x00002aaac260a617 in _macro_exec (chan=0xf460320, data=0x417a6330, exclusive=0) from /usr/lib/asterisk/modules/app_macro.so c = (struct ast_context *) 0x2aaaac050c70 e = (struct ast_exten *) 0x2aaaac052cb0 s = 0xf2bd15c "1" tmp = 0x417a5320 "outbound" cur = 0x0 rest = 0x0 macro = 0x417a5320 "outb...