[Freeswitch-users] voicemail: always wait 30 seconds

Micha Knop micha.knop at gmail.com
Wed Sep 10 15:53:02 MSD 2014


Do you mean something like that?

<condition field="sofia_contact" expression="error/user_not_registered">
  <action application="ring_ready"/>
  <action application="sleep" data="30000"/>
  <action application="bridge" data="loopback/app=voicemail:default
${domain_name} ${dialed_extension}"/>

  <anti-action application="set" data="call_timeout=30"/>
  <anti-action application="set" data="hangup_after_bridge=true"/>
  <anti-action application="set" data="continue_on_fail=true"/>
  <anti-action application="bridge"
data="user/${dialed_extension}@${domain_name}"/>
  <anti-action application="answer"/>
  <anti-action application="sleep" data="2000"/>
  <anti-action application="bridge"
data="loopback/app=voicemail:default ${domain_name}
${dialed_extension}"/>
</condition>



2014-09-08 16:28 GMT+02:00 Michael Jerris <mike at jerris.com>:
> I guess you could do a dialplan condition based on the return from sofia_contact or something of the sort to replace the bridge with just ringback tones for the same amount of time?



Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list