I had this same problem but eventually overcame it. I modified the docs at <br><br><a href="http://wiki.freeswitch.org/wiki/Amazon_ec2">http://wiki.freeswitch.org/wiki/Amazon_ec2</a><br><br>accordingly. I think the problem I had was the internal vs. external IP address, as you've alluded to at the bottom of your message. <br>
<br>In addition to the changes you've made, I also modified sip_profiles/internal.xml - see the docs.<br><br>-larry<br><br><br><div class="gmail_quote">On Wed, May 6, 2009 at 9:20 PM, Dave Grootwassink <span dir="ltr"><<a href="mailto:stackofstuff.dg@gmail.com">stackofstuff.dg@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p>Hello all,</p>
<p> </p>
<p>Help a n00b out. I have been trying to get
an instance of FreeSwitch running up in the Amazon EC2 cloud. </p>
<p> </p>
<p>I have successfully gotten the package built following the
wiki and archives of this list. </p>
<p> </p>
<p> I can get x-lite to register with the switch and it
will set up calls out on my asterlink account. The problem is that there
is no audio transfer (so I am assuming RTP problem).</p>
<p> </p>
<p>The setup:</p>
<p> </p>
<p>Firewall open ports </p>
<p>tcp 0-65535</p>
<p>udp 0-65535 --- I
tried so many combinations unsuccessfully, I finally just blasted open
everything.</p>
<p> </p>
<p> </p>
<p>In conf/freeswitch.xml (174.129.201.96 is
assigned elastic IP address)</p>
<p> </p>
<p> <X-PRE-PROCESS cmd="include"
data="vars.xml"/></p>
<p> #set "external_rtp_ip=174.129.201.96"
</p>
<p> <section name="configuration" description="Various
Configuration"></p>
<p> <X-PRE-PROCESS cmd="include"
data="autoload_configs/*.xml"/></p>
<p> </section></p>
<p> </p>
<p> </p>
<p>In conf/autoload_configs/sofia.conf.xml</p>
<p><param name="ext-rtp-ip"
value="$${external_rtp_ip}"/></p>
<p><param name="ext-sip-ip"
value="$${external_rtp_ip}"/></p>
<p> </p>
<div style="border-style: none none solid; border-color: -moz-use-text-color -moz-use-text-color windowtext; border-width: medium medium 1pt; padding: 0in 0in 1pt;">
<p> </p>
<p>Internal network IP assignment:</p>
<p>Name: domU-12-31-39-00-84-B6.compute-1.internal</p>
<p>Address: 10.254.139.68</p>
<p> </p>
</div>
<p> </p>
<p> </p>
<p>When I setup a call through asterlink, I see this in the
system log:</p>
<p> </p>
<p>Ring SDP:</p>
<p>v=0</p>
<p>o=FreeSWITCH 1241648830 1241648831 IN IP4 10.254.139.68</p>
<p>s=FreeSWITCH</p>
<p>c=IN IP4 10.254.139.68</p>
<p>t=0 0</p>
<p>m=audio 17654 RTP/AVP 0 101</p>
<p>a=rtpmap:0 PCMU/8000</p>
<p>a=rtpmap:101 telephone-event/8000</p>
<p>a=fmtp:101 0-16</p>
<p>a=silenceSupp:off - - - -</p>
<p>a=ptime:20</p>
<p>a=sendrecv</p>
<p> </p>
<p>I do not know SDP parameters off the top of my head, but I am
assuming that it is telling Asterlink to route the RTP to the internal network
IP address and not the external one.</p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
</div>
</div>
<br>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>