[asterisk-bugs] [Asterisk 0013996]: [patch] Presence subscription on Cisco SIP phone needs special Cisco-styled XML

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Aug 4 14:24:47 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=13996 
====================================================================== 
Reported By:                Nugget
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   13996
Category:                   Channels/chan_sip/NewFeature
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     assigned
Target Version:             1.6.x Version Tracker
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2008-11-30 15:13 CST
Last Modified:              2009-08-04 14:24 CDT
====================================================================== 
Summary:                    [patch] Presence subscription on Cisco SIP phone
needs special Cisco-styled XML
Description: 
Cisco phones appear to be unable to parse the existing PIDF XML being
generated by Asterisk for presence notification.  I've attached a patch
which produces well-formed (but incomplete) XML which will satisfy a Cisco
phone.  The patch as supplied will successfully render a "busy"
subscription, but does not send a subsequent "available" notification, so
presence detection only half works currently.

I suspect the next step might be to watch some CallManager SIP traffic to
identify precisely what XML tags the phone is expecting in order to
properly parse an available subscription, but I'm not in a position to do
that.  I'll continue to work with this, though, and perhaps may be able to
stumble upon the precise data the Cisco phone is looking for.
====================================================================== 

---------------------------------------------------------------------- 
 (0108612) garys (reporter) - 2009-08-04 14:24
 https://issues.asterisk.org/view.php?id=13996#c108612 
---------------------------------------------------------------------- 
I've played around with this a bit myself and ce:alerting doesn't really
seem to do a thing.  I'm wondering if it only applies to a phone that's
receiving a call and is meaningless as far as presence is concerned.  From
a strictly presence POV, I'd rather use ce:on-the-phone for INUSE, BUSY,
RINGING, and ONHOLD myself.

There is, however another interesting command that I'm trying to figure
out how to implement - it's ce:dnd - it lights the red lamp and puts a big
red 'X' on the phone icon.  I'm not sure how to do it yet, but I'd like to
set the phone state to UNAVAILABLE whenever a phone goes on dnd and use
ce:dnd to indicate that fact on the phone and/or side-car 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-04 14:24 garys          Note Added: 0108612                          
======================================================================




More information about the asterisk-bugs mailing list