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

Olle E. Johansson oej at edvina.net
Tue Sep 1 09:45:55 CDT 2009


1 sep 2009 kl. 16.22 skrev Nick Lewis:

>
>> 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.

Then you're assuming a registration, Nick. This is not always the case.

/O



More information about the asterisk-dev mailing list