Example pjsip.conf for MTT Business
; pjsip.conf — trunk "mtt" generated by prefixkit.com
; Reload: asterisk -rx "pjsip reload" Check: pjsip show registrations / pjsip show endpoint mtt
[transport-udp]
type=transport
protocol=udp
bind=0.0.0.0:5060
[mtt-auth]
type=auth
auth_type=userpass
username=username
password=PASSWORD
[mtt]
type=aor
contact=sip:login.mtt.ru:5060
qualify_frequency=60
[mtt]
type=endpoint
transport=transport-udp
context=from-mtt
disallow=all
allow=alaw,ulaw
aors=mtt
outbound_auth=mtt-auth
from_user=username
direct_media=no
rtp_symmetric=yes
force_rport=yes
rewrite_contact=yes
dtmf_mode=rfc4733
[mtt]
type=identify
endpoint=mtt
match=login.mtt.ru
match=80.75.132.72
[mtt-reg]
type=registration
transport=transport-udp
outbound_auth=mtt-auth
server_uri=sip:login.mtt.ru:5060
client_uri=sip:username@login.mtt.ru
contact_user=username
retry_interval=60
forbidden_retry_interval=600
expiration=3600
line=yes
endpoint=mtt
FreeSWITCH gateway
<!-- conf/sip_profiles/external/mtt.xml — reload: fs_cli -x "sofia profile external rescan" -->
<include>
<gateway name="mtt">
<param name="username" value="username"/>
<param name="password" value="PASSWORD"/>
<param name="realm" value="login.mtt.ru"/>
<param name="proxy" value="login.mtt.ru:5060"/>
<param name="register" value="true"/>
<param name="expire-seconds" value="3600"/>
<param name="retry-seconds" value="30"/>
<param name="from-user" value="username"/>
<param name="caller-id-in-from" value="true"/>
<param name="ping" value="60"/>
</gateway>
</include>
MTT Business in 3CX, FreePBX, Yeastar and other web-managed PBXs
| Trunk type | Generic SIP trunk with registration (Register Trunk) |
|---|---|
| Registrar / SIP server / Host | login.mtt.ru |
| Port | 5060 UDP |
| Auth ID / Username | the login from your account (SIP ID) |
| Codecs | G.711 A-law, 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 · Telphin · SIPNET · Mango Office · Twilio · Telnyx · DIDWW · VoIP.ms · Flowroute · Plivo · sipgate