Asterisk mit zwei lokalen SIP-Clients
Buch - Scripte

 

extensions.conf

[general]
static = yes
writeprotect=yes

[default]
include => sip20
include => sip21

[sip20]
exten => 20,1,Dial(SIP/20,25)
exten => 20,2,Hangup

[sip21]
exten => 21,1,Dial(SIP/21,25)
exten => 21,2,Hangup

 


sip.conf

[general]
language=de
port=5060
disallow=all
allow=alaw
allow=ulaw
allow=GSM
nat=no
canreinvite=no
tos=lowdelay
context=default

[20]
type=friend
username=20
secret=1234
host=dynamic
callerid=Foo <20>
context=default

[21]
type=friend
username=21
secret=1234
host=dynamic
callerid=Bar <21>
context=default