[Freeswitch-users] Don't work playback after bypass media mode.

Anthony Minessale anthony.minessale at gmail.com
Thu May 27 06:34:15 PDT 2010


playback executes on line 87 of your trace.

If you do not hear the audio, It means the re-establishment of media fails
somehow based on your topology or
the phone you are on does not support early media, change your pre-answer
before the playback to answer to verify.

Try adding sofia profile internal siptrace on to see the sip traffic too.




2010/5/27 Sergey Scheglov <sid at eltc.ru>

> 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
>
>
>
> _______________________________________________
> 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
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:+19193869900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100527/761b3769/attachment.html 


More information about the FreeSWITCH-users mailing list