similar to: Pattern Matching?

Displaying 20 results from an estimated 400 matches similar to: "Pattern Matching?"

2005 Mar 17
1
Include/Macro not working right...
Hey guys. Thanks for the help on the Pattern matching, I got that working pretty nicely. the next problem I have is that I'm using an include file, but its not really working... In my extensions.conf: [incoming] exten => _NXXNXXXXXX,1,SetCallerID("Unknown Called Number") #include "numbers.conf" exten => _NXXNXXXXXX,3,Macro(Number,1000,${EXTEN}) [macro-Brand]
2005 Mar 17
1
Agent won't log out!
Hey guys... one last thing. I have set up agents in my Asterisk... and one agent refuses to log out. I have tried to log out from Xlite. I have tried from the console... AGENT LOGOFF 1001. It still gets the call. If I shut down Xlite, it still tries to contact agent 1001, but gets a congested message... if I bring Xlite back up, it gets the call. If I kill Asterisk and restart... its _STILL_
2005 Jan 27
0
Channel Groups?
Is it possible to build grousp of channels? I have a series of extensions which are receiving incoming calls to various virtual organizations. Something like this... [foo-incoming] exten => 2122222222, 1, Goto(ACorp|1000|1) exten => 2123333333, 1, Goto(BCorp|1000|1) . . . exten => _NXXNXXXXXX, 1, Goto(GenericCorp|1000|1) [GenericCorp] exten => 1000, 1, SetCallerID("Generic
2005 Jan 27
1
Stumped by BroadVoice SIP
Hello guys. I am a fairly new user to Asterisk, and I'm just having a tough time. My goal is to set up a VOIP PBX. I have signed up with a BroadVoice number, and I have three systems with SIP phones. The PBX and the SIP phones are all behind a Cisco PIX running NAT. I am using Asterisk CVS version from yesterday. I also tried 1.0.3 with little luck. The SIP phones are two X-Lites on
2006 Nov 03
3
Problems Overwriting CallerID with True ANI
I receive calls over a T1 with callerid and then *ani*dnis*. I am able to strip out the ani and the dnis in the dialplan but when I try to set the caller ID to be the ani, it looks ok but then if I do a NoOp callerid on the next line, I get unknown. Here is the section of my dialplan: exten => _*NXXNXXXXXX*NXXNXXXXXX*,1,Set(ANI=${EXTEN}) exten =>
2007 Jul 05
2
REGEX expression for NXXNXXXXXX?
Hola, What would a valid regexp in Asterisk be to identify a NANP number, i.e., NXXNXXXXXX? Sincerely, Brent A. Torrenga Torrenga Engineering, Inc. 907 Ridge Road Munster, Indiana 46321-1771 tel:+1 219 836 8918 x325 fax:+1 219 836 1138 email:brent.torrenga at torrenga.com web:www.torrenga.com
2006 Apr 30
2
Asterisk is stripping my area code
I've installed asterisk@home and gotten inbound calls going to an extension, extension to extension calling works but I'm still missing a few pieces. The most annoying one is that apparently asterisk is stripping the area code from the number I'm dialing but I can't figure out how to stop it. I have in my outbound route under "Dialing rules": 1NXXNXXXXXX NXXNXXXXXX We
2015 Apr 28
1
adding area code
On Tue, 28 Apr 2015 07:21:12 -0700 Motty Cruz <motty.cruz at gmail.com> wrote: > here is what I did and worked for me: > > exten => 1381+NXXXXXX,1,Set(CALLERID(number)=3817383444) > > exten => 1+NXXNXXXXXX,2,Dial(SIP/SIP-Provider/${EXTEN:1},80) I find it hard to believe this is working. First, you don't have a leading underscore on your patterns. Your users
2007 Nov 17
3
modifying a dialed exension before dialplan processing
I have a phone (a panasonic globalrange phone) which always sends a fully qualified phone number. That is, for a local Canadian number, even if I key in 6135551212 it actually sends to asterisk 01116135551212. This means of course, along with "normal" phones I end up having twice as many extensions for outdialed numbers. Is there any way I could canonicalize this down to the more
2006 Nov 08
2
Off-Site Extensions That Would Show As In-Use?
Hello, list! I'd like to create an extension that points to an offsite location (a number on the PSTN), the purpose of which would be to see if that offsite location is still on a call forwarded to it by Asterisk. This way a receptionist could choose to transfer calls to a mobile phone only if it's finished with the last call the receptionist forwarded to it. If I configure a custom
2009 Apr 30
1
Asterisk or Zaptel Issues
Hello All, Hope you all are fine and good ... I m facing an odd problem. I am able to dial some local and Mobile Number and some are not working. I also try to remove and re create dial plans , but it's not working. I live in New Delhi and Area Code is {011} but i am bale to call the number without adding {0} by just {11}, Previously i was thinking it was PRI problem, so i called the
2005 Jun 18
2
Unable to make outbound calls
Hi All, I am a new bee to *. I just installed Asterisk@home on FC3. I hv a FXO card. I hv configured two extensions one x-lite and other iaxComm. I configured * using AMP. The following setup works - x-lite (x 200) to iaxComm (x 201) - PSTN to x-lite - PSTN to iaxComm Voice mail, weather etc work fine. When i try to make an external call i am getting message "All routes are busy". In
2007 Aug 16
1
Set CALLERID(num) to a specific number only if ${CALLERID(num)} is not an NANP number
Im trying to figure out the base way to check the callerID being sent to my Asterisk box and use it if it is a valid NANP number, but replace it with a static NANP number if it is not. (Why? I have a few carriers that require this, and a few international users - if it happens to take one of the carriers that require it, I want it to set a static number that is valid). I'm playing
2007 Jun 26
1
Modification of Caller ID based on context
Hi, I have been looking for an example of accomplishing this, but I've been unable to locate something similar to what I'm trying to do. Here's the scenario: Users caller ID is set to their internal extension (200-250). This is set in sip.conf for each user. Each user has a local DID as well (hosted through Vitelity, for example (555)111-2222). The problem is that this extension was
2004 Jan 05
8
Sip Trunking
Hi list, I have to connect two asterisk box, in this scenario: [asterisk1]----sip----[asterisk2]----PSTN I must use sip, cos we'll use cisco rtp header-compression to save bandwidth. Could you tell me the best way to send calls from asterisk1 to asterisk2, since I cannot use IAX trunking? Thanks in advance Eduardo
2005 Oct 04
2
Call-in/Call-out
Hello, How would I setup where I call into my number and press say 911 and then it would ask for a pass and would accept it and then would prompt for a number so I could call out of my number on the road? Joshua __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com
2005 May 20
1
RDNIS (DNID) Call Routing
I haven't been able to find much support for the RDNIS or DNID variables online. I am trying to prove a concept of call routing before we move towards development of a production system. I need to have calls routed coming into a call center based on DNIS. What type of syntax is needed in the extensions.conf file and how can I test it with a softphone (ie: can I emulate the DNIS from xlite)?
2006 Nov 17
2
strip + sign from incoming ${EXTEN} var?
Is it possible to strip the plus sign from the ${EXTEN} var on an incoming call? We have our system setup to deal with incoming calls to numbers without a plus sign, lots of AGIs and databases we don't want to have to change. We have seen things like this ${EXTEN:1} which you can use in the dial command but we want to basically change the ${EXTEN} var right off when it comes into
2007 Aug 13
2
How strip +1 from caller id on inbound call
[This email is either empty or too large to be displayed at this time]
2015 Apr 27
2
adding area code
> On 27Apr, 2015, at 16:39, Motty Cruz <motty.cruz at gmail.com> wrote: > > forgot to mentioned I am running Asterisk 1.8.22.0 on CentOS. > > Thanks, > > > On 04/27/2015 02:38 PM, Motty Cruz wrote: >> here is what I have: >> exten => _9XXXXXXX,1,Set(l_HomeAreaCode=381) >> >> exten =>