similar to: Have a macro update a channel variable

Displaying 20 results from an estimated 60000 matches similar to: "Have a macro update a channel variable"

2006 Nov 08
0
Warning: "Channel does not have a CDR" when doing ForkCDR
Gang, I'm having this error pop up when I do a ForkCDR, and I'm not sure how to get around it. Here are a few log lines: Nov 8 10:37:08 VERBOSE[28079] logger.c: -- Executing ForkCDR("Zap/49-1", "") in new stack Nov 8 10:37:08 WARNING[28079] app_forkcdr.c: Channel does not have a CDR The scenario occurs like this: I use a .call file to generate a call on
2005 Jan 25
0
Goto invalid extension doesn't go to 'I' when in a macro.
Hi, A bit of a problem here which I'd appreciate some thoughts on. (please excuse the stray capital letters - Outlook has a habit of capitalising where I don't want it to!) For various reasons, I need to be able to do the following: --------------8<-------------- [default] Exten => s,1,Macro(dosomething,9999) Exten => s,2,NoOp(Returned) [macro-dosomething] Exten =>
2011 Mar 17
0
Passing an argument to a macro within an Originatecommand
The last Originate() option is ignored if using 'app'. It is only there for 'exten'. http://www.voip-info.org/wiki/view/Asterisk+cmd+Originate tells all :) -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Bruce Hopkins Sent: 15 March 2011 21:36 To: asterisk-users at lists.digium.com
2011 Mar 15
1
Passing an argument to a macro within an Originate command
Hi, With Asterisk 1.8.3, I can't figure out how to pass an argument to a macro which is used within an originate command. Here is my sample dialplan to illustrate: exten => 123,1,Answer() exten => 123,n,Originate(SIP/20,app,Macro,foo,bar) exten => 123,n,NoOp(This is the NoOp after the originate command) exten => 123,n,Wait(30) exten => 123,n,Hangup() [macro-foo] exten =>
2007 Jul 10
0
Macro Goofiness
I am trying to use a macro to screen calls by calling several different phones at the same time in different groups. Find me will not work and queues will not work either. Trust me, I've tried them both and they don't work like they should. Here is what I have: A call comes into 6084 and does the following (in default context): exten => 6084,1,NoOp(test) exten =>
2014 Sep 08
0
is pattern matching inside macro valid?
Can't we use pattern matching inside a macro? Because when I am trying to do so call is terminating even for a very simple dummy dialplan. [demo3] exten=>98,1,NoOp() exten=>98,2,Macro(testme) exten=>h,1,NoOp(terminating call); [macro-testme] exten=>s,1,Playback(Digits/2) exten=>s,2,WaitExten(15) exten=>s,3,NoOp() exten=>_X,1,NoOp(${EXTEN}) exten=>_X,2,Goto(s,3)
2009 Aug 26
0
Timeout func ignored if inside a macro and when Dial cmd has limit (L). Bug ?
Hi All, suppose this: Dial(SIP/<somecarrier>/<somenumber>/60/L(3600000)M(td|${EPOCH}) where 60 is the seconds to wait for the callee (the called party) to answer L(3600000) is the absolute limit of the call once it has been answered, in ms M(td|${EPOCH}) is the macro to execute when the call gets answered. ${EPOCH} contains the current unixtime. That's the macro: [macro-td]
2010 Sep 06
2
Macro when calling cellphone (GSM) + silence when connecting
Hello list, I'm using the following macro when calling an external callphone/GSM number : [macro-press1] exten => s,1,NoOp() exten => s,n,Playback(/var/lib/asterisk/sounds/prompts/press1) exten => s,n,Read(INPUT,,1,1,1) exten => s,n,NoOp(input : ${INPUT}) exten => s,n,GoToIf($["${INPUT}"=="1"]?exit:hangup) exten => s,n(exit),NoOp(call accepted) exten
2009 Apr 29
1
Replacement of Macro() with Gosub()
Hi, Is there some more thorough documentation of this change that has happened in 1.6? The upgrade.txt and changes.txt files mention it, but I have already seen details of this change that do not appear to be documented except in conversations on the mailing list... 1) It appears that it is no longer legal to have: [macro-contaxtA] ...stuff... [contextA] ...stuff... Is this true? Or have I
2018 May 08
2
Passing parameter to Queue-called macro
Hi all I need to pass a parameter in a thread-safe manner to the Queue pickup macro. This is to know when (and who) picked up an incoming call to a queue and log that to my back-office system with a CURL to a HTTP endpoint. However, the Queue application does not appear to allow passing of parameters to the called queue pickup macro. E. g. non-working code is: [queuetest] timeout = 60 retry =
2005 Jan 19
5
Call Screen Macro Not Exiting when call rejected
This is a followup to the posting earlier about Hunt Groups with Call Screening. I have implemented the following macro and for some reason the Macro does not exit and continue the context it was called from when the called party rejects the call - It always drops through to the NoOp at the end and connects the call. Below are two examples of the dial commands I am using to call the macro.
2007 Aug 23
0
How to get callee extension in applicationmap(features.conf)
hello, I use trixbox.I had define a feature code testfeature: [applicationmap] #include features_applicationmap_additional.conf testfeature => *3,callee,Macro,vote [featuremap] blindxfer => ## ; Blind Transfer disconnect => ** ; Disconnect Call automon => *1 ; One Touch Record atxfer => *2 ; Attended Xfer testfeature => *3 here is my macro-vote: [macro-vote] exten
2009 Jun 30
1
Setting CDR(userfield) from Macro called from feature doesn't work with cdr_mysql
cdr_mysql doesn't set the userfield when it's set inside a macro called from a feature (1.4.25, addons 1.4.8). I have a feature code: autorecord => *1,self,Macro,apprecord The apprecord macro looks like: [macro-apprecord] exten => s,1,Playback(beep) exten =>
2011 Aug 15
0
1.4.38 passing a Regular expression containing a pipe character to a macro ?
Howdy, I'm working on a macro that authenticates the calling extension against a list of allowed extensions but it looks like the Expression I'm attempting to send of pipe separated extensions is showing up as additional arguments to my macro. I expected to have 4 arguments to the below macro, Instead it looks like I'm actually getting 6. I'm open to suggestions to other ways
2018 May 11
2
Passing parameter to Queue-called macro
Hi Marie Thanks! I was just worried about thread safety if I had to use a global variable, e. g. it might be set to a value by one call (since I'm using the same global for every incoming call to transfer the accountcode gotten from my HTTP endpoint to the same macro, and there can be several calls simultaneously all inserting HTTP-sourced values at more or less the same instant) and then
2010 Jan 26
2
Error and call drops
Hi, does anyone have an info into what could cause [Nov 28 14:24:48] ERROR[11964] utils.c: write() returned error: Broken pipe [Nov 28 14:25:08] ERROR[12540] utils.c: write() returned error: Broken pipe [Nov 28 14:25:08] ERROR[12540] utils.c: write() returned error: Broken pipe [Nov 28 14:26:23] ERROR[13098] utils.c: write() returned error: Broken pipe Is it a write process or a problem with one
2007 Apr 20
0
Polycom not picking up phone transferred phone call.
Hi all, I'm having a problem with a polycom 301 not picking up a ZAP call. Below is the CLI output of the call. I have: TDM400 with 2 FXO lines Asterisk 1.2.14 Polycom 301 When I dial the first ZAP line, I choose an extension that rings the polycom, polycom rings and I can pick it up and the call is bridged. When I call my second zap line, the polycom rings, but I cannot pickup the
2011 May 05
2
[Asterisk 1.8.3.2] Mixmonitor not working on member(calling part) channel of Queue.
Hi, I have a simple Queue(named 1) and one Member(SIP/1119) logged into it. Now when a caller is placed into Queue and gets connected with Member, I want to record the call. It does record the call when I use MixMonitor() before placing the caller into Queue, but not when MixMonitor() is used in macro which is called upon Member answering the call. Following is my dialplan... [mixmonitortest]
2006 Feb 13
0
problem with outgoing calls Unable to create channel of type 'ZAP' (cause 34 - Circuit/channel congestion)
hi i've configured a TE205P on asterisk at home this is my zaptel.conf span=1,0,0,ccs,hdb3,crc4,yellow span=2,0,0,ccs,hdb3,crc4,yellow bchan = 1-15, 17-31 dchan = 16 bchan = 32-46,48-62 dchan = 47 loadzone = it defaultzone = it and my zapata.conf signalling=pri_cpe ; pri_cpe = PRI slave ; pri_net = PRI master switchtype=national usecallerid=yes hidecallerid=no callwaiting=yes
2010 Oct 14
1
Passing variables into macros?
Hi,I cannot get this to work..I have two application maps that call these two macro's...transfer is done on sip phone and transfer2 is done on the incoming dahdi line....thats all working....but the value stored in dtmf12 is never passed into the second macro so I get " " in the NoOp.. So how exactly can I do this...global variable,setGlobalVar,import etc..tried a few combos?but