[Freeswitch-users] Amazon EC2 no audio
Dave Grootwassink
stackofstuff.dg at gmail.com
Wed May 6 21:20:10 PDT 2009
Hello all,
Help a n00b out. I have been trying to get an instance of FreeSwitch
running up in the Amazon EC2 cloud.
I have successfully gotten the package built following the wiki and archives
of this list.
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).
The setup:
Firewall open ports
tcp 0-65535
udp 0-65535 --- I tried so many combinations unsuccessfully, I
finally just blasted open everything.
In conf/freeswitch.xml (174.129.201.96 is assigned elastic IP address)
<X-PRE-PROCESS cmd="include" data="vars.xml"/>
#set "external_rtp_ip=174.129.201.96"
<section name="configuration" description="Various Configuration">
<X-PRE-PROCESS cmd="include" data="autoload_configs/*.xml"/>
</section>
In conf/autoload_configs/sofia.conf.xml
<param name="ext-rtp-ip" value="$${external_rtp_ip}"/>
<param name="ext-sip-ip" value="$${external_rtp_ip}"/>
Internal network IP assignment:
Name: domU-12-31-39-00-84-B6.compute-1.internal
Address: 10.254.139.68
When I setup a call through asterlink, I see this in the system log:
Ring SDP:
v=0
o=FreeSWITCH 1241648830 1241648831 IN IP4 10.254.139.68
s=FreeSWITCH
c=IN IP4 10.254.139.68
t=0 0
m=audio 17654 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090507/4cafb470/attachment.html
More information about the Freeswitch-users
mailing list