Bluesip.net provides one free Germany DID. To set up with your asterisk box add the following settings to /etc/asterisk/sip.conf :
register => bluesip/username:password@bluesip.net/498971234567890
[bluesip]
disallow=all
allow=alaw
allow=ulaw
type=friend
username=bluesip/username
fromuser=username
secret=password
host=bluesip.net
context=from-pstn
fromdomain=bluesip.net
auth=md5,plaintext
qualify=yes
canreinvite=no
nat=no
insecure=very
If you are running an Asterisk 1.8 system, you will need to remember to replace
with