<--- Transmitting (NAT) to 192.168.8.88:46346 ---> SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 192.168.8.88:46346;branch=z9hG4bK-d8754z-ca620a14b6583e6b-1---d8754z-;received=192.168.8.88;rport=46346 From: "xlite"<sip:xlite@192.168.1.1>;tag=fa1cf44a To: "xlite"<sip:xlite@192.168.1.1>;tag=as4fecb4cd Call-ID: MzAwYzM5NjFkYTMxZDYxM2M1Y2ViZmJhNmVmNzQxNTA. CSeq: 1 REGISTER User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO Supported: replaces WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="4fb10a5d" Content-Length: 0
flykabest ( 2012-06-06 17:00:35 +0400 )редактировать<------------> Scheduling destruction of SIP dialog 'M2JiNDcwNDk2MzA1ZmQ1MTViYmIzZGIwNTZmMGYzNDQ.' in 32000 ms (Method: REGISTER)
<--- SIP read from 192.168.8.88:59155 ---> REGISTER sip:192.168.1.1 SIP/2.0 Via: SIP/2.0/UDP 192.168.8.88:59155;branch=z9hG4bK-d8754z-2c79f31e6e5e6731-1---d8754z-;rport Max-Forwards: 70 Contact: <sip:xlite@192.168.8.88:59155;rinstance=bfcbe41cd235c822> To: "xlite"<sip:xlite@192.168.1.1> From: "xlite"<sip:xlite@192.168.1.1>;tag=b476cc17 Call-ID: M2JiNDcwNDk2MzA1ZmQ1MTViYmIzZGIwNTZmMGYzNDQ. CSeq: 1 REGISTER Expires: 3600 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO User-Agent: X-Lite release 1103k stamp 53621 Content-Length: 0
<-------------> --- (12 headers 0 lines) --- Using latest REGISTER request as basis request Sending to 192.168.8.88 : 59155 (NAT)
<--- Transmitting (NAT) to 192.168.8.88:59155 ---> SIP/2.0 100 Trying Via: SIP/2.0/UDP 192.168.8.88:59155;branch=z9hG4bK-d8754z-2c79f31e6e5e6731-1---d8754z-;received=192.168.8.88;rport=59155 From: "xlite"<sip:xlite@192.168.1.1>;tag=b476cc17 To: "xlite"<sip:xlite@192.168.1.1> Call-ID: M2JiNDcwNDk2MzA1ZmQ1MTViYmIzZGIwNTZmMGYzNDQ. CSeq: 1 REGISTER User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO Supported: replaces Content-Length: 0
<------------>
<--- Transmitting (NAT) to 192.168.8.88:59155 ---> SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 192.168.8.88:59155;branch=z9hG4bK-d8754z-2c79f31e6e5e6731-1---d8754z-;received=192.168.8.88;rport=59155 From: "xlite"<sip:xlite@192.168.1.1>;tag=b476cc17 To: "xlite"<sip:xlite@192.168.1.1>;tag=as10f74c65 Call-ID: M2JiNDcwNDk2MzA1ZmQ1MTViYmIzZGIwNTZmMGYzNDQ. CSeq: 1 REGISTER User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO Supported: replaces WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="605bcbd9" Content-Length: 0
flykabest ( 2012-06-06 17:11:12 +0400 )редактироватьэто выдало что у вас включен нат. а ната нет. выключайте. где? в extensions в freepbx.
meral ( 2012-06-06 17:15:44 +0400 )редактировать[general] subscribecontext=to-internal notifyringing=yes notifyhold=yes limitonpeers=yes context=default allowoverlap=no bindport=5060 bindaddr=0.0.0.0 srvlookup=yes t38pt_udptl=yes canreinvite=nonat jbenable=yes externip=78.138.144.57 localnet=192.168.1.0/255.255.255.0 localnet=192.168.2.0/255.255.255.0 localnet=192.168.3.0/255.255.255.0 localnet=192.168.4.0/255.255.255.0 localnet=192.168.5.0/255.255.255.0 localnet=192.168.6.0/255.255.255.0 localnet=192.168.7.0/255.255.255.0 localnet=192.168.8.0/255.255.255.0 localnet=192.168.9.0/255.255.255.0 nat=yes directrtpsetup=yes
flykabest ( 2012-06-06 17:24:34 +0400 )редактироватьон в general вначале включен был,еще предыдущим админом,я только до сих пор понять не могу зачем он нужен(извиняюсь за глупый вопрос)
flykabest ( 2012-06-06 17:26:24 +0400 )редактироватьу вас он включен для extension. вы ж сами показали. не понимаете зачем он нужен? идите книжки чиатйте. извините, уменя нет настроения обтьяснять с нуля теорию сетей ипринцип функционирования сип протокола. рекомендую asterisk the future of telephony.
meral ( 2012-06-06 17:29:49 +0400 )редактировать