aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
authoroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2009-02-02 10:46:19 +0000
committeroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2009-02-02 10:46:19 +0000
commitaefd318d0ab4940def995454eed86bacf67700e8 (patch)
tree4c05befea63c239b8c20812fc00cee84deb32f3d /channels/chan_sip.c
parentee78a4c03eb1f5bc7c7b51da89310936eae1846b (diff)
Add a todo. I do need to really check what's going on with this kill-the-user business ;-)
Why do we suddenly have two flags to set peer type? git-svn-id: http://svn.digium.com/svn/asterisk/trunk@172818 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r--channels/chan_sip.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 508f2ec6b..896cce402 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -1864,7 +1864,6 @@ struct sip_peer {
char rt_fromcontact; /*!< copy fromcontact from realtime */
char host_dynamic; /*!< Dynamic Peers register with Asterisk */
char selfdestruct; /*!< Automatic peers need to destruct themselves */
- char onlymatchonip; /*!< Only match on IP for incoming calls (old type=peer) */
char the_mark; /*!< moved out of ASTOBJ into struct proper; That which bears the_mark should be deleted! */
int expire; /*!< When to expire this peer registration */
@@ -1896,7 +1895,10 @@ struct sip_peer {
int timer_t1; /*!< The maximum T1 value for the peer */
int timer_b; /*!< The maximum timer B (transaction timeouts) */
int deprecated_username; /*!< If it's a realtime peer, are they using the deprecated "username" instead of "defaultuser" */
+
+ /*XXX Seems like we suddenly have two flags with the same content. Why? To be continued... */
enum sip_peer_type type; /*!< Distinguish between "user" and "peer" types. This is used solely for CLI and manager commands */
+ char onlymatchonip; /*!< Only match on IP for incoming calls (old type=peer) */
};