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@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@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@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
googletalk:conf+888@conference.freeswitch.org
pstn:+19193869900