You are here

VoIP Trunk

24 posts / 0 new
Last post
Ai6bx
VoIP Trunk
since launching my Asterisk PBX I maintained a GoogleVoice trunk allowing the system the ability to dial out to the rest of the world if needed. While this may have been frowned upon by some, it was a valuable “behind the scenes” resource as it would find any WAN gateway that existed on the Mesh to make the call happen. No Internet or phone in your local area because of emergency condition and the PBX could find another WAN gateway through RF hops and a call could still be made.

Google, in their infinite wisdom, shut this ability down by simply changing/discontinuing the protocol that made the magic possible. Has anyone come up with a new solution? I know there are pay subscription solutions but I always prefer free if it is possible.

73,

Keith AI6BX
K5DLQ
K5DLQ's picture
I havent' found any free
I havent' found any free alternatives.  I used it too on my pbx.  It was great.
 
Ai6bx
I will continue
I will continue to grind on this as there has got to be a way to make it work.
w6abj
I use VOIP.MS for the price

I use VOIP.MS for the price you really can't beat it. $0.85 per Month $0.009 per minute if you go pay by the minute, $4.25 per Month $0.00 per minute for 2 Channels unlimited calling.. you cant beat the service for the price.

Rich
W6ABJ

nc8q
nc8q's picture
I use Anveo

Last months charge was $4.236.
1 line. Each call is limited to 2 hours.
Now I want 2 lines. I may switch. Thanks.

KD1HA
KD1HA's picture
Obi-200
I'm using a PolyCom Obi200 with Google Voice $0.00 per/month about $40-$60 for the unit. Not an easy configure with FreePBX or IncrediblePBX but I got her done. I haven't tried but I understand that it will do two GV accounts.

Denis KD1HA
Ai6bx
Thank you!
Thank you! I will check these options out.
Ai6bx
Do Anveno and VoIP.ms
configure the same way as GoogleVoice did? 
w6abj
Almost all, VOIP providers
Almost all, VOIP providers are easier to configure than any Google Voice configuration.
KD1HA
KD1HA's picture
No that would be easy!

Reply to #8

No that would be easy!

After a Google search several setups are found but none of them worked. I picked bits and pieces from each and after about a month of configuring finely got the right combination. It seems that an ingredient was always left out of the recipe like Marie Barone from Everybody Loves Raymond! I will try and put together a How to.
Denis
 

Ai6bx
Thank you!
I will appreciate any guidance you can provide.
KD1HA
KD1HA's picture
Obi200 with GV setup for mesh FreePBX
  1. First setup your Google Voice and get it working on your Obi200 device. Follow the directions as found with your device and use the online or GUI version to do this but once you get the Google voice line working please use the online version to configure the rest of the setup and log into your obi device. https://www.obitalk.com/obinet/
  2. There is an expert mode in the online version, log into that and it will look pretty much like the GUI version but works much better. Be sure to (Submit) your work before changing pages.
  3. Once you have the above running it’s time to configure SP3, now before we begin there will be no changes that show that you have an active line and for whatever reason it still works so don’t be alarmed when it shows it as not configured! I wasted a lot of time with that! Also do not change any settings in the GV SP1 except to enter your GV number this way for:
     X_InboundCallRoute sp3(xxxxxxxxxx)
  4. Follow this link http://nerdvittles.com/?p=25846 configuration should work on most but stop at the PBX configuration. It has you configure it under SIP trunking but you want to use PJSIP Trunking for two way calling.
  5. Log into your PBX and have your GV number handy and delete your GV Motif if you had that running previously.
  6. Under Conductivity go to Trunks select add trunk and choose PJSIP and this will bring you to the General tab. Here enter the trunk name obi200-trunk and move on to the next tab Dialed Number Manipulation Rules enter 1 in the prefix box and NXXNXXXXX in the matched pattern box. You will need to dial 1 for the outside line but no 2ed dial tone is heard just dial the number ex. 14015555555. The next tab is pjsip Settings and here are several changes.
  7. User = name leave it blank.
  8. Secret = also leave it blank. (get it working you can make changes later)
  9. Authentication = Outbound
  10. Registration = Send
  11. Sip Server = 10.xxx.xxx.xxx whatever your Obi200 IP address is.
  12. Sip Port = 5062 or whatever your Obi device is.
  13. Context = from-trunk
  14. Transport =  0.0.0.0-udp
  15. (Submit your changes)Under Conductivity go to Inbound routes and click on the General tab. Set the Description Obi200-In and set your destination to whatever extension you want the call to go to. (Submit)
  16. Next under Conductivity move down to Outbound routes and go to route settings and name your route Obi200-out and set Trunk Sequence for Matched Routes to obi-trunk (find it in the pull down tab) leave all other settings to default.(Submit)

Make your call!
Denis

Ai6bx
Thanks
Thanks for the step by step. I am going to give it a try.
nc8q
nc8q's picture
RasPBX Mesh-Phone-Patch

I got a new VOIP service with voip.ms, $0.85/mo for the number and 1 cent a minute for active calls.
I configured this service as IAX2 because IAX allegedly uses less resources than Chan_SIP.
I have very slow ISP service; 22 Mbps down and 2 Mbps up.
Currently, any registered mesh-phone can dial-out to PSTN and
dial-in calls can be redirected to any one registered mesh-phone.
I hope to setup IVR so that dial-in calls can be redirected to any registered mesh-phone.

Chuck

Ai6bx
Thanks
Chuck,

Thanks for the tip. I am going to check this option out and really like the inbound dialing idea as well.

Keith
KD1HA
KD1HA's picture
The above directions work in and out.

The above directions work in and outbound. RE:#12
You can also direct any inbound calls to any extension or extensions you wish. A working knowledge of the PBX is helpful here but if you need help send me a message. 

Denis 

Ai6bx
Voip.ms help
I have created a VoIP.ms IAX2 trunk and outbound route however am getting an "all circuits are busy, please try your call again later" message. I have been on the help line with voip.ms and they confirm that my scripts are correct as the trunk shows as active. I have in outgoing dial plan of NXXNXXXXXX. Looking at the logs, it appears things are trying to connect as it gets to the circuits are busy message. Anyone run into this and have successful resolution?

Thanks!
nc8q
nc8q's picture
I also have a VoIP.ms IAX2 trunk

I also have a VoIP.ms IAX2 trunk to my rasPBX on the local AREDN network.
I call it a 'phone patch':
- outside PSTN can dial in and select to ring a registered phone
- registered phones can dial out to the PSTN.
I try to block some 900 number dialing.
Perhaps we could share settings and find a solution to your issue.
 

Image Attachments: 
Ai6bx
Here is what I have
Here are images of my settings.
File Attachment: 
Ai6bx
Second image
Main settings of route
File Attachment: 
Ai6bx
Got it working
The error on my side was with the CID options in Trunk settings. Changing from the default to "force trunk CID" makes everything work nicely.
Ai6bx
Now, for inbound dialing.
Any suggestions for setting this to vector to various extensions or is it limited to just one?
nc8q
nc8q's picture
Reply to #22

Question:
"Any suggestions for setting this to vector to various extensions or is it limited to just one?"

Excerpt from #14: "dial-in calls can be redirected to any one registered mesh-phone"

Since #14 was posted, I have added an IVR and 1 group call.
That group call will ring all my active hard or soft phones

What is a vector?

Chuck

KE0RSX
KE0RSX's picture
Dragging up an old thread again...
So, we have an OBI-200 that we're going to use for the Google Voice trunk. Originally, I tried to follow the instructions on this thread, and it wouldn't connect to the server at all (Error 404: Not Found). So, I wiped it and followed the instructions in this post https://twosortoftechguys.wordpress.com/2019/12/05/pjsip-edition-how-to-use-an-obihai-200-series-voip-device-as-a-gateway-between-google-voice-and-freepbx with more success. We're able to call out, but inbound calls just go to the Google Voicemail after "ringing" a few times. The issue is, the phone that it's set to doesn't ring at all.

A question for those who have this set up properly. Is there a step-by-step guide to get the inbound calls redirected to an IVR, and how to set that up with the menu system and direct dialing? I *think* I have the IVR configured correctly, but I can't get the inbound calls to go to it.

I'll be more than happy to upload my config files for both FreePBX and the OBI-200 if that will help to troubleshoot things.

Have a great night. :)
Patrick.

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer