summaryrefslogtreecommitdiff
path: root/channels/sip
diff options
context:
space:
mode:
authorOlle Johansson <oej@edvina.net>2011-09-12 13:57:57 +0000
committerOlle Johansson <oej@edvina.net>2011-09-12 13:57:57 +0000
commit404151ad65b8219c1101863665f59f4f5566858f (patch)
tree5ad9f2a00ff6df00913d73a293def897d02d6d03 /channels/sip
parente4a11bcb6e1738bffe7c4c36d974b5266b78f969 (diff)
New sip.conf option for setting default tonezone for channel or individual devices
Review: https://reviewboard.asterisk.org/r/1429/ (closes issue ASTERISK-18497) Thanks to russellb for peer review. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@335325 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/sip')
-rw-r--r--channels/sip/include/sip.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/channels/sip/include/sip.h b/channels/sip/include/sip.h
index fe2933bfa..5018f0f83 100644
--- a/channels/sip/include/sip.h
+++ b/channels/sip/include/sip.h
@@ -32,6 +32,7 @@
#include "asterisk/channel.h"
#include "asterisk/app.h"
#include "asterisk/astobj.h"
+#include "asterisk/indications.h"
#ifndef FALSE
#define FALSE 0
@@ -1030,6 +1031,7 @@ struct sip_pvt {
struct t38properties t38; /*!< T38 settings */
struct ast_sockaddr udptlredirip; /*!< Where our T.38 UDPTL should be going if not to us */
struct ast_udptl *udptl; /*!< T.38 UDPTL session */
+ char zone[MAX_TONEZONE_COUNTRY]; /*!< Default tone zone for channels created by this dialog */
int callingpres; /*!< Calling presentation */
int expiry; /*!< How long we take to expire */
int sessionversion; /*!< SDP Session Version */
@@ -1199,6 +1201,7 @@ struct sip_peer {
AST_STRING_FIELD(mwi_from); /*!< Name to place in From header for outgoing NOTIFY requests */
AST_STRING_FIELD(engine); /*!< RTP Engine to use */
AST_STRING_FIELD(unsolicited_mailbox); /*!< Mailbox to store received unsolicited MWI NOTIFY messages information in */
+ AST_STRING_FIELD(zone); /*!< Tonezone for this device */
);
struct sip_socket socket; /*!< Socket used for this peer */
enum sip_transport default_outbound_transport; /*!< Peer Registration may change the default outbound transport.