These are console logs for connection.
It looks that there is no mentions to video.
What message should appear for video connection?
Verbosity is at least 3
== Using SIP RTP CoS mark 5
– Executing [user2@default:1] Dial(“SIP/user1-00000002”, “SIP/user2,30,r”) in new stack
== Using SIP RTP CoS mark 5
– Called SIP/user2
– SIP/user2-00000003 is ringing
– SIP/user2-00000003 answered SIP/user1-00000002
– Locally bridging SIP/user1-00000002 and SIP/user2-00000003
www15000uf*CLI>
You can try to have “videosupport=yes” in both [general]
and for all the [user*] you want this yo work for!
[code][general]
…
…
…
videosupport=yes
…
…
[user1]
…
…
…
videosupport=yes
…
…[/code]
I tried with this and got both voice and video on a Asterisk 1.4.5
with a Grandstream GXV3000 phone and X-Light with h263 or h264,
but not with both allowed at the same time?
Don’t know why!
Do you have a firewall that might block some ports that is needed?
Do you have NAT and need port forwarding?
If you have a firewall, try to open it up and try again!
My clients are behind the Nat.
So I added the ‘nat=yes’ to sip.conf each user section.
My Server has global adress (VPS)
I have checed iptables and asked data center if there is some firewall between VPS and internet.
There are no firewall.
But video still doesnt work.
and Which port should I open for video?
I connected to server with asterisk -vvvvvr and checked the log.
> Saved useragent "Linphone/3.5.2 (eXosip2/3.6.0)" for peer user2
== Using SIP RTP CoS mark 5
– Executing [user2@default:1] Dial(“SIP/user1-00000000”, “SIP/user2,30,r”) in new stack
== Using SIP RTP CoS mark 5
– Called SIP/user2
– SIP/user2-00000001 is ringing
[Oct 20 01:49:03] WARNING[19612]: chan_sip.c:9048 process_sdp: Ignoring video media offer because port number is zero
– SIP/user2-00000001 answered SIP/user1-00000000
– Locally bridging SIP/user1-00000000 and SIP/user2-00000001
– Registered SIP ‘user2’ at 182...:4336
– Registered SIP ‘user2’ at 219..*.:4108
It is maybe relevant to port number
[Oct 20 01:49:03] WARNING[19612]: chan_sip.c:9048 process_sdp: Ignoring video media offer because port number is zero
I think my situation is the same as this thred. forums.asterisk.org/viewtopic.php?p=172431
This questionnaire seems to have succeeded in slove the problems,but There is no information how…
UDP must be relevant with this problem though…