[asterisk-dev] Pinetree :: For Asterisk SIP trunks behind a SIPproxy

Nick Lewis Nick.Lewis at atltelecom.com
Tue Sep 1 09:22:31 CDT 2009


> With my new code, you can add a rule to the SIP proxy [peer] section,

> saying "don't match me, match who sent to me". The way Asterisk does  
> that, is by reading the second VIA header. This is the device that  
> sent the message to Asterisk - another proxy or an endpoint. You can  
> also be very strict and say "match last via" - which always will be  
> the other endpoint.

I support this approach to proxies for as long as the current ip 
address based matching scheme is employed. 

However I think that in the longer term no ip address based approach 
to matching is appropriate. Matching on the invite request uri 
(register contact) is the best way to distinguish incoming calls to 
different peers. Digest authentication is the best way to ensure the 
other party is as claimed.

Nick_Lewis

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Control Centre.
_____________________________________________________________________
Disclaimer of Liability
ATL Telecom Ltd shall not be held liable for any improper or incorrect use of the  information described and/or contained herein and assumes no responsibility for anyones use  of the information. In no event shall ATL Telecom Ltd be liable for any direct, indirect,  incidental, special, exemplary, or consequential damages (including, but not limited to,  procurement or substitute goods or services; loss of use, data, or profits; or business  interruption) however caused and on any theory of liability, whether in contract, strict  liability, or tort (including negligence or otherwise) arising in any way out of the use of  this system, even if advised of the possibility of such damage.

Registered Office: ATL Telecom Ltd, Fountain Lane, St. Mellons Cardiff, CF3 0FB
Registered in Wales Number 4335781

All goods and services supplied by ATL Telecom Ltd are supplied subject to ATL Telecom Ltd standard terms and conditions, available upon request.



More information about the asterisk-dev mailing list