[Asterisk-Dev] CVS HEAD Asterisk sending 'PUBLISH'?

Vahan Yerkanian vahan at arminco.com
Tue Jul 26 11:39:29 MST 2005


I'm seeing Asterisk sending sip PUBLISH messages to the unsuspecting 
ATAs after call completion. This is with the CVS HEAD updated via cvs 10 
minutes ago:

     -- Executing Dial("SIP/10027-788f", "SIP/10041|30|o") in new stack
We're at 192.168.77.70 port 19928
Video is at 192.168.77.70 port 16490
Answering/Requesting with root capability 0x100 (g729)
Answering with non-codec capability 0x1 (telephone-event)
12 headers, 10 lines
Reliably Transmitting (no NAT) to 192.168.76.170:5060:
INVITE sip:10041 at 192.168.76.170:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.77.70:5060;branch=z9hG4bK39074686;rport
From: "Vahan Yerkanian" <sip:10027 at 192.168.77.70>;tag=as37598b5e
To: <sip:10041 at 192.168.76.170:5060>
Contact: <sip:10027 at 192.168.77.70>
Call-ID: 15389c8a37ad32e84be939e63cd851f9 at 192.168.77.70
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Date: Tue, 26 Jul 2005 18:32:03 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY
Content-Type: application/sdp
Content-Length: 220

v=0
o=root 24584 24584 IN IP4 192.168.77.70
s=session
c=IN IP4 192.168.77.70
t=0 0
m=audio 19928 RTP/AVP 18 101
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -

---
     -- Called 10041
sip*CLI>
<-- SIP read from 192.168.76.170:5060:
SIP/2.0 100 Trying
To: <sip:10041 at 192.168.76.170:5060>
From: "Vahan Yerkanian" <sip:10027 at 192.168.77.70>;tag=as37598b5e
Call-ID: 15389c8a37ad32e84be939e63cd851f9 at 192.168.77.70
CSeq: 102 INVITE
Via: SIP/2.0/UDP 192.168.77.70:5060;branch=z9hG4bK39074686
Server: Sipura/SPA3000-2.0.13(GWg)
Content-Length: 0


--- (8 headers 0 lines)---
sip*CLI>
<-- SIP read from 192.168.76.170:5060:
SIP/2.0 180 Ringing
To: <sip:10041 at 192.168.76.170:5060>;tag=cc76ddced7d10edbi0
From: "Vahan Yerkanian" <sip:10027 at 192.168.77.70>;tag=as37598b5e
Call-ID: 15389c8a37ad32e84be939e63cd851f9 at 192.168.77.70
CSeq: 102 INVITE
Via: SIP/2.0/UDP 192.168.77.70:5060;branch=z9hG4bK39074686
Server: Sipura/SPA3000-2.0.13(GWg)
Content-Length: 0


--- (8 headers 0 lines)---
     -- SIP/10041-d1a4 is ringing
Reliably Transmitting (no NAT) to 192.168.76.170:5060:
PUBLISH sip:10041 at 192.168.76.170:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.77.70:5060;branch=z9hG4bK39074686;rport
From: "Vahan Yerkanian" <sip:10027 at 192.168.77.70>;tag=as37598b5e
To: <sip:10041 at 192.168.76.170:5060>
Contact: <sip:10027 at 192.168.77.70>
Call-ID: 15389c8a37ad32e84be939e63cd851f9 at 192.168.77.70
CSeq: 102 PUBLISH
User-Agent: Asterisk PBX
Content-Length: 0




<-- SIP read from 192.168.76.170:5060:
SIP/2.0 500 Internal Server Error
To: <sip:10041 at 192.168.76.170:5060>;tag=cc76ddced7d10edbi0
From: "Vahan Yerkanian" <sip:10027 at 192.168.77.70>;tag=as37598b5e
Call-ID: 15389c8a37ad32e84be939e63cd851f9 at 192.168.77.70
CSeq: 102 PUBLISH
Via: SIP/2.0/UDP 192.168.77.70:5060;branch=z9hG4bK39074686
Server: Sipura/SPA3000-2.0.13(GWg)
Content-Length: 0


--- (8 headers 0 lines)---
     -- Got SIP response 500 "Internal Server Error" back from 
192.168.76.170
Retransmitting #1 (no NAT) to 192.168.76.170:5060:
PUBLISH sip:10041 at 192.168.76.170:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.77.70:5060;branch=z9hG4bK39074686;rport
From: "Vahan Yerkanian" <sip:10027 at 192.168.77.70>;tag=as37598b5e
To: <sip:10041 at 192.168.76.170:5060>
Contact: <sip:10027 at 192.168.77.70>
Call-ID: 15389c8a37ad32e84be939e63cd851f9 at 192.168.77.70
CSeq: 102 PUBLISH
User-Agent: Asterisk PBX
Content-Length: 0


---
sip*CLI>
<-- SIP read from 192.168.76.170:5060:
SIP/2.0 500 Internal Server Error
To: <sip:10041 at 192.168.76.170:5060>;tag=cc76ddced7d10edbi0
From: "Vahan Yerkanian" <sip:10027 at 192.168.77.70>;tag=as37598b5e
Call-ID: 15389c8a37ad32e84be939e63cd851f9 at 192.168.77.70
CSeq: 102 PUBLISH
Via: SIP/2.0/UDP 192.168.77.70:5060;branch=z9hG4bK39074686
Server: Sipura/SPA3000-2.0.13(GWg)
Content-Length: 0


--- (8 headers 0 lines)---
     -- Got SIP response 500 "Internal Server Error" back from 
192.168.76.170
Retransmitting #2 (no NAT) to 192.168.76.170:5060:
PUBLISH sip:10041 at 192.168.76.170:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.77.70:5060;branch=z9hG4bK39074686;rport
From: "Vahan Yerkanian" <sip:10027 at 192.168.77.70>;tag=as37598b5e
To: <sip:10041 at 192.168.76.170:5060>
Contact: <sip:10027 at 192.168.77.70>
Call-ID: 15389c8a37ad32e84be939e63cd851f9 at 192.168.77.70
CSeq: 102 PUBLISH
User-Agent: Asterisk PBX
Content-Length: 0


---
sip*CLI>
<-- SIP read from 192.168.76.170:5060:
SIP/2.0 500 Internal Server Error
To: <sip:10041 at 192.168.76.170:5060>;tag=cc76ddced7d10edbi0
From: "Vahan Yerkanian" <sip:10027 at 192.168.77.70>;tag=as37598b5e
Call-ID: 15389c8a37ad32e84be939e63cd851f9 at 192.168.77.70
CSeq: 102 PUBLISH
Via: SIP/2.0/UDP 192.168.77.70:5060;branch=z9hG4bK39074686
Server: Sipura/SPA3000-2.0.13(GWg)
Content-Length: 0


--- (8 headers 0 lines)---
     -- Got SIP response 500 "Internal Server Error" back from 
192.168.76.170
Retransmitting #3 (no NAT) to 192.168.76.170:5060:
PUBLISH sip:10041 at 192.168.76.170:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.77.70:5060;branch=z9hG4bK39074686;rport
From: "Vahan Yerkanian" <sip:10027 at 192.168.77.70>;tag=as37598b5e
To: <sip:10041 at 192.168.76.170:5060>
Contact: <sip:10027 at 192.168.77.70>
Call-ID: 15389c8a37ad32e84be939e63cd851f9 at 192.168.77.70
CSeq: 102 PUBLISH
User-Agent: Asterisk PBX
Content-Length: 0


---
sip*CLI> sip no deb
<-- SIP read from 192.168.76.170:5060:
SIP/2.0 500 Internal Server Error
To: <sip:10041 at 192.168.76.170:5060>;tag=cc76ddced7d10edbi0
From: "Vahan Yerkanian" <sip:10027 at 192.168.77.70>;tag=as37598b5e
Call-ID: 15389c8a37ad32e84be939e63cd851f9 at 192.168.77.70
CSeq: 102 PUBLISH
Via: SIP/2.0/UDP 192.168.77.70:5060;branch=z9hG4bK39074686
Server: Sipura/SPA3000-2.0.13(GWg)
Content-Length: 0
---8<-----------------------------------------------------------------

What are those PUBLISHes?

regards,
Vahan





More information about the asterisk-dev mailing list