diff options
author | Joshua Colp <jcolp@digium.com> | 2013-06-22 14:03:22 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2013-06-22 14:03:22 +0000 |
commit | 77002bc377f19ea11e60732c486b6ef371688773 (patch) | |
tree | c19fd245c519c6d7905403849a7af9c7e4a4be3e /include/asterisk/res_sip_pubsub.h | |
parent | ea03516cb5426915d183526335d3a7d662ea29dc (diff) |
Merge in current pimp_my_sip work, including:
1. Security events
2. Websocket support
3. Diversion header + redirecting support
4. An anonymous endpoint identifier
5. Inbound extension state subscription support
6. PIDF notify generation
7. One touch recording support (special thanks Sean Bright!)
8. Blind and attended transfer support
9. Automatic inbound registration expiration
10. SRTP support
11. Media offer control dialplan function
12. Connected line support
13. SendText() support
14. Qualify support
15. Inband DTMF detection
16. Call and pickup groups
17. Messaging support
Thanks everyone!
Side note: I'm reminded of the song "How Far We've Come" by Matchbox Twenty.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@392565 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/res_sip_pubsub.h')
-rw-r--r-- | include/asterisk/res_sip_pubsub.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/include/asterisk/res_sip_pubsub.h b/include/asterisk/res_sip_pubsub.h index 33614b285..be443299c 100644 --- a/include/asterisk/res_sip_pubsub.h +++ b/include/asterisk/res_sip_pubsub.h @@ -261,7 +261,22 @@ struct ast_taskprocessor *ast_sip_subscription_get_serializer(struct ast_sip_sub * \retval non-NULL The underlying pjsip_evsub */ pjsip_evsub *ast_sip_subscription_get_evsub(struct ast_sip_subscription *sub); - + +/*! + * \brief Get the underlying PJSIP dialog structure + * + * Call this function when information needs to be retrieved from the + * underlying pjsip dialog. + * + * This function, as well as all methods called on the pjsip_evsub should + * be done in a SIP servant thread. + * + * \param sub The subscription + * \retval NULL Failure + * \retval non-NULL The underlying pjsip_dialog + */ +pjsip_dialog *ast_sip_subscription_get_dlg(struct ast_sip_subscription *sub); + /*! * \brief Send a request created via a PJSIP evsub method * |