[Freeswitch-users] vm-alternate-greet-id is ignored
Sascha Daniels
sascha.daniels at amooma.de
Mon Aug 22 15:37:43 MSD 2011
Hi together,
I found the solution.
You can't use param in a condition.
<action application="set"
data="voicemail_alternate_greet_id=${sip_to_user}"/>
Does the job.
Reards Sascha
Am 19.07.2011 14:43, schrieb Sascha Daniels:
> Hi together,
>
> I need to set a different Number in voicemail greetings.
>
> Just for testing purpose I tried to set it without a variable.
>
> xml.condition( :field => 'destination_number', :expression =>
> '^-vbox-(.+)$' ) {
> xml.action( :application => 'answer', :data =>
> 'voicemail_authorized=true' )
> xml.param( :name => 'vm-alternate-greet-id', :value
> => '4444' )
> xml.action( :application => 'voicemail', :data =>
> 'default ${domain_name} $1' )
> }
>
> Unfortunately the real sip account is played.
>
> Did I get the documentation wrong?
>
> I am using "FreeSWITCH version: 1.0.head (git-2e651c8 2011-07-03
> 22-35-44 -0500)"
>
> Regards
>
> Sascha
>
>
--
AMOOMA GmbH - Bachstr. 124 - 56566 Neuwied --> http://www.amooma.de
Geschäftsführer: Stefan Wintermeyer, Handelsregister Montabaur B14998
Bücher: http://das-asterisk-buch.de - http://ruby-auf-schienen.de
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list