search for: presence_xml

Displaying 2 results from an estimated 2 matches for "presence_xml".

2020 Jun 10
2
asterisk hints can be in multiple states; most sip NOTIFY dialogs only send one state
...l. Generalising it for other formats is left as an exercise for the reader. Of course chan_sip is obsolete.  How might this be done for chan_pjsip?  Parts of the code are similar, but the layering is vastly different.  How could the ast_sip_presence_exten_state_to_str function in res/res_pjsip/presence_xml.c get at the pjsip configuration? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20200610/24d08c9b/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Nam...
2020 Jun 10
0
asterisk hints can be in multiple states; most sip NOTIFY dialogs only send one state
...for other formats is left as an exercise for the reader. > > Of course chan_sip is obsolete. How might this be done for chan_pjsip? > Parts of the code are similar, but the layering is vastly different. How > could the ast_sip_presence_exten_state_to_str function in > res/res_pjsip/presence_xml.c get at the pjsip configuration? > You wouldn't be able to access such information from ast_sip_presence_exten_state_to_str, that function is strictly for taking in instructions/data and producing the output. The user of it would need to pass in a value to turn on this new behavior. From t...