ccdiversion.cfg 861 B

12345678910111213141516171819202122232425262728
  1. # $Id$
  2. # ------------------ module loading ----------------------------------
  3. loadmodule "modules/textops/textops.so"
  4. loadmodule "modules/sl/sl.so"
  5. loadmodule "modules/tm/tm.so"
  6. # ----------------- setting module-specific parameters ---------------
  7. route{
  8. # if we do not get a positive reply, continue at reply_route[2]
  9. t_on_failure("2");
  10. # forward the request to all destinations in destination set now
  11. t_relay();
  12. }
  13. failure_route[2] {
  14. # request failed (no reply, busy, whatever) ... forward it again
  15. # to pbx's voicemail at phone number 6000 via Cisco gateway at
  16. # 192.168.10.10; append proprietary CC-Diversion header field with
  17. # original request uri in it, so that the gateway and voicemail
  18. # know, whom the request was originally intended for
  19. append_branch("sip:[email protected]");
  20. append_urihf("CC-Diversion: ", "\r\n");
  21. t_relay();
  22. }