[asterisk-commits] file: branch 1.4 r43707 - in /branches/1.4: ./
channels/ include/asterisk/ main/
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Tue Sep 26 13:47:27 MST 2006
Author: file
Date: Tue Sep 26 15:47:26 2006
New Revision: 43707
URL: http://svn.digium.com/view/asterisk?rev=43707&view=rev
Log:
Merged revisions 43705 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r43705 | file | 2006-09-26 16:38:06 -0400 (Tue, 26 Sep 2006) | 2 lines
Use proper type to represent the group variable (issue #8025 reported by makoto)
........
Modified:
branches/1.4/ (props changed)
branches/1.4/.cleancount
branches/1.4/channels/chan_sip.c
branches/1.4/include/asterisk/channel.h
branches/1.4/main/cli.c
Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.
Modified: branches/1.4/.cleancount
URL: http://svn.digium.com/view/asterisk/branches/1.4/.cleancount?rev=43707&r1=43706&r2=43707&view=diff
==============================================================================
--- branches/1.4/.cleancount (original)
+++ branches/1.4/.cleancount Tue Sep 26 15:47:26 2006
@@ -1,1 +1,1 @@
-24
+25
Modified: branches/1.4/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_sip.c?rev=43707&r1=43706&r2=43707&view=diff
==============================================================================
--- branches/1.4/channels/chan_sip.c (original)
+++ branches/1.4/channels/chan_sip.c Tue Sep 26 15:47:26 2006
@@ -1311,7 +1311,7 @@
static int manager_sip_show_peers( struct mansession *s, struct message *m );
static int sip_show_peers(int fd, int argc, char *argv[]);
static int sip_show_objects(int fd, int argc, char *argv[]);
-static void print_group(int fd, unsigned int group, int crlf);
+static void print_group(int fd, ast_group_t group, int crlf);
static const char *dtmfmode2str(int mode) attribute_const;
static const char *insecure2str(int port, int invite) attribute_const;
static void cleanup_stale_contexts(char *new, char *old);
@@ -9382,7 +9382,7 @@
return RESULT_SUCCESS;
}
/*! \brief Print call group and pickup group */
-static void print_group(int fd, unsigned int group, int crlf)
+static void print_group(int fd, ast_group_t group, int crlf)
{
char buf[256];
ast_cli(fd, crlf ? "%s\r\n" : "%s\n", ast_print_group(buf, sizeof(buf), group) );
Modified: branches/1.4/include/asterisk/channel.h
URL: http://svn.digium.com/view/asterisk/branches/1.4/include/asterisk/channel.h?rev=43707&r1=43706&r2=43707&view=diff
==============================================================================
--- branches/1.4/include/asterisk/channel.h (original)
+++ branches/1.4/include/asterisk/channel.h Tue Sep 26 15:47:26 2006
@@ -404,8 +404,8 @@
unsigned int fout;
int hangupcause; /*!< Why is the channel hanged up. See causes.h */
struct varshead varshead; /*!< A linked list for channel variables */
- unsigned int callgroup; /*!< Call group for call pickups */
- unsigned int pickupgroup; /*!< Pickup group - which calls groups can be picked up? */
+ ast_group_t callgroup; /*!< Call group for call pickups */
+ ast_group_t pickupgroup; /*!< Pickup group - which calls groups can be picked up? */
unsigned int flags; /*!< channel flags of AST_FLAG_ type */
unsigned short transfercapability; /*!< ISDN Transfer Capbility - AST_FLAG_DIGITAL is not enough */
AST_LIST_HEAD_NOLOCK(, ast_frame) readq;
Modified: branches/1.4/main/cli.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/cli.c?rev=43707&r1=43706&r2=43707&view=diff
==============================================================================
--- branches/1.4/main/cli.c (original)
+++ branches/1.4/main/cli.c Tue Sep 26 15:47:26 2006
@@ -891,8 +891,8 @@
" Context: %s\n"
" Extension: %s\n"
" Priority: %d\n"
- " Call Group: %d\n"
- " Pickup Group: %d\n"
+ " Call Group: %lld\n"
+ " Pickup Group: %lld\n"
" Application: %s\n"
" Data: %s\n"
" Blocking in: %s\n",
More information about the asterisk-commits
mailing list