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:[email protected] 3600 as-feature-event
application/x-as-feature-event+xml . . . "<?xml version='1.0'
encoding='ISO-8859-1'?><ForwardingEvent><device><notKnown/></device><forwardingType>forwardImmediate</forwardingType><forwardStatus>true</forwardStatus><forwardTo>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:[email protected]</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 [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:

Reply via email to