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

Asterisk Bug Tracker noreply at bugs.digium.com
Sat Feb 7 07:22:53 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!):  
Request Review:              
====================================================================== 
Date Submitted:             2008-11-30 15:13 CST
Last Modified:              2009-02-07 07:22 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0099665) jbrookes (reporter) - 2009-02-07 07:22
 http://bugs.digium.com/view.php?id=13996#c99665 
---------------------------------------------------------------------- 
I have attached 2 new captures. Extensions 8001 and 8003 are 79x1 phones (a
7941 and a 7961), extension 8007 is a 7965. The 7965 is setup to monitor
both 8001 and 8003 (see attached config XML for 7965). The captures should
show the sequence of events required to correctly show status of monitored
extensions on the 7965 on the various ringing/busy/answer states. I cannot
get pickup to work on CUCM by pressing the corresponding blinking BLF key -
but that is most likely a setting I need to configure... any tips or links
to get that setup would be great, and I will post the captures of the
process here. The new parts of the config XML are also worth noting. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-02-07 07:22 jbrookes       Note Added: 0099665                          
======================================================================




More information about the asterisk-bugs mailing list