[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 Jan 13 05:40:20 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13996 
====================================================================== 
Reported By:                Nugget
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13996
Category:                   Channels/chan_sip/Subscriptions
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     confirmed
Asterisk Version:           1.6.0.1 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-11-30 15:13 CST
Last Modified:              2009-01-13 05:40 CST
====================================================================== 
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.
====================================================================== 

---------------------------------------------------------------------- 
 (0097569) jbrookes (reporter) - 2009-01-13 05:40
 http://bugs.digium.com/view.php?id=13996#c97569 
---------------------------------------------------------------------- 
I have access to a CUCM7 lab installation with a 7961 and 2 x 7941s,
running SIP load SIP41.8-4-2S. 7961 (ext 8002) has SD BLFs configured for
the 7941s (ext's 8001 and 8003). Attached are the Wireshark captures
containing the XML syntax necessary for updating these BLFs. If you require
the config XML of the 7961 I will attach it here. Keen to work with someone
on this. One difference I have noticed is in the <line> definition - there
is a new tag of <featureOptionMask> after the speeddial tag, with a value
of 1, which I have not seen before.

Not sure whether this is the right place to detail this; if not, please
advise alternative method. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-13 05:40 jbrookes       Note Added: 0097569                          
======================================================================




More information about the asterisk-bugs mailing list