[Asterisk-Users] app_groupcount

Mark Halverson mark at opbx.com
Mon Feb 21 20:34:13 MST 2005


Can someone show me an example of extensions.conf to do the following?

I have three broadvoice accounts, and I have four SIP phones in the house.
With broadvoice you are charged for making more than one call at a time on
the same SIP account
so I want to check to see if the 1st one is in use and
then roll to the second and third bv account.

Here is what I was thinking with extensions.conf:

exten => _1NXXNXXXXXX,1,SetGroup(bv1)
exten => _1NXXNXXXXXX,2,CheckGroup(1) 
exten => _1NXXNXXXXXX,3,Dial(SIP/${EXTEN}@bv1)
exten => _1NXXNXXXXXX,103,SetGroup(bv2)
exten => _1NXXNXXXXXX,104,CheckGroup(1)
exten => _1NXXNXXXXXX,105,Dial(SIP/${EXTEN}@bv2)
exten => _1NXXNXXXXXX,205,SetGroup)bv3)
exten => _1NXXNXXXXXX,206,CheckGroup(1)
exten => _1NXXNXXXXXX,207,Dial(SIP/${EXTEN}@bv3)
exten => _1NXXNXXXXXX,307,Dial(IAX2/${EXTEN}@nufone)

Yet, all the calls go to bv1 and never go to bv2 – also when I enter group
show channels it says 2 active calls but nothing in the channel, group or
category columns.

-Mark




More information about the asterisk-users mailing list