[Freeswitch-users] transfer back to ivr after voicemail function

Rodney notlikeme75 at yahoo.com
Thu Dec 22 23:49:52 MSK 2011


I am trying to transfer someone back to the IVR after they leave a message for someone or check their own mailbox. currently it does a hangup and they have to call back to do more.  is there a method for this? or is it hard coded in the "press # to continue portion of voice mail?


check voice mail

condition      destination_number      ^757$      1      
  action      answer            3      
  action      sleep      1000      4      
  action      play_and_get_digits      4 4 3 5000 # checkvoicemail.wav ivr/ivr-that_was_an_invalid_entry.wav vmb \d+      12      
  action      phrase      spell,${vmb}      15      
  action      voicemail     check default ${domain_name} ${vmb}


leave message


  condition      destination_number      ^758$      1      
  action      answer            3      
  action      sleep      1000      4      
  action      play_and_get_digits      4 4 3 5000 # checkvoicemail.wav ivr/ivr-that_was_an_invalid_entry.wav vmb \d+      12      
  action      phrase      spell,${vmb}      15      
  action      voicemail     default ${domain_name} ${vmb}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20111222/411ffe1b/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list