Ростелеком sip
Добавлено: 18 май 2015, 13:07
Добрый день!
Проблема в том что нет регистрации на сервере Ростелеком, причем входящий вызов проходит.
sip.conf
register=>2XXXXXX:passwordOc@10.10.10.100/2XXXXXX
[2XXXXXX]
type=friend
secret=password
username=2XXXXXX
host=10.10.10.100
fromuser=2XXXXXX
fromdomain=10.10.10.100
context=rost
disallow=all
allow = alaw
allow = ulaw
allow = g729
nat = yes
qualify=yes
А вот отладка
Почему asterisk шлет OPTIONS sip:10.10.10.100 SIP/2.0 а нужно все-таки команду REGISTER sip:10.10.10.100 SIP/2.0
Прошу помощи. Заранее благодарен
Проблема в том что нет регистрации на сервере Ростелеком, причем входящий вызов проходит.
sip.conf
register=>2XXXXXX:passwordOc@10.10.10.100/2XXXXXX
[2XXXXXX]
type=friend
secret=password
username=2XXXXXX
host=10.10.10.100
fromuser=2XXXXXX
fromdomain=10.10.10.100
context=rost
disallow=all
allow = alaw
allow = ulaw
allow = g729
nat = yes
qualify=yes
А вот отладка
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
<--- SIP read from UDP:10.10.10.100:5060 --->
SIP/2.0 504 Server Time-out
Via: SIP/2.0/UDP 10.10.10.100:5060;branch=z9hG4bK480ecfcc;received=10.9.3.228;rport=5060
Call-ID: 37a869e262665b57383d8c594ec97755@10.10.10.100:5060
From: "asterisk"<sip:2хххххх@10.10.10.100>;tag=as2f7df5e9
To: <sip:10.10.10.100>;tag=urb43ur5
CSeq: 102 OPTIONS
Warning: 399 10.10.10.100 "SS190200F120L838S2E4294967295[00000] No Response From Transaction User"
Content-Length: 0
<------------->
--- (8 headers 0 lines) ---
Reliably Transmitting (NAT) to 10.10.10.100:5060:
OPTIONS sip:10.10.10.100 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.100:5060;branch=z9hG4bK62e23392;rport
Max-Forwards: 70
From: "asterisk" <sip:2хххххх@10.10.10.100>;tag=as07fde276
To: <sip:10.10.10.100>
Contact: <sip:2хххххх@10.10.10.100:5060>
Call-ID: 5bf9f4b35c0d554c1bf0bf9d120c0115@10.10.10.100:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.22.0
Date: Mon, 18 May 2015 10:00:47 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
---
Retransmitting #1 (NAT) to 10.10.10.100:5060:
OPTIONS sip:10.10.10.100 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.100:5060;branch=z9hG4bK62e23392;rport
Max-Forwards: 70
From: "asterisk" <sip:2хххххх@10.10.10.100>;tag=as07fde276
To: <sip:10.10.10.100>
Contact: <sip:2хххххх@10.10.10.100:5060>
Call-ID: 5bf9f4b35c0d554c1bf0bf9d120c0115@10.10.10.100:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.22.0
Date: Mon, 18 May 2015 10:00:47 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
---
Retransmitting #2 (NAT) to 10.10.10.100:5060:
OPTIONS sip:10.10.10.100 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.100:5060;branch=z9hG4bK62e23392;rport
Max-Forwards: 70
From: "asterisk" <sip:2хххххх@10.10.10.100>;tag=as07fde276
To: <sip:10.10.10.100>
Contact: <sip:2хххххх@10.10.10.100:5060>
Call-ID: 5bf9f4b35c0d554c1bf0bf9d120c0115@10.10.10.100:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.22.0
Date: Mon, 18 May 2015 10:00:47 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
---
Retransmitting #3 (NAT) to 10.10.10.100:5060:
OPTIONS sip:10.10.10.100 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.100:5060;branch=z9hG4bK62e23392;rport
Max-Forwards: 70
From: "asterisk" <sip:2хххххх@10.10.10.100>;tag=as07fde276
To: <sip:10.10.10.100>
Contact: <sip:2хххххх@10.10.10.100:5060>
Call-ID: 5bf9f4b35c0d554c1bf0bf9d120c0115@10.10.10.100:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.22.0
Date: Mon, 18 May 2015 10:00:47 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
SIP/2.0 504 Server Time-out
Via: SIP/2.0/UDP 10.10.10.100:5060;branch=z9hG4bK480ecfcc;received=10.9.3.228;rport=5060
Call-ID: 37a869e262665b57383d8c594ec97755@10.10.10.100:5060
From: "asterisk"<sip:2хххххх@10.10.10.100>;tag=as2f7df5e9
To: <sip:10.10.10.100>;tag=urb43ur5
CSeq: 102 OPTIONS
Warning: 399 10.10.10.100 "SS190200F120L838S2E4294967295[00000] No Response From Transaction User"
Content-Length: 0
<------------->
--- (8 headers 0 lines) ---
Reliably Transmitting (NAT) to 10.10.10.100:5060:
OPTIONS sip:10.10.10.100 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.100:5060;branch=z9hG4bK62e23392;rport
Max-Forwards: 70
From: "asterisk" <sip:2хххххх@10.10.10.100>;tag=as07fde276
To: <sip:10.10.10.100>
Contact: <sip:2хххххх@10.10.10.100:5060>
Call-ID: 5bf9f4b35c0d554c1bf0bf9d120c0115@10.10.10.100:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.22.0
Date: Mon, 18 May 2015 10:00:47 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
---
Retransmitting #1 (NAT) to 10.10.10.100:5060:
OPTIONS sip:10.10.10.100 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.100:5060;branch=z9hG4bK62e23392;rport
Max-Forwards: 70
From: "asterisk" <sip:2хххххх@10.10.10.100>;tag=as07fde276
To: <sip:10.10.10.100>
Contact: <sip:2хххххх@10.10.10.100:5060>
Call-ID: 5bf9f4b35c0d554c1bf0bf9d120c0115@10.10.10.100:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.22.0
Date: Mon, 18 May 2015 10:00:47 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
---
Retransmitting #2 (NAT) to 10.10.10.100:5060:
OPTIONS sip:10.10.10.100 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.100:5060;branch=z9hG4bK62e23392;rport
Max-Forwards: 70
From: "asterisk" <sip:2хххххх@10.10.10.100>;tag=as07fde276
To: <sip:10.10.10.100>
Contact: <sip:2хххххх@10.10.10.100:5060>
Call-ID: 5bf9f4b35c0d554c1bf0bf9d120c0115@10.10.10.100:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.22.0
Date: Mon, 18 May 2015 10:00:47 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
---
Retransmitting #3 (NAT) to 10.10.10.100:5060:
OPTIONS sip:10.10.10.100 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.100:5060;branch=z9hG4bK62e23392;rport
Max-Forwards: 70
From: "asterisk" <sip:2хххххх@10.10.10.100>;tag=as07fde276
To: <sip:10.10.10.100>
Contact: <sip:2хххххх@10.10.10.100:5060>
Call-ID: 5bf9f4b35c0d554c1bf0bf9d120c0115@10.10.10.100:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.22.0
Date: Mon, 18 May 2015 10:00:47 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
Прошу помощи. Заранее благодарен