cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1179
Views
0
Helpful
0
Comments
cdnadmin
Community Member
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:[email protected]:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 192.168.170.2:5060;branch=z9hG4bK5c1b6db976b8
From: <sip:[email protected];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:[email protected]>;tag=1ed6074f
Date: Fri, 10 Jan 2014 07:07:19 GMT
Call-ID: [email protected]
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:[email protected]:5060 SIP/2.0
Call-ID: [email protected]
CSeq: 1 SUBSCRIBE
From: "8892" <sip:[email protected]:5060>;tag=8a8f058
To: "565" <sip:[email protected]:5060>
Via: SIP/2.0/UDP 192.168.169.39:5060;branch=z9hG4bK-353530-8fa48d9f43588c0d42751dce53252426
Max-Forwards: 70
Contact: "8892" <sip:[email protected]:5060;transport=udp>
Expires: 3600
Event: kpml;local-tag=sip:[email protected];tag=1ed6074f;remote-tag=sip:[email protected];tag=29949~1c78fc27-3dbe-4070-be2a-79f26f25a992-20275885;[email protected]
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:[email protected]:5060>;tag=8a8f058
To: "565" <sip:[email protected]:5060>;tag=1088670090
Date: Fri, 10 Jan 2014 07:07:19 GMT
Call-ID: [email protected]
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
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links