ASTPP v6.0 & FREEPBX BILLING

Hey ALL & Teams,

I’m trying to hook up ASTPP V6.0 with FreePBX v16.

I run this small service, and instead of routing calls through my trunks to connect with my customers, I want to give them an extension number they can use on a soft phone on their smart devices (iOS or Android). This way, I can avoid those extra costs for transferring incoming calls back to them.

But here’s the catch: I don’t want their extension on the soft phone to be totally blocked from making outbound calls. I’d like to let them call out using my system through my trunks. I want to handle billing through ASTPP and then send those calls out through FreePBX v16. Plus, they should be able to call other extensions in FreePBX v16 for free. With ASTPP Billing, they could have their own account set up so they can manage their billing, either postpaid or prepaid.

I couldn’t find clear instructions on how to do this. Can you give me some simple step-by-step guidance? I want all outbound calls to be billed except for internal extension numbers. Any help you could provide would be greatly appreciated.

Also just a quick heads up. I did find another post kind of similar to my request referring to FREEPBX and ASTPP connection when going through the forum to hopefully find a similar scenario, but I had no joy at all with the recommended steps in the post by the user named J who I must have met seems extremely knowledgeable, but I think because of the updates in the system between version four and six, there has been quite a lot change to astpp billing and freepbx v16. and I think this is why I’m having severe issues trying to find the right way to do this also.

Also the post is aged over four year old, and a lot can happen in software development as we all know, any help or light you can share on this scenario would be absolutely and truly appreciated, I am also happy to share any successes to help others in the same scenario thanks!

Not sure what the problem is. Any call extension to extension will stay within the PBX

I really apologise, I don’t understand your reply. I’m asking for help to set up the trunks between ASTPP v6 billing and free PBX version 16 to get them to work with the extension numbers. The only difference is I’m not billing incoming calls, and I am not using custom DIDs.

It’s not that hard. You connect it any same way you would connect to another VoIP provider

You may wan to read up on the documentation

https://inextrix.atlassian.net/wiki/spaces/ASTPP/pages/6007343/Overview

I apologize for any misunderstanding in my previous explanation. I now understand your response. Indeed, the extensions and free PBX should be able to communicate with each other without incurring charges. However, when an extension, such as 100, places a call to a U.S. toll-free number (e.g., 1-800), the call should be routed through the FreePBX to ASTPP billing. This process involves utilizing the SIP device associated with that extension to verify account details and confirm that there are sufficient funds to complete the call. Once verified, the call should be sent back to FreePBX based on the dial pattern I configured in ASTPP billing, allowing the appropriate outbound trunk to be utilized.

While this was the intended plan, I am currently experiencing challenges in establishing a trunk from FreePBX to ASTPP billing using PJSIP, and subsequently from ASTPP billing back to FreePBX version 16 for outbound calls. Setting up these trunks and understanding the procedure has proven to be quite difficult for me.

I appreciate your patience and apologize for any confusion caused.

You set up the SIP device, and then set up a trunk in FreePBX to connect to it. That is all there is to it.

Hey there! I’m really having a tough time getting any trunks or users registered, no matter what I try. I set up a user on a separate device along with the ASTPP billing system, but when I attempt to connect it as a trunk to FreePBX version 16, it just doesn’t seem to work. I even tried registering a softphone like Zoiper, and that didn’t go through either. Is there a specific setting inside ASTPP billing that I need to activate for the trunks? It’s frustrating because none of my SIP devices are being recognized by the PBX.

I have to admit, I’m not the most comfortable with FreeSWITCH since I usually prefer using a graphical interface. Terminal commands aren’t my favorite way to work—give me shiny buttons and nice visuals any day! I know that might get some eye rolls, but it’s just my style. Thanks for any help you can offer!

Can’t help without some logs