Asterisk 20. I would like to use CHECKSIPDOMAIN() in a dialplan. Sorry to trouble everybody, but I cannot find out which module contains it. I have been loading more and more modules but it refuses to appear. I have spent an hour so far, including doing “string” checks on binary files without success.
So two questions 1. Can someone give me a hint as to which module it is in.
2. Is there any way that, given a function or an APP name, get the module.so name without first loading the module?
Ah, oh dear. I have been avoiding chan_sip - I am not sure I want to load it.
Thanks for the hint about the grep switches to use. I built asterisk from source, so I do have it all. Rather itimidating code I have to admit. Thanks to both respondents - I guess I will have to change my strategy a bit.
PS, I read somewhere a post from 2021 saying that chan_sip was going to be removed from the standard release “in two years” - so maybe best to really avoid using any of it.
Ah, useful information! I am currently working with 20.7 (I think) but my plan is to jump to 22 built on a headless raspberry pi 4 or 5 (yes, I don’t need a lot of phones) as soon as I have a working system. So DEFINITELY don’t use anything from chan_sip!
Perhaps somewhere in the doc, the functions only available in chan_sip should be deprecated (or maybe I just missed that because I use docs for 20).