[Freeswitch-users] pre answer and playback

Boris Kovalenko boris at tagnet.ru
Wed Nov 3 02:26:28 PDT 2010


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

-- 
С уважением,
   Борис Коваленко
   ЗАО "Тагнет"
   (3435) 494991





More information about the FreeSWITCH-users mailing list