RE: [Asterisk-Users] country code list

2005-10-11 Thread Chris Bagnall
 441xxx geographic based landline
 442xxx geographic based landline
 443xx reserved
 444xx reserved
 445xx corp and voip
 446xx reserved
 447xx pagers, personal etc
 448xx national rate, local rate, freephone, some mobile, blah 
 449xx premium services

For the UK, your most accurate source of info is probably the first few
pages of the BT Phone Book (delivered free to all UK homes/businesses).
There's quite a comprehensive list of what each number range is for, how it
breaks down, etc.

I did find a list somewhere of the useful special services (1xxx.) such as
BT customer services, line tests, etc. that I can copy from one of our
clients' dialplans if it'd be any help?

Regards,

Chris
-- 
C.M. Bagnall, Director, Minotaur I.T. Limited
This email is made from 100% recycled electrons


___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] country code list

2005-10-11 Thread Steve Kennedy
On Mon, Oct 10, 2005 at 10:12:58PM -0700, trixter http://www.0xdecafbad.com 
wrote:

 I was wondering if anyone has put together a comprehensive list (that is
 reasonably maintained) that lists country codes, landline numbers,
 mobile numbers, etc.  The particular requirement is for a dialplan to
 know what is going to be charged to whom.
 For example, mobile and landline rates are the same in the US the US has
 a unified numbering plan of 1NXXNXX, while the UK has:
 441xxx geographic based landline
 442xxx geographic based landline
 443xx reserved

Actually 443 is now a new geographic range

 444xx reserved
 445xx corp and voip
 446xx reserved
 447xx pagers, personal etc

447 is mobile, personal, some pagers etc.

 448xx national rate, local rate, freephone, some mobile, blah

44800 is freephone

there is an on-going discussion whether 4487 numbers (or at least some)
should go into premium rate.

 449xx premium services
 
 Although I dont see something that states what a valid number actually
 is.  So idealy to avoid getting charged a higher rate I would want to
 limit all calls to the UK to region codes starting with a 1 or 2
 (although from what I have seen most of the 2x is 20 for london).  

There are other areas too covered by 2.

Also you have to know who's terminating it. You can make an assumption
re BT termination, but directly connected businesses may use another
telco with different termination rates etc.

A lot of UK telco's have difficulty pricing UK termination because of
this (or risk taking a hit if they get it wrong).


Steve


-- 
NetTek Ltd  Fax +44-(0)20 7483 2455
Skype / In  stevekennedyuk / UK +442088167166 / US +13106518226
Vonage UK +442079932612 / US +13108577715 / UK mob 07775 755503
Personal Blog http://stevekennedy.blogspot.com
Euro Tech News Blog http://eurotechnews.blogspot.com
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] country code list

2005-10-11 Thread Steve Kennedy
On Tue, Oct 11, 2005 at 07:53:09AM +0100, Chris Bagnall wrote:

 For the UK, your most accurate source of info is probably the first few
 pages of the BT Phone Book (delivered free to all UK homes/businesses).
 There's quite a comprehensive list of what each number range is for, how it
 breaks down, etc.
 I did find a list somewhere of the useful special services (1xxx.) such as
 BT customer services, line tests, etc. that I can copy from one of our
 clients' dialplans if it'd be any help?

Actually the best indication is Ofcom's site (the regulator), they
publish number blocks and who owns them (doesn't take porting into
account, but it's a start). www.ofcom.org.uk


Steve

-- 
NetTek Ltd  Fax +44-(0)20 7483 2455
Skype / In  stevekennedyuk / UK +442088167166 / US +13106518226
Vonage UK +442079932612 / US +13108577715 / UK mob 07775 755503
Personal Blog http://stevekennedy.blogspot.com
Euro Tech News Blog http://eurotechnews.blogspot.com
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] country code list

2005-10-11 Thread trixter http://www.0xdecafbad.com
On Tue, 2005-10-11 at 07:53 +0100, Chris Bagnall wrote:
 For the UK, your most accurate source of info is probably the first few
 pages of the BT Phone Book (delivered free to all UK homes/businesses).
 There's quite a comprehensive list of what each number range is for, how it
 breaks down, etc.
 

Ok, then let me ask the obvious, can anyone with a phone book publish
that info?  Although there its fairly easy restrict everything that
doesnt start with a 1  2 and you are safe, start opening that up and
you may or may not be depending on provider (some that include uk
landlines do not incl freephone for example).


 I did find a list somewhere of the useful special services (1xxx.) such as
 BT customer services, line tests, etc. that I can copy from one of our
 clients' dialplans if it'd be any help?

dont most of those start with 14?  like to enable/disable caller id and
such.  But regardless I am more interested in what is valid landlines in
various countries, not just the UK but all countries.

When trying to create a dialplan for voipbuster to avoid charges I
noticed that several of the countries didnt appear to have identifable
mobile numbers (at least according to wikipedia) and others werent
listed at all.  This means that there are several countries I cant tell.

But voipbuster aside this information is generally a good thing to have
for anyone who wants to either use a voip service provider and not be
charged the sometimes insane termination rates to mobiles, or worse call
a premium service number for $2511/minute (as was the case with a +1 809
number once).

Then for the voip provider side, there are rates sheets but sometimes
they are incomplete on what is what, and carriers have pass through
billing.  Take UK premium most people list those as 44 9xx or 44 90x,
but both of those arent entirely correct.  44 945 is a (now deprecated)
pager prefix (or was that 941?).  4490x and 91x are premium service
numbers, block only 90x and you miss the 91x which can be as much as
1.50 GBP/min (and despite the hype icstis does have exemptions on
certification for those that get a premium number even at the 1.50
GBP/min rate).  The cost per call to some UK premium can be quite high
when its a 'call for payment of a product' type service. 

Then take into account other countries with looser telecom laws
(liechtenstein, afganistan are two that come immediatly to mind).
People have been setting up phone companies there then changing the
published rate for termination to their phone company and with pass
through billing the voip provider gets hosed unless they too have pass
through to their end user (I bet that will become more popular in the
near future - although by the time it happens the credit/debit card can
be canceled etc).  This is basically what happened to nuphone to the
tune of $450k in one month.

All of these factors need to be addressed in a good dialplan, although
its really hard to keep one as dynamic as it would need to be (ie
someone sets up a new phone company, you need to know it exists, maybe
mark it as 'new' for a while to see if any suspicous traffic comes in -
if you can even tell if its new).  With other countries where the phone
numbering system is fairly static and fairly regulated the lists
shouldnt be that hard to create. 

This would be a nice wiki page on voip-info.org if people contribute the
numbers from their localities to at least get it started, and over time
it would grow to something quite usable.

I used to have a itu.org or something page that had number formatting
for each country although I dont think that it went into what is and
what wasnt mobile, special services, and landlines.  will keep trying to
find that again.

-- 
Trixter http://www.0xdecafbad.com Bret McDanel
UK +44 870 340 4605   Germany +49 801 777 555 3402
US +1 360 207 0479 or +1 516 687 5200
FreeWorldDialup: 635378


signature.asc
Description: This is a digitally signed message part
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [Asterisk-Users] country code list

2005-10-11 Thread trixter http://www.0xdecafbad.com
On Tue, 2005-10-11 at 09:34 +0100, Steve Kennedy wrote:
  448xx national rate, local rate, freephone, some mobile, blah
 
 44800 is freephone
 
and 808 and um what is the third?  I wanna say 500 but I am not sure
that is right.


 there is an on-going discussion whether 4487 numbers (or at least some)
 should go into premium rate.
 
Well legally they arent yet.  But there are some 87 numbers that are for
mercury, some are vodaphone, cellnet, BT, um um um.  Then you have 871
(10ppm national rate) 870 (NCFA) 87 has more than what is most popular
(870/871) and that makes it a problem depending on the rates to the
specific 'subexchanges'.

Note about 871, the 10ppm is the BT rate, one voip provider is about
half that while some others traditional carriers are 10-40% more.  

  Although I dont see something that states what a valid number actually
  is.  So idealy to avoid getting charged a higher rate I would want to
  limit all calls to the UK to region codes starting with a 1 or 2
  (although from what I have seen most of the 2x is 20 for london).  
 
 There are other areas too covered by 2.
Yeah thus the use of the word 'most' :)


 
 Also you have to know who's terminating it. You can make an assumption
 re BT termination, but directly connected businesses may use another
 telco with different termination rates etc.
 
 A lot of UK telco's have difficulty pricing UK termination because of
 this (or risk taking a hit if they get it wrong).
 
Yeah, although some companies (CW for example) have built out their own
network and can terminate cheaper than BT so ...

-- 
Trixter http://www.0xdecafbad.com Bret McDanel
UK +44 870 340 4605   Germany +49 801 777 555 3402
US +1 360 207 0479 or +1 516 687 5200
FreeWorldDialup: 635378


signature.asc
Description: This is a digitally signed message part
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [Asterisk-Users] country code list

2005-10-11 Thread trixter http://www.0xdecafbad.com
On Tue, 2005-10-11 at 09:36 +0100, Steve Kennedy wrote:
 On Tue, Oct 11, 2005 at 07:53:09AM +0100, Chris Bagnall wrote:
 
  For the UK, your most accurate source of info is probably the first few
  pages of the BT Phone Book (delivered free to all UK homes/businesses).
  There's quite a comprehensive list of what each number range is for, how it
  breaks down, etc.
  I did find a list somewhere of the useful special services (1xxx.) such as
  BT customer services, line tests, etc. that I can copy from one of our
  clients' dialplans if it'd be any help?
 
 Actually the best indication is Ofcom's site (the regulator), they
 publish number blocks and who owns them (doesn't take porting into
 account, but it's a start). www.ofcom.org.uk
 

Yeah but that still doesnt answer the fundamental question.  While they
do have who owns stuff they do it based on prefix (ie 44 871 59 is
pipemedia) but it doesnt tell you how many digits are past that (5 more
with that one anyway).  I dont know that all UK phone numbers are 11
digits (infact I am led to believe they arent).  

And outside the UK you may want to know what is premium, mobile, etc.
What would incur higher charges for the call itself.


-- 
Trixter http://www.0xdecafbad.com Bret McDanel
UK +44 870 340 4605   Germany +49 801 777 555 3402
US +1 360 207 0479 or +1 516 687 5200
FreeWorldDialup: 635378


signature.asc
Description: This is a digitally signed message part
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [Asterisk-Users] country code list

2005-10-11 Thread Are
AstBill the Web-based open source Billing and Management software for Asterisk includes the information you are requesting.
AstBill
is not only a web-based, user-friendly billing interface to Asterisk.
It is also a Asterisk configuration and management tool and a
standardized implementation of Asterisk using REALTIME and static
configuration as you please.

in AstBill the MySQL table 'astcountrycode' contain 601 records of
countries and US states including the countrycode and US State Codes.

The MySQL table 'astroute' contain 1412 routing record for Outgoing trunk routing. In AstBill you can assign each of these routes 
to any 'outgoing trunk' as you wish. This is the perfect routing engine
for Asterisk and unlike other systems. You don't need to enter all the
basic data by your self. It is all provided to you FREE OF CHARGE from
the AstBill Team.

The MySQL table 'astpricelist' contain 4179 records as examples of
pricing records for your customers. You can have as many price lists
(brands) for each route you want in any currency. 

Have a look at the AstBill DEMO: http://demo.astbill.com or download from http://astbill.com.
Are Casilla
http://astartelecom.com - Independent VOIP Telecoms Broker. Asterisk and Drupal Consultants
http://astbill.com - Billing, Routing and Management software for Asterisk and VOIP
AstBill DEMO: http://demo.astbill.com


___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [Asterisk-Users] country code list

2005-10-11 Thread trixter http://www.0xdecafbad.com
On Tue, 2005-10-11 at 10:50 +0100, Are wrote:
 in AstBill the MySQL table 'astcountrycode' contain 601 records of
 countries and US states including the countrycode and US State Codes.
 

I will look at that, although personally I dont like drupal, and dont
need a billing system per se, I had planned onl ooking at it for other
reasons.

Where do you get the data from?  Obviously I can just dump it but it
would be nice for me to know where you got it from.


I did notice this:
http://www.voip-info.org/wiki/view/Numbering+plans
which links to
http://www.itu.int/ITU-T/inr/nnp/index.html  (listing of basically every
countries numbering plan administrator)
and also links to
http://www.wtng.info/ (not what I had hoped but for now it seems to be
the best thing going ...)


Maybe I will make some parser that will deal with the data from astbill
although I want to make sure of its origin (no offense, but there is a
ton of info on the net as a whole it cant all be true :)  and make sure
that its current (from what I have seen on www.itu.int a few countries
are renumbering lately.


-- 
Trixter http://www.0xdecafbad.com Bret McDanel
UK +44 870 340 4605   Germany +49 801 777 555 3402
US +1 360 207 0479 or +1 516 687 5200
FreeWorldDialup: 635378


signature.asc
Description: This is a digitally signed message part
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [Asterisk-Users] country code list

2005-10-11 Thread Are
Dear Bret

The data is collected from many sources during close to two years.

We can't ensure it is allways up to date and will be happy if you can report any changes/errors.

Feel free to use the data only if it is usefull

http://www.numberingplans.com is a commercial service but there is some free info on the site.

Are Casilla
http://astartelecom.com - Independent VOIP Telecoms Broker. Asterisk and Drupal Consultants
http://astbill.com - Billing, Routing and Management software for Asterisk and VOIP
AstBill DEMO: http://demo.astbill.com


___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

RE: [Asterisk-Users] country code list

2005-10-11 Thread Chris Bagnall
 AstBill the Web-based open source Billing and Management 
 software for Asterisk includes the information you are requesting.

big snip

Apologies for the slight threadjack, but as someone fairly new to the list,
what *is* the policy on list advertising? There are quite a few posts I've
seen in the few weeks I've subscribed that are pretty close to the blurry
line.

Back to the original topic - what's the purpose for which you need this
information? Building dialplans or billing?

As you've discovered, the UK is a complete mix of different number ranges,
often numbers within those being billed at different rates. It used to be
the case that one could look at a mobile number range and *know* what
network it was on - but with number porting and so on, that's no longer the
case. Each mobile network sets their own termination rates, all of which
significantly affect the price callers will pay (so having a flat rate for
calls to mobiles might not be possible). I've seen some companies charging
calls to mobiles on the 3 network at nearly twice the price of the big 4.

I'd say you're pretty safe with 01xxx and 02xxx.
05xx hasn't really taken off yet, especially with 01xxx and 02xxx numbers
available so cheaply from VoIP providers, and given that current rates are
~10p to 05 numbers, it doesn't show signs of taking off in the short term.

 449xx  premium services

Most of our clients generally ask me to block everything staring 09xx by
default. The few pager numbers that are still in this range should (I'd be
interested to hear if they're not) have been assigned new ranges in the
07xxx block by now.

Regards,

Chris
-- 
C.M. Bagnall, Director, Minotaur I.T. Limited
This email is made from 100% recycled electrons


___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] country code list

2005-10-11 Thread oner asterisk
most compherensive list that I saw is http://www.numberingplans.com/?page=diallingsub=areacodes

Cheers,
Oner
On 10/11/05, Chris Bagnall [EMAIL PROTECTED] wrote:
 AstBill the Web-based open source Billing and Management software for Asterisk includes the information you are requesting.
big snipApologies for the slight threadjack, but as someone fairly new to the list,what *is* the policy on list advertising? There are quite a few posts I'veseen in the few weeks I've subscribed that are pretty close to the blurry
line.Back to the original topic - what's the purpose for which you need thisinformation? Building dialplans or billing?As you've discovered, the UK is a complete mix of different number ranges,
often numbers within those being billed at different rates. It used to bethe case that one could look at a mobile number range and *know* whatnetwork it was on - but with number porting and so on, that's no longer the
case. Each mobile network sets their own termination rates, all of whichsignificantly affect the price callers will pay (so having a flat rate forcalls to mobiles might not be possible). I've seen some companies charging
calls to mobiles on the 3 network at nearly twice the price of the big 4.I'd say you're pretty safe with 01xxx and 02xxx.05xx hasn't really taken off yet, especially with 01xxx and 02xxx numbers
available so cheaply from VoIP providers, and given that current rates are~10p to 05 numbers, it doesn't show signs of taking off in the short term. 449xx  premium servicesMost of our clients generally ask me to block everything staring 09xx by
default. The few pager numbers that are still in this range should (I'd beinterested to hear if they're not) have been assigned new ranges in the07xxx block by now.Regards,Chris--C.M. Bagnall, Director, Minotaur 
I.T. LimitedThis email is made from 100% recycled electrons___--Bandwidth and Colocation sponsored by Easynews.com --
Asterisk-Users mailing listAsterisk-Users@lists.digium.comhttp://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:http://lists.digium.com/mailman/listinfo/asterisk-users
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

RE: [Asterisk-Users] country code list

2005-10-11 Thread trixter http://www.0xdecafbad.com
On Tue, 2005-10-11 at 11:40 +0100, Chris Bagnall wrote:
  AstBill the Web-based open source Billing and Management 
  software for Asterisk includes the information you are requesting.
 
 big snip
 
 Apologies for the slight threadjack, but as someone fairly new to the list,
 what *is* the policy on list advertising? There are quite a few posts I've
 seen in the few weeks I've subscribed that are pretty close to the blurry
 line.
 
 Back to the original topic - what's the purpose for which you need this
 information? Building dialplans or billing?
 

personally dialplans, for some associates of mine they want billing
abilities, more specifically they have a desire to know better what is
what in a foreign country.  While they know their own numbering plan,
and a couple of other countries there are a BUNCH of countries out there
with totally different numbering schemes.

Others on the list may want it for either, I have a feeling this request
goes beyond my personal desire.  

What I did was get astbill, I am trying to see where all the bits of
info is that I need (starting to look like two tables I will have to go
through to get everything I want).  I may make a page that will create
extensions.conf cut-and-paste stuff tomorrow (I am still up from
yesterday so odds are not tonight - the sun is almost up I am about to
turn into a pumpkin :)

Assuming astbill's data is accurate, and my very very brief view of it
based on the limited countries I do know of it appears to be fairly
complete, then people should be able to goto my webpage and either
download the data and run it themselves or possibly use a webapp on my
webpage to create an asterisk dialplan for specified countries based on
a very simple template.  

I may make it simplier with instructions on sed, it all depends on how I
feel.  If you save the file and run sed it would be far easier for me :)


 As you've discovered, the UK is a complete mix of different number ranges,
 often numbers within those being billed at different rates. It used to be

It started with the UK as an *example* and everyone seems to have
latched onto that.  I wanted to know more than the UK, I wanted every
country.  astbill seems to have that data, I seem to have located all
the little bits that I need from that data, so this is progressing
along, from my perspective anyway.


  449xx  premium services
 
 Most of our clients generally ask me to block everything staring 09xx by
 default. The few pager numbers that are still in this range should (I'd be
 interested to hear if they're not) have been assigned new ranges in the
 07xxx block by now.
 
I have gotten through to 1 pager in the 945 or 941 I forget now in the
last week or so.  

You think country code 44 is a mess, think about country code 1, it
spans many countries ...  some in +1 have had $2511/minute rates.  Yes
twenty five hundred eleven united states dollars per minute!  Country
code 1 is really a region code (north america) and becuase of the
different countries there are different rates, interconnection fees,
laws governing the numbers, etc. 

So it could be worse :P




-- 
Trixter http://www.0xdecafbad.com Bret McDanel
UK +44 870 340 4605   Germany +49 801 777 555 3402
US +1 360 207 0479 or +1 516 687 5200
FreeWorldDialup: 635378


signature.asc
Description: This is a digitally signed message part
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [Asterisk-Users] country code list

2005-10-11 Thread trixter http://www.0xdecafbad.com
On Tue, 2005-10-11 at 14:15 +0300, oner asterisk wrote:
 most compherensive list that I saw is
 http://www.numberingplans.com/?page=diallingsub=areacodes 
  
The only problem with that is in the first one I tried (Ireland) it
didnt give me the specific info I wanted :/  I tried the US and it is a
really short list and doesnt include numbers like 700, 900, tollfree,
etc.  

In ireland (+353) mobiles are 083 085 086 087 088 with 088 largely
deprecated (eircell analogue).  New subscriptions have to be from the
assigned pool, so there havent been any new 088s issued for a while,
maybe someone ported to digital service?  I dunno, its mostly deprecated
anyway :P

I would like to know if a call is a landline, premium, mobile or other
type of special service.  It appears that astbill has this data, and I
am working off that for now, I would just feel more comfortable if I
knew where they got it from (not enough time has passed from the first
time I asked for that, so I dont fault them for not saying anything just
yet).



-- 
Trixter http://www.0xdecafbad.com Bret McDanel
UK +44 870 340 4605   Germany +49 801 777 555 3402
US +1 360 207 0479 or +1 516 687 5200
FreeWorldDialup: 635378


signature.asc
Description: This is a digitally signed message part
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [Asterisk-Users] country code list

2005-10-11 Thread Steve Kennedy
On Tue, Oct 11, 2005 at 02:29:04AM -0700, trixter http://www.0xdecafbad.com 
wrote:

 Yeah but that still doesnt answer the fundamental question.  While they
 do have who owns stuff they do it based on prefix (ie 44 871 59 is
 pipemedia) but it doesnt tell you how many digits are past that (5 more
 with that one anyway).  I dont know that all UK phone numbers are 11
 digits (infact I am led to believe they arent).  

Well they are mainly standardised and should be easily worked out as
it'll be oddities not the norm which don't fit.

 And outside the UK you may want to know what is premium, mobile, etc.
 What would incur higher charges for the call itself.

You can find that out from the Ofcom number plans

Steve

-- 
NetTek Ltd  Fax +44-(0)20 7483 2455
Skype / In  stevekennedyuk / UK +442088167166 / US +13106518226
Vonage UK +442079932612 / US +13108577715 / UK mob 07775 755503
Personal Blog http://stevekennedy.blogspot.com
Euro Tech News Blog http://eurotechnews.blogspot.com
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] country code list

2005-10-11 Thread Steve Kennedy
On Tue, Oct 11, 2005 at 02:21:03AM -0700, trixter http://www.0xdecafbad.com 
wrote:

[snip]
  Also you have to know who's terminating it. You can make an assumption
  re BT termination, but directly connected businesses may use another
  telco with different termination rates etc.
  A lot of UK telco's have difficulty pricing UK termination because of
  this (or risk taking a hit if they get it wrong).
 Yeah, although some companies (CW for example) have built out their own
 network and can terminate cheaper than BT so ...

Err, B*llox.

BT own 85% of the infrastructure into premises i.e. most UK calls will
terminate into a BT line.

CW have interconnected with BT at MSPs (multi-service points) and have
bought capacity to the actual DLEs (digital local exchanges). There are
around 5,600 DLEs in the UK and you need to connect to around 770 of
them to get single or dual tandem access. Other operators have done this
too (Energis - now owned by CW, THUS, Opal [Carphone Warehouse] and
others).

CW terminate cheaper to be competetive. BT are regulated as they have
SMP and have to differentiate wholesale/retail pricing etc. BT COULD
terminate cheaper than any other provider if they were allowed to.


Steve

-- 
NetTek Ltd  Fax +44-(0)20 7483 2455
Skype / In  stevekennedyuk / UK +442088167166 / US +13106518226
Vonage UK +442079932612 / US +13108577715 / UK mob 07775 755503
Personal Blog http://stevekennedy.blogspot.com
Euro Tech News Blog http://eurotechnews.blogspot.com
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] country code list

2005-10-11 Thread Kevin Scott
I'm curious, for a $2511/min call, which +1 number was this?  +1900?

Kevin

-Original Message-
You think country code 44 is a mess, think about country code 1, it
spans many countries ...  some in +1 have had $2511/minute rates.  Yes
twenty five hundred eleven united states dollars per minute!  Country
code 1 is really a region code (north america) and becuase of the
different countries there are different rates, interconnection fees,
laws governing the numbers, etc. 

So it could be worse :P




-- 
Trixter http://www.0xdecafbad.com Bret McDanel
UK +44 870 340 4605   Germany +49 801 777 555 3402
US +1 360 207 0479 or +1 516 687 5200
FreeWorldDialup: 635378
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] country code list

2005-10-11 Thread trixter http://www.0xdecafbad.com
On Tue, 2005-10-11 at 16:47 +0100, Steve Kennedy wrote:
  And outside the UK you may want to know what is premium, mobile, etc.
  What would incur higher charges for the call itself.
 
 You can find that out from the Ofcom number plans

They have lists for outside the UK?  I didnt think they did that ;)

At any rate I ripped the database tables from astbill.com and am using
that as a base (found a few missing ones too, which are now submitted to
them :)

I am almost done with my super wonder magical include for adding
countries easier than ever to extensions.conf (bet it gets out of date
by mid next week).

I will try to toss this on my page today, under the voip section, along
with directions on how to use it and why I did it the way I did.

In essence each country is a context, there are super contexts for
country code 1, a US48, US50, Canada, caribbean, and pacific and of
course all of country code 1.  Each state in the US, and region in
canada as well as all the different other countries tossed into 'country
code' 1 are seperate if you want to pick and choose.


I am trying to make this complete, however expect errors, omissions and
general breakage, if it works for you hey great.  
-- 
Trixter http://www.0xdecafbad.com Bret McDanel
UK +44 870 340 4605   Germany +49 801 777 555 3402
US +1 360 207 0479 or +1 516 687 5200
FreeWorldDialup: 635378


signature.asc
Description: This is a digitally signed message part
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

RE: [Asterisk-Users] country code list

2005-10-11 Thread trixter http://www.0xdecafbad.com
On Tue, 2005-10-11 at 11:16 -0500, Kevin Scott wrote:
 I'm curious, for a $2511/min call, which +1 number was this?  +1900?
 
 Kevin
809.  It was set up as a premium number in that country.  While that was
an extreme case it did aparently happen back in the 90s sometime.  And
because the country in question (I forget exactly which one) didnt
require it there was no recording at the begining of the call saying
that it was a premium number, nor anything saying what the rate was.

Because of the way things ended up the telcos told the company there
they had to collect themselves (they didnt) and didnt charge their
customers.  It was in a few newspapers (I read about it in the NJ Star
Ledger at the time, but that may have been an AP story I dont know now,
just that was the only paper I read at that time and I know roughly
where I lived when I read it, and do recall it was back when I acutally
read paper based newspapers).

Most of the scammers are smarter than to try something to insane, get a
few dollars here and there, so it is a legitimate problem.  I have only
read one story with that amount, but I would imagine that it goes on far
more, just with a $1-2 per minute charge instead ...


-- 
Trixter http://www.0xdecafbad.com Bret McDanel
UK +44 870 340 4605   Germany +49 801 777 555 3402
US +1 360 207 0479 or +1 516 687 5200
FreeWorldDialup: 635378


signature.asc
Description: This is a digitally signed message part
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [Asterisk-Users] country code list

2005-10-11 Thread Bob Goddard
On Tuesday 11 Oct 2005 12:19, trixter http://www.0xdecafbad.com wrote:
[...]
 It started with the UK as an *example* and everyone seems to have
 latched onto that.  I wanted to know more than the UK, I wanted every
 country.  astbill seems to have that data, I seem to have located all
 the little bits that I need from that data, so this is progressing
 along, from my perspective anyway.
[...]

Try http://global.mci.com/uk/customer/. Look at the box in the bottom
right hand corner. It may give you a bit more info.


B
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] country code list

2005-10-11 Thread trixter http://www.0xdecafbad.com
On Tue, 2005-10-11 at 19:54 +0100, Bob Goddard wrote:
 On Tuesday 11 Oct 2005 12:19, trixter http://www.0xdecafbad.com wrote:
 [...]
  It started with the UK as an *example* and everyone seems to have
  latched onto that.  I wanted to know more than the UK, I wanted every
  country.  astbill seems to have that data, I seem to have located all
  the little bits that I need from that data, so this is progressing
  along, from my perspective anyway.
 [...]
 
 Try http://global.mci.com/uk/customer/. Look at the box in the bottom
 right hand corner. It may give you a bit more info.

Thank you this is what I wanted all along.  Yes they do have more of a
breakdown, at least with mexico.  I am unsure if I will use anything
from astbill, not becuase the data is inherently bad but because I may
change the way I do this ...

I am thinking parse a CSV and create the dialplan out of that, that way
its easier to regenerate in the future.

Comments, spacing and everything my dialplan from astbill.com was 1700
lines or so, the MCI file is about 4300 lines, so there was definately
stuff missing (whether that is astcill or my that was missing from what
was there I dont know).

I should have something all new and better soon for people that wanted
to create better dialplans.  And to think this whole thing started out
personally because I wanted the ability to create a good dialplan for
voipbuster.com and some friends wanted me to think over billing
solutions (not for a real product, a friend is mentoring a high school
student in independant study on voip).

Thanks a lot for this :D


-- 
Trixter http://www.0xdecafbad.com Bret McDanel
UK +44 870 340 4605   Germany +49 801 777 555 3402
US +1 360 207 0479 or +1 516 687 5200
FreeWorldDialup: 635378


signature.asc
Description: This is a digitally signed message part
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users