[Asterisk-Users] iax limit question

Benchev bbench at mail.bg
Mon Mar 27 05:08:09 MST 2006


> I found a solution... I just has to enter an Answer
> line and now it behaves as I wanted. Here is the
> working code:
>
> [inbound]
> exten => 1234567,1,Set(GROUP()=limit)
> exten => 1234567,2,GotoIf($[${GROUP_COUNT()}>2]?103)
> exten => 1234567,3,Dial(Zap/5&Zap/6,25,tT)
> exten => 1234567,4,Voicemail,u110
> exten => 1234567,5,hangup
> exten => 1234567,103,Answer
> exten => 1234567,104,Playtones(busy)
> exten => 1234567,105,Wait(5)
> exten => 1234567,106,Hangup
Check for OUTBOUND_GROUP variable in
http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+SetGroup
It provides interesting capability "to set the amount of calls on the called 
channel but also on the calling channel".
In this case you should not need Answer.

Benchev



More information about the asterisk-users mailing list