Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#167 Problems while fetching an XML doc from Mobicents XDMS

1.5.x
open
Anca Vamanu
modules (454)
2
2009-10-05
2009-08-06
Andaleeb Roomy
No

Please see the details here: http://lists.opensips.org/pipermail/devel/2009-August/003858.html
You can also see the previous posts of the same subject "Interaction with Mobicents XDMS" in July and August 2009 archives of OpenSIPS devel list.

Discussion

  • Hi, I paste the HTTP trace from the report in the devel list:

    ---------------------------------------
    GET /mobicents/org.openmobilealliance.pres-rules/users/sip:andaleeb1@192.168.0.133/pres-rules
    HTTP/1.1
    Host: 192.168.0.130:8080
    Accept: */*

    HTTP/1.1 200 OK
    Server: Apache-Coyote/1.1
    X-Powered-By: Servlet 2.4; JBoss-4.2.3.GA (build:
    SVNTag=JBoss_4_2_3_GA date=200807181417)/JBossWeb-2.0
    ETag: e46fe7c0be72de3551608c84e5ea36b0
    Content-Type: application/auth-policy+xml;charset=ISO-8859-1
    Content-Length: 2683
    Date: Mon, 27 Jul 2009 04:35:42 GMT

    <?xml version="1.0" encoding="UTF-8"?><cr:ruleset
    xmlns:cr="urn:ietf:params:xml:ns:common-policy"
    xmlns="urn:ietf:params:xml:ns:pres-rules"
    xmlns:ocp="urn:oma:xml:xdm:common-policy"
    xmlns:op="urn:oma:xml:prs:pres-rules">
    <cr:rule id="wp_prs_allow_own">
    <cr:conditions>
    <cr:identity>
    <cr:one id="sip:andaleeb1@192.168.0.133"/>
    </cr:identity>
    </cr:conditions>
    <cr:actions>
    <sub-handling>allow</sub-handling>
    </cr:actions>
    <cr:transformations>
    <provide-services>
    <all-services/>
    </provide-services>
    <provide-persons>
    <all-persons/>
    </provide-persons>
    <provide-all-attributes/>
    <provide-devices>
    <all-devices/>
    </provide-devices>
    </cr:transformations>
    </cr:rule>
    <cr:rule id="rcs_allow_services_anonymous">
    <cr:conditions>
    <ocp:anonymous-request/>
    </cr:conditions>
    <cr:actions>
    <sub-handling>allow</sub-handling>
    </cr:actions>
    <cr:transformations>
    <provide-services>
    <all-services/>
    </provide-services>
    <provide-persons>
    <all-persons/>
    </provide-persons>
    <provide-all-attributes/>
    <provide-devices>
    <all-devices/>
    </provide-devices>
    </cr:transformations>
    </cr:rule>
    <cr:rule id="wp_prs_unlisted">
    <cr:conditions>
    <ocp:other-identity/>
    </cr:conditions>
    <cr:actions>
    <sub-handling>confirm</sub-handling>
    </cr:actions>
    </cr:rule>
    <cr:rule id="wp_prs_grantedcontacts">
    <cr:conditions>
    <ocp:external-list>
    <ocp:entry
    anc="http://192.168.0.130:8080/mobicents/resource-lists/users/sip:andaleeb1@192.168.0.133/index/~~/resource-lists/list%5B@name=%22oma_grantedcontacts%22%5D"/>
    </ocp:external-list>
    </cr:conditions>
    <cr:actions>
    <sub-handling>allow</sub-handling>
    </cr:actions>
    <cr:transformations>
    <provide-services>
    <all-services/>
    </provide-services>
    <provide-persons>
    <all-persons/>
    </provide-persons>
    <provide-all-attributes/>
    <provide-devices>
    <all-devices/>
    </provide-devices>
    </cr:transformations>
    </cr:rule>
    <cr:rule id="wp_prs_blockedcontacts">
    <cr:conditions>
    <ocp:external-list>
    <ocp:entry
    anc="http://192.168.0.130:8080/mobicents/resource-lists/users/sip:andaleeb1@192.168.0.133/index/~~/resource-lists/list%5B@name=%22oma_blockedcontacts%22%5D"/>
    </ocp:external-list>
    </cr:conditions>
    <cr:actions>
    <sub-handling>block</sub-handling>
    </cr:actions>
    </cr:rule>
    </cr:ruleset>
    ---------------------------------------

    First of all note that OpenSIPS presence module doesn't, still, fetch resource lists when they are used into a pres-rules document.

     
    • assigned_to: nobody --> anca_vamanu
     
  • Anca Vamanu
    Anca Vamanu
    2009-09-29

    Hi Anadaleeb,

    The xcap_client module has been tested more and the issues reported in the thread you gave as reference are not actual. Can you please take the latest version and test with that?\

    Regards,
    Anca

     
  • Anca Vamanu
    Anca Vamanu
    2009-10-05

    • priority: 5 --> 2