You can do that easily with the extensions.conf and maybe with the asterisk DB, there is no need to do that in the channel driver.
Christian Kai Ober wrote: > Hi Crich, also List > > i'm not sure if what i want is practicable/codable but: > > wouldn't it make sense to configure the channel driver to do call > deflection instead doing a cd during the dialplan? > > what i'd like to say is: :) > > when i do (at the cli) misdn show config 12 is see how port 12 is > configured. > is it possibe to configure the port during asterisk running? > if so > would it be possible to make a "config" option in which cd can be > configured? > > somethink like: if there is call for misdn/12/222 then redirect it to > misdn/1/0894711 > > this option could be enabled disabled by doing somthing like that > [CD-context] > exten *21*,1,SetCallDeflection(misdn/12/222,misdn/1/0894711) > exten *21*,1,DelCallDeflection(misdn/12/222) > > > > could you give me a hint, so that i could code this? or if anybody > else feels free to do this? > > Regards Kai > > > > > > > > > > > > > > _______________________________________________ > Misdn-asterisk mailing list > [email protected] > http://lists.beronet.com/cgi-bin/mailman/listinfo/misdn-asterisk > > _______________________________________________ Misdn-asterisk mailing list [email protected] http://lists.beronet.com/cgi-bin/mailman/listinfo/misdn-asterisk
