[asterisk-users] GROUP_COUNT and Attended transfer
Paul Hales
pdhales at optusnet.com.au
Mon Feb 4 17:10:42 CST 2008
With some of the phones (snom, for example) you can turn off mwi, so the
phone will only accept one call at a time. Much easier.
PaulH
On Mon, 2008-02-04 at 19:27 +0100, Karsten Wemheuer wrote:
> Hi,
>
> I want to use GROUP_COUNT to limit calls to a specific destination. From
> somewhere on the wiki I am using the following context:
>
> exten => 200,1,Set(GROUP()=${CALLERID(num)})
> exten => 200,n,GotoIf($[${GROUP_COUNT(${EXTEN})} >= 1]?BLOCK)
> exten => 200,n,Set(OUTBOUND_GROUP=${EXTEN})
> exten => 200,n,Dial(SIP/katrin)
> exten => 200,n(BLOCK),Busy
>
> This block is used for other extensions 100 and 150 respectivily. It
> works fine until I am using attended transfer.
>
> Example: kwe (Extension 100) is calling katrin (Extension 200). katrin
> sets the call on hold and talks to hans (Extension 150).
>
> At the cli I get the following result:
> pbxtest*CLI> group show channels
> Channel Group Category
> SIP/kwe-081bf188 100 (default)
> SIP/katrin-081b70a8 200 (default)
> SIP/katrin-081bb020 200 (default)
> SIP/hans-0816b8b8 150 (default)
>
> which seems correct to me.
>
> In case of a transfer of kwe to hans (katrin leaving), the result is:
> pbxtest*CLI> group show channels
> Channel Group Category
> SIP/kwe-081bf188 100 (default)
> SIP/kwe-081bf188 200 (default)
> SIP/hans-0816b8b8 150 (default)
>
> I am confused about the second line, which leads to trouble. The above
> context would think, that katrin is busy.
>
> I have tested the above with * 1.4.14 and 1.4.18-rc4
>
> Is this a bug or a feature? Am I doing something wrong or should I file
> a bug report?
>
> Thanks in advance,
>
> Regards
> Karsten
>
>
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list