[Freeswitch-users] pre answer and playback
Boris Kovalenko
boris at tagnet.ru
Wed Nov 3 03:27:28 PDT 2010
Hello!
When I use answer application (instead of pre_answer) the playback
is ok. I use
<X-PRE-PROCESS cmd="set"
data="global_codec_prefs=PCMU,PCMA,G729,G723,GSM,H261,H263,H264"/>
> That error suggests you don't have any codecs loaded, which would be
> required to playback any media.
>
> What modules are you loading? Which codecs do you have configured?
>
> -Steve
>
>
>
> On 3 November 2010 09:26, Boris Kovalenko<boris at tagnet.ru> wrote:
>> 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
>>
>>
>>
>> _______________________________________________
>> 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
>>
> _______________________________________________
> 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
--
С уважением,
Борис Коваленко
ЗАО "Тагнет"
(3435) 494991
More information about the FreeSWITCH-users
mailing list