[Freeswitch-users] Wrong # in voicemail

ccav c_cav_01 at yahoo.com
Tue Dec 2 11:08:13 PST 2008


-- filename "dialplan/extensions/13033253678.xml" --   This is the primary
DID assigned.

  <extension name="3033253678">
    <!--<condition field="destination_number"
expression="^[0,1]?3033253678$"/>-->
    <condition field="${sip_to_user}" expression="^([0,1]?)(3033253678)$">
      <action application="ring_ready"/>
      <action application="set" data="${dialed_user}=$2" />
      <action application="set" data="ignore_early_media=true"/>
      <action application="set" data="hangup_after_bridge=true"/>
      <action application="set"
data="continue_on_fail=NORMAL_TEMPORARY_FAILURE,TIMEOUT,NO_ROUTE_DESINATION,NO_ANSWER,DESTINATION_OUT_OF_ORDER,USER_BUSY"/>
      <action application="playback"
data="/usr/local/freeswitch/sounds/holdmusic/06.mp3"/>
      <action application="set" data="call_timeout=25"/>
      <action application="bridge" data="user/$2@$${domain}"/>
      <action application="answer"/>
      <action application="voicemail" data="default $${domain} $2"/>
    </condition>
  </extension>
  

-- filename "dialplan/extensions/18162565804.xml" --   This is the primary
DID assigned.

<extension name="8162565804">
    <!--<condition field="destination_number"
expression="^[0,1]?3033253678$"/>-->
    <condition field="${sip_to_user}" expression="^([0,1]?)(8162565804)$">
      <action application="ring_ready"/>
      <action application="set" data="ignore_early_media=true"/>
      <action application="set" data="call_timeout=25"/>
      <action application="set" data="${dialed_user}=$2"/>
      <action application="set" data="hangup_after_bridge=true"/>
      <action application="set"
data="continue_on_fail=NORMAL_TEMPORARY_FAILURE,TIMEOUT,NO_ROUTE_DESINATION,NO_ANSWER,DESTINATION_OUT_OF_ORDER"/>
      <action application="playback"
data="/usr/local/freeswitch/sounds/holdmusic/07.mp3"/>
      <action application="bridge" data="user/$2@$${domain}"/>
      <action application="answer"/>
      <action application="voicemail" data="default $${domain} $2"/>
    </condition>
  </extension>

-- 
View this message in context: http://www.nabble.com/Wrong---in-voicemail-tp20791453p20798791.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.





More information about the FreeSWITCH-users mailing list