[asterisk-dev] Kill the user, kill the user!

Johansson Olle E oej at edvina.net
Mon Dec 10 00:46:10 CST 2007


7 dec 2007 kl. 09.08 skrev Steve Langstaff:

>> From: asterisk-dev-bounces at lists.digium.com
>> [mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of
>> Johansson Olle E
>
>> I've created a branch called "kill_the_user" that has no
>> type=friend or type=user, only peers.
>>
>> Incoming calls are handled this way
>>
>> * First, we match on peer object name with the From username
>> * Then we try to match on IP/Port
>> * If we can't match, we send to the context defined in the "general"
>> section in sip.conf or to "default".
>
> Will this mechanism be able to distinguish between calls from the
> following?
> 	From: <sip:1234 at example1.net>
> 	From: <sip:1234 at example2.net>

Domain matching is on my list to add, but it is not included in the
first step.

/O



More information about the asterisk-dev mailing list