[Telegraph-users] Event socket outbound
Peter P GMX
Prometheus001 at gmx.net
Wed Aug 13 18:20:43 EDT 2008
Hello,
has anybody made Event socket outbound to work?
I did the following on the freeswitch side:
(see http://wiki.freeswitch.org/wiki/Event_socket_outbound)
According I put into the dialplan the follwing
<!-- Dial to Telegraph 8000 -->
<extension name="Telegraph8000">
<condition field="destination_number" expression="^8000$">
<action application="socket" data="192.168.178.35:3000/tests/test
async full"/>
</condition>
</extension>
On the Telegraph side I created a tests controller with a test method
def test
# Business Logic Here
respond_to do |wants|
wants.html
wants.voice
end
end
According to http://code.google.com/p/telegraph/wiki/VoiceView I created
a view named show.voice.freeswitch with the following content:
voice.answer
voice.set "hangup_after_bridge=true"
voice.ring_ready
voice.set "ringback=%(2000, 4000, 440.0, 480.0)"
voice.bridge params[:call_me]
I tested the application and ngrep/wireshack shows me that data arrives
there, but only a few bytes.
The Telegraph website says I should use voice_view. So I ran voice_view
for the socket connections. But this one is to run the voice_events
controller and is connecting to the FS rpc. I am sure it is not used for
receiving socket connections from FS.
Am I doing something wrong? How do I have to connect all the pieces
together?
Best regards
Peter
More information about the Telegraph-users
mailing list