Child pages
  • Voicemail Web Service

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleExample getting voicemail messages using curl from CLI

$curl --digest -k --request GET https://200:123@localhost:8085/mailbox/200/mwi
Messages-Waiting: no
Voice-Message: 0/3 (0/0)
Code Block
titleTo mark User 200's message 00000080 as heard

$curl  --digest -k --request PUT https://200:123@localhost:8085/mailbox/200/message/00000080/heard
Code Block
titleTo delete a message

$curl --digest -k --request PUT https://200:123@localhost:8085/mailbox/200/message/00000018/delete
Code Block
titleGet all messages

$curl --digest -k --request GET https://200:123@localhost:8085/mailbox/200/messages
<message id=00000018 heard=true urgent=false folder=deleted duration=0 received=1171062204000/>
Code Block
titleUser 200's active greeting preference

$curl$curl  --digest -k --request GET https://200:123@localhost:8085/mailbox/200/preferences/activegreeting
standard