Re: Unable to find key 'xxxxxxx' in family 'SIP/Registry'
Для начала, всем спасибо за попытку помочь!
Постараюсь все рассказать и выполнить все рекомендации.
В винюке поставил X-Lite, он и пытается коннектиться как ass.
Все живет во фрюхе, нужно иметь SIP и H323, из addons удалось скомпилять только ooh3232,
но сейчас задача - авторизоваться из БД, остаьное напишу в agi. Из текстовых конфигов работало,
но узеров планируется много, а по сему нужна БД.
Вот весь мой extconfig.conf
# more extconfig.conf
sipusers => mysql,asterisk,sipfriends
sippeers => mysql,asterisk,sipfriends
-----------------------------------------------------------
CLI> sip show peers
ass/ass (Unspecified) D N 0 Unmonitored
-----------------------------------------------------------
CLI> sip show peer ass load
* Name : ass
Realtime peer: No
Secret : <Set>
MD5Secret : <Set>
Context : default
Subscr.Cont. : <Not set>
Language :
AMA flags : Unknown
Transfer mode: open
CallingPres : Presentation Allowed, Not Screened
Callgroup :
Pickupgroup :
Mailbox :
VM Extension : asterisk
LastMsgsSent : 32767/65535
Call limit : 0
Dynamic : Yes
Callerid : "" <>
MaxCallBR : 384 kbps
Expire : 68
Insecure : port,invite
Nat : Always
ACL : No
T38 pt UDPTL : No
CanReinvite : Yes
PromiscRedir : No
User=Phone : No
Video Support: Yes
Trust RPID : No
Send RPID : Yes
Subscriptions: Yes
Overlap dial : Yes
DTMFmode : rfc2833
LastMsg : 0
ToHost :
Addr->IP : (Unspecified) Port 0
Defaddr->IP : 0.0.0.0 Port 5060
Def. Username: ass
SIP Options : (none)
Codecs : 0x50e (gsm|ulaw|alaw|g729|ilbc)
Codec Order : (g729:20,ilbc:30,gsm:20,ulaw:20,alaw:20)
Auto-Framing: No
Status : Unmonitored
Useragent :
Reg. Contact :
-----------------------------------------------------------
<--- SIP read from 10.134.100.24:64542 --->
REGISTER sip:xxxxxxxxxxxxxxx SIP/2.0
Via: SIP/2.0/UDP 192.168.40.11:64542;branch=z9hG4bK-d87543-2938ac65b229031f-1--d87543-;rport
Max-Forwards: 70
Contact: <sip:ass@192.168.40.11:64542;rinstance=b6bd7995ad6e96e8>
To: "ASS"<sip:ass@xxxxxxxxxxxxxxx>
From: "ASS"<sip:ass@xxxxxxxxxxxxxxx>;tag=c70ca67d
Call-ID: YTQ2ZjMxNjU0NTI0YWZmZjdkMDQ4N2NiZTgxNWUzMTc.
CSeq: 1 REGISTER
Expires: 3600
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
User-Agent: X-Lite release 1011s stamp 41150
Content-Length: 0
<------------->
--- (12 headers 0 lines) ---
Using latest REGISTER request as basis request
Sending to 10.134.100.24 : 64542 (NAT)
<--- Transmitting (NAT) to 10.134.100.24:64542 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.40.11:64542;branch=z9hG4bK-d87543-2938ac65b229031f-1--d87543-;received=10.134.100.24;rport=64542
From: "ASS"<sip:ass@xxxxxxxxxxxxxxx>;tag=c70ca67d
To: "ASS"<sip:ass@xxxxxxxxxxxxxxx>
all-ID: YTQ2ZjMxNjU0NTI0YWZmZjdkMDQ4N2NiZTgxNWUzMTc.
CSeq: 1 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:ass@213.33.198.111>
Content-Length: 0
<------------>
<--- Transmitting (NAT) to 10.134.100.24:64542 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.40.11:64542;branch=z9hG4bK-d87543-2938ac65b229031f-1--d87543-;received=10.134.100.24;rport=64542
From: "ASS"<sip:ass@xxxxxxxxxxxxxxx>;tag=c70ca67d
To: "ASS"<sip:ass@xxxxxxxxxxxxxxx>;tag=as2b3418b3
Call-ID: YTQ2ZjMxNjU0NTI0YWZmZjdkMDQ4N2NiZTgxNWUzMTc.
CSeq: 1 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="41312cc9"
Content-Length: 0
|