[OpenSIPS-Users] Relaying custom header(s) in presence
Ovidiu Sas
osas at voipembedded.com
Wed Oct 13 18:45:59 CEST 2010
Hello all,
The current implementation of the pua module allows sending custom
headers in PUBLISH requests.
I would like to have the ability to save those headers in the presence
server and relay them to presence subscribers via notifications
(NOTIFY requests).
This would require adding a new field to the presentity table to store
the extra header(s).
Each registered event must provide a list of headers to store (none
given, none stored).
When a PUBLISH is received, if there are header(s) to be saved, those
header(s) will be saved along with the body.
When the NOTIFY request is prepared, if extra header(s) are available,
then those header(s) will be appended to the request.
Regards,
Ovidiu Sas
More information about the Users
mailing list