[Freeswitch-users] mod_voicemail and non-numeric id

Markus Lindenberg markus.lindenberg at gmail.com
Tue May 1 15:31:19 MSD 2012


It's in the wiki: Just set voicemail_alternate_greet_id before
bridging to voicemail.

I'm using non-numeric IDs as well, so i set connectedline manually
before trying to bridge to the user:

                        <action application="export"
data="effective_callee_id_number=${user_data(${user_id}@${domain_name}
var effective_caller_id_number)}"/>

When the call hits voicemail, i set voicemail_alternate_greet_id and
then that's what voicemail will use:

                        <action application="export"
data="voicemail_alternate_greet_id=${effective_callee_id_number}"/>
                        <action application="answer"/>
                        <action application="sleep" data="1000"/>
                        <action application="bridge"
data="loopback/app=voicemail:default ${domain_name} ${user_id}"/>
                        <anti-action application="hangup"/>


On Fri, Apr 27, 2012 at 09:51, Anton Kvashenkin <anton.jugatsu at gmail.com> wrote:
> Hello list.
>
> I've decided to use non-numeric id's at users configuration.
>
> <user id="001565229c95" number-alias="109" mailbox="109">
>
> But when the call goes to voicemail app
>
> <action application="bridge" data="loopback/app=voicemail:default
> ${domain_name} ${dialed_extension}"/>
>
> switch_ivr_play_say.c:244 Handle say:[001565229c95] (ru:ru)
> 2012-04-27 11:39:54.452208 [INFO] mod_say_ru.c:721 ru_say!!!  001565229c95!
>   say_opt.gender=0   say_opt.cases=0
> 2012-04-27 11:39:54.532157 [DEBUG] switch_ivr_play_say.c:1309 Codec
> Activated L16 at 16000hz 1 channels 20ms
>
> The mod_say pronounces user id. How to force to pronounce number-alias?
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> 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
>



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list