publish.sn 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. # File used to test embedded scenarios
  2. ++pub --to sip:$$(user)@$$(domain) --caps +g.oma.sip-im --caps language="en,fr" --header Content-Type=application/pidf+xml @@a --pay \
  3. <?xml version=1.0 encoding=utf-8?>\
  4. <presence xmlns:cp=urn:ietf:params:xml:ns:pidf:cipid xmlns:caps=urn:ietf:params:xml:ns:pidf:caps xmlns:rpid=urn:ietf:params:xml:ns:pidf:rpid xmlns:pdm=urn:ietf:params:xml:ns:pidf:data-model xmlns:p=urn:ietf:params:xml:ns:pidf-diff xmlns:op=urn:oma:xml:prs:pidf:oma-pres entity=sip:$$(user)@$$(domain) xmlns=urn:ietf:params:xml:ns:pidf>\
  5. <pdm:person id=CRUVREZS>\
  6. <op:overriding-willingness>\
  7. <op:basic>open</op:basic>\
  8. </op:overriding-willingness>\
  9. <rpid:activities>\
  10. <rpid:unknown />\
  11. </rpid:activities>\
  12. <rpid:mood>\
  13. <rpid:neutral />\
  14. </rpid:mood>\
  15. <pdm:note>Hello world</pdm:note>\
  16. </pdm:person>\
  17. <pdm:device id=d0001>\
  18. <status>\
  19. <basic>open</basic>\
  20. </status>\
  21. <caps:devcaps>\
  22. <caps:mobility>\
  23. <caps:supported>\
  24. <caps:fixed />\
  25. </caps:supported>\
  26. </caps:mobility>\
  27. </caps:devcaps>\
  28. <op:network-availability>\
  29. <op:network id=IMS>\
  30. <op:active />\
  31. </op:network>\
  32. </op:network-availability>\
  33. <pdm:deviceID>urn:uuid:00000000-0000-0000-0000-000000000000</pdm:deviceID>\
  34. </pdm:device>\
  35. </presence> >>(pub-sid) @@a