[Asterisk-Users] Asterisk DIDs configuration

C F shmaltz at gmail.com
Mon May 9 07:18:24 MST 2005


Try the random command
http://www.voip-info.org/wiki-Asterisk+cmd+random
just create the 100 lines of code with the dids in there, then have
random choose it for you.
I have never worked with random, but I think this will help you.

On 5/9/05, Lee Lee <asterisk_newbie at yahoo.com> wrote:
> Hi all 
>   
> I have been searching through the mailing list and google, nothing of which
> i can find that relates to my problem. 
>   
> Here goes; 
>   
> i need to create some kind of database on my E1/PRI that store all my 100
> DID number, and when * pick up any zap line. It will random pick any one of
> the unused DIDs and dial. 
>   
> dont worry about inbound calls, as that E1 is for outbound only 
>   
> I could used SetCallerID(5125551212) before the Dial command, but than
> again, 5125551212 will always be shown as CID regradless which zap channel
> being used. 
>   
> Someone suggested creating AGI script that calls SetCIDNUM, but i have
> totally no knowledge in perl or any programming language. 
>   
> Is there a quick and dirty way of handling this ? ie
> SetCallerID(SOMEDATABASE) 
>   
> Thank you in advance 
>   
> best regards
> 
>  ________________________________
> Discover Yahoo!
>  Find restaurants, movies, travel & more fun for the weekend. Check it out! 
> 
> 
> _______________________________________________
> 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
> 
>



More information about the asterisk-users mailing list