-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