[Freeswitch-users] Remote fetching of voicemail

François Legal devel at thom.fr.eu.org
Thu Dec 3 00:00:55 PST 2009

Well, I'm just starting to use freeswitch, so my approach is probably for
from optimal. The point is I wanted that voicemail do not prompt for
passwords when the caller is a sip registered user, but I also wanted the
login requirement if the voicemail was called from some FXS port.

That lead me to having :

    <!-- voicemail main extension -->
    <extension name="vmain_registered_user">
      <condition field="destination_number" expression="^voicemail|4000$"
      <condition field="${sip_authorized}" expression="true">
	<action application="set" data="default_language=fr"/>
	<action application="set" data="voicemail_authorized=${sip_authorized}"/>
	<action application="answer"/>
	<action application="sleep" data="1000"/>
	<action application="voicemail" data="check auth default
$${voicemail_profile} $${domain} ${caller_id_name}"/>

    <extension name="vmain_unregistered_user">
      <condition field="destination_number" expression="4000$">
	<action application="set" data="default_language=fr"/>
	<action application="answer"/>
	<action application="sleep" data="1000"/>
	<action application="voicemail" data="check default $${domain_name}"/>

in my dialplan.


On Wed, 2 Dec 2009 13:15:28 -0500, Frank Carmickle <frank at carmickle.com>
> On Wed, Dec 02, Fran??ois Legal wrote:
>> No, my voicemail extension (I have 2 actually) is called
>> vmain_unregistered_user, so in voicemail.conf.xml I have :
> Also, is there a functional requirement for two different extensions to
> call vmain?
> --FC
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

More information about the FreeSWITCH-users mailing list