dvg-6008s
Сделал такого клиетав SIP.CONF
----------------------------------
[91] ;Dlink FXO SIP
type=friend
host=dinamic
username=91
secret=123456
canreinvite=no
dtmfmode=inband
context=generic-inc
----------------------------------
После чего на шлюзе прописал * как SIP-PROXY и настроил регистрацию
username и password ну ТОЧНО те же вбил! (смотри картинку)
Получил вот что :
-----------------------------------
<-- SIP read from 10.0.212.213:5060:
REGISTER sip:asterisk:5060 SIP/2.0
v: SIP/2.0/UDP 10.0.212.213:5060;branch=z9hG4bK7e07a812c033e644
f: <sip:91@asterisk>;tag=-a3fe8939-685199
t: <sip:91@asterisk>
i: 1B11-E5E6-46684820D02C273F3E95-001@SipHost
CSeq: 19 REGISTER
m: <sip:91@10.0.212.213:5060>
Expires: 600
Max-Forwards: 70
User-Agent: D-Link
l: 0
--- (11 headers 0 lines) ---
Using latest REGISTER request as basis request
Sending to 10.0.212.213 : 5060 (non-NAT)
Transmitting (no NAT) to 10.0.212.213:5060:
SIP/2.0 404 Not found
Via: SIP/2.0/UDP 10.0.212.213:5060;branch=z9hG4bK7e07a812c033e644;received=10.0.212.213
From: <sip:91@asterisk>;tag=-a3fe8939-685199
To: <sip:91@asterisk>;tag=as2337654e
Call-ID: 1B11-E5E6-46684820D02C273F3E95-001@SipHost
CSeq: 19 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Content-Length: 0
---
Dec 8 18:20:33 NOTICE[10291]: chan_sip.c:11131 handle_request_register: Registration from '<sip:91@asterisk>' failed for '10.0.212.213' - Username/auth name mismatch
Scheduling destruction of call '1B11-E5E6-46684820D02C273F3E95-001@SipHost' in 15000 ms
--------------------------------------
в чем ошибся?
Где грабли? Помогите!
|