similar to: Function IMPORT

Displaying 20 results from an estimated 10000 matches similar to: "Function IMPORT"

2007 Nov 09
3
How to get ten-digit number?
Hello Instead of using PrivacyManager, I'd rather use my own dialplan to prompt the user for a ten-digit number if they called while blocking CID. This code does prompt the user, but 1) hangs up if the user didn't type the ten digits before the timeout 2) if the user did type the right number of digits, it still hangs up instead of Returning and then jumping forth to the "cid"
2009 Jun 17
1
Function IMPORT and Local channels
Hi, At the moment, I can't read Local channels variables using IMPORT function : ${IMPORT(Local/7531 at pcdialer-5dff\;1,CALLERID(num))} Is it normal behaviour ? Any idea or suggestion ? A DumpChan statement show usual variables. Comparing a Local channel with a SIP channel, the only difference I could associate meaning to, is that Local channel names include a semi colon with SIP channels
2020 Mar 27
2
E-Mail notification for each received call
Hi Daniel, Am 27.03.20 um 09:24 schrieb Administrator: > Hangup is h extension. your macro will never be executed. Solution: > > same = n,Dial(whatever) > same = n,[...]) > same = n,Hangup > > exten  = h,1,1,DumpChan() >  same = n,System(/home/asterisk/bash_test) I don't really understand your code… I think I don't have to edit the first part of the conf file
2006 Feb 24
1
ImportVar Syntax
I am trying to use ImportVar to get some information out of a SIP/ZAP channel. I cannot seem to find an example of the syntax, or what variables I can access. Basically, I would like to output which person is being called. i.e: SIP/25 calls SIP/21. 25 executes a macro, and the result is SIP/21. The info that I want is stored in the channel's "Direct Bridge" variable. I have
2015 Jul 06
0
Unisteam not showing callerid
hi list can U help me caller id in USTM if now working -- Starting switch on '4211 at 4211-1' to 4203 -- Executing [4203 at office:1] DumpChan("USTM/4211 at 4211-0x7f7ba4228fd0", "") in new stack Dumping Info For Channel: USTM/4211 at 4211-0x7f7ba4228fd0: ================================================================================ Info: Name=
2009 Jan 28
2
How to retrieve a phone number from call forwarding?
Hi, I'm very new to Asterisk and I have the following scenario. 1. Let's say I have a number of 1-222-222-2222 from my SIP service provider (VoicePulse). 2. I point my phone, Verizon wireless cellphone (1-111-111-1111), voicemail to the number provided by SIP service provider (1-222-222-2222). 3. I use another phone (1-333-333-333) to call 1-111-111-1111 and leave a voicemail message.
2020 Mar 26
2
E-Mail notification for each received call
Hi everybody, we use Asterisk to route all calls to a inbound phone number to a specific outbund mobile phone number, depending on time and date. I'd like to send a notification email to a specific email address, each time we receive a call. For this I used the tip of "dicko" here [1]. I'm a Asterisk newbie. Unfortunately it doesn't work. The System() command is not
2012 Nov 02
2
backreferences in gregexpr
Hi Folks, I'm trying to extract just the backreferences from a regex. > temp = "abcd1234abcd1234" > regmatches(temp, gregexpr("(?:abcd)(1234)", temp)) [[1]] [1] "abcd1234" "abcd1234" What I would like is: [1] "1234" "1234" Note: I know I can just match 1234 here, but the actual example is complicated enough that I have to
2006 Apr 24
2
CallerID/variable setting.
Hey, all. I'm trying to set my CID such that, internally, I see a four-digit extension (which is also handy when checking VM), but externally, I see the full 10-digit number. So I plugged these lines into my extensions.conf: exten => _XXXXXXX,1,GotoIf($[ ${CALLERIDNUM} != 1625]?4:2) exten => _XXXXXXX,2,Set(CALLERIDNUM=6031234${CALLERIDNUM:1}) exten =>
2006 Dec 18
3
Changing CALLERIDNUM on the fly
Is what I am trying to do in this context possible. That is changing the incoming CALLERIDNUM. In this case if the incoming CALLERIDNUM is not preceeded by a "1" I want to add a "1". Often calls come in without the preceeding "1" and this plays havoc with my redial if the 3 digit area code matches a local 3 digit extension. All my outside calls are 10 digits or 1+10
2006 Mar 10
3
RFC Follow Me Find Me script
This is a follow/find me script that I can't quite get to work, asterisk wont save forward/${calleridnum} to AstDB... any comments or thoughts on how to make this work or change it to work differently are appreciated. The voice prompts to go with all playback/background extensions are commented appropriately. I hope this code is of use to some of you and any help with a perfected
2003 Jul 28
1
Call Forwarding and DND conf
I have put together this call forwarding and dnd config: I'm sure it can be dome with macro's but I couldn't figure that out... anyone care to input. 74 Turns DND on my phone will not ring, drops caller to voicemail... 73 Turns DND off 72+ext forward your extension to another extension and voicemail is left at the forwarded extension. 71 turns off call forwarding. ; dnd Could
2005 Mar 22
1
Help Debugging my code?
Hey, I'm currently using the GotoIf application to set it so if certain caller ID's call my number, it will transfer it to my cell phone, here is the code I have so far. I get an error message that states "call rejected by 198.22.67.70: No such context/extention." when I call the number from my house number. Anyway, here is the code I have. [inbound] exten =>
2014 Mar 11
1
PJSIP - dtmf mode is not updated when the far end doesn't support rfc2833
Hello, I have installed the latest version 12 that has been released (12.1.0.rc3). I have setup default dtmf mode (rfc47..) but when I am calling to a endpoint that doesn't support it (no telephony event in the rtpmap) the asterisk responds OK in the signalling but DTMF is not working. Is it a known issue? Below you can see the output of the asterisk monitor. <--- Received SIP request
2004 Apr 27
1
Queue() with H option
Has anyone used the H option for Queue() with Callback queues? I want customers in my queues to be able to jump out to voicemail when they get tired of waiting, but in my setup when I pretend to be a customer and press '*' [when I am waiting in the queue] I see the message 'User hit * to disconnect call.' but then just jump out to the outer loop where queued callers wait to
2005 Jan 06
1
Gotoif question
Is there a way to combine these lines into one? exten => s,2,GotoIf($["${CALLERIDNUM:0:3}" = "800"]?s|108) exten => s,3,GotoIf($["${CALLERIDNUM:0:3}" = "866"]?s|108) exten => s,4,GotoIf($["${CALLERIDNUM:0:3}" = "877"]?s|108) exten => s,5,GotoIf($["${CALLERIDNUM:0:3}" = "888"]?s|108) Thanks --John
2004 Jun 25
3
Using Soxmix on extensions.conf
Hi, i want to use soxmix to record some calls in my PBX. If i use soxmix on my linux shell it works so i can mixed two calls into one consolidated call. I want to do the process automatically since extensions.conf but it doesnt work. My extensions.conf looks like this: exten => 407,1,SetVar(MONITORDIR=/var/spool/asterisk/monitor) exten => 407,2,Monitor(wav,${TIMESTAMP}.${CALLERIDNUM}.wav)
2006 Apr 29
2
Codec G729 no longer works.
I upgraded my server from Fedora Core 4 to Fedora Core 5. I was wondering if anybody else has run into the problem and know's the fix? I recompiled asterisk and if I don't have the /usr/lib/asterisk/modules/codec_g729a.so file in place it works. I use or used to use the licensed G729 Codec from Digium. This is the error message from asterisk -vvg: [app_playback.so] => (Sound File
2007 Jun 07
3
getting at ${CALLERIDNUM}
Hi all -- I'm having awesome fun with Asterisk & voicepulse connect together. So cool. I'm trying to have the caller id read back to me. Do I need to do something to have this sent across in the sip.conf? Or is there something I need to do somewhere to enable the reading of this data? Thank you! Matt Here is my extensions.conf exten => _XX.,1,Answer() exten
2013 Jul 24
2
What is my syntax error here?
I have thsi code in a dial plan. The purpose of which is to set distinctive ring tones for internal and transferred calls. exten => _.,1,Noop(CALLERID_ALL=${CALLERID(all)}) exten => _.,n,Set(CallerIDNum=${CALLERID(num)}) ; This just shows a list of interesting variables and their values ; Comment it out when finished debugging ;include => macro-dumpvars ;exten =>