<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.30.3">
</HEAD>
<BODY>
Hi,<BR>
<BR>
have you try putting:<BR>
<BR>
var flashvars = { <BR>
rtmp_url: 'rtmp://xxx.xxx.xxx.xxx' <BR>
};<BR>
var params = {<BR>
allowScriptAccess: 'always'<BR>
};<BR>
<BR>
Also, you should remove the "phone" part from the url.<BR>
<BR>
<BR>
Regards,<BR>
Antonio<BR>
<BR>
<BR>
On Tue, 2012-08-07 at 10:11 +0200, Peter Steinbach wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
Hello Jack,
here are some answers to your your questions:
> Make sure you use a fully qualified username not just the extension
><A HREF="mailto:1001@xxx.xxx.xxx.xxx">1001@xxx.xxx.xxx.xxx</A> >the XXX would be the IP of your FreeSwitch Server.
I am still in the "connect" state, I am not logging in yet. The webpage
tells me "Connecting... " and waits forever
> did you configure your rtmp.conf.xml and have a matching context in
your dial plan?
I am still in the "connect" state
In the web page make sure these two vars are set to YOUR Freeswitch
server ip: var rtmpIPURL =
> "rtmp://xxx.xxx.xxx.xxx/phone"; var rtmpIP="xxx.xxx.xxx.xxx";
I did not have a rtmpIP var, so I added it to the code, but no change.
In fact as I can see while grepping the network traffic, the Flex app
and Freeswicth are negociating their protocol and freeswitch logs a
"Sent connect reply", but this is very diferent from what is sent from
the conference.freeswitch.org server.
Best regards
Peter
On 08/07/12 06:26, Jack wrote:
> Hi Peter,
> Make sure you use a fully qualified username not just the extension
> <A HREF="mailto:1001@xxx.xxx.xxx.xxx">1001@xxx.xxx.xxx.xxx</A>
> the XXX would be the IP of your FreeSwitch Server.
>
> did you configure your rtmp.conf.xml and have a matching context in your
> dial plan?
>
> In the web page make sure these two vars are set to YOUR Freeswitch
> server ip:
> var rtmpIPURL = "rtmp://xxx.xxx.xxx.xxx/phone";
> var rtmpIP="xxx.xxx.xxx.xxx";
>
> jack
>
> On 8/6/2012 5:44 PM, Peter Steinbach wrote:
>> Hello,
>>
>> today I tried the flex client with the mod_rtmp implementation.
>> On a brandnew freeswitch I installed mod_rtmp and copied the flex
>> direrectory to a web server and loaded the web page.
>>
>> However the flex client does not connect:
>> Here's my freeswitch log
>> 2012-08-07 02:32:03.585671 [NOTICE] mod_rtmp.c:744 New RTMP session
>> [f35a192c-0d02-4320-89e9-775a3573ee25]
>> 2012-08-07 02:32:03.685670 [DEBUG] rtmp.c:702 Sent handshake response
>> 2012-08-07 02:32:03.685670 [DEBUG] rtmp.c:727 Done with handshake
>> 2012-08-07 02:32:03.685670 [DEBUG] rtmp.c:892 [chunk_stream=3 type=0x14
>> ts=0 stream_id=0x0] len=342
>> 2012-08-07 02:32:03.685670 [DEBUG] rtmp.c:170 [amfnumber=3] Got INVOKE
>> for connect
>> 2012-08-07 02:32:03.685670 [DEBUG] rtmp.c:566 [amfnumber=2 type=0x1
>> stream_id=0x0] len=4
>> 2012-08-07 02:32:03.685670 [DEBUG] rtmp.c:566 [amfnumber=2 type=0x5
>> stream_id=0x0] len=4
>> 2012-08-07 02:32:03.685670 [DEBUG] rtmp.c:566 [amfnumber=2 type=0x6
>> stream_id=0x0] len=5
>> 2012-08-07 02:32:03.685670 [DEBUG] rtmp.c:566 [amfnumber=2 type=0x4
>> stream_id=0x0] len=6
>> 2012-08-07 02:32:03.685670 [DEBUG] rtmp.c:566 [amfnumber=3 type=0x14
>> stream_id=0x0] len=201
>> 2012-08-07 02:32:03.685670 [DEBUG] rtmp.c:566 [amfnumber=3 type=0x14
>> stream_id=0x0] len=61
>> 2012-08-07 02:32:03.685670 [NOTICE] rtmp_sig.c:121 Sent connect reply
>> 2012-08-07 02:32:03.685670 [DEBUG] rtmp.c:892 [chunk_stream=2 type=0x5
>> ts=12247364 stream_id=0x0] len=4
>> 2012-08-07 02:32:03.685670 [DEBUG] rtmp.c:945 Set window size: 131072 bytes
>>
>> If I change the rtmp_url to 'rtmp://conference.freeswitch.org/phone',
>> flex does connect.
>>
>> But in my freeswitch this fails. I have traced the network traffic and I
>> can see that there is information flow between freeswitch and the client
>> on connect request.
>>
>> Somebody has an idea where to look further?
>>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> <A HREF="mailto:consulting@freeswitch.org">consulting@freeswitch.org</A>
> <A HREF="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</A>
>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
> <A HREF="http://www.cudatel.com">http://www.cudatel.com</A>
>
> Official FreeSWITCH Sites
> <A HREF="http://www.freeswitch.org">http://www.freeswitch.org</A>
> <A HREF="http://wiki.freeswitch.org">http://wiki.freeswitch.org</A>
> <A HREF="http://www.cluecon.com">http://www.cluecon.com</A>
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> FreeSWITCH-users mailing list
> <A HREF="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</A>
> <A HREF="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A>
> UNSUBSCRIBE:<A HREF="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</A>
> <A HREF="http://www.freeswitch.org">http://www.freeswitch.org</A>
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<A HREF="mailto:consulting@freeswitch.org">consulting@freeswitch.org</A>
<A HREF="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</A>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<A HREF="http://www.cudatel.com">http://www.cudatel.com</A>
Official FreeSWITCH Sites
<A HREF="http://www.freeswitch.org">http://www.freeswitch.org</A>
<A HREF="http://wiki.freeswitch.org">http://wiki.freeswitch.org</A>
<A HREF="http://www.cluecon.com">http://www.cluecon.com</A>
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list
<A HREF="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</A>
<A HREF="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A>
UNSUBSCRIBE:<A HREF="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</A>
<A HREF="http://www.freeswitch.org">http://www.freeswitch.org</A>
</PRE>
</BLOCKQUOTE>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
--
Un cordial saludo / Best regards,
_________________________
António Silva
E-mail:<A HREF="mailto:asilva@wirelessmundi.com">asilva@wirelessmundi.com</A>
</PRE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>