<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.3502.5390" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV> </DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A href="mailto:matt@mgsnet.co.uk" title=matt@mgsnet.co.uk>Matt Scott</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
href="mailto:asterisk-users@lists.digium.com"
title=asterisk-users@lists.digium.com>asterisk-users@lists.digium.com</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, May 17, 2005 5:59 PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> multiple sip accounts from same
sip registrar</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>Dear all,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I have an asterisk sip issue which I don't
believe is unique.</FONT></DIV>
<DIV><FONT face=Arial size=2>I use a registrar (sipgate.co.uk) where I have 3
different accounts.</FONT></DIV>
<DIV><FONT face=Arial size=2>These accounts provide me with three seperate
local phone numbers which allow me to allocate them to seperate
users.</FONT></DIV>
<DIV><FONT face=Arial size=2>By using just one of these accounts I can set
asterisk up to send and receive calls no problem.</FONT></DIV>
<DIV><FONT face=Arial size=2>However, when I start to introduce an additional
account I start to run into problems.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>if I do a 'sip show peers' with a good config I
think it may outline the problem</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>sip show
peers<BR>Name/username
Host Dyn Nat
ACL
Mask
Port Status
<BR>1005/1005
(Unspecified)
D 255.255.255.255
0
Unmonitored<BR>1004/1004
(Unspecified)
D 255.255.255.255
0
Unmonitored<BR>1003/1003
(Unspecified)
D 255.255.255.255
0
Unmonitored<BR>1002/1002
10.0.0.52
D 255.255.255.255
5060
Unmonitored<BR>1001/1001
10.0.0.51
D 255.255.255.255
5060
Unmonitored<BR>sipgate1/321****
217.10.79.219
N 255.255.255.255
5060 OK (52 ms)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I think it maybe a host specific ip address which
must be in a table somewhere in asterisk.</FONT></DIV>
<DIV><FONT face=Arial size=2>I have tried setting it up as a peer and dynamic
but still no joy.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Is there a limitation to this within asterisk. I
have provided a sip.conf below (adjusted), will I need to implement a SER box
(more things to learn which is all good provided it sorts my
problem)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>[general]<BR>port = 5060<BR>bindaddr =
0.0.0.0<BR>disallow=all<BR>allow=ulaw<BR>allow=alaw<BR>allow=gsm<BR>;<BR>register
=> <A
href="mailto:*********.******@sipgate.co.uk/">*********.******@sipgate.co.uk/</A>*******</FONT></DIV>
<DIV><FONT face=Arial size=2>register => <A
href="mailto:***:***********@sipgate.co.uk/">***:***********@sipgate.co.uk/</A>******<BR>[sipgate1]<BR>type=friend<BR>context=from-sipgate1<BR>fromuser=******</FONT></DIV>
<DIV><FONT face=Arial size=2>username=****<BR>authuser=*****</FONT></DIV>
<DIV><FONT face=Arial
size=2>secret=******<BR>host=sipgate.co.uk<BR>fromdomain=sipgate.co.uk<BR>nat=yes<BR>dtmfmode=info<BR>qualify=yes<BR>insecure=very<BR>canreinvite=no<BR>;<BR>[sipgate2]<BR>type=friend<BR>context=from-sipgate2<BR>fromuser=*********</FONT></DIV>
<DIV><FONT face=Arial size=2>username=******</FONT></DIV>
<DIV><FONT face=Arial size=2>authuser=*******</FONT></DIV>
<DIV><FONT face=Arial size=2>secret=*********</FONT></DIV>
<DIV><FONT face=Arial
size=2>host=sipgate.co.uk<BR>fromdomain=sipgate.co.uk<BR>nat=yes<BR>dtmfmode=info<BR>qualify=yes<BR>insecure=very<BR>canreinvite=no<BR>;<BR>[1001]<BR>type=friend<BR>username=1001<BR>secret=*****<BR>host=dynamic<BR>dtmfmode=rfc2833<BR>context=from-sipphones<BR>;mailbox=1001<BR>allow=alaw<BR>allow=ulaw</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>kindest
regards</FONT></DIV></BLOCKQUOTE></BODY></HTML>