[Freeswitch-users] pre answer and playback

Meftah Tayeb tayeb.meftah at gmail.com
Wed Oct 27 05:14:18 PDT 2010


check this:
module_exists mod_spandsp
if no try load mod_spandsp
otherwise go to your fs source tree a    nd do:
make mod_spandsp-install
thanks
Le 03/11/2010 10:26, Boris Kovalenko a écrit :
> Hello!
>
>       When the user entered wrong number I want to redirect it to special
> extension and playback file in pre_answer mode. Is this possible? With
> this extension:
>
> <extension name="WrongNumber">
> <condition field="${destination_number}" expression="^9999$">
> <action application="set" data="bypass_media=false"/>
> <action application="pre_answer"/>
> <action application="endless_playback" data="$${sounds_dir}/misc/inv
> alid_number.wav"/>
> </condition>
> </extension>
>
> i get an error: 2010-11-03 14:22:42.235076 [ERR] sofia_glue.c:2649 No
> audio codec available
>
>    


-- 
Meftah Tayeb
inum: +883510001288000
Phone: +13602276297
Fax: +12538020313




More information about the FreeSWITCH-users mailing list