Hello,
below my actual config
Sip settings
–>outgoing : trunk name TRUNK OUT
videosupport=no
usereqphone=yes
type=peer
transport=tcp
srvlookup=yes
session-timers=refuse
secret=YYYYYYYYY
qualify=yes
insecure=invite
host=reg.sip-trunk.telekom.de
fromdomain=sip-trunk.telekom.de
dtmfmode=rfc2833
disallow=all
directmedia=no
defaultuser=55XXXXXXXX
allow=g722,alaw
—> Incoming : trunk name : IN
videosupport=no
usereqphone=yes
type=peer
transport=tcp
srvlookup=yes
session-timers=refuse
secret=YYYYYYYYY
qualify=yes
insecure=invite
host=reg.sip-trunk.telekom.de
fromdomain=sip-trunk.telekom.de
dtmfmode=rfc2833
disallow=all
directmedia=no
defaultuser=55XXXXXXX
allow=g722,alaw
context=from-pstn-toheader
Register String : tcp://[email protected]:YYYYYYYYY:[email protected]:5060
you have to enable also in SIP Settings → Chan SIP Settings
Enable SRV Lookup Yes
Enable TCP Yes