Example pjsip.conf for VoIP.ms
; pjsip.conf — trunk "voipms" generated by prefixkit.com
; Reload: asterisk -rx "pjsip reload" Check: pjsip show registrations / pjsip show endpoint voipms
[transport-udp]
type=transport
protocol=udp
bind=0.0.0.0:5060
[voipms-auth]
type=auth
auth_type=userpass
username=123456_sub
password=PASSWORD
[voipms]
type=aor
contact=sip:atlanta.voip.ms:5060
qualify_frequency=60
[voipms]
type=endpoint
transport=transport-udp
context=from-voipms
disallow=all
allow=ulaw
aors=voipms
outbound_auth=voipms-auth
from_user=123456_sub
direct_media=no
rtp_symmetric=yes
force_rport=yes
rewrite_contact=yes
dtmf_mode=rfc4733
[voipms]
type=identify
endpoint=voipms
match=atlanta.voip.ms
[voipms-reg]
type=registration
transport=transport-udp
outbound_auth=voipms-auth
server_uri=sip:atlanta.voip.ms:5060
client_uri=sip:123456_sub@atlanta.voip.ms
contact_user=123456_sub
retry_interval=60
forbidden_retry_interval=600
expiration=3600
line=yes
endpoint=voipms
FreeSWITCH gateway
<!-- conf/sip_profiles/external/voipms.xml — reload: fs_cli -x "sofia profile external rescan" -->
<include>
<gateway name="voipms">
<param name="username" value="123456_sub"/>
<param name="password" value="PASSWORD"/>
<param name="realm" value="atlanta.voip.ms"/>
<param name="proxy" value="atlanta.voip.ms:5060"/>
<param name="register" value="true"/>
<param name="expire-seconds" value="3600"/>
<param name="retry-seconds" value="30"/>
<param name="from-user" value="123456_sub"/>
<param name="caller-id-in-from" value="true"/>
<param name="ping" value="60"/>
</gateway>
</include>
VoIP.ms in 3CX, FreePBX, Yeastar and other web-managed PBXs
| Trunk type | Generic SIP trunk with registration (Register Trunk) |
|---|---|
| Registrar / SIP server / Host | atlanta.voip.ms |
| Port | 5060 UDP |
| Auth ID / Username | the login from your account (123456_sub) |
| Codecs | G.711 µ-law |
| DTMF | RFC 2833 / 4733 |
If it does not work
- Registration rejected (403) : login, password, From domain.
- No response to registration : host, port, firewall, SIP ALG.
- Inbound rejected: No matching endpoint found : provider IPs missing from identify.
- Extension not found in context : the inbound number arrives in another format.
- No joint codecs (488) : allow the provider codecs.
Check whether the provider server answers: SIP check. Read a registration or call log: SIP log analyzer. No audio: NAT test.
Other providers
Zadarma · MTT Business · Telphin · SIPNET · Mango Office · Twilio · Telnyx · DIDWW · Flowroute · Plivo · sipgate