Apologies for what probably is a FAQ, but even with a fair bit of googling I couldn't find a resolution. I am trying to make it possible for users to check their voicemail without knowing their voicemail id (because I want to use a common mailbox for multiple accounts). The standard way seems to be <action application="set" data="voicemail_authorized=${sip_authorized}"/> but it doesn't do the trick for me... Julf
I'm going to guess that sip_authorized is not true?
A good guess, but changing the line to <action application="set" data="voicemail_authorized=true"/> still doesn't help. Julf
The standard way seems to be <action application="set" data="voicemail_authorized=${sip_authorized}"/> but it doesn't do the trick for me...
Brian,
Show us the whole dialplan.
Here is the voicemail part: <!-- voicemail main extension --> <extension name="vmain"> <condition field="destination_number" expression="^vmain$|^\*98$"> <action application="answer"/> <action application="sleep" data="1000"/> <action application="set" data="voicemail_authorized=${sip_authorized}"/> <action application="set" data="voicemail_authorized=true"/> <action application="voicemail" data="check default ${domain_name} julf_mailbox"/> </condition> </extension> Julf
Try it with "auth" <action application="voicemail" data="check auth $${voicemail_profile} $${domain} $1"/> On Wed, Mar 2, 2011 at 7:58 AM, Johan Helsingius <julf@julf.com> wrote:
Brian,
Show us the whole dialplan.
Here is the voicemail part:
<!-- voicemail main extension --> <extension name="vmain"> <condition field="destination_number" expression="^vmain$|^\*98$"> <action application="answer"/> <action application="sleep" data="1000"/> <action application="set" data="voicemail_authorized=${sip_authorized}"/> <action application="set" data="voicemail_authorized=true"/> <action application="voicemail" data="check default ${domain_name} julf_mailbox"/> </condition> </extension>
Julf
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
On Wed, Mar 2, 2011 at 7:58 AM, Johan Helsingius <julf@julf.com> wrote:
Brian,
Show us the whole dialplan.
Here is the voicemail part:
<!-- voicemail main extension --> <extension name="vmain"> <condition field="destination_number" expression="^vmain$|^\*98$"> <action application="answer"/> <action application="sleep" data="1000"/> <action application="set" data="voicemail_authorized=${sip_authorized}"/>
Don't you need to execute this one inline?
<action application="set" data="voicemail_authorized=true"/>
Should be <action application="set" data="voicemail_authorized=true" inline="true"/> Try that and let us know what happens. -MC
Michael,
Don't you need to execute this one inline?
<action application="set" data="voicemail_authorized=true"/>
Should be <action application="set" data="voicemail_authorized=true" inline="true"/>
I would have thought that the voicemail app only checks the authorization at execute time, not when hunting.
Try that and let us know what happens.
Unfortunately doesn't change the situation. Julf
Just a control question - you do use "reloadxml" after you changes right? :) /Peter -----Ursprungligt meddelande----- Från: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] För Johan Helsingius Skickat: den 3 mars 2011 11:33 Till: FreeSWITCH Users Help Ämne: Re: [Freeswitch-users] checking voicemail without ID? Michael,
Don't you need to execute this one inline?
<action application="set" data="voicemail_authorized=true"/>
Should be <action application="set" data="voicemail_authorized=true" inline="true"/>
I would have thought that the voicemail app only checks the authorization at execute time, not when hunting.
Try that and let us know what happens.
Unfortunately doesn't change the situation. Julf _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org !DSPAM:4d6f6f0032763122217987!
OK, found the problem. Egg on my face, as expected... Hopefully my error will be a warning for others that might fall for the same trap. As I modified the default configuration, I moved away the original conf/dialplan/default/examples.xml by moving it up to the conf/dialplan directory, to still have it close at hand for reference, but thinking it would not be included (based on the include of default/*.xml in default.xml), but I did not realize that conf/freeswitch.xml does an include of dialplan/*.xml... Mea culpa! Julf
I do this so they can just press the envelope key, in my extension definition for the user id, I have the following in the variable section: <variable name="mailbox" value="100"/> I also have: <variable name="voicemail_domain" value="mgtech.com"/> I also have some phone that dont need to even put a password in. On Mar 2, 2011, at 6:34 AM, Johan Helsingius wrote:
Apologies for what probably is a FAQ, but even with a fair bit of googling I couldn't find a resolution.
I am trying to make it possible for users to check their voicemail without knowing their voicemail id (because I want to use a common mailbox for multiple accounts).
The standard way seems to be <action application="set" data="voicemail_authorized=${sip_authorized}"/> but it doesn't do the trick for me...
Julf
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Mario,
I do this so they can just press the envelope key, in my extension definition for the user id, I have the following in the variable section:
<variable name="mailbox" value="100"/>
I also have: <variable name="voicemail_domain"value="mgtech.com <http://mgtech.com>"/>
I also have some phone that dont need to even put a password in.
Precisely what I am trying to do. So how does your dialplan look for checking the mailbox? Julf
participants (6)
-
Brian West
-
DJB International
-
Johan Helsingius
-
Mario G
-
Michael Collins
-
Peter Olsson