<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Nachricht</TITLE>
<META content="MSHTML 6.00.2800.1276" name=GENERATOR></HEAD>
<BODY style="COLOR: #000000; FONT-FAMILY: Arial">
<DIV><FONT size=2></FONT> </DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Peter David
[mailto:PDavid@bbcominc.com] <BR><B>Sent:</B> Wednesday, December 17, 2003
7:43 PM<BR><B>To:</B> Peter David; serusers@lists.iptel.org<BR><B>Subject:</B>
[Serusers] RE: Using Sip Sak<BR><BR></FONT></DIV>
<DIV id=0></DIV>
<DIV><SPAN class=472024118-17122003><FONT size=2> Hello
everyone,</FONT></SPAN></DIV>
<DIV><SPAN class=472024118-17122003></SPAN> </DIV>
<DIV><SPAN class=472024118-17122003><FONT size=2>I did the config in
accordance with the DOCS that was on the site....Isthere anything on this cfg
file that I did not do correctly</FONT> </SPAN><BR><BR><FONT
size=2>[root@bbcom-ser ser]# more ser.cfg<BR>#<BR># $Id: ser.cfg,v 1.21.4.1
2003/11/10 15:35:15 andrei Exp $<BR>#<BR># simple quick-start config
script<BR>#</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2># ----------- global configuration parameters
------------------------</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>#debug=3 #
debug level (cmd line:
-dddddddddd)<BR>#fork=yes<BR>#log_stderror=no
# (cmd line: -E)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>/* Uncomment these lines to enter debugging mode
<BR>debug=7<BR>fork=no<BR>log_stderror=yes<BR>*/</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>check_via=no # (cmd. line:
-v)<BR>dns=no #
(cmd. line: -r)<BR>rev_dns=no # (cmd. line:
-R)<BR>#port=5060<BR>#children=4<BR>fifo="/tmp/ser_fifo"</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2># ------------------ module loading
----------------------------------</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2># Uncomment this if you want to use SQL
database<BR>loadmodule "/usr/local/lib/ser/modules/mysql.so"</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>loadmodule "/usr/local/lib/ser/modules/sl.so"<BR>loadmodule
"/usr/local/lib/ser/modules/tm.so"<BR>loadmodule
"/usr/local/lib/ser/modules/rr.so"<BR>loadmodule
"/usr/local/lib/ser/modules/maxfwd.so"<BR>loadmodule
"/usr/local/lib/ser/modules/usrloc.so"<BR>loadmodule
"/usr/local/lib/ser/modules/registrar.so"</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2># Uncomment this if you want digest authentication<BR>#
mysql.so must be loaded !<BR>loadmodule
"/usr/local/lib/ser/modules/auth.so"<BR>loadmodule
"/usr/local/lib/ser/modules/auth_db.so"</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2># ----------------- setting module-specific parameters
---------------</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2># -- usrloc params --</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>#modparam("usrloc", "db_mode", 0)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2># Uncomment this if you want to use SQL database <BR># for
persistent storage and comment the previous line<BR>modparam("usrloc",
"db_mode", 2)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2># -- auth params --<BR># Uncomment if you are using auth
module<BR>#<BR>modparam("auth_db", "calculate_ha1", yes)<BR>#<BR># If you set
"calculate_ha1" parameter to yes (which true in this config), <BR># uncomment
also the following parameter)<BR>#<BR>modparam("auth_db", "password_column",
"password")</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2># -- rr params --<BR># add value to ;lr param to make some
broken UAs happy<BR>modparam("rr", "enable_full_lr", 1)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2># ------------------------- request routing logic
-------------------</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2># main routing logic</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>route{</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2> # initial sanity
checks -- messages with<BR> #
max_forwards==0, or excessively long
requests<BR> if
(!mf_process_maxfwd_header("10"))
{<BR>
sl_send_reply("483","Too Many
Hops");<BR>
break;<BR>
};<BR> if ( msg:len > max_len )
{<BR>
sl_send_reply("513", "Message too
big");<BR>
break;<BR> };</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2> # we record-route
all messages -- to make sure
that<BR> # subsequent messages will
go through our proxy; that's<BR> #
particularly good if upstream and downstream
entities<BR> # use different
transport protocol<BR>
record_route();<BR> # loose-route
processing<BR> if (loose_route())
{<BR>
t_relay();<BR>
break;<BR> };</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2> # if the request
is for other domain use UsrLoc<BR> #
(in case, it does not work, use the following
command<BR> # with proper names and
addresses in it)<BR> if
(uri==bbcominc.com) {</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV></BLOCKQUOTE>
<DIV dir=ltr><SPAN class=689575018-17122003><FONT size=2>maybe =="bbcominc.com"
works better. </FONT></SPAN></DIV>
<DIV dir=ltr><SPAN class=689575018-17122003><FONT
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr><SPAN class=689575018-17122003><FONT
size=2>klaus</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV><FONT
size=2>
if (method=="REGISTER") {</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2># Uncomment this if you want to use digest
authentication<BR>
if (!www_authorize("bbcominc.com", "subscriber"))
{<BR>
www_challenge("bbcominc.com",
"0");<BR>
break;<BR>
};</FONT></DIV>
<DIV> </DIV>
<DIV><FONT
size=2>
save("location");<BR>
break;<BR>
};</FONT></DIV>
<DIV> </DIV>
<DIV><FONT
size=2>
# native SIP destinations are handled using our USRLOC
DB<BR>
if (!lookup("location"))
{<BR>
sl_send_reply("404", "Not
Found");<BR>
break;<BR>
};<BR>
};<BR> # forward to current uri now;
use stateful forwarding; that<BR> #
works reliably even if we forward from TCP to
UDP<BR> if (!t_relay())
{<BR>
sl_reply_error();<BR>
};</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>}</FONT></DIV><SPAN id=hbblock>
<DIV> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2><BR></FONT> </DIV><LABEL id=HbSession
SessionId="930142577"></LABEL>
<DIV><SPAN class=606575016-17122003><FONT size=2>Hello
Everyone,</FONT></SPAN></DIV>
<DIV><SPAN class=606575016-17122003><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=606575016-17122003><FONT size=2>I think I have my SER setup
I just need to runn some test.</FONT></SPAN></DIV>
<DIV><SPAN class=606575016-17122003><FONT size=2>Do I have to run SIpsak on
the ser or another Box like a linux box.</FONT></SPAN><SPAN
class=606575016-17122003></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><SPAN class=606575016-17122003><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=606575016-17122003><FONT size=2>I did the
following:</FONT></SPAN></DIV>
<DIV><SPAN class=606575016-17122003><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=606575016-17122003><FONT size=2><STRONG>[root@radius01
root]#</STRONG> <FONT color=#008000><STRONG>sipsak -s
sip:pdavid@bbcom-ser.bbcominc.com -vv<BR></STRONG></FONT>New message with
Via-Line:<BR>OPTIONS sip:pdavid@bbcom-ser.bbcominc.com SIP/2.0<BR>Via:
SIP/2.0/UDP radius01.bbcominc.com:32799<BR>From:
<sip:sipsak@radius01.bbcominc.com:32799><BR>To:
<sip:pdavid@bbcom-ser.bbcominc.com><BR>Call-ID: <A
href="mailto:203787683@radius01.bbcominc.com">203787683@radius01.bbcominc.com</A><BR>CSeq:
1 OPTIONS<BR>Contact:
<sip:sipsak@radius01.bbcominc.com:32799><BR>Content-Length:
0<BR>Max-Forwards: 70<BR>User-Agent: sipsak 0.8.6<BR>Accept:
text/plain</FONT></SPAN></DIV>
<DIV> </DIV><SPAN class=606575016-17122003><FONT size=+0>
<DIV><BR><FONT size=2>** request **<BR>OPTIONS
sip:pdavid@bbcom-ser.bbcominc.com SIP/2.0<BR>Via: SIP/2.0/UDP
radius01.bbcominc.com:32799<BR>From:
<sip:sipsak@radius01.bbcominc.com:32799><BR>To:
<sip:pdavid@bbcom-ser.bbcominc.com><BR>Call-ID: </FONT><A
href="mailto:203787683@radius01.bbcominc.com"><FONT color=#000000
size=2>203787683@radius01.bbcominc.com</FONT></A><BR><FONT size=2>CSeq: 1
OPTIONS<BR>Contact:
<sip:sipsak@radius01.bbcominc.com:32799><BR>Content-Length:
0<BR>Max-Forwards: 70<BR>User-Agent: sipsak 0.8.6<BR>Accept:
text/plain</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><BR><FONT size=2>** timeout after 500 ms**<BR>** request **<BR>OPTIONS
sip:pdavid@bbcom-ser.bbcominc.com SIP/2.0<BR>Via: SIP/2.0/UDP
radius01.bbcominc.com:32799<BR>From:
<sip:sipsak@radius01.bbcominc.com:32799><BR>To:
<sip:pdavid@bbcom-ser.bbcominc.com><BR>Call-ID: </FONT><A
href="mailto:203787683@radius01.bbcominc.com"><FONT color=#000000
size=2>203787683@radius01.bbcominc.com</FONT></A><BR><FONT size=2>CSeq: 1
OPTIONS<BR>Contact:
<sip:sipsak@radius01.bbcominc.com:32799><BR>Content-Length:
0<BR>Max-Forwards: 70<BR>User-Agent: sipsak 0.8.6<BR>Accept:
text/plain</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>message received:<BR>SIP/2.0 483 Too Many Hops<BR>Via:
SIP/2.0/UDP radius01.bbcominc.com:32799;received=66.234.143.178<BR>From:
<sip:sipsak@radius01.bbcominc.com:32799><BR>To:
<sip:pdavid@bbcom-ser.bbcominc.com>;tag=b27e1a1d33761e85846fc98f5f3a7e58.743f<BR>Call-ID:
</FONT><A href="mailto:203787683@radius01.bbcominc.com"><FONT color=#000000
size=2>203787683@radius01.bbcominc.com</FONT></A><BR><FONT size=2>CSeq: 1
OPTIONS<BR>Server: Sip EXpress router (0.8.12
(i386/linux))<BR>Content-Length: 0<BR>Warning: 392 66.234.143.180:5060
"Noisy feedback tells: pid=1621 req_src_ip=66.234.143.180
req_src_port=5060 in_uri=sip:pdavid@bbcom-ser.bbcominc.com
out_uri=sip:pdavid@bbcom-ser.bbcominc.com via_cnt==71"</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>** reply received 1195.150 ms after first
send<BR> and 678.739 ms after last send **<BR>
SIP/2.0 483 Too Many Hops<BR> final received</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><SPAN class=606575016-17122003><FONT
size=2>====================================================================================</FONT></SPAN></DIV>
<DIV><SPAN class=606575016-17122003><FONT size=2><STRONG>[root@radius01
root]#</STRONG> <FONT color=#008000><STRONG>sipsak -T -s
sip:pdavid@bbcom-ser.bbcominc.com <BR></STRONG></FONT>warning: IP extract
from warning activated to be more informational<BR>0: 66.234.143.180 (18.961
ms) SIP/2.0 483 Too Many Hops<BR>1: 66.234.143.180 (15.510 ms) SIP/2.0 483
Too Many Hops<BR>2: 66.234.143.180 (41.453 ms) SIP/2.0 483 Too Many
Hops<BR>3: 66.234.143.180 (39.659 ms) SIP/2.0 483 Too Many Hops<BR>4:
66.234.143.180 (56.881 ms) SIP/2.0 483 Too Many Hops<BR>5: 66.234.143.180
(66.248 ms) SIP/2.0 483 Too Many Hops<BR>6: 66.234.143.180 (69.779 ms)
SIP/2.0 483 Too Many Hops<BR>7: 66.234.143.180 (85.664 ms) SIP/2.0 483 Too
Many Hops<BR>8: 66.234.143.180 (100.143 ms) SIP/2.0 483 Too Many Hops<BR>9:
66.234.143.180 (111.643 ms) SIP/2.0 483 Too Many Hops<BR>10: 66.234.143.180
(121.099 ms) SIP/2.0 483 Too Many Hops<BR>11: 66.234.143.180 (140.994 ms)
SIP/2.0 483 Too Many Hops<BR>12: 66.234.143.180 (140.692 ms) SIP/2.0 483 Too
Many Hops<BR>13: 66.234.143.180 (177.798 ms) SIP/2.0 483 Too Many
Hops<BR>14: 66.234.143.180 (163.843 ms) SIP/2.0 483 Too Many Hops<BR>15:
66.234.143.180 (193.053 ms) SIP/2.0 483 Too Many Hops<BR>16: 66.234.143.180
(209.526 ms) SIP/2.0 483 Too Many Hops<BR>17: 66.234.143.180 (229.255 ms)
SIP/2.0 483 Too Many Hops<BR>18: 66.234.143.180 (225.985 ms) SIP/2.0 483 Too
Many Hops<BR>19: 66.234.143.180 (236.770 ms) SIP/2.0 483 Too Many
Hops<BR>20: 66.234.143.180 (269.157 ms) SIP/2.0 483 Too Many Hops<BR>21:
66.234.143.180 (295.315 ms) SIP/2.0 483 Too Many Hops<BR>22: 66.234.143.180
(302.434 ms) SIP/2.0 483 Too Many Hops<BR>23: 66.234.143.180 (352.886 ms)
SIP/2.0 483 Too Many Hops<BR>24: 66.234.143.180 (320.909 ms) SIP/2.0 483 Too
Many Hops</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=606575016-17122003><FONT size=2>[root@radius01 root]#
</FONT></SPAN></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV></FONT></SPAN><SPAN class=606575016-17122003><FONT size=2>Seems to time
out.</FONT></SPAN></DIV>
<DIV><SPAN class=606575016-17122003><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=606575016-17122003><FONT size=2>Should I even doit from
another box or should I do it from the SER server?</FONT></SPAN></DIV>
<DIV><SPAN class=606575016-17122003><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=606575016-17122003><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=606575016-17122003><FONT size=2>Any suggestions to make it
work....any help is goods help thank you....all.</FONT></SPAN></DIV></SPAN>
<P><FONT size=2>Peter David</FONT> <BR><FONT size=2>Network Engineer</FONT>
<BR><FONT size=2>BBCOM, Inc.</FONT> <BR><FONT size=2>Office 213-489-2156
x228</FONT> <BR><FONT size=2>pdavid@bbcominc.com</FONT> </P>
<DIV><FONT size=2></FONT> </DIV>
<P></P></BLOCKQUOTE></SPAN>
<P></P></BLOCKQUOTE></BODY></HTML>