Hello,
maybe it makes sense to reach out to the author of this module as well? It could be also
integrated into the official codebase, with some documentation, if somebody wants to do
the work and take over the maintenance.
Cheers,
Henning
-----Original Message-----
From: dries--- via sr-users <sr-users(a)lists.kamailio.org>
Sent: Donnerstag, 14. November 2024 15:13
To: sr-users(a)lists.kamailio.org
Cc: dries(a)degendt.com
Subject: [SR-Users] Re: Pua PUBLISH method over xmlrpc/jsonrpc
Hi Daniel,
Thanks, that did the trick!
I'm still struggling with the necessary payload as the unofficial
"dfks_presence"
is fairly undocumented, but hopefully someone can provide some insights
here. This was an attempt to "translate" the following example command to
xmlrpc
kamctl fifo pua_publish sip:1000@10.10.99.254 3600 as-feature-event
application/x-as-feature-event+xml . . . "<?xml version='1.0'
encoding='ISO-8859-
1'?><ForwardingEvent><device><notKnown/></device><forwardingType>for
wardImmediate</forwardingType><forwardStatus>true</forwardStatus><for
wardTo>1234</forwardTo></ForwardingEvent>"
curl -H "Content-Type: text/xml" -X POST -d '<?xml
version="1.0" ?>
<methodCall>
<methodName>pua.publish</methodName>
<params>
<param><value><string>sip:1000@10.10.99.254</string></value></param>
<param><value><int>3600</int></value></param>
<param><value><string>as-feature-event</string></value></param>
<param><value><string>application/x-as-feature-
event+xml</string></value></param>
<param><value><string>.</string></value></param>
<param><value><string>.</string></value></param>
<param><value><string>.</string></value></param>
<param>
<value>
<string>
<![CDATA[<?xml version="1.0"
encoding="ISO-8859-1"?>
<ForwardingEvent>
<device><notKnown/></device>
<forwardingType>forwardImmediate</forwardingType>
<forwardStatus>true</forwardStatus>
<forwardTo>1234</forwardTo>
</ForwardingEvent>]]>
</string>
</value>
</param>
</params>
</methodCall>'
https://sbctest.tel.redacted.xx:5061/RPC/
Regards,
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe
send an email to sr-users-leave(a)lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the
sender!
Edit mailing list options or unsubscribe: