Adapted sip_auto_publish_presence script to new XML API

darcs-hash:20090211182610-1e3d8-60910b58708247935d8254a66d2899b4e4fdc0c0
Adapted sip_auto_publish_presence script to the notification system

darcs-hash:20090211182631-1e3d8-6d629dc2aafac015ed36899b546dbb622d7d53c5