TIPS from internet

bend94

New Member
Joined
Dec 11, 2018
Messages
9
Reaction score
0
hi

i created 2 extensions chan_sip .
video and voice are working when i am on the same network
now , i opened 5160 and 10000 to 20000 udp on the firewall nat
Now if i call from outside internet, i have only the voice ?
please advice
thx
 

billsimon

Well-Known Member
Joined
Jan 2, 2011
Messages
1,540
Reaction score
729
Logs will show you the problem. You may need to enable sip debug also.

Be sure to enable NAT in your Asterisk SIP settings and extension configurations. And set the correct external IP address.
 

bend94

New Member
Joined
Dec 11, 2018
Messages
9
Reaction score
0
thanks to help me

here is my configuration:

[general]

videosupport=yes
vmexten=*97
useragent=FPBX-14.0.5.2(13.23.0)
disallow=all
allow=ulaw
allow=alaw
allow=gsm
allow=g726
allow=g722
allow=vp8
context=from-sip-external
callerid=Unknown
notifyringing=yes
notifyhold=yes
tos_sip=cs3
tos_audio=ef
tos_video=af41
alwaysauthreject=yes
limitonpeers=yes
rtpend=20000
context=from-sip-external
callerid=Unknown
rtpstart=10000
tcpenable=no
callevents=no
bindport=5160
jbenable=no
checkmwi=10
maxexpiry=3600
minexpiry=60
srvlookup=no
tlsenable=no
allowguest=no
notifyhold=yes
rtptimeout=30
canreinvite=no
tlsbindaddr=[::]:5161
rtpkeepalive=0
videosupport=yes
defaultexpiry=120
notifyringing=yes
maxcallbitrate=384
rtpholdtimeout=300
g726nonstandard=no
registertimeout=20
tlsclientmethod=tlsv1
registerattempts=0
nat=force_rport,comedia
ALLOW_SIP_ANON=no
tlscafile=/etc/ssl/certs/ca-certificates.crt
externip=XXX.XXX.XXX.XXX
localnet=192.168.0.0/24
language=en

[702]
deny=0.0.0.0/0.0.0.0
secret=XX
dtmfmode=rfc2833
canreinvite=no
context=from-internal
host=dynamic
defaultuser=
trustrpid=yes
sendrpid=pai
type=friend
session-timers=accept
nat=force_rport,comedia
port=5060
qualify=yes
qualifyfreq=60
transport=udp
avpf=no
force_avp=no
icesupport=no
rtcp_mux=no
encryption=no
videosupport=yes
namedcallgroup=
namedpickupgroup=
dial=SIP/702
mailbox=702@default
permit=0.0.0.0/0.0.0.0
callerid=702 <702>
callcounter=yes
faxdetect=no

[703]
deny=0.0.0.0/0.0.0.0
secret=XX
dtmfmode=rfc2833
canreinvite=no
context=from-internal
host=dynamic
defaultuser=
trustrpid=yes
sendrpid=pai
type=friend
session-timers=accept
nat=force_rport,comedia
port=5060
qualify=yes
qualifyfreq=60
transport=udp
avpf=no
force_avp=no
icesupport=no
rtcp_mux=no
encryption=no
videosupport=yes
namedcallgroup=
namedpickupgroup=
dial=SIP/703
mailbox=703@default
permit=0.0.0.0/0.0.0.0
callerid=703 <703>
callcounter=yes
faxdetect=no

i changed here secret and externalip for security

please find attached the sip debug session i just did with video

best regards
 

Attachments

  • sip_debug.txt
    80.9 KB · Views: 3

billsimon

Well-Known Member
Joined
Jan 2, 2011
Messages
1,540
Reaction score
729
It means you are starting the call from zoiper as an audio only call. You need to start the call as a video call.
 

bend94

New Member
Joined
Dec 11, 2018
Messages
9
Reaction score
0
Hi
Thanks for your reply.
It is strange because i started a video call from zoiper.
I noticed that when i called from one side let say from 702 (from internet) to 703 (at home) first i have voice then i clicked on incoming and outgoing video it is working voice and video.
But if i called from 703 (from home) to 702 (internet side) even when i clicked on incoming or outgoing video i can t get video but only voice.
What do you think?
Thx
 

tbrummell

Guru
Joined
Jan 8, 2011
Messages
1,275
Reaction score
339
Am I correct in assuming vp8 is the only video codec being offered? Do both endpoints support vp8? What about enabling other codecs for video?
 

Members online

Forum statistics

Threads
25,824
Messages
167,825
Members
19,247
Latest member
mdauck
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top