similar to: Find extension from Dial(,M()) macro

Displaying 20 results from an estimated 20000 matches similar to: "Find extension from Dial(,M()) macro"

2004 Oct 05
1
loggedoff extension - why does * say "is on the phone"
Hi, I have following one-line macro extension: ------------------------ [macro-oneline] ; ; Standard extension macro (with call forwarding): ; ${ARG1} - Device(s) to ring ; #exten => s,1,AGI(misterhouse.agi,"CallerID") exten => s,1,NoOp exten => s,2,DBget(temp=CFIM/${MACRO_EXTEN}) ; Get CFIM key, if not existing, goto 103 exten => s,3,Dial(Local/${temp}@default/n) ;
2003 Jun 24
1
Distinctive Ring Macro Example
I use the following macro for my extensions. It only works with Zap channels and assumes that any Caller*ID number that is 4 digits is an internal call and all other calls are external calls. Use like this: exten => 1234,1,Macro(std-exten,Zap/4,20) [macro-std-exten] ; ; Caller*ID is 4 digits (internal call) ; exten => s/_XXXX,1,Dial(${ARG1}r2,${ARG2}) exten =>
2004 Nov 23
3
Re: List proposition
On Tue, 2004-11-23 at 20:26, ~mg@a.org wrote: > Hello everyone! > > We have been thinking about something<early snip> With respect, this could have come from anyone... and looks like it did from the DNS records. I appreciate it's not an easy situation, but there must be some way of doing this where it does not look like a scam? Tell tale signs: - Don't tell anyone about
2006 Jan 26
4
extension to extension dialing
Sorry for all the newbie questions. I really appreciate everyone's help today. Okay I've got outgoing and incoming calls working with no echo. yay! Now I'm having an issue with SIP extension to extension calling. Any time I dial another extension it goes right into voice mail. My extensions.conf is pretty small and rough but, here's what I have right now. Most of it was taken
2009 Nov 11
1
Unable to execute
An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091111/2b828eff/attachment.htm -------------- next part -------------- Hello. I am trying to execute an fax reception script and i am getting the following: [Nov 11 08:40:52] WARNING[12800]: app_system.c:88 system_exec_helper: Unable to execute '/var/lib/asterisk/scripts/mailfax ""
2007 Jul 13
3
Macro: s-NOANSWER, _s-.
Hi List; I have this example for Macro and I am not able to understand some line, if any one can help me plz :)- [macro-voicemail] exten => s,1,Dial(${ARG1},20) exten => s,2,Goto(s-${DIALSTATUS},1) exten => s-NOANSWER,1,Voicemail(u${MACRO_EXTEN}) exten => s-NOANSWER,2,Goto(incoming,s,1) exten => s-BUSY,1,Voicemail(b${MACRO_EXTEN}) exten => s-BUSY,2,Goto(incoming,s,1) exten
2007 Jan 23
1
DB_DELETE Function in 1.4
Does anyone know what application I should place this function in? For example with the DB function I currently do something like this to add an entry to the asterisk database: exten => s,n,Set(DB(AGENT/${MACRO_EXTEN:1})=${CALLERID(num)}) To delete the entries I do something like this: exten => s,n,DBDel(AGENT/${MACRO_EXTEN:1}) DBDel is marked as deprecated in favor of the DB_DELETE
2006 Jan 04
1
RxFax : Change FAX Resolution
Hello all, Can this be done ? Would setting the variable FAXRESOLUTION to a appropriate value affect this change ? > http://www.asteriskguru.com/tutorials/rxfax.html Variables connected with the application LOCALSTATIONID - used by to application to identify itself to the remote end LOCALHEADERINFO - used to generate a header line on each page REMOTESTATIONID - set by the application, the
2004 Sep 28
1
Looking for whoever wrote cdr_mysql
I don't completely understand this.. Lemme try it out.. [default] exten => 1112223333,1,Macro(happy-did) [macro-happy-did] exten => s,1,Goto(${MACRO_EXTEN},1) exten => _XXXXXXXXXX,1,NoOp(Normal "s" exten stuff here) So when this is ran it will cut the cdr and the s will show the actual DID not the s correct? But then the NoOp would be something like: ....
2004 Oct 05
0
loggedoff extension - why does * say "is onthephone"
Same here, I just changed the b to u. Unavailable message is more generic, but it beats it saying busy when its not. -Tim -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Henry Devito Sent: Tuesday, October 05, 2004 8:31 PM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: RE:
2005 Aug 02
3
priority "a" in macro to access voicemail
I have added the following to a macro that is used for all extensions so a user can access voicemailmain by pressing * during the voicemail prompt ; check voicemail exten => a,1,voicemailmain(${macro_exten}) exten => a,2,hangup The behavior is a little weird, the * key is not recognized during the portion of the greeting where the extension number is being played back, after it is
2006 Oct 13
2
AEL Question
Hi, all. I'm making my first foray into AEL. I'm starting with a simple macro, but I've already encountered an odd behaviour. I'm wondering if someone can shed some insight: Asterisk 1.2.9.1 macro newPlaceCallPSTN { s => { TIMEOUT(absolute)=7200; NoOp(Analog Out List: ${ANALOGOUT}); ChanIsAvail(${ANALOGOUT}); NoOp(Available Out List:
2009 Jul 17
2
How do I create an IVR/Dial Group that works properly?
Hi all, I am trying to understand how I can get a simple IVR scenario to work properly (having already removed most of my hair...). The basic requirement is as follows: * Caller arrives at our main number * Caller is greeted and then told they can enter an extension number, if known, or wait and their call will be connected to an available rep. * The IVR then dials a group of extensions (if
2004 Oct 05
0
loggedoff extension - why does * say "isonthephone"
I think you will find the functionality you are looking for is in * already. Here is an excerpt from the sample extensions.conf file that is included with the source: exten => s,1,Dial(${ARG2},20) ; Ring the interface, 20 seconds maximum exten => s,2,Goto(s-${DIALSTATUS},1) ; Jump based on status (NOANSWER,BUSY,CHANUNAVAIL,CONGESTION,ANSWER) exten
2004 Oct 05
0
Using Macro's that cause loops, on purpose and using h, exten in default twice
Please see my extensions below. I will try to type you through this. In default, an extension 5149053538 is matched on. This fires a macro that determines what time is it, and resets a variable which is then used to call another macro to place a call. if the call is answered, and the far end hangs up, the dial macro exits, then the routing macro exits, and you are back to default. at this point
2010 Apr 30
2
Continuing after a TIMEOUT(absolute)
Greetings, I'm trying to continue to do some processing after a TIMEOUT (absolute). In my dialplan below, when a call comes in to [default], I call macro-phonenum and pass it a timeout of 20 seconds. macro- phonenum sets TIMEOUT(absolute), then loops saying the phone number that was called (in MACRO_EXTEN). When the timeout expires I want to call my macro-hangup (so it can say
2005 May 16
1
Dial plan - does not stop after first match
My dial plan seems to work great - in that when I call extensions 1234 it connects to 1234. Strangely, after the call terminates (the other side hangs up first), Asterisk continues in the same context and then matches to extensions _. which causes an invalid extension error! Why does asterisk not leave the context (called internalmenu) after the remote hangup? Instead, it continues to the
2006 Jan 22
1
macro-faxreceive
How should be the macro rewritten? [macro-faxreceive] exten => s,1,Set(FAXFILE=/var/spool/asterisk-fax/${UNIQUEID}.tif) exten => s,2,DBGet(EMAILADDR=extensionemail/${MACRO_EXTEN}) exten => s,3,rxfax(${FAXFILE}) exten => s,103,Set(EMAILADDR=ronald@elmit.com) exten => s,104,Goto(3) ... [Jan 23 10:43:38] -- Executing Macro("Zap/3-1", "faxreceive") in new
2009 Jul 16
0
Struggling with Macros and "s" Extension
Hi all, I'm sure this has been done before but I just can't figure it out. On my * box I have a simple IVR: [tolc_menu] ; Welcome and information to callers exten => s,1,Answer() exten => s,n,Wait(2) exten => s,n,Background(welcome-to-tolc) ; Say Hello exten => s,n,Wait(1) exten => s,n(tryagain),Background(enter-ext-of-person&or) ; Enter extension number if known, or
2003 Dec 30
2
playback in [macro-stdexten] problem
I added the playback line to my [macro-stdexten] context but when I dail an extension I don't get the "please hold while I try that extension" message. It just dials the extexsion. Do I have a syntax problem somewhere ? exten => 8005,1,Macro(stdexten,8005,Zap/2) exten => 8006,1,Macro(stdexten,8006,Sip/8006) [macro-stdexten] ; ; Standard extension macro: ; ${ARG1} -