Authenticate incoming calls by domain

Joined: Thu 06 of Nov, 2008

Authenticate incoming calls by domain

Posted:Thu 06 of Nov, 2008 (12:14 UTC)
Hi all, apologies if this has already been covered.

I'm using Asterisk 1.2 on Debian and am happy with general operation. I am however trying to allow inbound direct URI dialling, and in particular would like to be able to offer different extensions or services depending on which domain the call is originating from. I can see no way to do this in either sip.conf (I can't find a way to change context depending on the originating domain) or in extensions.conf (there is no variable for originating domain that I can see.)

Does anyone have any ideas on this?

Also, on the same subject, I have several client connections to a standard sip server registered in sip.conf using the register=> command. This only works for incoming calls however with the "insecure=very" directive - I would prefer to leave things as secure as possible and perhaps again authenticate via the originating domain - or some other method.

Thanks for any help.