Leon77 писал(а):
Что-то здесь не то.
Какие номера на шлюзе у портов?
Фрагмент sip.conf & extensions.conf?
Номера 100 и 111.
sip.conf
Код:
[authentication]
[general]
context = default
;allowoverlap = no
bindport = 5060
bindaddr = 0.0.0.0
;srvlookup = yes
disallow = all
allow = gsm
language = ru
videosupport = yes
;useragent=SipPhone
maxcallbitrate = 384
extensions.conf
Код:
[local]
ignorepat = 9
include = default
[numberplan-custom-1]
plancomment = DialPlan1
include = default
include = parkedcalls
exten = 600,1,Playback(demo-echotest)
exten = 600,n,Echo
exten = 600,n,Playback(demo-echodone)
exten = 600,n,Goto(s,6)
exten = 777,1,VoiceMailMain
exten = 555,1,MeetMe(${EXTEN}|MI)
exten = 100,1,Dial(SIP/${EXTEN},,60)
exten => 112,1,Macro(stdexten,,SIP/${EXTEN},m(adm))
exten => _XXX,1,Macro(stdexten,,SIP/${EXTEN}&IAX2/${EXTEN})
users.conf
Код:
[111]
callwaiting = yes
context = numberplan-custom-1
fullname = ATC
hasagent = no
hasdirectory = no
hasiax = no
hasmanager = no
hassip = yes
hasvoicemail = no
host = dynamic
mailbox = 111
secret = ***
threewaycalling = yes
vmsecret = 1234
registeriax = no
registersip = yes
canreinvite = no
nat = no
dtmfmode = rfc2833
disallow = all
allow = all
[100]
callwaiting = yes
context = numberplan-custom-1
fullname = ATC
hasagent = yes
hasdirectory = no
hasiax = no
hasmanager = no
hassip = yes
hasvoicemail = no
host = dynamic
mailbox = 100
secret = ***
threewaycalling = yes
vmsecret = 1234
registeriax = no
registersip = yes
canreinvite = no
nat = no
dtmfmode = rfc2833
disallow = all
allow = all
Шлюз подключен кабелем только в WAN. Адрес шлюза 172.25.254.199, адрес * - 172.25.254.254.