Asterisk Sipgate register

Aus xinux.net
Zur Navigation springen Zur Suche springen

/etc/asterisk/sip.conf

register => <USERID>:<PASSWD>@sipgate.de/sipgate_in

[sipgate_out]
type=peer
insecure=invite
username=<USERID>
fromuser=<USERID>
fromdomain=sipgate.de
host=sipgate.de
nat=yes
secret=<PASSWD>
qualify=yes
dtmfmode=rfc2833
disallow=all
allow=ulaw,alaw

/etc/asterisk/extensions.conf

exten => sipgate_in,1,Dial(SIP/01)
exten => sipgate_in,n,Hangup
exten => _XXXXX.,1,Dial(SIP/sipgate_out/${EXTEN},30,trg)