[Asterisk-Users] Re: GROUP and GROUP_COUNT
Ryan
asterisk-users at mandrake.us
Mon Oct 17 19:43:35 MST 2005
On Sun, Oct 16, 2005 at 05:15:14PM -0600, Ryan exclaimed:
>I have a macro and when I call it I have something like this:
>
>exten => s,1,NoOp(Group Count: ${GROUP_COUNT(MYGROUP)})
>exten => s,n,Set(GROUP()=MYGROUP) ;Set Group
>exten => s,n,NoOp(Group List: ${GROUP_LIST()})
>exten => s,n,NoOp(Group Count: ${GROUP_COUNT(MYGROUP)})
>
>
>The GROUP_COUNT returns zero before the call to GROUP but also returns 0 after
>the call to GROUP.
>
>If I make 2 calls then it returns 0 before and 1 after placing the 2nd call.
>
>The weird portion is when I get incomming calls from the PSTN I set the
>group to PSTN (GROUP()=PSTN). Then if I do a transfer and dial something
>that goes out the above Macro GROUP_COUNT returns 0 before the call to
>GROUP and 1 after the call to GROUP even though no calls are going
>through it except the one call.
>
>When making 1 outbound (not via transfer) call via the macro GROUP_COUNT
>returns 0 before and after the call to GROUP.
>
<snip>
For consistency sake (and for those searching through the archives
later), I have filed a bug at:
http://bugs.digium.com/view.php?id=5453
I mistakenly filed it under Function Core not New Functions.
Thanks,
Ryan
More information about the asterisk-users
mailing list