The first three in the OS. The codecs in sip.conf, or the equivalent pjsip .conf file.
You will also normally need to know the IP address of their end. There is quite a lot else that you should probably know, although some of it you will be able to guess and some you can deduce from error messages.
(It is not strictly necessary to know which codecs they support, as the default is to offer all ones included in your Asterisk build.)
Thanks
So what sip settings do I use to create the trunk.I have been researching and I gather that this is a setup
without registration so I need to know which settings should I use when creating the trunk.