[Freeswitch-users] Early media: Sending 180 instead of 183?

Peter Olsson peter.olsson at visionutveckling.se
Mon Aug 6 14:27:03 MSD 2012


If you do playback before you answer the call - that IS early media. If you answer the call before playback it will not send 183. But if you want to play it using early media it's just not possible to play it without using 183.

/Peter


-----Ursprungligt meddelande-----
Från: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] För Dennis
Skickat: den 6 augusti 2012 12:19
Till: FreeSWITCH Users Help
Ämne: Re: [Freeswitch-users] Early media: Sending 180 instead of 183?

in this special case, we do NOT have an outgoing channel and we do ALWAYS use ignore_early_media, if we have an outgoing channel....

we do/want the following: incoming call -> playback audio to caller -> hangup (no bridge or anything else)

out test-dialplan is as follows:

<extension name="test">
  <condition field="destination_number" expression="^01234567$">
   <action application="ring_ready"/>
   <action application="set" data="ignore_early_media=true"/> // with, ans without this line
   <action application="playback" data="/tmp/test.wav"/>
  </condition>
</extension>

everything would work with only the 180 - as soon as the 183 is sent, problems can come up. the 183 is simply to much in this case.

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com

 

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

Join Us At ClueCon - Aug 7-9, 2012

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

!DSPAM:501f980b32761254510098!




Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list