View Single Post
Old 31st Mar 2019, 4:30 pm   #23
Graham G3ZVT
Dekatron
 
Graham G3ZVT's Avatar
 
Join Date: May 2010
Location: Greater Manchester, UK.
Posts: 18,724
Default Re: Using a slide Switch 2A to switch between POTS and FreePBX

Quote:
Originally Posted by boombox View Post
What I'm curious about, though, is:-

a) when the time condition is NOT matched, there seems to be no way to leave the call alone?
The modules form a chain, with "inbound routes" usually at the start.
So point one of the time-condition destinations to where the inbound route would have sent it if acting alone.
Quote:
but I can't seem to be able to do that without also telling the sipgate line to basically mirror the behaviour of the BT line which I don't want to do.
As Julie said, each trunk should point to a different context, but remember she is using vanilla Asterisk with no GUI.
We lesser mortals using FreePBX have a simple construct called "Inbound Routes to direct the calls on the basis of DID (trunk line) and/or CID (presented number). It sounds to me the reason your system has no discrimination, is that you have accidentally created a route with both of these parameters left blank. It's a common mistake and easily done!

If you give me a little time, I will PM you how my landline and Sipgate trunks and inbound routes are set up and I'll leave everything in the clear other than the passwords.
__________________
--
Graham.
G3ZVT
Graham G3ZVT is offline