From a7c38428af5da34b99334ad384976c1330c9b569 Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Mon, 5 Jan 2015 17:51:59 +0000 Subject: pjsip: Add 'PJSIP_AOR' and 'PJSIP_CONTACT' dialplan functions. The PJSIP_AOR dialplan function allows inspection of configured AORs including what contacts are currently bound to them. The PJSIP_CONTACT dialplan function allows inspection of contacts in existence. These can include both externally added (by way of registration) or permanent ones. ASTERISK-24341 Reported by: xrobau Review: https://reviewboard.asterisk.org/r/4308/ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@430179 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- include/asterisk/res_pjsip_session.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/asterisk/res_pjsip_session.h') diff --git a/include/asterisk/res_pjsip_session.h b/include/asterisk/res_pjsip_session.h index 48d5a4712..75e7f1397 100644 --- a/include/asterisk/res_pjsip_session.h +++ b/include/asterisk/res_pjsip_session.h @@ -105,6 +105,8 @@ struct ast_sip_session { char exten[AST_MAX_EXTENSION]; /*! The endpoint with which Asterisk is communicating */ struct ast_sip_endpoint *endpoint; + /*! The AOR associated with this session */ + struct ast_sip_aor *aor; /*! The contact associated with this session */ struct ast_sip_contact *contact; /*! The PJSIP details of the session, which includes the dialog */ -- cgit v1.2.3