[asterisk-dev] Asterisk and multiple SIP registrations to the same host

Nick Lewis Nick.Lewis at atltelecom.com
Thu Dec 10 10:13:58 CST 2009

>This is really an asterisk-users question, 
I disagree
>however, try using type=friend and 
>not type=peer in order to allow Asterisk to try matching on the From
>prior to attempting to match on the IP address. By setting type=peer,
you're not 
>creating the user structure that allows matching on the From field, so
>reverts to matching only on the IP address, starting from the bottom to
the top 
>order of sip.conf (this is not true in 1.6.2 anymore -- the order is

I do not think that this will work for the OP. Matching on user portion
of the 
from-header is not what he requires because a call can be from anyone as
as it is via the service provider. What he requires is matching of the
portion of the request-uri to the peername.

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