No audio with internal or external devices

When I set the externaddr option. There is no Audio from internal Devices. External SIP devices work perfectly. Without externaddr only Internal devices get´s audio.

Meine SIP.conf:
[general]
context=intern
bindport=5060
bindaddr=xxx.xxx.xxx.xxx
srvlookup=yes
externaddr = XXX.XXX.XXX.XX1
localnet=XXX.XXX.XXX.2/255.255.255.0
localnet=XXX.XXX.XXX.3/255.255.255.0
media_address = XXX.XXX.XXX.XX1
;matchexternaddrlocally = no
directmedia=no
maxexpiry=360
defaultexpiry=120
allowguest=no
nat=force_rport,comedia
transport=udp

[81 intern]
type=friend
secret=XXXXXXXXXX
context=SIPin
callerid=“81” <81>
host=dynamic
allow=alaw
allow=ulaw
allow=gsm
deny=0.0.0.0/0
permit=xxxx.xxxx.xxx.1/255.255.255.0

[91 extern]
type=friend
secret=XXXXXX
nat=force_rport,comedia
context=SIPin
callerid=“Extern” <91>
host=dynamic
canreinvite=no
qualify=yes
disallow=all
allow=gsm

I suspect you are setting the “localnet” parameter wrong. Can you please write what you are using for the “localnet” value? Since “localnet” describes a LAN network subnet, your security will not be jeopardized :wink:

Thats the plaintext:
localnet=192.168.24.0/255.255.255.0
localnet=192.168.1.0/255.255.255.0

My comments on the required information, made the first time you posted this, still applyh.

Found the F****** Failure ****gfghfhgfhfgGFG
Changed
localnet=192.168.24.0/255.255.255.0
localnet=192.168.1.0/255.255.255.0

to:
localnet=192.168.24.0/24
localnet=192.168.1.0/24