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

Anthony Minessale anthony.minessale at gmail.com
Thu May 27 11:46:05 PDT 2010


it's against the SIP spec to re-negotiate media before you have answered.
the transaction to negotiate the SDP from the original call has not
completed so it's illegal to send a re-invite.

instead you should use bypass_media_after_bridge=true so the bypass only
happens when the bridge works.


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

>  Hi, Anthony.
>
>
> You wrote 27 may 2010 г., 20:34:15:
>
>
>
>  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.
>
>
>
>
> > playback executes on line 87 of your trace.
>
>
> yes, but executed by log after 30 seconds after line 84 and immediately
> hangup.
>
> Note, duration wav file - 4 sec.
>
>
> > 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,
>
>
> I don't hear the audio, because FS don't send RTP traffic to my phone in
> early media mode (checked sniffers) in my case.
>
> If dialplans is:
>
> <extension name="fail_balance">
>
> <condition field="${blabla}" expression="^\-1$">
>
> <action application="pre_answer"/>
>
> <action application="sleep" data="1000"/>
>
> <action application="playback" data="elight/neg_balance.wav"/>
>
> <action application="hangup" data="BEARERCAPABILITY_NOTAUTH"/>
>
> </condition>
>
> </extension>
>
> then work's fine, no problems (bypass_media=true not set).
>
>
> > change your pre-answer before the playback to answer to verify.
>
>
> If set answer, problem disappears. But answer it's not for my case.
>
>
> > Try adding sofia profile internal siptrace on to see the sip traffic too.
>
>
> Call log with sip trace http://pastebin.freeswitch.org/13065
>
>
> Thanks again :)
>
>
>
> --
>
> Regard's
>
> Sergey Scheglov
>
> _______________________________________________
> 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/fecb92ac/attachment.html 


More information about the FreeSWITCH-users mailing list