[OpenSIPS-Users] OpenXCAP and Open IMS

Kenneth Löfstrand kenneth at ip-solutions.se
Mon Dec 8 08:09:26 CET 2008


I'm using the presence server that comes in Opensips 1.4

Regards
Kenneth


Adrian Georgescu skrev:
> May I ask which presence server uses presence-rules as AUID?
>
>
> Adrian
>
>
> On Dec 7, 2008, at 5:08 PM, Kenneth Löfstrand wrote:
>
>
>> Thanks for your replies, Adrian
>> to me OpenXCAP is generous enough to accept the two AUID's as you say 
>> but isn't the problem that I have to convince the presence server to 
>> use one of these. Currently it uses presence-rules as AUID.
>>
>> Regards
>> Kenneth
>>
>> Adrian Georgescu skrev:
>>
>>> It seems that on the README and wiki page the auid was incorrectly 
>>> displayed. I have corrected it. You can use either these two auids 
>>> to identify the presence rulles application:
>>>
>>> - pres-rules
>>> - org.openmobilealliance.pres-rules
>>>
>>> Examples for how to PUT/GET/DELETE documents on the XCAP server are 
>>> found here:
>>>
>>> http://download.ag-projects.com/OpenXCAP/clients/README.xcapclient
>>>
>>> You can also use the ready to use xcap_pres_rules.py script that 
>>> does it interactively in the console:
>>>
>>> http://sipsimpleclient.com/wiki/xcap_pres_rules
>>>
>>> Regards,
>>> Adrian
>>>
>>> On Dec 6, 2008, at 11:51 AM, Kenneth Löfstrand wrote:
>>>
>>>> So how do I try that? I cannot find where to specify which AUID to 
>>>> be used by the presence server
>>>>
>>>> /Kenneth
>>>>
>>>>
>>>> Adrian Georgescu skrev:
>>>>> Try pres-rules instead of presence rules. If you PUT pres-rules 
>>>>> you cannot obtain the same result back by doing GET presence-rules
>>>>>
>>>>>
>>>>> Adrian
>>>>>
>>>>>
>>>>>
>>>>> On Dec 5, 2008, at 5:39 PM, Kenneth Löfstrand wrote:
>>>>>
>>>>>
>>>>>> Hi
>>>>>> I have started playing around with the combination Open IMS/Presence,
>>>>>> OpenXCAP and OpenIMS. Currently OpenXCAP and the presence server are
>>>>>> installed in the same PC and the Open IMS stuff in other PC's. I can
>>>>>> have a terminal sending XCAP requests to OpenXCAP and I can subscribe
>>>>>> and publish to the presence server through the IMS network but the
>>>>>> presence server doesn't care about the presence rule documents.
>>>>>>
>>>>>> When sending the XCAP PUT request I use the command:
>>>>>>
>>>>>> PUT 
>>>>>> org.openmobilealliance.pres-rules/users/sip:alice at mydomain/pres-rules
>>>>>>
>>>>>> no problem so far and the document can also be retreived.
>>>>>>
>>>>>> When bob subscribes for alice presence information I can see that the
>>>>>> presence server sends a GET request using another AUID:
>>>>>>
>>>>>> GET presence-rules/users/sip:alice at mydomain/index
>>>>>>
>>>>>> and this results in a 404 error response. Why getting the index 
>>>>>> instead
>>>>>> of pres-rules?
>>>>>>
>>>>>> From what I understand the AUID is defined in a different way by IETF
>>>>>> and OMA. How can this be handled by OpenIMS/OpenXCAP/OpenSIPS?
>>>>>>
>>>>>> Best regards
>>>>>> Kenneth Löfstrand
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Users mailing list
>>>>>> Users at lists.opensips.org <mailto:Users at lists.opensips.org> 
>>>>>> <mailto:Users at lists.opensips.org>
>>>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>>>
>>>>>
>>>>
>>>
>>
>




More information about the Users mailing list