Входящие по sip
Собственно вот .Call from '' to extension '2800111' rejected because extension not found . Тренируюсь на asterisk . Без веб интерфейса.
sip.conf
general]
videosupport=yes
useragent=SipPhone
register=2800111@10.10.10.100
register=2800222@10.10.10.100
[utk]
type=friend
username=2800111
host=10.10.10.100
callerid=<2800111>
dtmfmode=auto
context=test
disallow=all
allow=alaw
insecure=invite
[utk2]
type=friend
username=2800222
host=10.10.10.100
callerid=<2800222>
dtmfmode=auto
context=test
disallow=all
allow=alaw
insecure=invite
[200]
type=friend
host=dynamic
callerid=<2800111>
username=200
secret=pass
context=test
[201] ; xlite phone
type=friend
host=dynamic
callerid=<2800222>
username=201
secret=pass
context=test
extensions.conf
[test]
;exten => 200,1,Dial(SIP/200,20,t)
;exten => 201,1,Dial(SIP/201,20,t)
exten => _8XXXXXXXXXX,1,Dial(SIP/utk/${EXTEN},60)
exten => _2XXXXXX,1,Dial(SIP/utk/${EXTEN},60)
exten => s,1,Answer
exten => 200, 1,Dial(SIP/200)
ткните носом ...
|