[Serusers] SER and Asterisk authentication

Arek Bekiersz sip at perceval.net
Fri Nov 25 19:23:42 CET 2005


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




More information about the sr-users mailing list