Callmanager to asterisk trunk

How to I configure asterisk to allow only calls from callmanager ip, but not from any other ip addresses?


This is how I did it (from examples I found on the web). This may not be the best/right way to do it.

in sip.conf

under [general]

in extensions.conf add the following context


This will tell any call from unspecified sip peers to send a congestion message back to the originator. You will also get a complaint from asterisk about the _. in your logfile. This is because _. matches any dialed pattern and it is typically a no-no to do this.


I will try it