Upgrade 3CX to v18 and get it hosted free!

Asterisk settings for t-online.de

Author image
Asterisk Configuration Examples

Incoming and Outgoing Settings

here’s a basic asterisk configuration to place and receive calls through t-online.de, the germans leading telephone provider.

Assume your telephone number is +49 30 8151234, your username is your telephone number without ld prefix.
For example 0308151234.

In sip.conf:


[general]
register => username:password:[email protected]@tel.t-online.de/username~480

;; Deutsche Telekom AG
[t-online.de]
[email protected]
fromuser=username
secret=password
context=incoming
extension=username
type=peer
host=tel.t-online.de
fromdomain=tel.t-online.de
realm=tel.t-online.de
nat=no
directmedia=no
insecure=port,invite
canreinvite=yes
dtmfmode=inband
qualify=yes
session-timers=refuse     ; Important!
allow=!all,alaw,g722

 

In extensions.conf:

 


[incoming]
exten => username,1,Verbose(Incoming call via DTAG)
 same => n,Dial(SIP/john)
 same => n,Hangup

[trunk-dtag]
exten => _X.,1,Verbose(Outgoing call via DTAG)
 same => n,Set(CALLERID(all)=username)
 same => n,Dial(SIP/t-online.de/${EXTEN},180,rg)
 same => n,Hangup

 

Known issues

Telekom didn’t support session timers yet. Without “session-timers=refuse” in sip.conf calls getting dropped every 30 minutes.

If this Message occurs append “~480” to the register-line at sip.conf:

[Mar 20 23:43:49] WARNING[15603]: chan_sip.c:20749 handle_response_register: Got 423 Interval too brief for service [email protected], minimum is 480 seconds
[Mar 20 23:51:34] WARNING[15603]: chan_sip.c:20749 handle_response_register: Got 423 Interval too brief for service [email protected], minimum is 480 seconds
[Mar 20 23:59:20] WARNING[15603]: chan_sip.c:20749 handle_response_register: Got 423 Interval too brief for service [email protected], minimum is 480 seconds

 


Article Reviews

Write a Review

Your email address will not be published. Required fields are marked *

Required Field. Minimum 5 characters.

Required Field. Minimum 5 characters, maximum 50.

Required field.There is an error with this field.

Required Field.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

There are no reviews for this article. Be the first one to write a review.

Related Posts:

Get 3CX - Absolutely Free!
Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.