Код: Выделить всё
=========================================================================
Connected to Asterisk 12.0.0 currently running on srv01 (pid = 19634)
-- Added contact 'sip:6001@192.168.10.100:1525;rinstance=36d62a07314d45ca' to AOR '6001' with expiration of 120 seconds
srv01*CLI>
Disconnected from Asterisk server
Asterisk cleanly ending (0).
Executing last minute cleanups
Asterisk ending (0).
Боюсь мне это уже самому не осилить.ddkprog писал(а):оно падает,
нужно запускать с консоли сам сервер астериска под gdb
Код: Выделить всё
srv01*CLI>
<--- Received SIP request (575 bytes) from UDP:192.168.10.100:1602 --->
REGISTER sip:192.168.10.13:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.10.100:1602;branch=z9hG4bK-d8754z-c32dec161846f911-1---d8754z-;rport
Max-Forwards: 70
Contact: <sip:6001@192.168.10.100:1602;rinstance=6390114a0a07801f>
To: "6001"<sip:6001@192.168.10.13:5060>
From: "6001"<sip:6001@192.168.10.13:5060>;tag=0d795c2d
Call-ID: N2NhOWMyY2MzODU3ZjAzMTQ2N2U3ZjE3NzdhN2YxNzU.
CSeq: 1 REGISTER
Expires: 120
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE
Supported: replaces
User-Agent: 3CXPhone 5.0.14900.0
Content-Length: 0
<--- Transmitting SIP response (524 bytes) to UDP:192.168.10.100:1602 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.10.100:1602;rport;received=192.168.10.100;branch=z9hG4bK-d8754z-c32dec161846f911-1---d8754z-
Call-ID: N2NhOWMyY2MzODU3ZjAzMTQ2N2U3ZjE3NzdhN2YxNzU.
From: "6001" <sip:6001@192.168.10.13>;tag=0d795c2d
To: "6001" <sip:6001@192.168.10.13>;tag=z9hG4bK-d8754z-c32dec161846f911-1---d8754z-
CSeq: 1 REGISTER
WWW-Authenticate: Digest realm="asterisk",nonce="1389816472/b05c397fbe00ee8bc0c82c081b559189",opaque="36a3a42c2f5282da",algorithm=md5,qop="auth"
Content-Length: 0
<--- Received SIP request (859 bytes) from UDP:192.168.10.100:1602 --->
REGISTER sip:192.168.10.13:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.10.100:1602;branch=z9hG4bK-d8754z-b170a536f2762448-1---d8754z-;rport
Max-Forwards: 70
Contact: <sip:6001@192.168.10.100:1602;rinstance=6390114a0a07801f>
To: "6001"<sip:6001@192.168.10.13:5060>
From: "6001"<sip:6001@192.168.10.13:5060>;tag=0d795c2d
Call-ID: N2NhOWMyY2MzODU3ZjAzMTQ2N2U3ZjE3NzdhN2YxNzU.
CSeq: 2 REGISTER
Expires: 120
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE
Supported: replaces
User-Agent: 3CXPhone 5.0.14900.0
Authorization: Digest username="6001",realm="asterisk",nonce="1389816472/b05c397fbe00ee8bc0c82c081b559189",uri="sip:192.168.10.13:5060",response="5cc0eaa1986b546ece2f1fa5abf66b96",cnonce="486e4e745eb3bcaf6352c073063a6a06",nc=00000001,qop=auth,algorithm=md5,opaque="36a3a42c2f5282da"
Content-Length: 0
srv01*CLI>
Disconnected from Asterisk server
Asterisk cleanly ending (0).
Executing last minute cleanups
Asterisk ending (0).
root@srv01:/etc/asterisk#