Beruflich Dokumente
Kultur Dokumente
Contact: <136@10.130.130.4;user=phone>
To: <sip:106@10.130.130.4>;tag=4fog9tlb9d
From: <sip:136@10.130.130.4;user=phone>;tag=9e6f1e0e
Call-ID: 3c491603553e-z27emqqov573
CSeq: 5 NOTIFY
Content-Type: application/dialog-info+xml
Subscription-State: active;expires=3521
Event: dialog
Content-Length: 507
xmlns=”urn:ietf:params:xml:ns:dialog-info”
entity=”sip:136@10.130.130.4;user=phone”>
local-tag=”7ad7d2e7c1f3d62b” direction=”initiator”>
<state>confirmed</state>
<local>
<identity>sip:136@10.130.130.4
<target uri=”sip:117@10.130.130.4″/>
</local>
<remote>
<identity>sip:117@10.130.130.4
<target uri=”sip:117@10.130.130.4″/>
</remote>
</dialog>
</dialog-info>
1. NOTIFY sip:106@10.130.130.58:2051;line=1ofdyu7v SIP/2.0 – From this line we can see that this is a
SIP notify message sent to extension 106 which can be found on IP 10.130.130.58.
2. Subscription-State: active;expires=3521 – Here the subscription state and how many seconds are left for
subscription to expire are stated.
3. Content-Length: 507 – The XML message body size in bytes attached to this NOTIFY SIP message.
4. entity=”sip:136@10.130.130.4;user=phone” – The monitored extension is specified in the XML message
body.
5. direction=”initiator” – The monitored extension is starting the call in this example. If the monitored
extension is receiving a call, direction will be set to “recipient”.
6. <state>confirmed</state> – The status of the call, in this example the call has been established. If the
phone is still ringing, state will be set to “early” and if the call is terminated the sate will be set to “void”.
7. in <remote>, <target uri=”sip:117@10.130.130.4″/> – The remote SIP entity to which extension 136 is
calling, in this example extension 117. If the monitored extension is receiving the call, the remote
extension would be the caller.
Once the NOTIFY SIP message is received from the subscriber, the subscriber sends back a 200 OK SIP
message to the notifier as shown in the sample below.
SIP/2.0 200 Ok
From: <sip:117@10.130.130.4;user=phone>;tag=293c7668
To: <sip:106@10.130.130.4>;tag=mbkzgdctp5
Call-ID: 3c4916034968-2luuodukzci4
CSeq: 5 NOTIFY
Content-Length: 0
Once the SUBSCRIBE SIP message is received and successfully processed from the IP PBX, a 200 SIP
message is sent back to the subscriber, as shown in the sample below.
SIP/2.0 200 OK
Contact: <sip:136@10.130.130.4;user=phone>
To: <sip:136@10.130.130.4;user=phone>;tag=9e6f1e0e
From: <sip:106@10.130.130.4>;tag=4fog9tlb9d
Call-ID: 3c491603553e-z27emqqov573
CSeq: 4 SUBSCRIBE
Expires: 0
Content-Length: 0