Iñaki Baz Castillo wrote: > 2010/4/14 Anca Vamanu <[email protected]>: > >> Therefore, we decided to mix the dialog information with presence at the >> presence server. Now, the presence server is able to tell you if a buddy >> is in a call through presence Notifications even if his phone did not >> send a presence Publish with this information. The mixing in fact >> generates presence from dialog info when a call is in progress and mixes >> this with the presence information received from his phone through >> Publish. The result is that when a buddy is in a call you will see a >> status indicating this and in the rest of the time you will see the >> presence state that the buddy set in his client. >> > > Hi, this feature sounds really reasonable for the real world in which we live > :) > Could I see how such NOTIFY (mixing presence and dialog information) > looks? (just an example). > > Thanks. > > Hi Inaki,
The mixing is done as until now, no changes in this part. The presence info extracted from dialog is considered to have the greatest priority and is inserted the first. Here is an example: <?xml version="1.0" encoding="UTF-8"?> <presence xmlns="urn:ietf:params:xml:ns:pidf" xmlns:dm="urn:ietf:params:xml:ns:pidf:data-model" xmlns:rpid="urn:ietf:params:xml:ns:pidf:rpid" xmlns:c="urn:ietf:params:xml:ns:pidf:cipid" entity="sip:[email protected]"> <tuple xmlns="urn:ietf:params:xml:ns:pidf" id="tuple_mixingid"> <status> <basic>open</basic> </status> </tuple> <note xmlns="urn:ietf:params:xml:ns:pidf">On the phone</note> <dm:person xmlns:dm="urn:ietf:params:xml:ns:pidf:data-model" xmlns:rpid="urn:ietf:params:xml:ns:pidf:rpid" id="pers_mixingid"> <rpid:activities> <rpid:on-the-phone/> </rpid:activities> <dm:note>On the phone</dm:note> </dm:person> <tuple id="tab31c654"> <status> <basic>open</basic> </status> </tuple> <dm:person id="p9e054e30"> <rpid:activities> <rpid:busy/> </rpid:activities> <dm:note>Busy</dm:note> </dm:person> </presence> Regards, -- Anca Vamanu www.voice-system.ro _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
