SIP as RTMP Broadcasting Problem

Dave Kovalcik

New Member
My SIP line is fine but I keep getting an error (I think) that looks like this

uASQOF-Qx2LA03-ijokpgCS-JhCPEU >>>
XYVI001:XYVI001@rtmp://wowza01.xyvid.com:1935/XYVI001
FINISHED

Any Ideas?
 

Dave Kovalcik

New Member
Please zip wcs_home/conf and wcs_home/logs folders and send to logs@flashphoner.com
We will check.
Im hosting on EC2 and I don't really have access to download files from thier servers - I did manage to get the SIP part working but I am having trouble streaming to our wowza server - here is my command line - will this work?

rtmp://UNAME:PASSWD@wowza01.xyvid.com/XYVI001
STREAM1

While watching the status of the wowza server there is no connection being made - maybe I need to open ports on the EC2 AMazon system? How should this work?
 

Max

Administrator
Staff member
First of all we need a dump and logs from Amazon EC2 server
Logs
Code:
/usr/local/FlashphonerWebCallServer/logs/server_logs/flashphoner.log
Dump
Code:
tcpdump -s 4096 -w log.pcap
Please send these two files to logs@flashphoner.com then we will able to check this.
maybe I need to open ports on the EC2 AMazon system?
Yes. UDP ports 30000-32000 at least must be open for this Amazon EC2 instance.
You really need access to the EC2 server instance. Without this access and dumps it is really hard to debug why it does not work.
 

Max

Administrator
Staff member
Hello
We have received your report.
You are right. SIP call was established properly.
Most likely WCS does not receive UDP/RTP traffic from your SIP server (Freeswitch).
Please try
1. Turn off RTMP authentication on Wowza end.
You can also check with:
a) Our wowza server
rtmp://rtmp.flashphoner.com:1935/live
b) To localhost
rtmp://localhost:1935/live
If it works without authentication, then it is an authentication issue.
2. Make sure your UDP ports 30000-32000 are open on Amazon EC2.
You have to check security rules for this EC2 instance.
3. Test media ports
For example, port 31001
Here you can see manual how to test UDP ports:
https://flashphoner.com/docs/wcs5/w...l?additional_tools-ports_routing_checking.htm
You need to send UDP packet and make sure this packet is received.
4. If all above does not help, try to get latest update:
Code:
service webcallserver update
 

Dave Kovalcik

New Member
First of all we need a dump and logs from Amazon EC2 server
Logs
Code:
/usr/local/FlashphonerWebCallServer/logs/server_logs/flashphoner.log
Dump
Code:
tcpdump -s 4096 -w log.pcap
Please send these two files to logs@flashphoner.com then we will able to check this.

Yes. UDP ports 30000-32000 at least must be open for this Amazon EC2 instance.
You really need access to the EC2 server instance. Without this access and dumps it is really hard to debug why it does not work.
So I have sent the dumps and performed all of the recommendations - can you log onto the EC2 instance for ma and troubleshoot? I can give the current IP - I have tried all of the recommendations - except for the last one which told me to update to the latest version using service webcallserver update but this gets and error - please help - we are looking to purchase a license if this works -
 

Max

Administrator
Staff member
We didn't receive the pcap file. Please send to logs@flashphoner.com if you have.
Please, note this email is one-way.

To get this working quickly we can setup and test this case on your EC2 instance.
Please send
1) Private key access to this EC2 instance.
2) SIP credentials for call.
3) RTMP address of your Wowza server.
We will test this and report.
E-mail: logs@flashphoner.com
 

Max

Administrator
Staff member
It works now. Please check.

1. We have installed build 2101.
2. We have set
Code:
video_enabled=false
Code:
sip_as_rtmp_use_new_engine=false
in flashphoner.properties
It works on our tests calling to the number: +17182444444 we are able to hear playback from Wowza server.

Regarding latest builds, it seems we have an issue related audio only stream.
So please use build 2101. We are going to fix latest builds next week if it is reproduced on our wowza servers.
 

Dave Kovalcik

New Member
It works now. Please check.

1. We have installed build 2101.
2. We have set
Code:
video_enabled=false
Code:
sip_as_rtmp_use_new_engine=false
in flashphoner.properties
It works on our tests calling to the number: +17182444444 we are able to hear playback from Wowza server.

Regarding latest builds, it seems we have an issue related audio only stream.
So please use build 2101. We are going to fix latest builds next week if it is reproduced on our wowza servers.
How do I edit flashphoner.properties file - my demo server still does not work - do I need to do this on the server?
 

farazahmed04

New Member
Hey Max, we are facing same issue we created ec2 instance where my sip phone is getting established but no stream on our wowza ...can u help me figure out how to change flashphoner.properties
 

Max

Administrator
Staff member
Please create a new thread.
This thread will be market as resolved.
 
Top