Displaying 20 results from an estimated 51 matches for "areacode".
2005 Jun 24
2
Set global variables without extension..
Is it at all possible to set a Global Variable freely whenever a context gets used without having to enter an extension priority to use SetGlobalVar? This is really limiting the dialplan for me. Heres an example of what I would like to be able to do.
[globals]
AREACODE=
[local]
exten=_NXXXXXX,1,Dial(SIP/${AREACODE}${EXTEN}/blah)
[anyoldcontext1]
AREACODE=313
include=local
[anyoldcontext2]
AREACODE=810
include=local
so then sip accounts would point towards either anyoldcontext1 or anyoldcontext2 and depending on what is set in sip.conf for a context depends o...
2006 May 23
3
AGI ?
...MyIAXPROVIDER";
my $gIaxPass = "MYIAXPASS";
my $gIaxHost = "myIAXHost";
my $gSipHost = "MYSIPHost";
########### SYSTEM VARIABLES #####################
my $AGI = new Asterisk::AGI;
my $gDialedNo = shift;
my $gNumber = "";
my $gPrefix = "";
my $gAreaCode = "";
### Sets Outbound CallerID ###
$AGI->set_callerid($callerId);
open(LOG, ">>$log") or die("Couldn't open $log\n");
### Log Statement for Troubleshooting ###
#print LOG "(". localtime() .") Got Dialed number: $gDialedNo\n";
###...
2015 Apr 27
1
adding area code
Thanks for your reply,
[globals]
AREACODE=381
[outbound]
exten => _NXXXXXX,1,Dial(SIP/SIP-Provider/1${AREACODE}${EXTEN},80)
did not work for me, any ideas?
Thanks,
On 04/27/2015 01:59 PM, Phil Reynolds wrote:
>
>
> On 27 April 2015 21:32:42 BST, Motty Cruz <motty.cruz at gmail.com> wrote:
> >Hello,
> >
>...
2006 Dec 21
2
Insert 1+areacode for VOIP calls
...xten => _1NXXNXXXXXX,n,Dial(IAX2/${VOICEPULSE_GATEWAY_OUT_A}/${EXTEN})
exten =>
_1NXXNXXXXXX,n,GotoIf($[${DIALSTATUS}=CHANUNAVAIL]?${EXTEN}|500)
exten =>
_1NXXNXXXXXX,500,Dial(IAX2/${VOICEPULSE_GATEWAY_OUT_B}/${EXTEN})
Is there a way I can create a _NXXXXXX extension and insert 1 and
areacode when dialing?
Any help appreciated,
Phil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061221/3a4d6628/attachment.htm
2015 Apr 27
5
adding area code
Hello,
I would like to add area code if clients dial 7 digits, it that
possible? currently clients dial prefix 9 plus local number, however my
SIP provider is requiring to dial 10 digits. is it possible to add area
code?
Thanks,
Motty
2005 Mar 09
2
Where can I find all areacodes for USA (accounting purpose)
I need to setup all area codes for billing, but how can I do that easy
for North America and Canada, where I have only one price anyway.
thanks!
bye
Ronald
2008 Feb 21
3
Pattern matching....
Will this work to match any number from the 770,404, or 678 area codes?
_[404|770|678]NXXXXXX
If this won't work, is there a pattern that will do this?
Yours,
Michael Munger, dCAP
404-438-2128
michael at highpoweredhelp.com <mailto:michael at highpoweredhelp.com>
Attachment encrypted? click here
<http://www.highpoweredhelp.com/tutorials/wincrypt/> .
2009 Feb 05
2
no need to dial areacode
Hi
To dial an outside line i have to dial 0. I want to have that when we dial local numbers, that is we are in the 08 area, I don't want to have to dial 08, how to set this up in asterisk 1.6?
Regards
/ralf
________________________________________________
Ralf Tr?skman, IT
AdLibris AB, Odengatan 106, 113 22 Stockholm, Sweden
Dir: +46-(0)707548074, vxl: +46-(0)85460 60 00, fax: +46-(0)85460
2006 Dec 20
1
Dial 9 to get out?
...git extention (i.e. 100) on my polycom
phones and after the 3rd digit is entered, it dials that extension and
b) dial 9 to get out like older PBX systems. Since my internal
extensions start with a 1 I think what happens is I enter extension 100
for example, and the phone sits there. If I enter 1, areacode, number
the moment I enter the last digit of the number it dials the number.
ALSO I'd like to be able to dial local numbers without using 1+areacode.
Note that I'm using voicepulse so it makes sense that it isn't
intelligent enough to know when a number is a local one or not.
Thanks...
2004 Jun 07
6
chan_capi and DDI (Anlagenanschluss)
Hi all !
We have 3 NTBAs which are all going to our existing PBX. Our areacode is
06003 and our DDI enabled number 9141.
I want to exchange that PBX with Asterisk, but still struggle to get it
working.
My CAPI.CONF is currently like this:
[general]
nationalprefix=0
internationalprefix=00
rxgain=0.800000
txgain=0.800000
[interfaces]
context=in-capi
msn=60039141
incomingm...
2004 Dec 29
1
RFI: Creating a database of DID providers
...> Is anyone willing to host/manage a website that people
> > can simply browse that lists all current DID providers
> > and their coverage areas?
> It's a good idea and probably not too hard to implement,
> it's just a case of deciding how far you want to go.. are
> areacodes good enough? or do you need to go to NPA-NXX
> level and start talking about rate centers etc?
Ok.. I'm going to have a stab at this.. I'd like to have some kind of
search mechanism similar to that at www.voipreview.org where you can select
country and area (by state/city? or would peo...
2004 Apr 23
4
call initiation
...em I'm running into is you have to press xxx then
press 'send or 'dial'. The pbx doesn't recognize a 3 digit number as an
internal extension and automatically dial it the user has to initiate
that call. Asterisk automatically initiates calls w/ 9+7 digits and LD
calls, 9+1+areacode+number.
How would you tell the PBX try an extension once and 3 digits have been
pressed. The exception being 9 as that gives a outside line.
--
Rock River Internet Roger Grunkemeyer
202 W. State St, 8th Floor grunky@rockriver.net
Rockford, IL 61101...
2005 Jan 31
5
Q: PRI leading 0 (area access code) or 00 (country access code) missing on incoming callerid
...nd international callerids and it's not possible to make the decission
based on the length of the presented callerid, as the length of the
callerid can vary in most countries.
e.g.: i'm getting signalled 4123456789 which could be a call from
"Barmstedt (Germany)" which has the areacode '4123' or from Switzerland
which has the countrycode '41'
somehow our ericsson businessphone 250 fromerly connected to the same
E1-PRI was capable of showing the correct number of leading 0s?!?
regards
frank
2004 Jun 18
3
WaitExten substitute
i am using the freebsd port, which seems to not yet have WaitExten(),
which i kinda want to use thusly
[ext-666]
exten => _.,1,SetVar(areacode=666)
exten => _.,2,Background(zz-in-who) ; give them list of extns
exten => _.,3,WaitExten(10) ; let them enter extn to call
include => extensions
include => applications
include => speeddials
exten => i,1,HangUp
exten => t,1,HangUp
how do...
2007 Dec 06
3
Setting Multiple Values via func_odbc ...?
...ues.
Can this be done?
If not, I will just stick with MySQL, but that's a pain in the ass because the asterisk-addons package has no default rpm spec file for building an RPM.
I had something like this in func_odbc.conf:
[VOX_LOG_CALL_LEG]
dsn=MySQL
write=INSERT into CallLog (Source,IDDCode,AreaCode,ProviderId,SIPReply) values (${VAL1},${VAL2},${VAL3},${VAL4},${VAL5})
but it doesn't like it. In order for this to work, I'd have to have several LOG_CALL_LEG functions, each taking one parameter, and then requiring several database updates!
Doug.
_____________________________...
2007 Nov 01
3
Outgoing PRI CID?
...working except the outgoing caller ID. Whatever
SIP phone I'm using, the CID that's shown is the very first number...
----- s n i p -----
[default]
include => outgoing
include => priin
[outgoing]
exten => _NXXXXX.,1,Macro(dial,08${EXTEN},${RINGTIME}) ; Local number (w/o areacode) - Stockholm
exten => _0NX.,1,Macro(dial,${EXTEN},30,r)
[priin]
exten => _X.,1,Dial(IAX2/graham/${EXTEN},30,r)
[macro-dial]
exten => s,1,NoOp(Trying extension/number: ${ARG1} from ${CALLERID(num)})
;exten => s,n,Set(CALLERID(num)=${CALLERID(num)})
exten => s,n,Dial(Zap/g1/${ARG1},$...
2015 Apr 27
0
adding area code
...ients dial 7 digits, it that
>possible? currently clients dial prefix 9 plus local number, however my
>
>SIP provider is requiring to dial 10 digits. is it possible to add area
>
>code?r
Quite simple - you need to match on NXXXXXXX and when passing it to the SIP provider, present ${AREACODE}${EXTEN}, having first defined AREACODE in [globals].
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20150427/77d0f9d5/attachme...
2005 Sep 16
1
7 digit dialing to e.164 format
...39;ve asked this once a long time ago and got a vague response, any
suggestions? I'm wanting to convert for example a 7 digit extension
(whether it be via dialplan or agi) to e.164. This is for the sake of
getting everything outbound into e164 format. The issue I see you will
need to append the areacode of the calling party to the 7 digits, from
there adding a +1 is of course easy. example:
Customer dials 5610680, his callerid (from) is +16364424591.. I want to
take the 636 and add it to the 561 number so the result would be
6365610680 .. Any thoughts? I've been looking at the internal ast
co...
2006 Oct 29
1
CID and CDR conflict?
Hi all,
I've been beating my head against this for some time now.
For incoming calls, I'd like to send my users a "localized" caller id number.
By "localized," I mean one with out the 1+areacode for local calls and only
10 digits (minus the leading 1) for long distance calls.
For example:
I get a call from 15055551234. Since I live in the 505, I should see:
5551234 on my caller id.
However, if I get a call from 18035556789, I should see:
8035556789 on my caller id.
The problem is tha...
2008 Jan 21
1
Mysql collations error
...ct * from locations where country = ''HU'' and
> geo_state = ''08'' and city = ''Pázmánd'' and zip = ''(null)'' and lat =
> ''47.283'' and lng = ''18.666'' and metrocode = ''0'' and areacode = ''0''
> and isp = ''UPC Magyarorszag Kft.'' and organization = ''UPC
> Magyarorszag Kft.'' limit 1
mysql collation variables are set to.
collation_connection
latin1_swedish_ci
collation_database
utf8_general_ci
collation_server...