linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] Event notification


From: Ivica Babarovic
Subject: [Linphone-developers] Event notification
Date: Wed, 23 Jul 2003 15:34:09 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003

Klaus Darilion wrote:
Maybe MSN is strictly RFC3265 conform, because RFC3265 section 3.2.4
defines:

...
NOTIFY requests MUST contain "Subscription-State" headers which indicate
the status of the subscription.
...

If adding this header does not work, please send the complete trace
(SUBSCRIBE + NOTIFY) for further debugging.

Klaus


Maybe Windows messenger does complie to that ... but I dont know for sure. And 
I also dont
know where to get that kind of info. Anyway before I start adding 
"Subscription-State" headers
here is my current trace.
There are 3 machines:
10.41.2.41    Linphone Client
10.41.2.52    Windows messenger
10.41.2.53    SER SIP server

The content of the first 4 packets is about registering to SIP server.
After that subscription process starts up from windows messenger.

address@hidden root]# ngrep *@  host \( winphony and kvasenica \) or  \( 
winphony and lilija \) or  \( kvasenica and lilija \)
interface: eth0 (10.41.0.0/255.255.0.0)
filter: ip and ( host ( winphony and kvasenica ) or ( winphony and lilija ) or 
( kvasenica and lilija ) )
match: *@
#
U 10.41.2.41:5060 -> 10.41.2.53:5060
  REGISTER sip:address@hidden SIP/2.0..Via: SIP/2.0/UDP 
10.41.2.41:5060;branch=396002860..From: <sip:address@hidden>;tag=3c7f6..To: 
<sip:address@hidden>..Call-ID: 1006974
  address@hidden: 1 REGISTER..Contact: <sip:address@hidden>..expires: 
900..user-agent: oSIP/Linphone-0.8.0..Content-Length: 0....
#
U 10.41.2.53:5060 -> 10.41.2.41:5060
  SIP/2.0 200 OK..Via: SIP/2.0/UDP 10.41.2.41:5060;branch=396002860..From: 
<sip:address@hidden>;tag=3c7f6..To: 
<sip:address@hidden>;tag=d907c037823644515dfe0ede38ca9976.e
  94c..Call-ID: address@hidden: 1 REGISTER..Contact: 
<sip:address@hidden>;q=0.00;expires=900..Server: Sip EXpress router (0.8.10 
(i386/linux))..Content-Length: 0..Warnin
  g: 392 10.41.2.53:5060 "Noisy feedback tells: pid=812 req_src_ip=10.41.2.41 
in_uri=sip:address@hidden out_uri=sip:address@hidden via_cnt==1"....
#
U 10.41.2.52:2230 -> 10.41.2.53:5060
  REGISTER sip:lilija.hermes.si SIP/2.0..Via: SIP/2.0/UDP 10.41.2.52:8435..From: 
<sip:address@hidden>;tag=e98ba351-ad93-4252-ac33-8e21a699cdff..To: 
<sip:address@hidden
  hermes.si>..Call-ID: address@hidden: 1 REGISTER..Contact: 
<sip:10.41.2.52:8435>;methods="INVITE, MESSAGE, INFO, SUBSCRIBE, OPTIONS, BYE, CANC
  EL, NOTIFY, ACK"..User-Agent: Windows RTC/1.0..Expires: 1200..Event: 
registration..Allow-Events: presence..Content-Length: 0....
#
U 10.41.2.53:5060 -> 10.41.2.52:8435
  SIP/2.0 200 OK..Via: SIP/2.0/UDP 10.41.2.52:8435..From: 
<sip:address@hidden>;tag=e98ba351-ad93-4252-ac33-8e21a699cdff..To: 
<sip:address@hidden>;tag=d907c037
  823644515dfe0ede38ca9976.5fa7..Call-ID: address@hidden: 1 REGISTER..Contact: 
<sip:10.41.2.52:8435>;q=0.00;expires=1200..Server: Sip EXpress r
  outer (0.8.10 (i386/linux))..Content-Length: 0..Warning: 392 10.41.2.53:5060 
"Noisy feedback tells: pid=814 req_src_ip=10.41.2.52 
in_uri=sip:lilija.hermes.si out_uri=sip:lilija.her
  mes.si via_cnt==1"....
#
U 10.41.2.52:2230 -> 10.41.2.53:5060
  SUBSCRIBE sip:address@hidden SIP/2.0..Via: SIP/2.0/UDP 10.41.2.52:8435..From: 
"kvasenica" <sip:address@hidden>;tag=b100d810-bbbc-4ba2-9058-964e29349338..To: 
<sip:
  address@hidden>..Call-ID: address@hidden: 1 SUBSCRIBE..Contact: 
<sip:10.41.2.52:8435>..User-Agent: Windows RTC/1.0..Expires: 1800..Cont
  ent-Length: 0....
#
U 10.41.2.53:5060 -> 10.41.2.41:5060
  SUBSCRIBE sip:address@hidden SIP/2.0..Max-Forwards: 10..Via: SIP/2.0/UDP 
10.41.2.53;branch=z9hG4bKac1b.8b8bf5f2.0..Via: SIP/2.0/UDP 10.41.2.52:8435..From: 
"kvasenica" <sip:kvasenic
  address@hidden>;tag=b100d810-bbbc-4ba2-9058-964e29349338..To: 
<sip:address@hidden>..Call-ID: address@hidden: 1 SUBSCRIBE..Contact:
  <sip:10.41.2.52:8435>..User-Agent: Windows RTC/1.0..Expires: 
1800..Content-Length: 0....
#
U 10.41.2.52:2230 -> 10.41.2.53:5060
  SUBSCRIBE sip:address@hidden SIP/2.0..Via: SIP/2.0/UDP 10.41.2.52:8435..From: 
"kvasenica" <sip:address@hidden>;tag=b100d810-bbbc-4ba2-9058-964e29349338..To: 
<sip:
  address@hidden>..Call-ID: address@hidden: 1 SUBSCRIBE..Contact: 
<sip:10.41.2.52:8435>..User-Agent: Windows RTC/1.0..Expires: 1800..Cont
  ent-Length: 0....
#
U 10.41.2.53:5060 -> 10.41.2.41:5060
  SUBSCRIBE sip:address@hidden SIP/2.0..Max-Forwards: 10..Via: SIP/2.0/UDP 
10.41.2.53;branch=z9hG4bKac1b.8b8bf5f2.0..Via: SIP/2.0/UDP 10.41.2.52:8435..From: 
"kvasenica" <sip:kvasenic
  address@hidden>;tag=b100d810-bbbc-4ba2-9058-964e29349338..To: 
<sip:address@hidden>..Call-ID: address@hidden: 1 SUBSCRIBE..Contact:
  <sip:10.41.2.52:8435>..User-Agent: Windows RTC/1.0..Expires: 
1800..Content-Length: 0....
#
U 10.41.2.41:5060 -> 10.41.2.53:5060
  SIP/2.0 200 OK..Via: SIP/2.0/UDP 10.41.2.53;branch=z9hG4bKac1b.8b8bf5f2.0..Via: SIP/2.0/UDP 
10.41.2.52:8435..From: "kvasenica" <sip:address@hidden>;tag=b100d810-bbbc-4b
  a2-9058-964e29349338..To: <sip:address@hidden>;tag=3c7f6..Call-ID: address@hidden: 
1 SUBSCRIBE..Contact: <sip:address@hidden:5060>..use
  r-agent: oSIP/Linphone-0.8.0..expires: 900..Content-Length: 0....
#
U 10.41.2.53:5060 -> 10.41.2.52:8435
  SIP/2.0 200 OK..Via: SIP/2.0/UDP 10.41.2.52:8435..From: "kvasenica" 
<sip:address@hidden>;tag=b100d810-bbbc-4ba2-9058-964e29349338..To: 
<sip:address@hidden>;tag=3c
  7f6..Call-ID: address@hidden: 1 SUBSCRIBE..Contact: 
<sip:address@hidden:5060>..user-agent: oSIP/Linphone-0.8.0..expires: 
900..Content-Length:
   0....
#
U 10.41.2.41:5060 -> 10.41.2.52:8435
  NOTIFY sip:10.41.2.52:8435 SIP/2.0..Via: SIP/2.0/UDP 10.41.2.41:5060;branch=2973699361..From: 
<sip:address@hidden>;tag=3c7f6..To: "kvasenica" <sip:address@hidden>
  ;tag=b100d810-bbbc-4ba2-9058-964e29349338..Call-ID: address@hidden: 1 
NOTIFY..Contact: <sip:address@hidden>..Event: presence..user-agent: oSI
  P/Linphone-0.8.0..Content-Length: 0....
#
U 10.41.2.52:2231 -> 10.41.2.41:5060
  SIP/2.0 400 Bad Request..Via: SIP/2.0/UDP 10.41.2.41:5060;branch=2973699361..From: 
<sip:address@hidden>;tag=3c7f6..To: "kvasenica" <sip:address@hidden>;tag=b100d8
  10-bbbc-4ba2-9058-964e29349338..Call-ID: address@hidden: 1 
NOTIFY..User-Agent: Windows RTC/1.0..Content-Length: 0....
exit
12 received, 0 dropped





reply via email to

[Prev in Thread] Current Thread [Next in Thread]