I am currently configuring peer access from a whole network in Asterisk 1.4.24 using the following entry in my sip.conf:
permit=A.B.C.0/255.255.255.0 (<=== where A.B.C.0 is the network address)
When trying to call in I receive a chan_sip.c:5630 process_sdp: No compatible codecs, not accepting this offer! error message. It’s absolutely save that I configured the codecs correctly - I can even add 255 single peers (all possible IPs from that network as 255 single peers) - don’t laugh - I tried that and it works correctly.
What am I doing wrong? I want to match on all IP addresses from a certain network using the permit-syntax. I could only find some basic documentation on which my above configuration is based on.
Any help is appreciated!