search for: macroexiting

Displaying 20 results from an estimated 65 matches for "macroexiting".

2015 Nov 28
2
endwhile jumping out of macro
...mailbox:7] While("DAHDI/i1/1234567-4a7f", "1") in new stack I checked the while-endwhile balance and it seems ok. I also checked if I GoTo() outside the loop. I don't. Macroexit is executed inside the while-endwhile loop in certain cases exiting some inner loop. Could MacroExiting inside a while loop cause this lost of balance? Regards Ethy
2012 Aug 22
1
recording calls
I am trying to record calls on demand both inbound and outbound calls. I can record outbound calls just fine but not inbound calls or calls from an internally between extensions. I am using the latest asterisk 1.8.x certified version. On an outbound call I see: == Using SIP RTP CoS mark 5 -- Called SIP/ BVTrunk /7190000000 -- SIP/BVTrunk-00000163 is making progress passing it to
2020 Feb 05
1
Hangup hook to put back a call into a queue
hi, I hope someone can help me:-) we’ve got a freepbx server. there are 2 special extensions (2001, 2002). if someone calls this extensions (or a call is forwarded to these extensions) and these extension hangup (not the caller party), then we’d like to put the calls back into a queue (1000) and wouldn’t like to hangup. I read your description about hangup hooks:
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
2009 Oct 08
2
How to keep difference between 2 SIP-accounts/trunks from same server ??
Hey list, I have a problem when I host 2 SIP-accounts on the same Asterisk-server. Asterisk picks out the SIP-account on alphabetic order A --> Z. In my sip.conf : register => user1:passwd1 at server/user1 register => user2:passwd2 at server/user2 [YOCAN-3starsnet] type=peer host=server username=user1 secret=passwd1 fromuser=user1 accountcode=user1_in [ITCENTER-3starsnet] type=peer
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
2006 May 31
5
Explicit Dialplan Exit
So, I've kind of converted my dialplan from: exten => custcare,1,GotoIfTime(8:00-17:00|mon-fri|*|*?acd_one_queue,custcare-open,1) exten => custcare,2,Goto(custcare-closed,1) exten => custcare-open,1.... exten => custcare-open,99.... exten => custcare-closed,1.... exten => custcare-closed,99.... to: exten =>
2009 May 11
1
PauseMonitor() Hanging Up Call
Hi All, I'm at the end of my tether here and would really appreciate some help. I'm trying to implement DTMF based pause/resume of call recording. I'm using Asterisk 1.4.22.1. Here's the scenario: The caller (SIP or ISDN, doesn't matter) dials into the asterisk which executes the following code: exten => _X.,1,Monitor(wav,${CALLDIR}${UNIQUEID},mb)
2006 Mar 24
11
Transferring a call with IAX
Here's an interesting question: If I transfer a call from Asterisk system to another with IAX, is there any way I can get control back on the original system? Or.. do I lose control, and the dialplan has to continue on the new system? Scenario is we transfer calls to an Asterisk system that handles ACD queues. If the ACD queue times out, we want to send the caller to voicemail on another
2010 Jun 07
0
Announcement before absolute timeout / how to terminate a meetme conf?
Hi, I'm new to asterisk and have a little trouble in developing my first more complex dialplan. The basic task is a click to call solution: - call one number via sip, play some announcements, do cdr etc. and put the callee into an conference room with music on hold - call a second number via sip, play some announcements, do cdr etc. put the callee into the same conference - have a nice chat
2010 Dec 30
4
call is not going to Voicemail with "1,n"
I've tried to simplified the dial plan and use "n" instead of numbers but I've noticed it is not executing my voicemail if I substitute number with "n" In the example below when the call is not answered, it does not go to voicemail; call just hangup. exten => 1,1,Playback(transfer) exten => 1,n,Dial(${sales_support}&IAX2/iaxy-322,20,jrw) exten =>
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 =
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
2016 Jun 30
2
how to join 2 channels using AGI/AMI
thanks John yeah, your approach is much siple, i've tried it but i'm not able do detect DTMF tones. it seems that on calls that i receive DTMF tones are handled correctly, but on calls generated from Asterisk to the world when the called side sends some DTMF digits they are not detected: -- Executing [s at macro-myconnector:1] NoOp("SIP/pbx2-000004b2", "") in new
2007 Dec 06
1
Dial() Macro option error in 1.4.15
After updating to 1.4.15, I have the following issue: When I try to use the "M" macro option in the Dial() option, I get the following in the console: -- Executing Dial("Zap/1-1", "Zap/g2/w5051234|60|M(set-userfield^local)KT") -- Called g2/w5051234 -- Zap/3-1 answered Zap/1-1 [Dec 6 12:10:58] ERROR[19496]: app_dial.c:1541 dial_exec_full: Unable to start
2008 Mar 10
2
What replaces Macro() now? And how do you do the equivalent?
I've been working on getting the sample configuration of extensions.conf to be more usable, i.e. to make the examples be more flexible or cover more territory... I thought it might be handy to show people how to use more contexts for virtual hosting, for example. Problem is I was using the existing stdexten macro from 1.2. See: http://bugs.digium.com/view.php?id=11969 If
2016 Jun 30
4
how to join 2 channels using AGI/AMI
Dear all i'm using an "old" Asterisk 1.6.2.9-2+squeeze12, and want to know if is possible to configure a scenario like this: 1) receive a call and put it on-hold in a queue (OK) 2) monitor the queue and trigger an outbound call to a remote number using AMI, setting the channel of the on-hold on a specific var named channel2Link (OK) 3) when the remote number answer, trigger an
2014 Mar 28
1
AMD with analog lines - DIALSTATUS empty
Hello, I would like to use AMD on outgoing calls using analog line. I tested with SPA3102 and cisco2811 as gw and asterisk 1.8.26.1 as well as 11.8.1 Other end is analog number behind another cisco/asterisk, also tested calling a mobile number with the same result. What I did: dial is done like exten => s,n,Dial(SIP/<IP gw>/<dialed number>,,M(myMacro)), which tell Asterisk to
2007 Dec 10
3
One server, multiple companies
Hello all, Just starting to setup asterisk v 1.4.11 and need to run three distinct phone systems for three different companies. So far, I have inbound lines going to the appropriate dial plan within the extensions.conf file. I'm using exten => _X.,1,NoOp(FROM NUMBER: ${SIP_HEADER(TO):5:10}) to determine which number is being dialed by the caller and then using a gotoif to get to
2009 Oct 09
0
calls ansowered for 1 second or less
Hello, Sometimes the call gets answered for 1 second, but actually the phone has not rang, it?s just the CDR, and asterisk hangup automatically, I cought the log of 1 call like this, I hope you can help me with this. My setup is : <vendor> ----SIP--? <Asterisk> ?----IAX2---? <Asterisk with Dhadi channels> Here: -- Executing [966505103150 at from-internal:1]