[Asterisk-Users] IPComms Setup

Crystal Stream, Incorporated crystalstreaminc at yahoo.com
Wed Oct 5 12:54:51 MST 2005


CURRENTLY in GLOBALS I have
IPCCIDN01 - IPCCIDN20 set to their respective numbers
How do I need to change the IPComms-in context to do
what you say....


--- Kevin Walsh <kevin at cursor.biz> wrote:

> Crystal Stream, Incorporated
> [crystalstreaminc at yahoo.com] wrote:
> > this isn't working
> > [IPComms-in]
> > exten => s,1,Noop(${DATETIME} ${CALLERID})
> > exten => s,2,SetCallerID(${CALLERID})
> > exten => s,3,Answer
> > exten => s,4,Goto(main-menu,s,2)
> > exten => s,5,Hangup
> > 
> > What I have is a block of 20 DIDs and I want to
> accept calls from all of
> > them. 
> > 
> > It would be way to freaking complicated to do
> > exten => 2027575120,1,Noop( ....
> > .
> > exten => 2027575121,1,Noop( ....
> > et cetera
> > 
> > How do I get this done?
> > 
> You could wildcard your DDIs, replacing 20, 21 etc.
> with [23][0-9], or
> whatever.  Alternatively, you could create a macro
> that would look
> a lot like the body of your [IPComms-in] context,
> and then call that
> from 20 separate DDI exten lines.  I'd just go with
> the wildcard.
> 
> -- 
>    _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
>   _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K
> e v i n   W a l s h
>  _/ _/    _/          _/ _/     _/    _/  _/_/   
> kevin at cursor.biz
> _/   _/  _/_/_/_/      _/    _/_/_/  _/    _/
> 
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com
> --
> 
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
>
http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>   
>
http://lists.digium.com/mailman/listinfo/asterisk-users
> 



		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com



More information about the asterisk-users mailing list