Opened 9 years ago
Closed 7 years ago
#217 closed задача (fixed)
Нет Record-Route при использовании repro-1.10.x
| Reported by: | alx | Owned by: | alx |
|---|---|---|---|
| Priority: | средний | Milestone: | 2 очередь |
| Component: | any | Keywords: | |
| Cc: |
Description
- IP телефон вызывает канальное окончание FXS.
- На FXS звенит телефон.
- На FXS снимают трубку, телефон получает "200 OK". Но почему-то телефон не отвечает "ACK.
Замечено в процессе экспериментов с repro-1.10.2.
13:47:58.503239 IP (tos 0xc0, ttl 63, id 0, offset 0, flags [DF], proto UDP (17), length 991)
192.168.0.118.28906 > 192.168.1.67.5060: SIP, length: 963
INVITE sip:111@192.168.1.67 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.118:28906;branch=z9hG4bK1653109623;rport
From: "Alex Mogilnikov" <sip:2580@192.168.1.67>;tag=848503749
To: <sip:111@192.168.1.67>
Call-ID: 1073436017-28906-47@BJC.BGI.A.BBI
CSeq: 460 INVITE
Contact: "Alex Mogilnikov" <sip:2580@192.168.0.118:28906>
Max-Forwards: 70
User-Agent: Grandstream GXV3175v2 1.0.1.55
Privacy: none
P-Preferred-Identity: "Alex Mogilnikov" <sip:2580@192.168.1.67>
Supported: replaces, path, timer, eventlist
Session-Expires: 180;refresher=uac
Min-SE: 90
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE
Content-Type: application/sdp
Accept: application/sdp, application/dtmf-relay
Content-Length: 214
v=0
o=2580 8000 8000 IN IP4 192.168.0.118
s=SIP Call
c=IN IP4 192.168.0.118
t=0 0
m=audio 49266 RTP/AVP 8 101
a=sendrecv
a=rtpmap:8 PCMA/8000
a=ptime:20
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
13:47:58.515663 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 489)
192.168.1.67.5060 > 192.168.0.118.28906: SIP, length: 461
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 192.168.0.118:28906;branch=z9hG4bK1653109623;rport=28906
Proxy-Authenticate: Digest nonce="1490622478:d82c39e5c30a1a7809c7a3ff408b7f2b",algorithm=MD5,realm="192.168.1.67",qop="auth,auth-int"
To: <sip:111@192.168.1.67>;tag=7d16db30
From: "Alex Mogilnikov"<sip:2580@192.168.1.67>;tag=848503749
Call-ID: 1073436017-28906-47@BJC.BGI.A.BBI
CSeq: 460 INVITE
Server: repro 1.10.2
Content-Length: 0
13:47:58.518189 IP (tos 0xc0, ttl 63, id 0, offset 0, flags [DF], proto UDP (17), length 315)
192.168.0.118.28906 > 192.168.1.67.5060: SIP, length: 287
ACK sip:111@192.168.1.67 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.118:28906;branch=z9hG4bK1653109623;rport
From: "Alex Mogilnikov" <sip:2580@192.168.1.67>;tag=848503749
To: <sip:111@192.168.1.67>;tag=7d16db30
Call-ID: 1073436017-28906-47@BJC.BGI.A.BBI
CSeq: 460 ACK
Content-Length: 0
13:47:58.519264 IP (tos 0xc0, ttl 63, id 0, offset 0, flags [DF], proto UDP (17), length 1241)
192.168.0.118.28906 > 192.168.1.67.5060: SIP, length: 1213
INVITE sip:111@192.168.1.67 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.118:28906;branch=z9hG4bK1484806976;rport
From: "Alex Mogilnikov" <sip:2580@192.168.1.67>;tag=848503749
To: <sip:111@192.168.1.67>
Call-ID: 1073436017-28906-47@BJC.BGI.A.BBI
CSeq: 461 INVITE
Contact: "Alex Mogilnikov" <sip:2580@192.168.0.118:28906>
Proxy-Authorization: Digest username="2580", realm="192.168.1.67", nonce="1490622478:d82c39e5c30a1a7809c7a3ff408b7f2b", uri="sip:111@192.168.1.67", response="fca1fe40b2c2d5c5ddf849e80c40f119", algorithm=MD5, cnonce="12418293", qop=auth, nc=00000001
Max-Forwards: 70
User-Agent: Grandstream GXV3175v2 1.0.1.55
Privacy: none
P-Preferred-Identity: "Alex Mogilnikov" <sip:2580@192.168.1.67>
Supported: replaces, path, timer, eventlist
Session-Expires: 180;refresher=uac
Min-SE: 90
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE
Content-Type: application/sdp
Accept: application/sdp, application/dtmf-relay
Content-Length: 214
v=0
o=2580 8000 8000 IN IP4 192.168.0.118
s=SIP Call
c=IN IP4 192.168.0.118
t=0 0
m=audio 49266 RTP/AVP 8 101
a=sendrecv
a=rtpmap:8 PCMA/8000
a=ptime:20
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
13:47:58.844184 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 297)
192.168.1.67.5060 > 192.168.0.118.28906: SIP, length: 269
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.0.118:28906;branch=z9hG4bK1484806976;rport=28906
To: <sip:111@192.168.1.67>
From: "Alex Mogilnikov" <sip:2580@192.168.1.67>;tag=848503749
Call-ID: 1073436017-28906-47@BJC.BGI.A.BBI
CSeq: 461 INVITE
Content-Length: 0
13:47:58.872481 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 494)
192.168.1.67.5060 > 192.168.0.118.28906: SIP, length: 466
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 192.168.0.118:28906;branch=z9hG4bK1484806976;rport=28906
Contact: <sip:111@127.0.0.1:6060>
To: <sip:111@192.168.1.67>;tag=723287306
From: "Alex Mogilnikov" <sip:2580@192.168.1.67>;tag=848503749
Call-ID: 1073436017-28906-47@BJC.BGI.A.BBI
CSeq: 461 INVITE
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, REFER, NOTIFY, INFO, UPDATE
Server: repro 1.10.2
Supported: replaces, timer
User-Agent: eXosip/4.1.0
Content-Length: 0
13:48:02.807159 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 830)
192.168.1.67.5060 > 192.168.0.118.28906: SIP, length: 802
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.0.118:28906;branch=z9hG4bK1484806976;rport=28906
Require: timer
Contact: <sip:111@127.0.0.1:6060>
To: <sip:111@192.168.1.67>;tag=723287306
From: "Alex Mogilnikov" <sip:2580@192.168.1.67>;tag=848503749
Call-ID: 1073436017-28906-47@BJC.BGI.A.BBI
CSeq: 461 INVITE
Session-Expires: 180;refresher=uac
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, REFER, NOTIFY, INFO, UPDATE
Content-Type: application/sdp
Server: repro 1.10.2
Supported: replaces, timer
User-Agent: eXosip/4.1.0
P-Asserted-Identity: <sip:111@192.168.1.67>
X-Endpoint-Type: FXS
Content-Length: 189
v=0
o=gateway 0 0 IN IP4 192.168.1.67
s=conversation
c=IN IP4 192.168.1.67
t=0 0
m=audio 10254 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
13:48:04.335198 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 830)
192.168.1.67.5060 > 192.168.0.118.28906: SIP, length: 802
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.0.118:28906;branch=z9hG4bK1484806976;rport=28906
Require: timer
Contact: <sip:111@127.0.0.1:6060>
To: <sip:111@192.168.1.67>;tag=723287306
From: "Alex Mogilnikov" <sip:2580@192.168.1.67>;tag=848503749
Call-ID: 1073436017-28906-47@BJC.BGI.A.BBI
CSeq: 461 INVITE
Session-Expires: 180;refresher=uac
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, REFER, NOTIFY, INFO, UPDATE
Content-Type: application/sdp
Server: repro 1.10.2
Supported: replaces, timer
User-Agent: eXosip/4.1.0
P-Asserted-Identity: <sip:111@192.168.1.67>
X-Endpoint-Type: FXS
Content-Length: 189
v=0
o=gateway 0 0 IN IP4 192.168.1.67
s=conversation
c=IN IP4 192.168.1.67
t=0 0
m=audio 10254 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
13:48:06.334264 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 830)
192.168.1.67.5060 > 192.168.0.118.28906: SIP, length: 802
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.0.118:28906;branch=z9hG4bK1484806976;rport=28906
Require: timer
Contact: <sip:111@127.0.0.1:6060>
To: <sip:111@192.168.1.67>;tag=723287306
From: "Alex Mogilnikov" <sip:2580@192.168.1.67>;tag=848503749
Call-ID: 1073436017-28906-47@BJC.BGI.A.BBI
CSeq: 461 INVITE
Session-Expires: 180;refresher=uac
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, REFER, NOTIFY, INFO, UPDATE
Content-Type: application/sdp
Server: repro 1.10.2
Supported: replaces, timer
User-Agent: eXosip/4.1.0
P-Asserted-Identity: <sip:111@192.168.1.67>
X-Endpoint-Type: FXS
Content-Length: 189
v=0
o=gateway 0 0 IN IP4 192.168.1.67
s=conversation
c=IN IP4 192.168.1.67
t=0 0
m=audio 10254 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
13:48:09.335271 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 830)
192.168.1.67.5060 > 192.168.0.118.28906: SIP, length: 802
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.0.118:28906;branch=z9hG4bK1484806976;rport=28906
Require: timer
Contact: <sip:111@127.0.0.1:6060>
To: <sip:111@192.168.1.67>;tag=723287306
From: "Alex Mogilnikov" <sip:2580@192.168.1.67>;tag=848503749
Call-ID: 1073436017-28906-47@BJC.BGI.A.BBI
CSeq: 461 INVITE
Session-Expires: 180;refresher=uac
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, REFER, NOTIFY, INFO, UPDATE
Content-Type: application/sdp
Server: repro 1.10.2
Supported: replaces, timer
User-Agent: eXosip/4.1.0
P-Asserted-Identity: <sip:111@192.168.1.67>
X-Endpoint-Type: FXS
Content-Length: 189
v=0
o=gateway 0 0 IN IP4 192.168.1.67
s=conversation
c=IN IP4 192.168.1.67
t=0 0
m=audio 10254 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
Change History (7)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
| Milestone: | 1 очередь → 2 очередь |
|---|---|
| Priority: | высокий → средний |
Так как проблема характерна только для экспериментальной версии repro и не проявляется в продакшн, этап и приоритет изменены.
comment:3 by , 9 years ago
Суть происходящего понятна - в ответах отсутствует Record-Route.
Необходимо выяснить, почему repro-1.10.2 не добавляет Record-Route.
comment:4 by , 8 years ago
| Summary: | Нет ACK на "200 OK" от телефона → Нет Record-Route при использовании repro-1.10.x |
|---|
comment:5 by , 8 years ago
| Type: | баг → задача |
|---|
Так как repro-1.10 еще не используется в production, меняю тип тикета на "задача".
comment:6 by , 8 years ago
| Component: | VE-01 → any |
|---|
Note:
See TracTickets
for help on using tickets.

Подтверждено, что с repro-1.9.10 такой проблемы нет.
Вот обмен с repro-1.9.10:
14:20:14.756724 IP (tos 0xc0, ttl 63, id 0, offset 0, flags [DF], proto UDP (17), length 991) 192.168.0.118.45343 > 192.168.1.67.5060: SIP, length: 963 INVITE sip:111@192.168.1.67 SIP/2.0 Via: SIP/2.0/UDP 192.168.0.118:45343;branch=z9hG4bK1098161743;rport From: "Alex Mogilnikov" <sip:2580@192.168.1.67>;tag=325649785 To: <sip:111@192.168.1.67> Call-ID: 1726535322-45343-48@BJC.BGI.A.BBI CSeq: 470 INVITE Contact: "Alex Mogilnikov" <sip:2580@192.168.0.118:45343> Max-Forwards: 70 User-Agent: Grandstream GXV3175v2 1.0.1.55 Privacy: none P-Preferred-Identity: "Alex Mogilnikov" <sip:2580@192.168.1.67> Supported: replaces, path, timer, eventlist Session-Expires: 180;refresher=uac Min-SE: 90 Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE Content-Type: application/sdp Accept: application/sdp, application/dtmf-relay Content-Length: 214 v=0 o=2580 8000 8000 IN IP4 192.168.0.118 s=SIP Call c=IN IP4 192.168.0.118 t=0 0 m=audio 58190 RTP/AVP 8 101 a=sendrecv a=rtpmap:8 PCMA/8000 a=ptime:20 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 14:20:14.789354 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 489) 192.168.1.67.5060 > 192.168.0.118.45343: SIP, length: 461 SIP/2.0 407 Proxy Authentication Required Via: SIP/2.0/UDP 192.168.0.118:45343;branch=z9hG4bK1098161743;rport=45343 Proxy-Authenticate: Digest nonce="1490624414:741fe687379f41f204f4d4cfa5f4aa0f",algorithm=MD5,realm="192.168.1.67",qop="auth,auth-int" To: <sip:111@192.168.1.67>;tag=ff888b4c From: "Alex Mogilnikov"<sip:2580@192.168.1.67>;tag=325649785 Call-ID: 1726535322-45343-48@BJC.BGI.A.BBI CSeq: 470 INVITE Server: repro 1.9.10 Content-Length: 0 14:20:14.791665 IP (tos 0xc0, ttl 63, id 0, offset 0, flags [DF], proto UDP (17), length 315) 192.168.0.118.45343 > 192.168.1.67.5060: SIP, length: 287 ACK sip:111@192.168.1.67 SIP/2.0 Via: SIP/2.0/UDP 192.168.0.118:45343;branch=z9hG4bK1098161743;rport From: "Alex Mogilnikov" <sip:2580@192.168.1.67>;tag=325649785 To: <sip:111@192.168.1.67>;tag=ff888b4c Call-ID: 1726535322-45343-48@BJC.BGI.A.BBI CSeq: 470 ACK Content-Length: 0 14:20:14.793752 IP (tos 0xc0, ttl 63, id 0, offset 0, flags [DF], proto UDP (17), length 1241) 192.168.0.118.45343 > 192.168.1.67.5060: SIP, length: 1213 INVITE sip:111@192.168.1.67 SIP/2.0 Via: SIP/2.0/UDP 192.168.0.118:45343;branch=z9hG4bK1041206757;rport From: "Alex Mogilnikov" <sip:2580@192.168.1.67>;tag=325649785 To: <sip:111@192.168.1.67> Call-ID: 1726535322-45343-48@BJC.BGI.A.BBI CSeq: 471 INVITE Contact: "Alex Mogilnikov" <sip:2580@192.168.0.118:45343> Proxy-Authorization: Digest username="2580", realm="192.168.1.67", nonce="1490624414:741fe687379f41f204f4d4cfa5f4aa0f", uri="sip:111@192.168.1.67", response="008b5d019343b2c6c24ab1fbee481494", algorithm=MD5, cnonce="02766836", qop=auth, nc=00000001 Max-Forwards: 70 User-Agent: Grandstream GXV3175v2 1.0.1.55 Privacy: none P-Preferred-Identity: "Alex Mogilnikov" <sip:2580@192.168.1.67> Supported: replaces, path, timer, eventlist Session-Expires: 180;refresher=uac Min-SE: 90 Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE Content-Type: application/sdp Accept: application/sdp, application/dtmf-relay Content-Length: 214 v=0 o=2580 8000 8000 IN IP4 192.168.0.118 s=SIP Call c=IN IP4 192.168.0.118 t=0 0 m=audio 58190 RTP/AVP 8 101 a=sendrecv a=rtpmap:8 PCMA/8000 a=ptime:20 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 14:20:15.159709 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 297) 192.168.1.67.5060 > 192.168.0.118.45343: SIP, length: 269 SIP/2.0 100 Trying Via: SIP/2.0/UDP 192.168.0.118:45343;branch=z9hG4bK1041206757;rport=45343 To: <sip:111@192.168.1.67> From: "Alex Mogilnikov" <sip:2580@192.168.1.67>;tag=325649785 Call-ID: 1726535322-45343-48@BJC.BGI.A.BBI CSeq: 471 INVITE Content-Length: 0 14:20:15.229367 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 550) 192.168.1.67.5060 > 192.168.0.118.45343: SIP, length: 522 SIP/2.0 180 Ringing Via: SIP/2.0/UDP 192.168.0.118:45343;branch=z9hG4bK1041206757;rport=45343 Record-Route: <sip:192.168.1.67:5060;transport=udp;lr> Contact: <sip:111@127.0.0.1:6060> To: <sip:111@192.168.1.67>;tag=638027141 From: "Alex Mogilnikov" <sip:2580@192.168.1.67>;tag=325649785 Call-ID: 1726535322-45343-48@BJC.BGI.A.BBI CSeq: 471 INVITE Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, REFER, NOTIFY, INFO, UPDATE Server: repro 1.9.10 Supported: replaces, timer User-Agent: eXosip/4.1.0 Content-Length: 0 14:20:18.210876 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 886) 192.168.1.67.5060 > 192.168.0.118.45343: SIP, length: 858 SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.0.118:45343;branch=z9hG4bK1041206757;rport=45343 Record-Route: <sip:192.168.1.67:5060;transport=udp;lr> Require: timer Contact: <sip:111@127.0.0.1:6060> To: <sip:111@192.168.1.67>;tag=638027141 From: "Alex Mogilnikov" <sip:2580@192.168.1.67>;tag=325649785 Call-ID: 1726535322-45343-48@BJC.BGI.A.BBI CSeq: 471 INVITE Session-Expires: 180;refresher=uac Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, REFER, NOTIFY, INFO, UPDATE Content-Type: application/sdp Server: repro 1.9.10 Supported: replaces, timer User-Agent: eXosip/4.1.0 P-Asserted-Identity: <sip:111@192.168.1.67> X-Endpoint-Type: FXS Content-Length: 189 v=0 o=gateway 0 0 IN IP4 192.168.1.67 s=conversation c=IN IP4 192.168.1.67 t=0 0 m=audio 10254 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 14:20:18.221699 IP (tos 0xc0, ttl 63, id 0, offset 0, flags [DF], proto UDP (17), length 856) 192.168.0.118.45343 > 192.168.1.67.5060: SIP, length: 828 ACK sip:111@127.0.0.1:6060 SIP/2.0 Via: SIP/2.0/UDP 192.168.0.118:45343;branch=z9hG4bK1388857861;rport Route: <sip:192.168.1.67:5060;transport=udp;lr> From: "Alex Mogilnikov" <sip:2580@192.168.1.67>;tag=325649785 To: <sip:111@192.168.1.67>;tag=638027141 Call-ID: 1726535322-45343-48@BJC.BGI.A.BBI CSeq: 471 ACK Contact: <sip:2580@192.168.0.118:45343> Proxy-Authorization: Digest username="2580", realm="192.168.1.67", nonce="1490624414:741fe687379f41f204f4d4cfa5f4aa0f", uri="sip:111@192.168.1.67", response="008b5d019343b2c6c24ab1fbee481494", algorithm=MD5, cnonce="02766836", qop=auth, nc=00000001 Max-Forwards: 70 Supported: replaces, path, timer, eventlist User-Agent: Grandstream GXV3175v2 1.0.1.55 Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE Content-Length: 0