[asterisk-dev] Working in useful examples... and freenum/e.164dialing in extensions.conf.example

Philip A. Prindeville philipp_subx at redfish-solutions.com
Wed Dec 2 11:11:44 CST 2009


On 12/02/2009 01:17 AM, Nick Lewis wrote:
>> but ran into some problems having to do with the following:  
>> we use SIP >handsets in house, and those operate in the 
>> redfish-solutions.com >domain... but anonymous SIP (freenum) 
>> calls coming in off the internet would also be in the same 
>> domain.  I can't figure out how to separate calls in the 
>> same domain (but from different endpoints) in two different 
>> contexts.
>>     
> I guess you can separate calls on their username in the from header if
> the peer type is set to user (or friend) something 
> like -
>
> sip.conf:
>
> [inhousephone1]
> type=user
> context=from-inhousephones
> ...
> [inhousephone2]
> type=user
> context=from-inhousephones
> ...
>   

Yeah, I tried that, but it didn't seem to make any difference.

-Philip




More information about the asterisk-dev mailing list