<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16609" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>First of all, if Asterisk is the client and it must
register to the other side, does the peer\user entry have to be in sip.conf, or
can it be in ARA?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Second, why do all calls fall through to the last
context specified, whether in that peer\user definition or not? I'm
assuming it's a typo somewhere, but I can't find it. I had a full
sip.conf, but axed a lot of the fluff trying to remove any source of
typo.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[root@Aiur asterisk]# cat
sip.conf<BR>[general]<BR>context=default<BR>port=5060<BR>canreinvite=no</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>;register =>
8157582715:XXXX:2715@voip.essex1.com ; ottos 815-758-2715<BR>register
=> 8157879826:XXXX:9826@voip.essex1.com ; ottos 815-787-9826<BR>;register
=> 8159092441:XXXX:2441@voip.essex1.com ; RWest
815-909-2441<BR>;register => 8159092443:XXXX:2441@voip.essex1.com ;
RWest 815-909-2443</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>;----------------------------------------- REALTIME
SUPPORT ------------------------<BR>; For additional information on ARA, the
Asterisk Realtime Architecture,<BR>; please read realtime.txt and extconfig.txt
in the /doc directory of the<BR>; source
code.<BR>;<BR>rtcachefriends=yes
; Cache realtime friends by adding them to the internal
list<BR>
; just like friends added from the config file only on
a<BR>
; as-needed basis? (yes|no)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2>;rtsavesysname=yes
; Save systemname in realtime database at
registration<BR>
; Default= no</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2>;rtupdate=yes
; Send registry updates to database using realtime?
(yes|no)<BR>
; If set to yes, when a SIP UA registers successfully, the ip
address,<BR>
; the origination port, the registration period, and the username
of<BR>
; the UA will be set to database via
realtime.<BR>
; If not present, defaults to
'yes'.<BR>;rtautoclear=yes
; Auto-Expire friends created on the fly on the same
schedule<BR>
; as if it had just registered?
(yes|no|<seconds>)<BR>
; If set to yes, when the registration expires, the friend
will<BR>
; vanish from the configuration until requested again. If
set<BR>
; to an integer, friends expire within this number of
seconds<BR>
; instead of the registration interval.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>;ignoreregexpire=yes
; Enabling this setting has two
functions:<BR>
;<BR>
; For non-realtime peers, when their registration expires,
the<BR>
; information will _not_ be removed from memory or the Asterisk
database<BR>
; if you attempt to place a call to the peer, the existing
information<BR>
; will be used in spite of it having
expired<BR>
;<BR>
; For realtime peers, when the peer is retrieved from realtime
storage,<BR>
; the registration information will be used regardless of
whether<BR>
; it has expired or not; if it expires while the realtime
peer<BR>
; is still in memory (due to caching or other reasons),
the<BR>
; information will not be removed from realtime storage</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2>[8157582715]<BR>type=friend<BR>accountcode=2<BR>context=ottos<BR>secret=XXXX<BR>username=2715<BR>fromuser=8157582715<BR>insecure=very<BR>host=63.175.151.3
;voip.essex1.com<BR>fromdomain=63.175.151.3
;voip.essex1.com<BR>canreinvite=no<BR>disallow=all<BR>allow=ulaw<BR>allow=alaw<BR>;qualify=yes</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2>[8159092441]<BR>type=friend<BR>accountcode=12<BR>context=rwest<BR>secret=XXXX</FONT></DIV>
<DIV><FONT face=Arial
size=2>username=2441<BR>fromuser=8159092441<BR>insecure=very<BR>host=63.175.151.3
;voip.essex1.com<BR>fromdomain=63.175.151.3
;voip.essex1.com<BR>canreinvite=no<BR>disallow=all<BR>allow=ulaw<BR>allow=alaw<BR>;qualify=yes</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2>[8159092443]<BR>type=friend<BR>accountcode=12<BR>context=rwest<BR>secret=XXXX<BR>username=2441<BR>fromuser=8159092443<BR>insecure=very<BR>host=63.175.151.3
;voip.essex1.com<BR>fromdomain=63.175.151.3
;voip.essex1.com<BR>canreinvite=no<BR>disallow=all<BR>allow=ulaw<BR>allow=alaw<BR>;qualify=yes</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2>[8157879826]<BR>type=friend<BR>;accountcode=2<BR>context=ics<BR>secret=XXXX<BR>username=9826<BR>fromuser=8157879826<BR>insecure=very<BR>host=63.175.151.3
;voip.essex1.com<BR>fromdomain=63.175.151.3
;voip.essex1.com<BR>;canreinvite=no<BR>;disallow=all<BR>;allow=ulaw<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>----------<BR>Mike Hammett<BR>Intelligent Computing
Solutions<BR><A
href="http://www.ics-il.com">http://www.ics-il.com</A></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>