[Freeswitch-users] Don't work playback after bypass media mode.
Sergey Scheglov
sid at eltc.ru
Wed May 26 23:23:04 PDT 2010
Hi, Michael.
You wrote 27 may 2010 г., 12:30:25:
> we can't tell why because you omitted the part of the log that may
> show why. also, why do you set continue on fail twice in a row?
> On May 26, 2010, at 6:49 AM, Sergey Scheglov <sid at eltc.ru> wrote:
Thanks for reply,
"continue_on_fail=true" I removed (my fault)
and altered bypass_media (my reasons)
Now dialplan is
<extension name="Local_Extension">
<condition field="destination_number" expression="^([1-9]\d{4})$">
<action application="set" data="dialed_extension=$1"/>
<action application="export" data="dialed_extension=$1"/>
<action application="set" data="ringback=${ru-ring}"/>
<action application="set" data="bypass_media=${cond(${profile_index} == 1 ? true : false)}"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=SUBSCRIBER_ABSENT,USER_NOT_REGISTERED"/>
<action application="bridge" data="user/${dialed_extension}@${domain_name}"/>
<action application="pre_answer"/>
<action application="sleep" data="1000"/>
<action application="playback" data="elight/${originate_disposition}.wav"/>
</condition>
</extension>
Full call log here http://pastebin.freeswitch.org/13059
Also, in internal profile exist:
inbound-late-negotiation true
disable-transcoding true
and I used xml_curl (for directory).
--
С уважением,
Сергей Щеглов
ISP Good Line
e-mail: sid at eltc.ru
icq: 295481909
тел. +79234872136
More information about the FreeSWITCH-users
mailing list