<!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.2900.3243" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>At the moment in order to register you must use
static configs in sip.conf. As far as the friend/peer etc. settings you can do
that in sip.conf or in real time. You can also mix and match (use real time and
static configuration).</FONT></DIV>
<DIV> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=hugolivude@gmail.com
href="mailto:hugolivude@gmail.com">hugolivude</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=asterisk-users@lists.digium.com
href="mailto:asterisk-users@lists.digium.com">Asterisk Users Mailing List -
Non-Commercial Discussion</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, December 29, 2007 12:10
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [asterisk-users] sip.conf &
realtime</DIV>
<DIV><BR></DIV><SPAN style="FONT-FAMILY: arial,helvetica,sans-serif">Hi
-</SPAN><BR style="FONT-FAMILY: arial,helvetica,sans-serif"><BR
style="FONT-FAMILY: arial,helvetica,sans-serif"><SPAN
style="FONT-FAMILY: arial,helvetica,sans-serif">I'm looking into realtime and
I'm having a bit of a problem with the SIP part. </SPAN><BR
style="FONT-FAMILY: arial,helvetica,sans-serif"><BR
style="FONT-FAMILY: arial,helvetica,sans-serif"><SPAN
style="FONT-FAMILY: arial,helvetica,sans-serif">My review of the posts seems
to indicate that I should use realtime static for the [general] part of my
sip.conf including the registration commands:</SPAN><BR
style="FONT-FAMILY: arial,helvetica,sans-serif"><BR
style="FONT-FAMILY: arial,helvetica,sans-serif">
<DIV
style="MARGIN-LEFT: 40px; FONT-FAMILY: arial,helvetica,sans-serif">register=><did>:<secret>@<domain>/<did
context> <BR></DIV><BR
style="FONT-FAMILY: arial,helvetica,sans-serif"><SPAN
style="FONT-FAMILY: arial,helvetica,sans-serif">and use realtime realtime
(funny name!) for peers and friends:</SPAN><BR
style="FONT-FAMILY: arial,helvetica,sans-serif"><BR
style="FONT-FAMILY: arial,helvetica,sans-serif">
<DIV
style="MARGIN-LEFT: 40px; FONT-FAMILY: arial,helvetica,sans-serif">[myprovider]
<BR>type=peer <BR>auth=md5 <BR>username=...<BR>fromuser=...<BR>fromdomain=...
<BR>secret=...<BR>host=... <BR>port=5060 <BR>nat=yes <BR>canreinvite=yes
<BR>qualify=no <BR>disallow=all <BR>allow=ulaw<BR>dtmfmode=rfc2833
<BR>insecure=port,invite<BR>context=incoming-sip<BR></DIV><BR
style="FONT-FAMILY: arial,helvetica,sans-serif"><SPAN
style="FONT-FAMILY: arial,helvetica,sans-serif">Is this correct? What's
throwing me off is this statment found </SPAN><A
style="FONT-FAMILY: arial,helvetica,sans-serif"
href="http://www.voip-info.org/wiki/index.php?page=Asterisk%20RealTime%20Static"
target=_blank>here:</A><SPAN style="FONT-FAMILY: arial,helvetica,sans-serif">
</SPAN><BR style="FONT-FAMILY: arial,helvetica,sans-serif">
<DIV
style="MARGIN-LEFT: 40px; FONT-FAMILY: arial,helvetica,sans-serif"><B><BR>NOTE:</B>
You can only store a static config OR a RealTime config. You cannot, for
example, store sip.conf and use sipfriends via RealTime.<BR><BR></DIV><SPAN
style="FONT-FAMILY: arial,helvetica,sans-serif">This would suggest that I'll
have to do a reload when I add a DiD, but a reload won't be necessary if a new
SIP client is added. Do I have it right? </SPAN><BR
style="FONT-FAMILY: arial,helvetica,sans-serif"><BR
style="FONT-FAMILY: arial,helvetica,sans-serif"><SPAN
style="FONT-FAMILY: arial,helvetica,sans-serif">Also, what's the difference
between a peer and a user? I used to think that a "user" was an
agent authorized to call in to my * box, a "peer" was an agent I could
reach and a "freind" was both. What's throwing me off now is the
statement found </SPAN><A style="FONT-FAMILY: arial,helvetica,sans-serif"
href="http://www.voip-info.org/wiki/index.php?page=Asterisk%20RealTime%20Static">here:</A><BR
style="FONT-FAMILY: arial,helvetica,sans-serif"><BR
style="FONT-FAMILY: arial,helvetica,sans-serif">
<DIV style="MARGIN-LEFT: 40px; FONT-FAMILY: arial,helvetica,sans-serif">With
newer versions of Asterisk the concept of SIP 'users' will be phased out.
<BR><BR></DIV><SPAN style="FONT-FAMILY: arial,helvetica,sans-serif">I can't
understand this especially in the context of extconfig.conf that uses both a
sipuser and sippeer entry. Could someone clarify for me?
</SPAN><BR style="FONT-FAMILY: arial,helvetica,sans-serif"><BR
style="FONT-FAMILY: arial,helvetica,sans-serif"><SPAN
style="FONT-FAMILY: arial,helvetica,sans-serif">Thanks,</SPAN><BR
style="FONT-FAMILY: arial,helvetica,sans-serif"><SPAN
style="FONT-FAMILY: arial,helvetica,sans-serif">H</SPAN><BR>
<P>
<HR>
<P></P>_______________________________________________<BR>--Bandwidth and
Colocation Provided by http://www.api-digital.com--<BR><BR>asterisk-users
mailing list<BR>To UNSUBSCRIBE or update options visit:<BR>
http://lists.digium.com/mailman/listinfo/asterisk-users</BLOCKQUOTE></BODY></HTML>