Summary:ASTERISK-07813: call and pickup groups should support 64 groups, but it doesn't.
Reporter:Makoto Dei (makoto)Labels:
Date Opened:2006-09-24 20:18:10Date Closed:2006-09-28 10:12:55
Versions:Frequency of
Environment:Attachments:( 0) backtrace-r43705.txt
( 1) debug-levels4.txt
Description:callgroup and pickupgroup in struct ast_channel should be
ast_group_t type instead of unsigned int.

And second argument of print_group function in channels/chan_sip.c
should also be ast_group_t type instead of unsigned int.

1.4 seems to have the same issue.
Comments:By: Joshua C. Colp (jcolp) 2006-09-26 15:54:41

Fixed in 1.2, 1.4, and trunk. Thanks!

By: BJ Weschke (bweschke) 2006-09-28 08:13:34

re-opening based on crash reports

By: Martin Vit (festr) 2006-09-28 08:37:38

SIP phone -> asterisk -> Dial(SIP/some) => crash

I've checkout fresh copy: svn checkout -r43699 and svn checkout -r43705.
43705 is causing crash, 43699 is ok. But i'm not skilled enough to find connection between this change ant this backtrace.

bweske wanted to join extensions.conf, but after reducing it to minimum, crash is reproduced with only one command Dial(OH323/exten) or Dial(SIP/exten) so i think attaching it is not neccessary.

Attached debug-levels4.txt and backtrace-r43705

By: Serge Vecher (serge-v) 2006-09-28 10:12:35

The crash was related to using 'svn update' to update r43705 of 1.2 branch. The cleancount was changed in r43706, so compiling r43705 didn't force the recompile. Updating to 1.2 svn r43706 forced the recompile and resolved the crash. The moral of the story is, always check out the latest revsion and recompile asterisk-addons (if used) to avoid weird crashes.