You should add following in sip.conf in Asterisk:
; Proxy server for making calls to SIP or receiving calls from SIP
[your.ser.host]
type=friend
host=your.ser.host
context = your-origin
fromdomain=your.domain
In SER, do something like this:
# Authentication for all but your host
if( method=="INVITE" && src_ip!=your.ser.host.ip) {
# Authorize here
}
--
Arek
Voipers Portugal wrote:
Hello,
I am trying to authenticate the call redirection between my SER and my
Asterisk server. My idea is to create a User for each Server, but still
donĀ“t know how to do it. Any ideas?
Regards,
Jose Simoes