<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>Special SIP scenario</title>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Are you trying to originate the call from
freeswitch (requiring freeswitch to actually send the multicast rtp stream) or
are you originating from another device that will send the multicast rtp and
create the proper sdp, but will send through freeswitch to handle the sending
of invites to all the parties?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>If freeswitch is going to originate the
stream, what is the source of the audio they will be sending to all the calls? &nbsp;I
assume that you get no return audio from any of the end devices?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Mike<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org]
<b><span style='font-weight:bold'>On Behalf Of </span></b>Sluschny, Thomas<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, February 21, 2007
11:20 AM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">freeswitch-users@lists.freeswitch.org</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Freeswitch-users]
Special SIP scenario</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>Thank you Mike for the answer.</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>But:</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>i would not only call multiple
parties/devices/receivers, but also announce all these receivers with&nbsp;one
sender at the same time!</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>To do this the audio data is multiplied in
the network, thats why we use (ip-) multicast: see below </span></font><font
size=2 color=black face=Arial><span lang=DE style='font-size:10.0pt;font-family:
Arial;color:black'>c=IN IP4 239.194.0.14</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>And this is also a problem because the
&quot;c=&quot; attribute contains normally the own IP and not a multicast one,</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>so: is it possible to set some (all?) SDP
attributs directly? </span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>(i saw e.g.&nbsp;</span></font><font
size=2 color=black><span style='font-size:10.0pt;color:black'>remote_media_ip </span></font><font
size=2 color=blue face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:blue'>in <a
href="http://wiki.freeswitch.org/wiki/FreeSwitch_Channel_Variables">http://wiki.freeswitch.org/wiki/FreeSwitch_Channel_Variables</a>&nbsp;(under
</span></font><font size=2 color=black><span style='font-size:10.0pt;
color:black'>Unknown Functionality</span></font><font size=2 color=blue
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:blue'>)</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>Thomas</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabIndex=-1>

</span></font></div>

<p class=MsoNormal style='margin-bottom:12.0pt'><b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>Von:</span></font></b><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org]
<b><span style='font-weight:bold'>Im Auftrag von </span></b>Michael Jerris<br>
<b><span style='font-weight:bold'>Gesendet:</span></b> Mittwoch, 21. Februar
2007 15:59<br>
<b><span style='font-weight:bold'>An:</span></b> <st1:PersonName w:st="on">freeswitch-users@lists.freeswitch.org</st1:PersonName><br>
<b><span style='font-weight:bold'>Betreff:</span></b> Re: [Freeswitch-users]
Special SIP scenario</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>The originate syntax allows for multiple calls
out with &#8220;and&#8221; (,) and &#8220;or&#8221; (|) logic. &nbsp;This
should be documented on the wiki for originate syntax. &nbsp;This should also
allow you to play a file to the answering party and do key confirmation to
initiate a bridge with the original calling party.&nbsp; As far as custom
codecs, either for passthrough only, or with transcoding, you would need to
make a codec module, at least setup to do the passthrough, the amr and g729
codecs in tree are a good example of this. &nbsp;Typically, you should not ever
use codec numbers in the static range (&lt;97 I believe) unless they are
officially assigned, that being said, freeswitch will not keep you from writing
a module that will work for this.&nbsp; If freeswitch is truly not in the media
path at all, you can use no media mode, which would pass through the sdp raw to
the other side, in which case you would not even need the passthrough codec, as
log of course as the endpoints knew how to handle the multicast.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Mike<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabIndex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org]
<b><span style='font-weight:bold'>On Behalf Of </span></b>Sluschny, Thomas<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, February 21, 2007
9:02 AM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">freeswitch-users@lists.freeswitch.org</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Freeswitch-users]
Special SIP scenario</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>Hello,</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>unfortunately no one answered til now. So
i ask a bit different:</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>1. Is it possible to create a call to a
SIP device where i can define the MessageBody or SDP field on my own (as
mentioned in first mail)?</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>I want to INVITE one sender (plays an
announcement) and many receivers. These INVITEs should be independent, so if
one receiver is out of order all others can be announced anyway.</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>2. Is it possible to invite a SIP device
independend from others?</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>I tested: </span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>pacall device1; pacall device2;
uuid_bridge sip_uuid1 sip_uuid2 -&gt; this is a little bit sick, i know&nbsp;;)</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>originate sofia/domain/device1 device2
-&gt; but this works only with 2 devices AND the INVITEs go out successively</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>Has this &quot;media&quot; command
anything to do with it? </span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>Hope this clears more my problem.</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>Thanks,</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>Thomas</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=DE style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabIndex=-1>

</span></font></div>

<p class=MsoNormal style='margin-bottom:12.0pt'><b><font size=2 face=Tahoma><span
lang=DE style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>Von:</span></font></b><font
size=2 face=Tahoma><span lang=DE style='font-size:10.0pt;font-family:Tahoma'>
freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] <b><span
style='font-weight:bold'>Im Auftrag von </span></b>Sluschny, Thomas<br>
<b><span style='font-weight:bold'>Gesendet:</span></b> Donnerstag, 15. Februar
2007 17:42<br>
<b><span style='font-weight:bold'>An:</span></b> <st1:PersonName w:st="on">freeswitch-users@lists.freeswitch.org</st1:PersonName><br>
<b><span style='font-weight:bold'>Betreff:</span></b> [Freeswitch-users]
Special SIP scenario</span></font><span lang=DE><o:p></o:p></span></p>

<p><font size=2 face=Arial><span lang=DE style='font-size:10.0pt;font-family:
Arial'><!-- Converted from text/rtf format -->Hi all,</span></font><span
lang=DE> </span><o:p></o:p></p>

<p><font size=2 face=Arial><span lang=DE style='font-size:10.0pt;font-family:
Arial'>I want to do a special SIP using and I dont know how to configure it
with: originate/bridge/transfer no_media and so on</span></font> <br>
<font size=2 face=Arial><span lang=DE style='font-size:10.0pt;font-family:Arial'>May
be it is not possible with freeswitch?</span></font><span lang=DE> </span><o:p></o:p></p>

<p><font size=2 face=Arial><span lang=DE style='font-size:10.0pt;font-family:
Arial'>Here comes scenario:</span></font> <br>
<font size=2 face=Arial><span lang=DE style='font-size:10.0pt;font-family:Arial'>-
one sender device that sends multicast RTP stream to network</span></font> <br>
<font size=2 face=Arial><span lang=DE style='font-size:10.0pt;font-family:Arial'>-
one or more receiver devices that only receive RTP data from network</span></font>
<br>
<font size=2 face=Arial><span lang=DE style='font-size:10.0pt;font-family:Arial'>The
codec is a proprietary one (41), freeswitch can ignore all RTP data.</span></font><span
lang=DE> </span><o:p></o:p></p>

<p><font size=2 face=Arial><span lang=DE style='font-size:10.0pt;font-family:
Arial'>Sender has to get attributs:</span></font> <br>
<font size=2 face=Arial><span lang=DE style='font-size:10.0pt;font-family:Arial'>u=<a
href="file:///C:\dap\123.wav">file:/C:/dap/123.wav</a></span></font> <br>
<font size=2 face=Arial><span lang=DE style='font-size:10.0pt;font-family:Arial'>c=IN
IP4 239.194.0.14</span></font> <br>
<font size=2 face=Arial><span lang=DE style='font-size:10.0pt;font-family:Arial'>t=0
0</span></font> <br>
<font size=2 face=Arial><span lang=DE style='font-size:10.0pt;font-family:Arial'>m=audio
7280 RTP/AVP 41</span></font> <br>
<font size=2 face=Arial><span lang=DE style='font-size:10.0pt;font-family:Arial'>a=rtpmap:41
PCMA/16000</span></font> <br>
<font size=2 face=Arial><span lang=DE style='font-size:10.0pt;font-family:Arial'>a=recvonly</span></font>
<br>
<font size=2 face=Arial><span lang=DE style='font-size:10.0pt;font-family:Arial'>b=AS:128</span></font><span
lang=DE> </span><o:p></o:p></p>

<p><font size=2 face=Arial><span lang=DE style='font-size:10.0pt;font-family:
Arial'>Receiver has to get attributs:</span></font> <br>
<font size=2 face=Arial><span lang=DE style='font-size:10.0pt;font-family:Arial'>c=IN
IP4 239.193.201.69</span></font> <br>
<font size=2 face=Arial><span lang=DE style='font-size:10.0pt;font-family:Arial'>t=0
0</span></font> <br>
<font size=2 face=Arial><span lang=DE style='font-size:10.0pt;font-family:Arial'>a=specialExtension:2</span></font>
<br>
<font size=2 face=Arial><span lang=DE style='font-size:10.0pt;font-family:Arial'>a=type:broadcast</span></font>
<br>
<font size=2 face=Arial><span lang=DE style='font-size:10.0pt;font-family:Arial'>m=audio
7280 RTP/AVP 41</span></font> <br>
<font size=2 face=Arial><span lang=DE style='font-size:10.0pt;font-family:Arial'>a=rtpmap:41
PCMA/16000</span></font> <br>
<font size=2 face=Arial><span lang=DE style='font-size:10.0pt;font-family:Arial'>a=sendonly</span></font><span
lang=DE> </span><o:p></o:p></p>

<p><font size=2 face=Arial><span lang=DE style='font-size:10.0pt;font-family:
Arial'>Is it possible to use freeswitch API to do this?</span></font><span
lang=DE> </span><o:p></o:p></p>

<p><font size=2 face=Arial><span lang=DE style='font-size:10.0pt;font-family:
Arial'>Many thanks in advance,</span></font> <br>
<font size=2 face=Arial><span lang=DE style='font-size:10.0pt;font-family:Arial'>Thomas
Sluschny</span></font><span lang=DE> </span><o:p></o:p></p>

</div>

</div>

</div>

</body>

</html>