I'm pulling my hair out reading all the various options that I can put into my dialplan but I can't really find one that fits my needs. I have a voicemail system setup that is taking calls from a softswitch and forwards calls to a specific mailbox if RDNIS is set at all, and to the main voicemail login if it is not set. Now, I'm hoping to send a group of numbers to another context entirely. Does anybody know of a command that would do this for me? I thought about using gotoif, but I would have to add additional priorities for each phone number I do this for which doesn't sound like a good idea.
What I think would be ideal is if I could compare RDNIS to a file, if it finds the number in the file....it goes to one place, otherwise it keeps right on going. This way I could add one line per group of people I wanted to forward off. If it comes into this set it goes to the group1 context, if it comes from another set of numbers(another file, another priority in exten.conf) then it goes to the engineers context or something along those lines. This is all in effort so I can build a tree on my machine. I'm sure sooner or later I will dig something up that will work but if anybody has any suggestions, I'm all ears. Mark _______________________________________________ Astlinux-users mailing list [email protected] http://lists.kriscompanies.com/mailman/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to [EMAIL PROTECTED]
