-1
Asterisk做得很好,但它最近无法将再见数据包发送到呼叫者设备。Asterisk将SIP bye数据包发送到错误的目的地
设备B向设备A发起SIP呼叫,设备A在1分钟后向设备A发送SIP BYE包。
Device A - Called Party
Reg. Contact : sip:[email protected]:54323
U 2015/07/13 21:53:44.091979 211.246.XXX.91:54323 -> 10.XXX.72.19:6030
BYE sip:[email protected]:6030 SIP/2.0..Via: SIP/2.0/UDP 102.0.124.254:32580;branch=z9hG4bK.5-5rCW4lT;rport..From: <s
ip:[email protected]>;tag=~-IyfmX..To: <sip:[email protected]>;tag=as0b8359cf..CSeq: 111 BYE..Call-ID: 04daa
[email protected]:6030..Max-Forwards: 70..User-Agent: LinphoneAndroid/1.4.11 (belle-sip/1.3.1)....
#
U 2015/07/13 21:53:44.092354 10.XXX.72.19:6030 -> 211.246.XXX.91:54323
SIP/2.0 200 OK..Via: SIP/2.0/UDP 102.0.124.254:32580;branch=z9hG4bK.5-5rCW4lT;received=211.246.XXX.91;rport=54323..From: <sip:82
[email protected]>;tag=~-IyfmX..To: <sip:[email protected]>;tag=as0b8359cf..Call-ID: 04daa8b23c0447754405d6334
[email protected]:6030..CSeq: 111 BYE..Server: Asterisk PBX 11.9.0..Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSC
RIBE, NOTIFY, INFO, PUBLISH, MESSAGE..Supported: replaces, timer..Content-Length: 0....
Device B - Caller
Reg. Contact : sip:[email protected]:9194
U 2015/07/13 21:53:44.127422 10.XXX.72.19:6030 -> 175.XXX.49.162:1439
BYE sip:[email protected]:9194 SIP/2.0..Via: SIP/2.0/UDP 210.122.11.241:6030;branch=z9hG4bK3cbc2e04;rport..Max-Forwar
ds: 70..From: sip:[email protected];tag=as7398fff9..To: <sip:[email protected]>;tag=jeOsviSOp..Call-ID: Kki
zsHTRXS..CSeq: 102 BYE..User-Agent: Asterisk PBX 11.9.0..Proxy-Authorization: Digest username="1000", realm="asterisk",
algorithm=MD5, uri="sip:210.122.11.241", nonce="23661ac5", response="f286abd0e61b6ca8bde7c3e0aaad0f0d"..X-Asterisk-HangupCause
: Normal Clearing..X-Asterisk-HangupCauseCode: 16..Content-Length: 0....
#
U 2015/07/13 21:53:44.627054 10.XXX.72.19:6030 -> 175.XXX.49.162:1439
BYE sip:[email protected]:9194 SIP/2.0..Via: SIP/2.0/UDP 210.122.11.241:6030;branch=z9hG4bK3cbc2e04;rport..Max-Forwar
ds: 70..From: sip:[email protected];tag=as7398fff9..To: <sip:[email protected]>;tag=jeOsviSOp..Call-ID: Kki
zsHTRXS..CSeq: 102 BYE..User-Agent: Asterisk PBX 11.9.0..Proxy-Authorization: Digest username="1000", realm="asterisk",
algorithm=MD5, uri="sip:210.122.11.241", nonce="23661ac5", response="f286abd0e61b6ca8bde7c3e0aaad0f0d"..X-Asterisk-HangupCause
: Normal Clearing..X-Asterisk-HangupCauseCode: 16..Content-Length: 0....
#
U 2015/07/13 21:53:45.627235 10.XXX.72.19:6030 -> 175.XXX.49.162:1439
BYE sip:[email protected]:9194 SIP/2.0..Via: SIP/2.0/UDP 210.122.11.241:6030;branch=z9hG4bK3cbc2e04;rport..Max-Forwar
ds: 70..From: sip:[email protected];tag=as7398fff9..To: <sip:[email protected]>;tag=jeOsviSOp..Call-ID: Kki
zsHTRXS..CSeq: 102 BYE..User-Agent: Asterisk PBX 11.9.0..Proxy-Authorization: Digest username="1000", realm="asterisk",
algorithm=MD5, uri="sip:210.122.11.241", nonce="23661ac5", response="f286abd0e61b6ca8bde7c3e0aaad0f0d"..X-Asterisk-HangupCause
: Normal Clearing..X-Asterisk-HangupCauseCode: 16..Content-Length: 0....
星号应该向主叫方IP地址和端口号发送包号,但端口号是不同的。
主叫IP - [email protected]:从服务器9194
SIP再见包的目的地 - [email protected]:1439
你看到了什么问题?
1)SO不适用于调试2)您需要检查邀请数据包。最喜欢它有BYE去的地方。 – arheops