Help чайнику?
Пытаюсь настроить Asterisk + X-Lite
В sip.conf:
---
[ab_xlite]
context=default
canreinvite=no
defaultip=212.248.68.107
dtmfmode=info
host=dynamic
port=5060
type=friend
username=ab
secret=1234
disallow=all
;allow=gsm ; GSM consumes far less bandwidth than ulaw
allow=ulaw
allow=alaw
---
В логах Астериска:
---
Jun 23 19:47:08 NOTICE[21295]: chan_sip.c:7734 handle_request: Registration from 'ab <sip:ab@212.248.68.107>' failed for '212.248.68.107'
---
В логах X-Lite:
---
SEND TIME: 1697875
SEND >> 212.248.68.132:5060
REGISTER sip:212.248.68.107 SIP/2.0
Via: SIP/2.0/UDP 212.248.68.107:5060;branch=z9hG4bKDD168FD496194B9599548727CF4EF0DE
From: ab <sip:ab@212.248.68.107>;tag=340452747
To: ab <sip:ab@212.248.68.107>
Contact: "ab" <sip:ab@212.248.68.107:5060>
Call-ID: 3B1ECE3ACB5643BEBD59C0CD500249B7@212.248.68.107
CSeq: 29975 REGISTER
Expires: 1800
Max-Forwards: 70
User-Agent: X-Lite release 1103m
Content-Length: 0
RECEIVE TIME: 1697890
RECEIVE << 212.248.68.132:5060
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 212.248.68.107:5060;branch=z9hG4bKDD168FD496194B9599548727CF4EF0DE
From: ab <sip:ab@212.248.68.107>;tag=340452747
To: ab <sip:ab@212.248.68.107>;tag=as733ef85d
Call-ID: 3B1ECE3ACB5643BEBD59C0CD500249B7@212.248.68.107
CSeq: 29975 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:ab@212.248.68.132>
Content-Length: 0
---
Что я делаю неправильно? Ведь, вроде, всё правильно? Или что я упустил?
|