[asterisk-biz] SIP Chan Out Restrictions

Jonathan k. Creasy jonathan at bluegrass.net
Tue Jan 16 13:07:55 MST 2007


A demonstration: 

exten => _XXXXX.,1,Set(GROUP()=${CALLERID(num))
exten => _XXXXX.,n,Set(CDR(AccountCode)=${CALLERID(num))
exten => _XXXXX.,n,GotoIf($[${GROUP_COUNT(${CALLERID(num))} > 2]?103)
exten => _XXXXX.,n,Macro(trunk,${EXTEN},residential)
exten => _XXXXX.,n,Hangup
exten => _XXXXX.,103,Playback(allison7/all-circuits-busy-now)
exten => _XXXXX.,n,Hangup

-Jonathan

> -----Original Message-----
> From: asterisk-biz-bounces at lists.digium.com [mailto:asterisk-biz-
> bounces at lists.digium.com] On Behalf Of C F
> Sent: Sunday, December 31, 2006 9:06 AM
> To: rehan at supertec.com; Commercial and Business-Oriented Asterisk
> Discussion
> Subject: Re: [asterisk-biz] SIP Chan Out Restrictions
> 
> What Is Wrong With SetGroup Check_Group?
> 
> On 12/31/06, Rehan Allah Wala <rehan at supertec.com> wrote:
> > i do not need an account, I need to restrict the call based on the
> called
> > party id.
> >
> > Ie you own the did number 12126559343 and you buy from me 5 channels
of
> > incoming, I
> > want to restrict the calls going from our end to your end without
any
> sip
> > user nor peer to
> > channels = 5
> >
> > Call forwarding services like virtualphoneline.com do not offer any
sip
> > users to restrict the
> > calls qty.
> >
> > The user is identified based on the DNID number and the amount of
> channels
> > the user has
> > purchased for this DNID
> >
> > Rehan
> >
> >
> > Date sent:      	Sun, 31 Dec 2006 14:24:06 +0530
> > From:           	Mitul Limbani <mitul at enterux.com>
> > To:             	asterisk-biz at lists.digium.com
> > Copies to:      	Rehan Allah Wala <rehan at supertec.com>
> > Subject:        	Re: [asterisk-biz] SIP Chan Out Restrictions
> >
> > > Rehan,
> > >
> > > Quoting Rehan Allah Wala <rehan at supertec.com>:
> > >
> > > >> You mean limiting usage on channels per user ? i.e. 5 channels
for
> user
> > > >> x and 10 channels for user b ?
> > > >
> > > > Yes, that's what I mean.
> > > >
> > > >>
> > > >> > If so, I would be interesed in buying the code.
> > > >>
> > > >> Whats your bet ? :)
> > > >
> > > > Show it to me working and make me an offer, it has to be done
via
> > > > Chan_sip on asterisk
> > > > code level.
> > >
> > > I can create a test account for you on our server and restrict you
> with
> > > as many channels as you want me to restrict and you shall see,
that
> you
> > > wont be able to place any further calls beyond the restriction.
> > >
> > > Tell me when you want to test it.
> > >
> > > Thanks & Regards,
> > > Mitul Limbani,
> > > Founder & CEO,
> > > Enterux Solutions,
> > > The Enterprise Linux Company (TM),
> > > www.enterux.com
> >
> >
> > Super Technologies Inc., Pensacola, Florida
> > http://www.SuperTec.com - Technologies from tomorrow, Today!
> >
> > MSN: Rehan at Rehan.com
> > Skype: Rehan33
> >
> > "First they ignore you, then they laugh at you, then they fight you,
> then
> > you
> > win." By Mahatma Gandhi.
> >
> >
> >
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> asterisk-biz mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-biz


More information about the asterisk-biz mailing list