Skip to content

Instantly share code, notes, and snippets.

@mi-skam
Created September 26, 2025 09:50
Show Gist options
  • Save mi-skam/7e034ba373d1b9aeeba4a2dcd67022aa to your computer and use it in GitHub Desktop.
Save mi-skam/7e034ba373d1b9aeeba4a2dcd67022aa to your computer and use it in GitHub Desktop.
Telekom SIP Konfiguration
# Telekom SIP Trunk Konfiguration
# Datei: /etc/asterisk/pjsip_additional.conf
[telekom-trunk-auth](!)
type=auth
username=YOUR_TELEKOM_USERNAME
password=YOUR_TELEKOM_PASSWORD
[telekom-trunk-aor](!)
type=aor
contact=sip:tel.t-online.de
[telekom-trunk-endpoint](!)
type=endpoint
transport=transport-udp
context=from-pstn
disallow=all
allow=alaw,ulaw,g722
direct_media=no
trust_id_inbound=yes
send_rpid=yes
send_pai=yes
# Hauptkonfiguration für Telekom SIP-Trunk
[telekom-trunk-auth-main](telekom-trunk-auth)
[telekom-trunk-aor-main](telekom-trunk-aor)
qualify_frequency=60
[telekom-trunk](telekom-trunk-endpoint)
auth=telekom-trunk-auth-main
aors=telekom-trunk-aor-main
outbound_auth=telekom-trunk-auth-main
# Identify für eingehende Anrufe
[telekom-identify]
type=identify
endpoint=telekom-trunk
match=217.0.0.0/8
match=87.122.0.0/16
# Registration (falls erforderlich)
[telekom-registration]
type=registration
transport=transport-udp
outbound_auth=telekom-trunk-auth-main
server_uri=sip:tel.t-online.de
client_uri=sip:[email protected]
retry_interval=60
forbidden_retry_interval=600
contact_user=YOUR_TELEKOM_USERNAME
# Transport Konfiguration
[transport-udp]
type=transport
protocol=udp
bind=0.0.0.0:5060
external_media_address=YOUR_EXTERNAL_IP
external_signaling_address=YOUR_EXTERNAL_IP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment