[asterisk-dev] Sip Domain ACL

Olle E. Johansson oej at edvina.net
Wed Apr 29 11:32:08 CDT 2009


29 apr 2009 kl. 18.24 skrev David Hansen:

>
> The domain setting in sip.conf that is supposed to send calls from a  
> particular domain to a specified context doesnt seem to be working.
>
> domain=mixnetworks.net,from_mix
>
> Shouldnt this send all calls from that domain to the from_mix  
> context?  This is getting ignored and going to the default context.
>
Then file a bug report at bugs.digium.com stating your version of  
asterisk too - it's hard to help you without ALL the facts. Please  
read the bug guidelines on what to do and which data to provide.

But first, check the documentation.

----
;----------------------------------------- SIP DOMAIN SUPPORT  
------------------------
; Incoming INVITE and REFER messages can be matched against a list of  
'allowed'
; domains, each of which can direct the call to a specific context if  
desired.
; By default, all domains are accepted and sent to the default context  
or the
; context associated with the user/peer placing the call.
; REGISTER to non-local domains will be automatically denied if a domain
; list is configured.
;
; Domains can be specified using:
; domain=<domain>[,<context>]
; Examples:
; domain=myasterisk.dom
; domain=customer.com,customer-context
;
-------

This is the domain in the request uri, not the From: header. The  
domain= parameter controls which domains *YOUR* asterisk hosts.

Cheers,

/O



More information about the asterisk-dev mailing list