No, my voicemail extension (I have 2 actually) is called vmain_unregistered_user, so in voicemail.conf.xml I have :
<param name="vmain_extension" value="vmain_unregistered_user"/> But still (and I don't even know if I'm using it the right way), I would expect that when the voicemail greeting starts, I could press * on the phone to call the vmain_unregistered_user extension in my dialplan, but that never happens. What I want, is when someone dials in (this is usefull only from outside so via FXO line) his extension (or any other, it's not important) that when he reach the voicemail to leave a message, override the "leave a message" voicemail and enter the "check my messages" voicemail (with an authentication step). I'm not sure this is clear. François On Wed, 2 Dec 2009 12:16:14 -0500, Frank Carmickle <[email protected]> wrote: > On Wed, Dec 02, Fran??ois Legal wrote: >> I did check (and modify as my voicemail extension name is not vmain) the >> voicemail.conf.xml, and vmain-key is *. >> >> What I mean by remote fetching of voicemail, is that someone may dial in, >> either from inside (via FXS or even SIP) or outside (via FXO), then when >> reaching the voice mail to leave a message, he could dial some specific >> digit (or digits) to reach the voicemail login and fetch his voice mails. >> >> I can do this using bind_meta_app (it is already working), but then I >> need >> to terminate the extension when invoking the meta_app, otherwise >> freeswitch >> may sometimes hang if the meta app is called after the "leave a message" >> voicemail tone. > > Alright. I missed what vmain actually does in the voicemail config. It > actually calls the extension named vmain in the dialplan. So if you don't > have this then you will need to have one. Thanks for asking this question > because my voicemail auth was broken and I didn't even know it! I fixed it > and a working extension for vmain can look like this. > > <extension name="vmain"> > <condition field="destination_number" > expression="^vmain$|^voicemail$|^\*98$|^\*86$"> > <action application="answer"/> > <action application="set" data="voicemail_authorized=false"/> > <action application="sleep" data="200"/> > <action application="voicemail" data="check default $${domain} > ${effective_caller_id_number}"/> > </condition> > </extension> > > HTH > --FC > > _______________________________________________ > FreeSWITCH-users mailing list > [email protected] > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org _______________________________________________ FreeSWITCH-users mailing list [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
