Features/Extension Monitoring/Disconnected

From Snom User Wiki

Jump to: navigation, search
Individual Subscriptions (RFC 4235) Event List Subscriptions (RFC 4662)
File:Extmon rfc4235 disconnected.jpg

  1. Ext 1 monitors Ext 2
  2. Ext C calls monitored Ext 2
  3. Ext 2 accepts the incoming call from Ext C
  4. Ext C / Ext 2 disconnects the call


Example#1 SIP Message Flow with PBXnSIP PBX
  1. Ext 2 sends NOTIFY to monitoring Ext 1
    • the subscription event is dialog
    • the subscription is active (not expired).
    • the dialog state is terminated or can be left empty
  2. The NOTIFY is accknowledged by Ext 1
Individual Subscriptions (RFC 4235) Event List Subscriptions (RFC 4662)
Received from ...

NOTIFY sip:Ext 1
Via: ...
From: <sip:Ext 2>...
To: <sip:Ext 1>...
Call-ID: ...
CSeq: 10011 NOTIFY
Max-Forwards: 70
Contact: ...
Event: dialog
Subscription-State: active;expires=183
Content-Type: application/dialog-info+xml
Content-Length: 146

<?xml version="1.0"?>
 <dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info"
  version="4"
  state="full"
  entity="sip:Ext 2">
 </dialog-info>

----------------------------------------------------------

Sent to ...

SIP/2.0 200 Ok
Via: ...
From: <sip:Ext 2...
To: <sip:Ext 1>...
Call-ID: ...
CSeq: 10011 NOTIFY
Content-Length: 0
Received from ...

NOTIFY sip:Ext 1
Via: ...
From: <sip:Ext 1>...
To: <sip:Ext 1>...
Call-ID: ...
CSeq: 10011 NOTIFY
Max-Forwards: 70
Contact: ...
Event: dialog
Subscription-State: active;expires=183
Content-Type: application/dialog-info+xml
Content-Length: 146

<?xml version="1.0"?>
 <dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info"
  version="4"
  state="full"
  entity="sip:Ext 1">
 </dialog-info>

----------------------------------------------------------

Sent to ...

SIP/2.0 200 Ok
Via: ...
From: <sip:Ext 1...
To: <sip:Ext 1>...
Call-ID: ...
CSeq: 10011 NOTIFY
Content-Length: 0
Result#1: Busy Lamp Field (BLF)
The LEDs of the function keys configured as "Extension" / "BLF" (from 7.1.33) turn off. The BLF feature is NOT AVAILABLE when using event list subscription.
Result#2: "Calls" screen

The "Calls" screen on snom360/370 displays is updated, e.g. the call from Ext C = 535 to Ext 2 = 484 disappears from the list

Image:call_535-485_terminated.png


Example#2 Asterisk (1.4.X unpatched):
  1. Ext 2 sends NOTIFY to monitoring Ext 1
    • the subscription event is dialog
    • the subscription is active (not expired).
    • the dialog state has been changed on the recipient side (Ext 2)
    • the dialog state is terminated
  2. The NOTIFY is accknowledged by Ext 1
Asterisk does NOT support this feature (1.2 / 1.4).
Individual Subscriptions (RFC 4235) Event List Subscriptions (RFC 4662)
Received from udp:192.168.10.59:5060 at 7/5/2008 01:17:00:527 (662 bytes):

NOTIFY sip:Ext 1:1028 SIP/2.0
Via: ...
From: <sip:Ext 2;user=phone>;tag=as660869b2
To: <sip:Ext 1>;tag=mj7v9i9jcc
Contact: <sip:Ext 2>
Call-ID: 3c267028a349-0d7voperyz1q
CSeq: 112 NOTIFY
User-Agent: Asterisk PBX
Max-Forwards: 70
Event: dialog
Content-Type: application/dialog-info+xml
Subscription-State: active
Content-Length: 207

<?xml version="1.0"?>
 <dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info"
  version="10"
  state="full"
  entity="sip:Ext 2">
  <dialog id="2015">
   <state>terminated</state>
  </dialog>
 </dialog-info>

----------------------------------------------------------------------

Sent to ...:

SIP/2.0 200 Ok
Via: ...
From: <sip:Ext 2>...
To: <sip:Ext 1>...
Call-ID: ...
CSeq: 112 NOTIFY
Content-Length: 0
Asterisk does NOT support this feature (1.2 / 1.4).
Result#1: Busy Lamp Field (BLF)
The LEDs of the function keys configured as "Extension" / "BLF" (from 7.1.33) turn off. Asterisk does NOT support this feature (1.2 / 1.4).
Personal tools
Interoperability