cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Cisco Community Designated VIP Class of 2020

SUBSCRIBE for kpml notification

634
Views
0
Helpful
0
Comments
This document was generated from CDN thread

Created by: Eichelmann Nico on 10-01-2014 05:10:56 AM
Hi,

i want to subscribe for kpml events on a SIP trunk but on any SUBSCRIBE request that my recording application sends, a 489 Bad Event is received.
As the kpml event support is announced previously within the INVITE and ACK messages i had expected that a subscription of kpml events should be supported.

Are there any special configuration parameters that i need to set?

involved components:
192.168.170.2  := Cisco-CUCM9.1
192.168.169.39 := CallRecorder (uses sip trunk at 8892)
two cisco phones that use kpml

The SIP ACK message after which the normal recording is active.
Here it says: Allow-Events: presence,kpml

ACK sip:8892@192.168.169.39:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 192.168.170.2:5060;branch=z9hG4bK5c1b6db976b8
From: <sip:565@192.168.170.2;x-nearend;x-refci=20275878;x-nearenddevice=SEPFCFBFB10FE1E;x-farendrefci=20275877;x-farenddevice=SEP108CCF757DDF;x-farendaddr=564>;tag=29949~1c78fc27-3dbe-4070-be2a-79f26f25a992-20275885
To: <sip:8892@192.168.169.39>;tag=1ed6074f
Date: Fri, 10 Jan 2014 07:07:19 GMT
Call-ID: d6be3300-2cf19c27-5234-2aaa8c0@192.168.170.2
Max-Forwards: 70
CSeq: 101 ACK
Allow-Events: presence,kpml
Content-Type: application/sdp
Content-Length: 252
...

---
This is my SIP-SUBSCRIBE request. The events parameters are taken from the previous ACK.

SUBSCRIBE sip:565@192.168.170.2:5060 SIP/2.0
Call-ID: e65fee081b8680c1feca6f1f0631abdb@192.168.169.39
CSeq: 1 SUBSCRIBE
From: "8892" <sip:8892@192.168.170.2:5060>;tag=8a8f058
To: "565" <sip:565@192.168.170.2:5060>
Via: SIP/2.0/UDP 192.168.169.39:5060;branch=z9hG4bK-353530-8fa48d9f43588c0d42751dce53252426
Max-Forwards: 70
Contact: "8892" <sip:8892@192.168.169.39:5060;transport=udp>
Expires: 3600
Event: kpml;local-tag=sip:8892@192.168.169.39;tag=1ed6074f;remote-tag=sip:565@192.168.170.2;tag=29949~1c78fc27-3dbe-4070-be2a-79f26f25a992-20275885;call-id=d6be3300-2cf19c27-5234-2aaa8c0@192.168.170.2
User-Agent: TheAgent
Accept: application/kpml-response+xml
Content-Type: application/kpml-request+xml
Content-Length: 310

<?xml version="1.0" encoding="UTF-8"?><kpml-request xmlns="urn:ietf:params:xml:ns:kpml-request" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:ietf:params:xml:ns:kpml-request kpml-request.xsd" version="1.0"><pattern persist="one-shot"><regex>xxxx</regex></pattern></kpml-request>

---
And this is the answer that i get for the previous SUBSCRIBE request.

SIP/2.0 489 Bad Event
Via: SIP/2.0/UDP 192.168.169.39:5060;branch=z9hG4bK-353530-8fa48d9f43588c0d42751dce53252426
From: "8892" <sip:8892@192.168.170.2:5060>;tag=8a8f058
To: "565" <sip:565@192.168.170.2:5060>;tag=1088670090
Date: Fri, 10 Jan 2014 07:07:19 GMT
Call-ID: e65fee081b8680c1feca6f1f0631abdb@192.168.169.39
CSeq: 1 SUBSCRIBE
Allow-Events: presence
Content-Length: 0


Or maybe there is something wrong with my SUBSCRIBE that i currently don't see.

Thanks and Regards,
Nico
CreatePlease to create content
Content for Community-Ad
FusionCharts will render here