Answer the question
In order to leave comments, you need to log in
Asterisk how to fix Port missing in (null)?
Greetings, Comrades!
When making an outgoing call, the following message pops up on the screen via asterisk -r:
WARNING[2384]: netsock2.c:210 ast_sockaddr_split_hostport: Port missing in (null)
At the same time, the call goes on and everything is fine, how to remove this error?
UDP:
;
; SIP Configuration example for Asterisk
;
[general]
externaddr = 10.9.3.7:5060
localnet = 192.168.50.0/24
localnet = 10.9.0.0/16
localnet = 10.10.0.0/16
language=ru
context=default
allowoverlap=no
udpbindaddr=0.0.0.0
tcpenable=no
tcpbindaddr=0.0.0.0
transport=udp
srvlookup=yes
allowguest=no
limitonpeers=yes
alwaysauthreject=yes
defaultexpiry=300
minexpiry=300
maxexpiry=3600
[authentication]
[213137]
type=peer
host=10.10.10.100
port=5060
nat=no
insecure=invite,port
disallow=all
allow=alaw
allow=ulaw
dtmfmode=auto
secret=******
defaultuser=213137
fromuser=213137
callbackextension=213137
context=incoming
canreinvite=no
directmedia=no
Answer the question
In order to leave comments, you need to log in
Try to remove externaddr = 10.9.3.7:5060
Replace withexternip = 10.9.3.7
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question