|
Vintage Telephony and Telecomms Vintage Telephones, Telephony and Telecomms Equipment |
|
Thread Tools |
25th Jul 2017, 1:43 pm | #1 |
Pentode
Join Date: Mar 2012
Location: Rotherham, South Yorkshire, UK.
Posts: 152
|
Asterisk setup? Is this kind of way of working a possibility?
Hello!
I think what I'm hoping to achieve with my Asterisk install is possible, but because it's probably a bit hard to explain, I've drawn a picture. Does it look possible? Feels strange asking an Asterisk related question on a Vintage Telephony subforum but it does relate to C*Net... Please ask if it's not clear. Thank you! |
25th Jul 2017, 2:11 pm | #2 |
Dekatron
Join Date: May 2008
Location: Derby, UK.
Posts: 7,735
|
Re: Asterisk setup? Is this kind of way of working a possibility?
That looks as though it will be very easy to implement.
__________________
If I have seen further than others, it is because I was standing on a pile of failed experiments. |
25th Jul 2017, 4:01 pm | #3 |
Dekatron
Join Date: May 2010
Location: Greater Manchester, UK.
Posts: 18,725
|
Re: Asterisk setup? Is this kind of way of working a possibility?
I know what you mean, I felt on dodgy ground starting my Asterisk thread until Pellseinydd responded with some CNet context.
At least dialling TIM on my system connects to Pat Simmons so that's a start. The answer to your question is an emphatic YES! I only wish I had your insight when I built my first box (Trixbox on an x86 machine) some years ago. You had to dial a "9" for an external call, That's what I was used to in office systems , but I soon realised you can be far more imaginative. There could be a conflict with Rotherham, local numbers beginning with 2 & 4, I would have to see what you are doing in more detail, but it should still be possible, eg. your outgoing route can look for the length of 6 [NXXXXX] instead of the usual [N.] |
25th Jul 2017, 5:39 pm | #4 |
Dekatron
Join Date: May 2008
Location: Derby, UK.
Posts: 7,735
|
Re: Asterisk setup? Is this kind of way of working a possibility?
I always took the view that Asterisk, in conjunction with vintage analogue telephones, is hardly really any more off-topic than grafting modern batteries into old radios, or using other modern techniques to substitute for an unobtainable part.
No doubt the moderation team will have their own thoughts; but I think we'll probably be OK as long as the discussion remains civil and doesn't develop into any sort of Holy War.
__________________
If I have seen further than others, it is because I was standing on a pile of failed experiments. |
25th Jul 2017, 9:45 pm | #5 | |
Heptode
Join Date: Jul 2007
Location: Flintshire, UK.
Posts: 707
|
Re: Asterisk setup? Is this kind of way of working a possibility?
Quote:
Thus your vintage telephones can dial an old STD code and number and it will go over CNet or dial a modern PSTN number and it will go out on your BT line. It is imperative that you set the system up such that incoming callers can get access to your BT line but Asterisk provides plenty of call barring options. Over the last 12 years or so since CNet first started, we've built quite a network up replicating the old public network of forty plus years ago. (back on topic?) My Asterisk has about 230 lines working off it into about fifteen countries all with their own 'local exchange' numbering. Surprising what you can get an Raspberry Pi to do! It handles about a thousand calls a day, with a call to the Speaking Clock about twenty odd times an hour! I bet the late Pat Simmonds never thought her voice would be carrying on for .....? Ian |
|
25th Jul 2017, 10:27 pm | #6 | ||
Dekatron
Join Date: May 2010
Location: Greater Manchester, UK.
Posts: 18,725
|
Re: Asterisk setup? Is this kind of way of working a possibility?
Quote:
Quote:
I am not suggesting you revel your own IP or hostname for the stuff you host, but I imagine there are dedicated systems around the world that allow anonymous inbound connections. |
||
25th Jul 2017, 10:59 pm | #7 |
Heptode
Join Date: Apr 2011
Location: Edinburgh, UK.
Posts: 805
|
Re: Asterisk setup? Is this kind of way of working a possibility?
What you propose is probably achievable within most ATAs dial plan, so you wouldn't need to run your own Asterisk system provided you can connect into C*Net across a SIP trunk.
|
25th Jul 2017, 11:04 pm | #8 | ||
Heptode
Join Date: Jul 2007
Location: Flintshire, UK.
Posts: 707
|
Re: Asterisk setup? Is this kind of way of working a possibility?
Quote:
Quote:
Ian CNet 0352 2345 |
||
25th Jul 2017, 11:31 pm | #9 |
Dekatron
Join Date: Nov 2003
Location: Heckmondwike, West Yorkshire, UK.
Posts: 9,643
|
Re: Asterisk setup? Is this kind of way of working a possibility?
We get that most days on the Forum too, from every corner of the globe. In our case mostly for spamming. Their IP address betrays them though!
|
26th Jul 2017, 8:54 pm | #10 | ||
Octode
Join Date: Aug 2005
Location: Saltburn-East, Cleveland, UK.
Posts: 1,786
|
Re: Asterisk setup? Is this kind of way of working a possibility?
Quote:
Setting up you Asterisk initially creates a huge learning curve but there's plenty of help out there and I'm sure that Ian (Pellseinydd) will keep you on track as he has done, and is currently continuing to do so, for me over my time on CNet Andrew |
||
27th Jul 2017, 12:44 am | #11 | ||
Dekatron
Join Date: May 2010
Location: Greater Manchester, UK.
Posts: 18,725
|
Re: Asterisk setup? Is this kind of way of working a possibility?
Quote:
Quote:
The rest of us will be using a GUI like FreePBX. I find it pretty intuitive, as long as you approach the issue methodically. Sure, the dial patterns can look a bit daunting, but no more so than a Sipura dial-plan string, until someone explains it to you. Andrew[/QUOTE] |
||
27th Jul 2017, 11:06 pm | #12 |
Dekatron
Join Date: May 2008
Location: Derby, UK.
Posts: 7,735
|
Re: Asterisk setup? Is this kind of way of working a possibility?
I think something this will do just about what your picture is showing:
extensions.conf Code:
[dialout] ; 2XX is an internal extension exten => _2XX,1,NoOp(Calling internal extension ${EXTEN}) exten => _2XX,n,Dial(SIP/${EXTEN}) exten => _2XX,n,Hangup() ; 4... is a number on CNET ; assume we have already set the variable ${CNET} up in the [global] section exten => _4.,1,NoOp(Calling CNet number ${EXTEN:1}) ; the :1 means skip 1 digit from the beginning exten => _4.,n,Dial(${CNET}/S{EXTEN:1}) exten => _4.,n,Hangup() ; everything else goes straight to the real telephone system ; again, assume ${PSTN} is already set up exten => _X.,1,NoOp(Calling rest-of-world number ${EXTEN}) exten => _X.,n,Dial(${PSTN}/${EXTEN}) exten => _X.,n,Hangup() To allow calling of local numbers beginning with a 4 and require a prefix 17 to call CNet, you could use something like Code:
exten => _17X.,1,NoOp(Calling CNet number ${EXTEN:2}) exten => _17X.,n,Dial(${CNET}/S{EXTEN:2}) exten => _17X.,Hangup()
__________________
If I have seen further than others, it is because I was standing on a pile of failed experiments. |
28th Jul 2017, 1:54 am | #13 |
Dekatron
Join Date: May 2010
Location: Greater Manchester, UK.
Posts: 18,725
|
Re: Asterisk setup? Is this kind of way of working a possibility?
I think Boombox will be using FreePBX (RASPBX).
What he is asking for looks like it can be implemented simply enough using outbound routes. I know the old adage "GUIs are for WIMPS", and I can only speak for myself here, I'm a self-confessed wimp. In any case, with FreePBX manually entered contexts have to go in extensions_custom.conf |