I’m building a VoIP billing system using FreeSWITCH and the XML CURL API.
So far, SIP registration, SIP profiles, and gateways are all working dynamically from the database.
Now I’m working on the dialplan part — and I’m a bit stuck.
I want to know the correct XML format that FreeSWITCH expects my API to reply with, especially when I have one main gateway and up to three failover gateways (for example, UK numbers like 00442079460000).
Basically, I need to confirm what the XML CURL response structure should look like — how FreeSWITCH wants the dialplan reply for outbound calls with multiple gateways in sequence.
Can anyone share a small example or best-practice format for this kind of setup?
So far, SIP registration, SIP profiles, and gateways are all working dynamically from the database.
Now I’m working on the dialplan part — and I’m a bit stuck.
I want to know the correct XML format that FreeSWITCH expects my API to reply with, especially when I have one main gateway and up to three failover gateways (for example, UK numbers like 00442079460000).
Basically, I need to confirm what the XML CURL response structure should look like — how FreeSWITCH wants the dialplan reply for outbound calls with multiple gateways in sequence.
Can anyone share a small example or best-practice format for this kind of setup?