Skip to main content

Outbound calls (termination)

Your PBX sends a call to your trunk FQDN. We check it and connect it to the Indian phone network.

Address the call​

Send an INVITE over UDP or TCP to port 5060 of your trunk FQDN, with this Request-URI:

sip:+<number in E.164>@<label>.sft.superfone.co.in

For example, to call +91XXXXXXXXXX on the trunk a1b2c3d4.sft.superfone.co.in:

INVITE sip:+91XXXXXXXXXX@a1b2c3d4.sft.superfone.co.in SIP/2.0

The called number must be in E.164 format with a leading + and the country code. We do not rewrite numbers:

You sendResult
+91XXXXXXXXXXAccepted
91XXXXXXXXXXRefused with 400 Bad Request
0XXXXXXXXXXRefused with 400 Bad Request
XXXXXXXXXXRefused with 400 Bad Request

Use your trunk FQDN exactly as issued, in lowercase. The match is case-sensitive, so A1B2C3D4.sft.superfone.co.in does not reach the same trunk.

Configure your PBX with the FQDN, not with an IP address.

Treat your FQDN like a password

Your trunk FQDN, together with one of its attached numbers, is what identifies your trunk today. Do not publish it in public repositories, screenshots or support forums.

If you think it has leaked, delete the trunk and create a new one. A new trunk gets a new label and FQDN, so update your PBX to point at it.

Caller ID​

The caller (the user part of the From header) must be one of the numbers attached to your trunk, in E.164 format with +:

From: <sip:+91XXXXXXXXXX@a1b2c3d4.sft.superfone.co.in>;tag=...

We refuse the call if:

  • the From number is not attached to your trunk,
  • the number is attached to a different trunk from the one in the Request-URI, or
  • your trunk is suspended.

We pass your From number to the carrier as the caller ID. What the called person sees on their phone: TBD. Confirmed at onboarding.

Destinations​

SF Trunk supports calls to Indian phone numbers only (+91). Do not send calls to other countries.

Example configuration​

These are examples. Adapt them to your system. Replace a1b2c3d4 with your label. In the caller ID settings, replace +91XXXXXXXXXX with one of your attached numbers.

SettingValue
Trunk typeStatic peer, no registration
SIP server / proxya1b2c3d4.sft.superfone.co.in
Port5060
TransportUDP or TCP. TLS is not supported. See Transport
AuthenticationNone
Called number format+ and country code, for example +91XXXXXXXXXX
Caller ID / From userOne of your attached numbers, for example +91XXXXXXXXXX
From domaina1b2c3d4.sft.superfone.co.in
CodecsPCMA first, optionally PCMU

When a call is refused​

ResponseUsual cause
400 Bad RequestThe called number is not in E.164 format with +
403 ForbiddenThe caller is not one of your trunk's numbers, the trunk is suspended, or your wallet balance is below ₹200
404 Not FoundThe Request-URI host is not a valid trunk FQDN
480 Temporarily UnavailableThe caller is not a Superfone number
503 Service UnavailableThe trunk, or your organisation, is at its CPS or concurrent-call limit, or the call could not be placed right now

Organisation call limits ship with the org-limits release.

The full list is in Troubleshooting.

Recording and call records​

Outbound trunk calls are recorded according to your trunk's recording setting. When the trunk has none, which is the default, they follow the call recording setting of the number you call from. Each call produces a Superfone call record with your trunk FQDN on it. See Limits and billing.

Next Steps​