Looking for Expert Help with FreeSWITCH XML API Setup & Advice on SIP Trunk Billing

sokalsondha

Member
Nov 6, 2019
38
1
8
Hello everyone,


I’ve been working with FreeSWITCH for a while and I’m trying to build a simple SIP call server that can handle SIP trunk routing, DID management, and billing. I understand how FreeSWITCH works with XML dialplans and mod_xml_curl, and I already have a working XML API that delivers the correct dialplan XML from my remote server.


But I still can’t register or make calls from a SIP phone — so I believe my FreeSWITCH base configuration (profiles, gateways, or contexts) is not set correctly. I’d really appreciate help from someone who understands FreeSWITCH structure deeply (profile, context, gateway logic).




My Setup​


  • Fresh FreeSWITCH installation on Debian
  • mod_xml_curl enabled — my remote API returns valid XML
  • I can see XML replies being sent correctly
  • But SIP registration or outbound call still fails
  • I’m testing with Voxbeam SIP trunk (IP-based auth)



What I Want to Build​


  • A basic SIP trunking platform (multi-customer)
  • Inbound DID routing and outbound trunk routing
  • Integrated call billing (CDR + rate table)
  • Web interface (PHP + MySQL)
  • I know about ASTPP, but it feels too heavy/buggy for my use.

So if anyone knows:


  • a lightweight open-source or paid PHP/MySQL-based billing system for SIP trunking
    (not A2Billing or ASTPP)
  • or can guide how to structure FreeSWITCH XML API and configs properly
    please let me know.



Community Questions​


  1. Is there any official or active FreeSWITCH community/forum besides FusionPBX’s forum?
    (I found freeswitchforum.com but it looks inactive or Russian-based.)
  2. If not, I’m thinking to create a new community forum for FreeSWITCH users.
    Any suggestions for a good domain name like:
    • freeswitchhub.com
    • freeswitchzone.com
    • freeswitchcommunity.net
    • freeswitchconnect.com

Which one sounds best? Or any other ideas?




Help Needed​


If you’re familiar with FreeSWITCH internals and XML routing:


  • Please help me review my setup
  • Or point me to proper documentation or examples for mod_xml_curl + gateway-based routing

Thanks in advance to anyone who replies


— Rizvi