View Single Post
Old 27th Mar 2019, 10:45 am   #6
boombox
Pentode
 
Join Date: Mar 2012
Location: Rotherham, South Yorkshire, UK.
Posts: 152
Default Re: Using a slide Switch 2A to switch between POTS and FreePBX

Hi Rambo - I'm having a spot of bother with my ATA and Freepbx. Not sure where the problem is. At one point it was working so long as my dialplan on the ATA was

(x.<:@gw0>)

then it was suggested I change that to

(999<:@gw0>|x.|*x.)

and then it was suggested I change that to

(999S0|1[1-3]x|1[45]xx|08001111|0845464x|0[58]00xxxxxx|01[2-9][02-9]xxxxxx|0[1-9]xxxxxxxxx|[2-9]xxxxx|00xxxxxxxx.)

and then it was suggested I change that to:

(999<:@gw0>S0|112<:@gw0>S0|1[1-3]x|1[45]xx|08001111|0845464x|0[58]00xxxxxx|01[2-9][02-9]xxxxxx|0[1-9]xxxxxxxxx|[2-9]xxxxx|00xxxxxxxx.|*x.)

At some point even the basic functionality with the first dialplan stopped working because now whenever I dial a number on my test handset plugged into the FXS port I hear very faintly a load of DTMF tones being rattled off and then after a pause I either get a BT announcement saying "sorry, there is a fault" or I get just a beepy fault code. I think the beepy fault code (technical term) and the "sorry there is a fault" are both generated from the PSTN because they are recognisable and the voice is the recent BT lady voice.

I could really use a hand if you're good with this sort of thing, Rambo, and have the time...? I'm getting help from the FreePBX community forum but because they're on a different time zone, I take a step forward on one evening and then have to wait 24 hours to take another step forward. When in reality it's probably easily(?!) solvable in one sitting.

Thanks for your interest, anyway!!

P.S. I should mention I've been fiddling with the proxy and port settings latterly, the guides all show completely differing recommendations for what the SIP port should be and whether after the proxy IP you should add a port as well, e.g. 192.168.1.120:5160 or just 192.168.1.120.
At one point I found that the only way I could hear anything on the test phone was if I added the port to the registration proxy.
boombox is offline