Features/Call Completion

From Snom User Wiki

Jump to: navigation, search

Introduction

When a call fails (either because the callee was busy or the callee did not answer), it is sometime desirable to have a feature in place where caller can be notified when callee is ready to receive a call from the caller. This service is generally called call-completion. See this description on wikipedia.

Configuration

See the User Manual, page 59.

Completion of Calls to Busy Subscriber (CCBS)

The following example uses OpenSER Proxy and two snom phones:

The SIP trace was retrieved from the phone configured with extension 2909.

2909 wants to call 2907

Image:cc1.png

2909 subscribes for update notifications of the dialog event "Call Completion" from 2907. The subscription expiry time is proposed to 60 seconds.

Sent to udp:192.168.0.121:5060 at 18/6/2009 13:36:47:099 (502 bytes):

SUBSCRIBE sip:2907@ser.intern.snom.de;user=phone SIP/2.0
Via: SIP/2.0/UDP 192.168.10.200:2048;branch=z9hG4bK-12es0lo8wgdv;rport
From: <sip:2909@ser.intern.snom.de>;tag=gkmscc7i3i
To: <sip:2907@ser.intern.snom.de;user=phone>
Call-ID: 3c2e95b214da-0yr35yir6svj
CSeq: 1 SUBSCRIBE
Max-Forwards: 70
Contact: <sip:2909@192.168.10.200:2048;line=q2ujnd09>;reg-id=1
Event: dialog;purpose=call-completion
Accept: application/dialog-info+xml
User-Agent: snom360/8.2.6
Expires: 60
Content-Length: 0

Call to 2907 is in progress

Image:cc6.png
Sent to udp:192.168.0.121:5060 at 18/6/2009 13:36:47:322 (1206 bytes):

INVITE sip:2907@ser.intern.snom.de;user=phone SIP/2.0
Via: SIP/2.0/UDP 192.168.10.200:2048;branch=z9hG4bK-styxm84dbv9m;rport
From: <sip:2909@ser.intern.snom.de>;tag=mta1y7cz79
To: <sip:2907@ser.intern.snom.de;user=phone>
Call-ID: 3c2e95b21252-pktp7vrenb8r
CSeq: 1 INVITE
Max-Forwards: 70
Contact: <sip:2909@192.168.10.200:2048;line=q2ujnd09>;reg-id=1
P-Key-Flags: resolution="31x13", keys="4"
User-Agent: snom360/8.2.6
Accept: application/sdp
Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE, PRACK, MESSAGE, INFO, UPDATE
Allow-Events: talk, hold, refer, call-info
Supported: timer, 100rel, replaces, from-change
Session-Expires: 3600;refresher=uas
Min-SE: 90
Content-Type: application/sdp
Content-Length: 458

v=0
o=root 2122629419 2122629419 IN IP4 192.168.10.200
s=call
c=IN IP4 192.168.10.200
t=0 0
m=audio 52752 RTP/AVP 0 8 9 99 3 18 4 101
a=crypto:1 AES_CM_128_HMAC_SHA1_32 inline:v8rGR8SBNiH0pb2SgfiR9q9Xe4e8UMBHkZvj1guD
a=rtpmap:0 pcmu/8000
a=rtpmap:8 pcma/8000
a=rtpmap:9 g722/8000
a=rtpmap:99 g726-32/8000
a=rtpmap:3 gsm/8000
a=rtpmap:18 g729/8000
a=rtpmap:4 g723/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv

The subscription (SIP SUBSCRIBE) of the Dialog Event "Call Completion" is confirmed by 2907.

Received from udp:192.168.0.121:5060 at 18/6/2009 13:36:47:343 (407 bytes):

SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.10.200:2048;branch=z9hG4bK-12es0lo8wgdv;rport=2048
Record-Route: <sip:192.168.0.121;lr=on;ftag=gkmscc7i3i>
From: <sip:2909@ser.intern.snom.de>;tag=gkmscc7i3i
To: <sip:2907@ser.intern.snom.de;user=phone>;tag=03q9hjly50
Call-ID: 3c2e95b214da-0yr35yir6svj
CSeq: 1 SUBSCRIBE
Contact: <sip:2907@192.168.11.114:2048;line=pn7kq16b>
Expires: 60
Content-Length: 0

From now on 2907 will send Dialog Event updates (Notifications - SIP NOTIFY) to 2909. The subscription expiry time of 60 seconds was accepted. 2909 will have to renew the subscription after 30 seconds.

Received from udp:192.168.0.121:5060 at 18/6/2009 13:36:47:359 (1335 bytes):

NOTIFY sip:2909@192.168.10.200:2048;line=q2ujnd09 SIP/2.0
Record-Route: <sip:192.168.0.121;lr=on;ftag=03q9hjly50>
Via: SIP/2.0/UDP 192.168.0.121;branch=z9hG4bK39dc.a4fbb4b2.0
Via: SIP/2.0/UDP 192.168.11.114:2048;branch=z9hG4bK-eyyupab4z1a4;rport=2048
From: <sip:2907@ser.intern.snom.de;user=phone>;tag=03q9hjly50
To: <sip:2909@ser.intern.snom.de>;tag=gkmscc7i3i
Call-ID: 3c2e95b214da-0yr35yir6svj
CSeq: 1 NOTIFY
Max-Forwards: 69
Contact: <sip:2907@192.168.11.114:2048;line=pn7kq16b>;reg-id=1
Event: dialog;purpose=call-completion
Subscription-State: active
Content-Type: application/dialog-info+xml
Content-Length: 679
P-hint: rr-enforced

<?xml version="1.0"?>
<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="0" state="full" entity="sip:2907@ser.intern.snom.de;user=phone">
  <dialog id="7" direction="initiator" call-id="3c2e956db9f6-uvenzf123ppj" local-tag="kate709bwd" remote-tag="wjo52msk4b">
  <state>confirmed</state>
  <local>
   <identity display="ExtB">sip:2907@ser.intern.snom.de</identity>
   <target uri="sip:2907@192.168.11.114:2048;line=pn7kq16b">
    <param pname="x-line-id" pvalue="0" />
    <param pname="+sip.rendering" pvalue="yes" />
   </target>
  </local>
  <remote>
   <identity>sip:2911@ser.intern.snom.de;user=phone</identity>
   <target uri="sip:2911@192.168.3.150:1024;line=whrlqlhu"/>
  </remote>
 </dialog>
</dialog-info>

2909 confirms the notification of 2907 about it's call completion dialog state confirmed

Sent to udp:192.168.0.121:5060 at 18/6/2009 13:36:47:401 (398 bytes):

SIP/2.0 200 Ok
Via: SIP/2.0/UDP 192.168.0.121;branch=z9hG4bK39dc.a4fbb4b2.0
Via: SIP/2.0/UDP 192.168.11.114:2048;branch=z9hG4bK-eyyupab4z1a4;rport=2048
Record-Route: <sip:192.168.0.121;lr=on;ftag=03q9hjly50>
From: <sip:2907@ser.intern.snom.de;user=phone>;tag=03q9hjly50
To: <sip:2909@ser.intern.snom.de>;tag=gkmscc7i3i
Call-ID: 3c2e95b214da-0yr35yir6svj
CSeq: 1 NOTIFY
Content-Length: 0

Meanwhile the OpenSER tries to reach 2907

Received from udp:192.168.0.121:5060 at 18/6/2009 13:36:47:416 (563 bytes):

SIP/2.0 100 trying -- your call is important to us
Via: SIP/2.0/UDP 192.168.10.200:2048;branch=z9hG4bK-styxm84dbv9m;rport=2048
From: <sip:2909@ser.intern.snom.de>;tag=mta1y7cz79
To: <sip:2907@ser.intern.snom.de;user=phone>
Call-ID: 3c2e95b21252-pktp7vrenb8r
CSeq: 1 INVITE
Server: OpenSer (1.1.0-notls (i386/linux))
Content-Length: 0
Warning: 392 192.168.0.121:5060 "Noisy feedback tells: pid=2360 req_src_ip=192.168.10.200 req_src_port=2048 in_uri=sip:2907@ser.intern.snom.de;user=phone out_uri=sip:2907@192.168.11.114:2048;line=pn7kq16b via_cnt==1"

2907 is busy

Received from udp:192.168.0.121:5060 at 18/6/2009 13:36:47:554 (350 bytes):

SIP/2.0 486 Busy Here
Via: SIP/2.0/UDP 192.168.10.200:2048;branch=z9hG4bK-styxm84dbv9m;rport=2048
From: <sip:2909@ser.intern.snom.de>;tag=mta1y7cz79
To: <sip:2907@ser.intern.snom.de;user=phone>;tag=zqdfa447np
Call-ID: 3c2e95b21252-pktp7vrenb8r
CSeq: 1 INVITE
Contact: <sip:2907@192.168.11.114:2048;line=pn7kq16b>;reg-id=1
Content-Length: 0
Image:cc2.png Image:cc3.png  Image:cc4.png

2909 acknowledges the busy state

Sent to udp:192.168.0.121:5060 at 18/6/2009 13:36:47:563 (389 bytes):

ACK sip:2907@ser.intern.snom.de;user=phone SIP/2.0
Via: SIP/2.0/UDP 192.168.10.200:2048;branch=z9hG4bK-styxm84dbv9m;rport
From: <sip:2909@ser.intern.snom.de>;tag=mta1y7cz79
To: <sip:2907@ser.intern.snom.de;user=phone>;tag=zqdfa447np
Call-ID: 3c2e95b21252-pktp7vrenb8r
CSeq: 1 ACK
Max-Forwards: 70
Contact: <sip:2909@192.168.10.200:2048;line=q2ujnd09>;reg-id=1
Content-Length: 0

2907 has finished the call and is available again. A new notification update from 2907 is received by 2909: call completion dialog state is now terminated, i.e. available

Received from udp:192.168.0.121:5060 at 18/6/2009 13:36:47:748 (1282 bytes):

NOTIFY sip:2909@192.168.10.200:2048;line=q2ujnd09 SIP/2.0
Record-Route: <sip:192.168.0.121;lr=on;ftag=03q9hjly50>
Via: SIP/2.0/UDP 192.168.0.121;branch=z9hG4bK09dc.9057f832.0
Via: SIP/2.0/UDP 192.168.11.114:2048;branch=z9hG4bK-3briqzwe22qn;rport=2048
From: <sip:2907@ser.intern.snom.de;user=phone>;tag=03q9hjly50
To: <sip:2909@ser.intern.snom.de>;tag=gkmscc7i3i
Call-ID: 3c2e95b214da-0yr35yir6svj
CSeq: 2 NOTIFY
Max-Forwards: 69
Contact: <sip:2907@192.168.11.114:2048;line=pn7kq16b>;reg-id=1
Event: dialog;purpose=call-completion
Subscription-State: active
Content-Type: application/dialog-info+xml
Content-Length: 626
P-hint: rr-enforced

<?xml version="1.0"?>
<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="1" state="partial" entity="sip:2907@ser.intern.snom.de;user=phone">
<dialog id="-30" direction="recipient" call-id="3c2e95b21252-pktp7vrenb8r" local-tag="zqdfa447np" remote-tag="mta1y7cz79">
<state>terminated</state>
<local>
 <identity>sip:2907@ser.intern.snom.de;user=phone</identity>
 <target uri="sip:2907@192.168.11.114:2048;line=pn7kq16b">
  <param pname="x-line-id" pvalue="0" />
  </target>
 </local>
 <remote>
  <identity>sip:2909@ser.intern.snom.de</identity>
  <target uri="sip:2909@192.168.10.200:2048;line=q2ujnd09"/>
 </remote>
 </dialog>
</dialog-info>
Image:cc5.png

2909 confirms the notification of 2907 about it's call completion dialog state terminated

Sent to udp:192.168.0.121:5060 at 18/6/2009 13:36:47:793 (398 bytes):

SIP/2.0 200 Ok
Via: SIP/2.0/UDP 192.168.0.121;branch=z9hG4bK09dc.9057f832.0
Via: SIP/2.0/UDP 192.168.11.114:2048;branch=z9hG4bK-3briqzwe22qn;rport=2048
Record-Route: <sip:192.168.0.121;lr=on;ftag=03q9hjly50>
From: <sip:2907@ser.intern.snom.de;user=phone>;tag=03q9hjly50
To: <sip:2909@ser.intern.snom.de>;tag=gkmscc7i3i
Call-ID: 3c2e95b214da-0yr35yir6svj
CSeq: 2 NOTIFY
Content-Length: 0

2909 terminates the subscription of dialog event states "Call Completion from 2907

Sent to udp:192.168.0.121:5060 at 18/6/2009 13:36:56:631 (570 bytes):

SUBSCRIBE sip:2907@192.168.11.114:2048;line=pn7kq16b SIP/2.0
Via: SIP/2.0/UDP 192.168.10.200:2048;branch=z9hG4bK-9lfc4p6y6sei;rport
Route: <sip:192.168.0.121;lr=on;ftag=gkmscc7i3i>
From: <sip:2909@ser.intern.snom.de>;tag=gkmscc7i3i
To: <sip:2907@ser.intern.snom.de;user=phone>;tag=03q9hjly50
Call-ID: 3c2e95b214da-0yr35yir6svj
CSeq: 2 SUBSCRIBE
Max-Forwards: 70
Contact: <sip:2909@192.168.10.200:2048;line=q2ujnd09>;reg-id=1
Event: dialog;purpose=call-completion
Accept: application/dialog-info+xml
User-Agent: snom360/8.2.6
Expires: 0
Content-Length: 0

... and renews the subscription for update notifications of the dialog event "Call Completion" from 2907. The subscription expiry time is proposed to 60 seconds.

Sent to udp:192.168.0.121:5060 at 18/6/2009 13:36:56:684 (502 bytes):

SUBSCRIBE sip:2907@ser.intern.snom.de;user=phone SIP/2.0
Via: SIP/2.0/UDP 192.168.10.200:2048;branch=z9hG4bK-o02s56wvntv6;rport
From: <sip:2909@ser.intern.snom.de>;tag=sguzxzo69f
To: <sip:2907@ser.intern.snom.de;user=phone>
Call-ID: 3c2e95bba335-u3t615usyfpk
CSeq: 1 SUBSCRIBE
Max-Forwards: 70
Contact: <sip:2909@192.168.10.200:2048;line=q2ujnd09>;reg-id=1
Event: dialog;purpose=call-completion
Accept: application/dialog-info+xml
User-Agent: snom360/8.2.6
Expires: 60
Content-Length: 0

2909 calls 2907 again.

Image:cc6.png
Sent to udp:192.168.0.121:5060 at 18/6/2009 13:36:56:840 (1204 bytes):

INVITE sip:2907@ser.intern.snom.de;user=phone SIP/2.0
Via: SIP/2.0/UDP 192.168.10.200:2048;branch=z9hG4bK-e0k760kx9mby;rport
From: <sip:2909@ser.intern.snom.de>;tag=3ar045fz7x
To: <sip:2907@ser.intern.snom.de;user=phone>
Call-ID: 3c2e95bb9ead-1d2pbx4kkk6x
CSeq: 1 INVITE
Max-Forwards: 70
Contact: <sip:2909@192.168.10.200:2048;line=q2ujnd09>;reg-id=1
P-Key-Flags: resolution="31x13", keys="4"
User-Agent: snom360/8.2.6
Accept: application/sdp
Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE, PRACK, MESSAGE, INFO, UPDATE
Allow-Events: talk, hold, refer, call-info
Supported: timer, 100rel, replaces, from-change
Session-Expires: 3600;refresher=uas
Min-SE: 90
Content-Type: application/sdp
Content-Length: 456

v=0
o=root 126626777 126626777 IN IP4 192.168.10.200
s=call
c=IN IP4 192.168.10.200
t=0 0
m=audio 50718 RTP/AVP 0 8 9 99 3 18 4 101
a=crypto:1 AES_CM_128_HMAC_SHA1_32 inline:wnagtQZlL8PKqQmUnFEQ1U/Enq2prV1GVTP68Yi7
a=rtpmap:0 pcmu/8000
a=rtpmap:8 pcma/8000
a=rtpmap:9 g722/8000
a=rtpmap:99 g726-32/8000
a=rtpmap:3 gsm/8000
a=rtpmap:18 g729/8000
a=rtpmap:4 g723/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
Received from udp:192.168.0.121:5060 at 18/6/2009 13:36:56:852 (826 bytes):

NOTIFY sip:2909@192.168.10.200:2048;line=q2ujnd09 SIP/2.0
Record-Route: <sip:192.168.0.121;lr=on;ftag=03q9hjly50>
Via: SIP/2.0/UDP 192.168.0.121;branch=z9hG4bKe8dc.4e76ee72.0
Via: SIP/2.0/UDP 192.168.11.114:2048;branch=z9hG4bK-486ocgakk0i3;rport=2048
From: <sip:2907@ser.intern.snom.de;user=phone>;tag=03q9hjly50
To: <sip:2909@ser.intern.snom.de>;tag=gkmscc7i3i
Call-ID: 3c2e95b214da-0yr35yir6svj
CSeq: 4 NOTIFY
Max-Forwards: 69
Contact: <sip:2907@192.168.11.114:2048;line=pn7kq16b>;reg-id=1
Event: dialog;purpose=call-completion
Subscription-State: terminated
Content-Type: application/dialog-info+xml
Content-Length: 166
P-hint: rr-enforced

<?xml version="1.0"?>
<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="3" state="full" entity="sip:2907@ser.intern.snom.de;user=phone">
</dialog-info>
Sent to udp:192.168.0.121:5060 at 18/6/2009 13:36:56:895 (398 bytes):

SIP/2.0 200 Ok
Via: SIP/2.0/UDP 192.168.0.121;branch=z9hG4bKe8dc.4e76ee72.0
Via: SIP/2.0/UDP 192.168.11.114:2048;branch=z9hG4bK-486ocgakk0i3;rport=2048
Record-Route: <sip:192.168.0.121;lr=on;ftag=03q9hjly50>
From: <sip:2907@ser.intern.snom.de;user=phone>;tag=03q9hjly50
To: <sip:2909@ser.intern.snom.de>;tag=gkmscc7i3i
Call-ID: 3c2e95b214da-0yr35yir6svj
CSeq: 4 NOTIFY
Content-Length: 0
Received from udp:192.168.0.121:5060 at 18/6/2009 13:36:56:903 (406 bytes):

SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.10.200:2048;branch=z9hG4bK-9lfc4p6y6sei;rport=2048
Record-Route: <sip:192.168.0.121;lr=on;ftag=gkmscc7i3i>
From: <sip:2909@ser.intern.snom.de>;tag=gkmscc7i3i
To: <sip:2907@ser.intern.snom.de;user=phone>;tag=03q9hjly50
Call-ID: 3c2e95b214da-0yr35yir6svj
CSeq: 2 SUBSCRIBE
Contact: <sip:2907@192.168.11.114:2048;line=pn7kq16b>
Expires: 0
Content-Length: 0
Received from udp:192.168.0.121:5060 at 18/6/2009 13:36:56:916 (407 bytes):

SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.10.200:2048;branch=z9hG4bK-o02s56wvntv6;rport=2048
Record-Route: <sip:192.168.0.121;lr=on;ftag=sguzxzo69f>
From: <sip:2909@ser.intern.snom.de>;tag=sguzxzo69f
To: <sip:2907@ser.intern.snom.de;user=phone>;tag=6x1mnpqt4y
Call-ID: 3c2e95bba335-u3t615usyfpk
CSeq: 1 SUBSCRIBE
Contact: <sip:2907@192.168.11.114:2048;line=pn7kq16b>
Expires: 60
Content-Length: 0
Received from udp:192.168.0.121:5060 at 18/6/2009 13:36:56:925 (820 bytes):

NOTIFY sip:2909@192.168.10.200:2048;line=q2ujnd09 SIP/2.0
Record-Route: <sip:192.168.0.121;lr=on;ftag=6x1mnpqt4y>
Via: SIP/2.0/UDP 192.168.0.121;branch=z9hG4bK0aa.de60df4.0
Via: SIP/2.0/UDP 192.168.11.114:2048;branch=z9hG4bK-xne9chryaf6g;rport=2048
From: <sip:2907@ser.intern.snom.de;user=phone>;tag=6x1mnpqt4y
To: <sip:2909@ser.intern.snom.de>;tag=sguzxzo69f
Call-ID: 3c2e95bba335-u3t615usyfpk
CSeq: 1 NOTIFY
Max-Forwards: 69
Contact: <sip:2907@192.168.11.114:2048;line=pn7kq16b>;reg-id=1
Event: dialog;purpose=call-completion
Subscription-State: active
Content-Type: application/dialog-info+xml
Content-Length: 166
P-hint: rr-enforced

<?xml version="1.0"?>
<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="0" state="full" entity="sip:2907@ser.intern.snom.de;user=phone">
</dialog-info>
Sent to udp:192.168.0.121:5060 at 18/6/2009 13:36:56:964 (396 bytes):

SIP/2.0 200 Ok
Via: SIP/2.0/UDP 192.168.0.121;branch=z9hG4bK0aa.de60df4.0
Via: SIP/2.0/UDP 192.168.11.114:2048;branch=z9hG4bK-xne9chryaf6g;rport=2048
Record-Route: <sip:192.168.0.121;lr=on;ftag=6x1mnpqt4y>
From: <sip:2907@ser.intern.snom.de;user=phone>;tag=6x1mnpqt4y
To: <sip:2909@ser.intern.snom.de>;tag=sguzxzo69f
Call-ID: 3c2e95bba335-u3t615usyfpk
CSeq: 1 NOTIFY
Content-Length: 0
Received from udp:192.168.0.121:5060 at 18/6/2009 13:36:56:983 (563 bytes):

SIP/2.0 100 trying -- your call is important to us
Via: SIP/2.0/UDP 192.168.10.200:2048;branch=z9hG4bK-e0k760kx9mby;rport=2048
From: <sip:2909@ser.intern.snom.de>;tag=3ar045fz7x
To: <sip:2907@ser.intern.snom.de;user=phone>
Call-ID: 3c2e95bb9ead-1d2pbx4kkk6x
CSeq: 1 INVITE
Server: OpenSer (1.1.0-notls (i386/linux))
Content-Length: 0
Warning: 392 192.168.0.121:5060 "Noisy feedback tells: pid=2362 req_src_ip=192.168.10.200 req_src_port=2048 in_uri=sip:2907@ser.intern.snom.de;user=phone out_uri=sip:2907@192.168.11.114:2048;line=pn7kq16b via_cnt==1"
Received from udp:192.168.0.121:5060 at 18/6/2009 13:36:57:063 (565 bytes):

SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 192.168.10.200:2048;branch=z9hG4bK-e0k760kx9mby;rport=2048
Record-Route: <sip:192.168.0.121;lr=on;ftag=3ar045fz7x>
From: <sip:2909@ser.intern.snom.de>;tag=3ar045fz7x
To: <sip:2907@ser.intern.snom.de;user=phone>;tag=2hs8d9v0e1
Call-ID: 3c2e95bb9ead-1d2pbx4kkk6x
CSeq: 1 INVITE
Contact: <sip:2907@192.168.11.114:2048;line=pn7kq16b>;reg-id=1
Require: 100rel
RSeq: 1
Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE, PRACK, MESSAGE, INFO
Allow-Events: talk, hold, refer, call-info
Content-Length: 0
Received from udp:192.168.0.121:5060 at 18/6/2009 13:36:57:158 (1273 bytes):

NOTIFY sip:2909@192.168.10.200:2048;line=q2ujnd09 SIP/2.0
Record-Route: <sip:192.168.0.121;lr=on;ftag=6x1mnpqt4y>
Via: SIP/2.0/UDP 192.168.0.121;branch=z9hG4bKd9a.9fc2d9a2.0
Via: SIP/2.0/UDP 192.168.11.114:2048;branch=z9hG4bK-jxld821f1z0a;rport=2048
From: <sip:2907@ser.intern.snom.de;user=phone>;tag=6x1mnpqt4y
To: <sip:2909@ser.intern.snom.de>;tag=sguzxzo69f
Call-ID: 3c2e95bba335-u3t615usyfpk
CSeq: 2 NOTIFY
Max-Forwards: 69
Contact: <sip:2907@192.168.11.114:2048;line=pn7kq16b>;reg-id=1
Event: dialog;purpose=call-completion
Subscription-State: active
Content-Type: application/dialog-info+xml
Content-Length: 618
P-hint: rr-enforced

<?xml version="1.0"?>
<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="1" state="full" entity="sip:2907@ser.intern.snom.de;user=phone">
 <dialog id="-32" direction="recipient" call-id="3c2e95bb9ead-1d2pbx4kkk6x" local-tag="2hs8d9v0e1" remote-tag="3ar045fz7x">
  <state>early</state>
  <local>
   <identity>sip:2907@ser.intern.snom.de;user=phone</identity>
   <target uri="sip:2907@192.168.11.114:2048;line=pn7kq16b"><param pname="x-line-id" pvalue="0" /></target>
  </local>
  <remote>
   <identity>sip:2909@ser.intern.snom.de</identity>
   <target uri="sip:2909@192.168.10.200:2048;line=q2ujnd09"/>
  </remote>
 </dialog>
</dialog-info>
Sent to udp:192.168.0.121:5060 at 18/6/2009 13:36:57:185 (397 bytes):

SIP/2.0 200 Ok
Via: SIP/2.0/UDP 192.168.0.121;branch=z9hG4bKd9a.9fc2d9a2.0
Via: SIP/2.0/UDP 192.168.11.114:2048;branch=z9hG4bK-jxld821f1z0a;rport=2048
Record-Route: <sip:192.168.0.121;lr=on;ftag=6x1mnpqt4y>
From: <sip:2907@ser.intern.snom.de;user=phone>;tag=6x1mnpqt4y
To: <sip:2909@ser.intern.snom.de>;tag=sguzxzo69f
Call-ID: 3c2e95bba335-u3t615usyfpk
CSeq: 2 NOTIFY
Content-Length: 0
Received from udp:192.168.0.121:5060 at 18/6/2009 13:36:57:214 (1273 bytes):

NOTIFY sip:2909@192.168.10.200:2048;line=q2ujnd09 SIP/2.0
Record-Route: <sip:192.168.0.121;lr=on;ftag=6x1mnpqt4y>
Via: SIP/2.0/UDP 192.168.0.121;branch=z9hG4bKd9a.9fc2d9a2.0
Via: SIP/2.0/UDP 192.168.11.114:2048;branch=z9hG4bK-jxld821f1z0a;rport=2048
From: <sip:2907@ser.intern.snom.de;user=phone>;tag=6x1mnpqt4y
To: <sip:2909@ser.intern.snom.de>;tag=sguzxzo69f
Call-ID: 3c2e95bba335-u3t615usyfpk
CSeq: 2 NOTIFY
Max-Forwards: 69
Contact: <sip:2907@192.168.11.114:2048;line=pn7kq16b>;reg-id=1
Event: dialog;purpose=call-completion
Subscription-State: active
Content-Type: application/dialog-info+xml
Content-Length: 618
P-hint: rr-enforced

<?xml version="1.0"?>
<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="1" state="full" entity="sip:2907@ser.intern.snom.de;user=phone">
 <dialog id="-32" direction="recipient" call-id="3c2e95bb9ead-1d2pbx4kkk6x" local-tag="2hs8d9v0e1" remote-tag="3ar045fz7x">
  <state>early</state>
  <local>
   <identity>sip:2907@ser.intern.snom.de;user=phone</identity>
   <target uri="sip:2907@192.168.11.114:2048;line=pn7kq16b">
    <param pname="x-line-id" pvalue="0" />
   </target>
  </local>
  <remote>
   <identity>sip:2909@ser.intern.snom.de</identity>
   <target uri="sip:2909@192.168.10.200:2048;line=q2ujnd09"/>
  </remote>
 </dialog>
</dialog-info>
Sent to udp:192.168.0.121:5060 at 18/6/2009 13:36:57:244 (397 bytes):

SIP/2.0 200 Ok
Via: SIP/2.0/UDP 192.168.0.121;branch=z9hG4bKd9a.9fc2d9a2.0
Via: SIP/2.0/UDP 192.168.11.114:2048;branch=z9hG4bK-jxld821f1z0a;rport=2048
Record-Route: <sip:192.168.0.121;lr=on;ftag=6x1mnpqt4y>
From: <sip:2907@ser.intern.snom.de;user=phone>;tag=6x1mnpqt4y
To: <sip:2909@ser.intern.snom.de>;tag=sguzxzo69f
Call-ID: 3c2e95bba335-u3t615usyfpk
CSeq: 2 NOTIFY
Content-Length: 0
Received from udp:192.168.0.121:5060 at 18/6/2009 13:36:59:295 (1102 bytes):

SIP/2.0 200 Ok
Via: SIP/2.0/UDP 192.168.10.200:2048;branch=z9hG4bK-e0k760kx9mby;rport=2048
Record-Route: <sip:192.168.0.121;lr=on;ftag=3ar045fz7x>
From: <sip:2909@ser.intern.snom.de>;tag=3ar045fz7x
To: <sip:2907@ser.intern.snom.de;user=phone>;tag=2hs8d9v0e1
Call-ID: 3c2e95bb9ead-1d2pbx4kkk6x
CSeq: 1 INVITE
Contact: <sip:2907@192.168.11.114:2048;line=pn7kq16b>;reg-id=1
Require: timer
Session-Expires: 3600;refresher=uas
User-Agent: snom320/7.3.22
Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE, PRACK, MESSAGE, INFO
Allow-Events: talk, hold, refer, call-info
Supported: timer, 100rel, replaces, from-change
Content-Type: application/sdp
Content-Length: 405

v=0
o=root 1596172172 1596172173 IN IP4 192.168.11.114
s=call
c=IN IP4 192.168.11.114
t=0 0
m=audio 61134 RTP/AVP 0 8 9 3 18 101
a=rtpmap:0 pcmu/8000
a=rtpmap:8 pcma/8000
a=rtpmap:9 g722/8000
a=rtpmap:3 gsm/8000
a=rtpmap:18 g729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=crypto:1 AES_CM_128_HMAC_SHA1_32 inline:LesT6qIVb3vSOoGxuqf1wWrq44x2ElWCqhb5dkY6
a=sendrecv
Image:cc7.png
Sent to udp:192.168.0.121:5060 at 18/6/2009 13:36:59:320 (443 bytes):

ACK sip:2907@192.168.11.114:2048;line=pn7kq16b SIP/2.0
Via: SIP/2.0/UDP 192.168.10.200:2048;branch=z9hG4bK-kipzrsyd33ex;rport
Route: <sip:192.168.0.121;lr=on;ftag=3ar045fz7x>
From: <sip:2909@ser.intern.snom.de>;tag=3ar045fz7x
To: <sip:2907@ser.intern.snom.de;user=phone>;tag=2hs8d9v0e1
Call-ID: 3c2e95bb9ead-1d2pbx4kkk6x
CSeq: 1 ACK
Max-Forwards: 70
Contact: <sip:2909@192.168.10.200:2048;line=q2ujnd09>;reg-id=1
Content-Length: 0

2909 terminates the subscription of dialog event states "Call Completion from 2907

Sent to udp:192.168.0.121:5060 at 18/6/2009 13:36:59:403 (570 bytes):

SUBSCRIBE sip:2907@192.168.11.114:2048;line=pn7kq16b SIP/2.0
Via: SIP/2.0/UDP 192.168.10.200:2048;branch=z9hG4bK-rbaszu7mkiy0;rport
Route: <sip:192.168.0.121;lr=on;ftag=sguzxzo69f>
From: <sip:2909@ser.intern.snom.de>;tag=sguzxzo69f
To: <sip:2907@ser.intern.snom.de;user=phone>;tag=6x1mnpqt4y
Call-ID: 3c2e95bba335-u3t615usyfpk
CSeq: 2 SUBSCRIBE
Max-Forwards: 70
Contact: <sip:2909@192.168.10.200:2048;line=q2ujnd09>;reg-id=1
Event: dialog;purpose=call-completion
Accept: application/dialog-info+xml
User-Agent: snom360/8.2.6
Expires: 0
Content-Length: 0
Received from udp:192.168.0.121:5060 at 18/6/2009 13:36:59:455 (1322 bytes):

NOTIFY sip:2909@192.168.10.200:2048;line=q2ujnd09 SIP/2.0
Record-Route: <sip:192.168.0.121;lr=on;ftag=6x1mnpqt4y>
Via: SIP/2.0/UDP 192.168.0.121;branch=z9hG4bKe9a.ff25a382.0
Via: SIP/2.0/UDP 192.168.11.114:2048;branch=z9hG4bK-tvjvt9yig0fa;rport=2048
From: <sip:2907@ser.intern.snom.de;user=phone>;tag=6x1mnpqt4y
To: <sip:2909@ser.intern.snom.de>;tag=sguzxzo69f
Call-ID: 3c2e95bba335-u3t615usyfpk
CSeq: 3 NOTIFY
Max-Forwards: 69
Contact: <sip:2907@192.168.11.114:2048;line=pn7kq16b>;reg-id=1
Event: dialog;purpose=call-completion
Subscription-State: active
Content-Type: application/dialog-info+xml
Content-Length: 667
P-hint: rr-enforced

<?xml version="1.0"?>
<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="2" state="full" entity="sip:2907@ser.intern.snom.de;user=phone">
 <dialog id="-32" direction="recipient" call-id="3c2e95bb9ead-1d2pbx4kkk6x" local-tag="2hs8d9v0e1" remote-tag="3ar045fz7x">
  <state>confirmed</state>
  <local>
   <identity>sip:2907@ser.intern.snom.de;user=phone</identity>
   <target uri="sip:2907@192.168.11.114:2048;line=pn7kq16b">
    <param pname="x-line-id" pvalue="0" />
    <param pname="+sip.rendering" pvalue="yes" />
   </target>
  </local>
  <remote>
   <identity>sip:2909@ser.intern.snom.de</identity>
    <target uri="sip:2909@192.168.10.200:2048;line=q2ujnd09"/>
  </remote>
 </dialog>
</dialog-info>
Sent to udp:192.168.0.121:5060 at 18/6/2009 13:36:59:573 (397 bytes):

SIP/2.0 200 Ok
Via: SIP/2.0/UDP 192.168.0.121;branch=z9hG4bKe9a.ff25a382.0
Via: SIP/2.0/UDP 192.168.11.114:2048;branch=z9hG4bK-tvjvt9yig0fa;rport=2048
Record-Route: <sip:192.168.0.121;lr=on;ftag=6x1mnpqt4y>
From: <sip:2907@ser.intern.snom.de;user=phone>;tag=6x1mnpqt4y
To: <sip:2909@ser.intern.snom.de>;tag=sguzxzo69f
Call-ID: 3c2e95bba335-u3t615usyfpk
CSeq: 3 NOTIFY
Content-Length: 0
Received from udp:192.168.0.121:5060 at 18/6/2009 13:36:59:670 (1326 bytes):

NOTIFY sip:2909@192.168.10.200:2048;line=q2ujnd09 SIP/2.0
Record-Route: <sip:192.168.0.121;lr=on;ftag=6x1mnpqt4y>
Via: SIP/2.0/UDP 192.168.0.121;branch=z9hG4bKb9a.df4e30a4.0
Via: SIP/2.0/UDP 192.168.11.114:2048;branch=z9hG4bK-b2mc81zsi45q;rport=2048
From: <sip:2907@ser.intern.snom.de;user=phone>;tag=6x1mnpqt4y
To: <sip:2909@ser.intern.snom.de>;tag=sguzxzo69f
Call-ID: 3c2e95bba335-u3t615usyfpk
CSeq: 4 NOTIFY
Max-Forwards: 69
Contact: <sip:2907@192.168.11.114:2048;line=pn7kq16b>;reg-id=1
Event: dialog;purpose=call-completion
Subscription-State: terminated
Content-Type: application/dialog-info+xml
Content-Length: 667
P-hint: rr-enforced

<?xml version="1.0"?>
<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="3" state="full" entity="sip:2907@ser.intern.snom.de;user=phone">
 <dialog id="-32" direction="recipient" call-id="3c2e95bb9ead-1d2pbx4kkk6x" local-tag="2hs8d9v0e1" remote-tag="3ar045fz7x">
  <state>confirmed</state>
  <local>
   <identity>sip:2907@ser.intern.snom.de;user=phone</identity>
   <target uri="sip:2907@192.168.11.114:2048;line=pn7kq16b">
    <param pname="x-line-id" pvalue="0" />
    <param pname="+sip.rendering" pvalue="yes" />
   </target>
  </local>
  <remote>
   <identity>sip:2909@ser.intern.snom.de</identity>
   <target uri="sip:2909@192.168.10.200:2048;line=q2ujnd09"/>
  </remote>
 </dialog>
</dialog-info>
Sent to udp:192.168.0.121:5060 at 18/6/2009 13:36:59:727 (397 bytes):

SIP/2.0 200 Ok
Via: SIP/2.0/UDP 192.168.0.121;branch=z9hG4bKb9a.df4e30a4.0
Via: SIP/2.0/UDP 192.168.11.114:2048;branch=z9hG4bK-b2mc81zsi45q;rport=2048
Record-Route: <sip:192.168.0.121;lr=on;ftag=6x1mnpqt4y>
From: <sip:2907@ser.intern.snom.de;user=phone>;tag=6x1mnpqt4y
To: <sip:2909@ser.intern.snom.de>;tag=sguzxzo69f
Call-ID: 3c2e95bba335-u3t615usyfpk
CSeq: 4 NOTIFY
Content-Length: 0
Received from udp:192.168.0.121:5060 at 18/6/2009 13:36:59:735 (406 bytes):

SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.10.200:2048;branch=z9hG4bK-rbaszu7mkiy0;rport=2048
Record-Route: <sip:192.168.0.121;lr=on;ftag=sguzxzo69f>
From: <sip:2909@ser.intern.snom.de>;tag=sguzxzo69f
To: <sip:2907@ser.intern.snom.de;user=phone>;tag=6x1mnpqt4y
Call-ID: 3c2e95bba335-u3t615usyfpk
CSeq: 2 SUBSCRIBE
Contact: <sip:2907@192.168.11.114:2048;line=pn7kq16b>
Expires: 0
Content-Length: 0
Personal tools
Interoperability