Simple syntax question

To determine a list of codec used i’ve seen different syntax :

disallow=all
allow=(codecs)

as well as

deny=all
allow=(codecs)

which one is the correct one ??
what’s the difference between deny and disallow ?
Thanks

deny is for the IP access list

It’s allow and disallow - the separator is the &

The definitive reference is always the sample sip.conf distributed with Asterisk.

Clearer now
Thank you