similar to: Macro Overlap

Displaying 20 results from an estimated 20000 matches similar to: "Macro Overlap"

2010 Aug 23
2
outbound SIP trunk hunting (or any fxo for that matter)
On Aug 7, 2007 'Mojo' wrote: Nicholas Blasgen wrote: > I've got 4 SIP phone lines with a call-limit of 2 for each. I've > written a handy macro to allow my users to dial a phone number and the > macro will figure out the next available line to use by first checking > if the GROUP() is over 2 and then checking to see if ChanIsAvail() as a > backup, and if it
2005 Sep 21
2
Macro exists if an application returned -1
Hi all, I use asterisk cvs-head from last week and was wondering why my macros are not working like I expected. A macro will be aborted if one application returns error (-1), but some applications (like ChanIsAvail() in my case) do return -1. So when I want to use ChanIsAvail() in a macro, it does not work if the channel is not available, because the macro is not executed on n+101. The macro
2008 Feb 20
3
Dial+Macro and Queue
A call comes in and goes into the queue, the queue dials a sip channel using a macro. The macro plays a set of options to the callee and if the callee presses 3 it sets MACRO_RESULT=CONTINUE and the macro ends. For some reason the caller goes back into the queue rather than continueing on in the dial plan. Why is this, i could have sworn in 1.2 if i set MACRO_RESULT=CONTINUE that the
2004 Dec 01
1
IAX long distance... Re: Asterisk for home office
On Wed, 1 Dec 2004 12:37:13 -0800 (PST), Ben Kirkpatrick wrote: > Do you find it difficult to manage four LD providers? > Can you show me part of your LD Macro and how it's used? > > I'm toying with two LD providers now, but don't have failover setup. >Just using each one for what they are best at (least cost). > >Thanks, >--Ben Kirkpatrick > > Not
2007 Jun 25
1
Problems with ChanIsAvail always return status 0
Hi list: I'm having the next problem, it appear that the application ChanIsAvail is not working on Asterisk 1.4.5 always return me 0 in AVAILSTATUS. I add my dialplan and the output to the cli. THanks. In the example i'm dialing from extension SIP/112 My DialPlan Secction: [macro-callonlyiffree] exten => s,1,ChanIsAvail(${ARG1}|s) exten => s,n,NoOp(${AVAILCHAN}) exten
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:
2007 Jan 24
1
ChanIsAvail kills dialplan processing when no Zap available on 1.2.14.
Hi, I'm trying to use ChanIsAvail to build a resilient 'dialout' macro. The logic is simple; try Zap/g1 (a group of two E1s), and if that fails, try locating a channel via DUNDi. Here's a massively cut down version to illustrate the problem I'm having. macro dialout ( dest ) { ChanIsAvail(Zap/g1); noop(Value of AVAILCHAN is ${AVAILCHAN});
2003 Oct 05
1
ChanIsAvail app setting ${AVAILCHAN} to an unusable value.
I sent this earlier under "Editting variable contents" but no-one has responded. So, the subject is now more to the problem, instead of the solution I was trying to implement. ChanIsAvail returns the channel ID plus "-<session>". How can I edit ${AVAILCHAN} to remove this session ID, so I can use its contents in a subsequent Dial statement? Dialing on Zap just gives a
2010 Jul 23
2
application call to Gosub affects flow of control, and needs to be re-written using AEL
Hi, For some reason (outbound call tracking) I've got a few different outbound call process (using a macro for queuemetrics logging, or direct call) i wanted to factorise the routing process so i came up with something like the following. All in one it's working like expected, however every "ael reload" command trigger a lot of warning like that "application call
2004 Aug 23
1
using ChanIsAvail
Hi I am trying to use ChanIsAvail to decide if a particular extension is available in the sip channel I am using MySQL to hold my SIP friends. and wy cvs version shows Asterisk CVS-08/02/04 my intention is, that if the extension is not available in Sip channel, I will send the call somewhere else my extensions file contains the following: exten => _[123]XX,1,ChanIsAvail(sip/${EXTEN}) exten
2006 Feb 14
4
ChanIsAvail
Hi, So I've done my research on Chanisavail, read the wiki, checked the archive but can't seem to find anything to suit my scenario. I've played around with it a lot, but I'm still scratching my head on what I need to do. What I need is to be able to accept a call by SIP and ring all telephones that are not in use (which just so happen to be on Zap interfaces, but might be SIP
2007 Mar 30
1
Paging
First off, A lot of thanks to this list. I have learned ton from reading through the posts this past year. I need some advise. I have two group of phones connected to a single server. Group1= SIP/2503&SIP/2504 Group2=SIP/3501&SIP/3502 I'd like to be able to dial an extension and page a certain group of phones only if ChanIsAvail returns 1. I am not sure how to go about
2009 Nov 03
3
Problem with ChanIsAvail
Hi all, I am having a problem with ChanIsAvail. It always returns the same result, regardless of whether an extension is available or not. It always returns 0 Unknown Status. This is my dialplan. exten => _2XX,1,ChanIsAvail(SIP/winsor_${EXTEN}|s) exten => _2XX,2,Verbose(0, ${AVAILSTATUS}) exten => _2XX,3,GoToIf($[${AVAILSTATUS} = "1"]?4:5) exten =>
2005 Jun 03
3
911 context, is this right?
I have 3 analog trunks zap/1, zap/4 and zap/5. zap/5 is the least used line. Would the following work for 911 calls? [e911] exten => 911,1,ChanIsAvail(Zap/1) exten => 911,2,Dial(Zap/1/911) exten => 911,3,Hangup() exten => 911,102,ChanIsAvail(Zap/4) exten => 911,103,Dial(Zap/4/911) exten => 911,104,Hangup() exten => 911,203,ChanIsAvail(Zap/5) exten =>
2010 Aug 09
1
op_div: non-numeric argument
Ladies, Gentlemen We are experiencing an unusual problem in our asterisk 1.4.34.. We are attempting to determine if channels are in use before paging to them. This works correctly, as in it pages the phone.. however, we see the error message below on the console... after googling, we discovered limited information regarding the issue... -- Executing [NPANXX7298 at from-pstn:1]
2004 Jan 09
3
ChanIsAvail and SIP
Hello all. Has anyone had any success using ChanIsAvail with only SIP channels? Is there another, better way to check if an extension is busy without dialing it? Thanks, B. J. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040109/48ac2c3e/attachment.htm
2006 Jan 22
1
Fail over using CHANAVAIL
I am trying to construct a macro for long distance dialling. I have two internet feeds, I have all routes including Teliax on Internet A and a static route to Voxee on Internet B. I thought I could use the dialplan entry below which uses the ChanIsAvail() command to check the connection, but this returns the provider but not the username, so I don't understand how to use this for real
2004 Aug 20
3
Strange problem with Dial
I'm trying to add an emergency dial to my context. However, when I try to dial it, I get caught in an endless loop. For debugging, I have pared out nearly all the control flow and just have ChanIsAvail() and Dial() called. Using two different extensions to call teh same number, I get two different actions by *. Here is the vvverbose output: -- Starting simple switch on
2005 Jan 27
1
ChanIsAvail not working
I'm testing ChanIsAvail context and it is not working for me. exten => 55,1,ChanIsAvail(SIP/11&SIP/21) exten => 55,2,Cut(theChannel=AVAILCHAN,,1) exten => 55,3,Dial(${theChannel},r) exten => 55,4,Hangup exten => 55,102,Goto(s,4) It is not dialing SIP/21 when I'm talking on SIP/11, it execute Hangup instruction instruction. According to notes: The channels are checked
2005 Mar 23
4
Chanisavail and IAX2
Guys. Anybody doing ChanisAvail on IAX2 channels? Im trying to do this: exten => s,7,ChanIsAvail(IAX2/anton:intrudercom@armando-gw) But I get that the chan is unavailable eventhough I can make calls to that channel. Is there any chatch? The channels is defined as peer and Ialso tried doing a register on iax.conf for that channel. Everything is registering ok and I CAN make the call. Any