Table of Contents
List of Tables
List of Examples
The pua_mi offers the possibility to publish presence information and subscribe to presence information via MI transports.
Using this module you can create independent applications/scripts to publish not sip-related information (e.g., system resources like CPU-usage, memory, number of active subscribers ...). Also, this module allows non-SIP speaking applications to subscribe presence information kept in a SIP presence server.
Command parameters:
presentity_uri - e.g. sip:system@opensips.org
expires - Relative expires time in seconds (e.g. 3600).
event package - Event package that is target of published information (e.g. presence).
content type - Content type of published information (e.g. application/pidf+xml) or . if no information is enclosed.
ETag - ETag that publish should match or . if no ETag is given.
extra_headers - Extra headers added to PUBLISH request or . if no extra headers.
body - The body of the publish request containing published information or missing if no published information. It has to be a single line for FIFO transport.
Example 1.2. pua_publish
FIFO example
... :pua_publish:fifo_test_reply sip:system@opensips.org 3600 presence application/pidf+xml . . <?xml version='1.0'?><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='system@opensips.org'><tuple id='0x81475a0'><status><basic>open</basic></status></tuple><dm:person id='pdd748945'><rpid:activities><rpid:away/>away</rpid:activities><dm:note>CPU:16 MEM:476</dm:note></dm:person></presence>
Table 2.1. Top contributors by DevScore(1), authored commits(2) and lines added/removed(3)
Name | DevScore | Commits | Lines ++ | Lines -- | |
---|---|---|---|---|---|
1. | Anca Vamanu | 30 | 15 | 1246 | 267 |
2. | Bogdan-Andrei Iancu (@bogdan-iancu) | 15 | 13 | 41 | 53 |
3. | Juha Heinanen (@juha-h) | 11 | 7 | 160 | 73 |
4. | Daniel-Constantin Mierla (@miconda) | 9 | 7 | 32 | 29 |
5. | Liviu Chircu (@liviuchircu) | 8 | 6 | 21 | 36 |
6. | Razvan Crainea (@razvancrainea) | 6 | 4 | 11 | 14 |
7. | Ovidiu Sas (@ovidiusas) | 3 | 1 | 13 | 2 |
8. | Konstantin Bokarius | 3 | 1 | 2 | 5 |
9. | Edson Gellert Schubert | 3 | 1 | 0 | 103 |
10. | Julien Blache | 1 | 1 | 0 | 0 |
(1) DevScore = author_commits + author_lines_added / (project_lines_added / project_commits) + author_lines_deleted / (project_lines_deleted / project_commits)
(2) including any documentation-related commits, excluding merge commits. Regarding imported patches/code, we do our best to count the work on behalf of the proper owner, as per the "fix_authors" and "mod_renames" arrays in opensips/doc/build-contrib.sh. If you identify any patches/commits which do not get properly attributed to you, please submit a pull request which extends "fix_authors" and/or "mod_renames".
(3) ignoring whitespace edits, renamed files and auto-generated files
Table 2.2. Most recently active contributors(1) to this module
Name | Commit Activity | |
---|---|---|
1. | Bogdan-Andrei Iancu (@bogdan-iancu) | Dec 2006 - Jun 2018 |
2. | Liviu Chircu (@liviuchircu) | Mar 2014 - Jun 2018 |
3. | Razvan Crainea (@razvancrainea) | Sep 2011 - Aug 2015 |
4. | Ovidiu Sas (@ovidiusas) | Jan 2013 - Jan 2013 |
5. | Anca Vamanu | Nov 2006 - Aug 2010 |
6. | Juha Heinanen (@juha-h) | Apr 2007 - May 2008 |
7. | Daniel-Constantin Mierla (@miconda) | Feb 2007 - Mar 2008 |
8. | Konstantin Bokarius | Mar 2008 - Mar 2008 |
9. | Edson Gellert Schubert | Feb 2008 - Feb 2008 |
10. | Julien Blache | Mar 2007 - Mar 2007 |
(1) including any documentation-related commits, excluding merge commits
Last edited by: Bogdan-Andrei Iancu (@bogdan-iancu), Liviu Chircu (@liviuchircu), Razvan Crainea (@razvancrainea), Anca Vamanu, Juha Heinanen (@juha-h), Daniel-Constantin Mierla (@miconda), Konstantin Bokarius, Edson Gellert Schubert.
doc copyrights:
Copyright © 2006 Voice Sistem SRL