Displaying 20 results from an estimated 300 matches similar to: "Set CALLERID(num) to a specific number only if ${CALLERID(num)} is not an NANP number"
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
2005 Jan 17
4
DIDs anywhere but here?
Are there affordable DIDs (preferably IAX) available anywhere outside
the US? I want to use it to meet ICANN requirements for providing a
valid phone number, yet pre-empting some of the telemarketing calls my
domain registrations generate. (Yes, I asked a similar question about
900# availability before). I'd prefer to have a number somewhere
outside the NANP, preferably an asian country.
2005 Sep 26
1
StripMSD or extension parser bug?
For years we've had the following simple context for outgoing calls:
[outtrunk]
; match any NANP, and strip leading 1 off
exten => _1XXXXXXXXXX,1,StripMSD,1
; dial outbound on trunk group 1
exten => _XXXXXXXXXX,2,Dial,Zap/g1/${EXTEN}
But when I upgraded on Friday to the latest CVSHEAD, this no longer
works. If I send 13115552368 to this context, I get a message like
pbx.c: Channel
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 =>
2004 May 25
3
Telus: Overseas calling
Hi,
We ran into a little problem recently with our phone provider (Telus
Canada): we are unable to dial numbers outside North America.
This is what happens: the phone number 011... is sent out over our
T1, Telus sees the correct number on their switch. However the
switch thinks it's a North American phone number (and thus has to
have 10 digits) and rejects the overseas number as
2008 Mar 17
2
Pre-pending certain digits (like 9) to an outbound call number
Hey all,
Working slowly on getting the myriad number of parts to my fax system plan together, and one of the pieces I want to nail is how to go about, for the outbound context (fax-out) pre-pending a digit onto a number? I.e., for all my testing right now, I've been dialing '91XXXXXXXXXX', as the asterisk server doing faxing junctions into my old Rolm CBX switch, and so I need the
2005 Mar 16
1
Pattern Matching?
I need to deploy some quasi-virtual-PBXes, and I'd like to avoid having to
be hands on for each new phone number deployed... so I would like to set
up some administrative extensions that can record greetings... lets say:
[admin]
exten => 8(NXXNXXXXXX),1,Record($1|-greeting.gsm)
[incoming]
exten => _(NXXNXXXXXX),1,Playback($1|-greeting)
exten => _(NXXNXXXXXX),2,Goto($1,1000)
exten
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 05
2
CNAM lookup: new method for Caller ID Name delivery
[cross-posted to -biz and -users since it could fall into either category]
Interesting new product that has been introduced that I think some
would be interested in here (at least, those users in the United
States and perhaps Canada): CNAM delivery via IP lookup.
The problem: inbound calls on many PRI connections, and also over
many VoIP providers, do not include caller name. This means that
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 =>
2004 Aug 24
2
Remotely change call forward
Is it possible using asterisk to allow someone to dial in and remotely
change where their call is forwarded to?
For example, I'm working from home so I want my calls to go to 555 1234,
now I need to go out for a bit so I'd like to phone the office and using
DTMF tell the asterisk PBX to now forward my calls to my cell phone 555
3456
Has anyone implimented anything like this?
R.
2003 Nov 20
5
The internet needs a dialing code..
It seems to me that ITSP's like to use a US dialing code eg 1-xxx
Wouldn't it be cool to have an Internet dialing code??
I don't know what the structures are or how the allocations work but it
would be so cool to know that 1-xxx was USA , 44-xxx was UK and yy-xxx
was an internet phone.. That way the whole internet phone space could be
consolidated into a single dialing structure
2005 Mar 17
4
Caller ID on E&M Wink
I am an Asterisk newby, and I cannot seem to get Caller ID information
from our T1 line. When calls appear at the phones, they say the call
came from "asterisk" and unknown number.
I know how Caller ID information is passed on an analog phone line
(between the rings) but with a T1 line, I don't know technically how it
is done.
I don't see the caller's number in the
2004 May 18
5
want to set a var in sip.conf
i have extensions in locations across a number of telco area codes.
when someone in seattle picks up and dials 91234567, it would be
nice to transform it to 92061234567. i would prefer not to have
an extension context per area code. it would be cool to be able
to set a variable in the sip.conf bit for each phone with it's
geographic default area code.
or other folk may have a better hack.
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