Hi everyone,
I am wanting to do two different things and want to make sure I understand the way ATAs convert to SIP using FXS or FXO ports.
Currently I have an Asterisk Box using Elastix 4.0 (Asterisk 11?).
I want to use 2 pots lines as the outgoing lines. I bought a Grandstream HT703 which has 2 FXS ports. Because I am learning, I also bought a Cisco SPA112 that has [ 2 FXO ports. ] (Oops it has 2 FXS Ports, now I understand I need 2 FXO ports to do what I want.)
1) Which device would I use to connect to the active pots lines? (My current knowledge says the HT703)
2) Do I setup the device (based on question 1) as a SIP extension to asterisk?
3) What settings in Asterisk do I set for using these as outgoing lines? (Preferably in the FreePBX GUI or Elastix GUI, but I will take ".conf" settings if that's the only way to do this)
For a little more information, I successfully have multiple extensions with both NATâed remote SIP clients and local hardwired phones/devices. I also am using a raspberry pi as a paging phone and even got the SPA112 working as a SIP client to my asterisk box to make my analog cordless phone system work with the PBX box.
I currently have a SIP trunk with Google Voice (simonics.com) that is working very well. The next step in my testing is to get the landlines working for failover & just quality testing.
Thanks so much for any help.
Malcolm,
Thank you for your reply. That makes sense and I assumed the SPA112 was FXO⌠it is also FXS, oops! So now I have 2 different FXS devicesâŚ
I am going to be getting off the Elastix bandwagon since they are removing asterisk in Elastix 5 and going with 3CX. So I will install a new setup of FreePBX or IncrediblePBX with the latest Asterisk.
I found an article talking about how to use an FXO port to interface with an FXS signal (incoming landline as an example)
http://wiki.freepbx.org/pages/viewpage.action?pageId=33293313
Particularly on on the âWhyâ section it says the following:
âii) In the extension for the FXO, change the context from âfrom-internalâ to âfrom-trunkâ which now causes the Inbound Route to be invoked.â
The from-trunk / from-internal was what I was missing (and the proper FXO hardware).
The way you answered in question #1 as âtwo halves of a whole.â Helps me visualize the route and I will work on these steps and get back to you.
Thanks for your help!
Just a suggestion from past (painful) experience - get a Digium FXO Card:
https://store.digium.com/boards/#search/1A4B00F
If you are just experimenting, you can use Software Echo Cancelling (OSLEC - The Open Source Line Echo Canceller) - if this is for production, pay the extra money and get Hardware Echo Cancelling.
Getting Digium cards working under naked Asterisk or FreePBX is trivial, and you will have the best possible experience (and also support Digium!).
Awesome, thanks for the suggestion GSnover!
For now I am messing with virtual machines without PCI access so I ordered an unlocked SPA3000 that I can test around with for FXO Line capability.
Love the asterisk community support!