<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=Windows-1251">
<META content="MSHTML 6.00.2900.2604" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff background="">
<DIV><SPAN class=002472113-10022005><FONT face="Lucida Sans Unicode"
color=#0000ff size=2>Hello.</FONT></SPAN></DIV>
<DIV><SPAN class=002472113-10022005> <FONT
face="Lucida Sans Unicode" color=#0000ff size=2>I think there is a problen with
your configuration file.</FONT></SPAN></DIV>
<DIV><SPAN class=002472113-10022005> <FONT
face="Lucida Sans Unicode" color=#0000ff size=2>You have : </FONT></SPAN></DIV>
<DIV><SPAN class=002472113-10022005><FONT face="Lucida Sans Unicode"
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=002472113-10022005><FONT face=Fixedsys size=2>if
(method=="INVITE") || (method=="CANCEL")
{<BR> # Uncomment
this if you want to use digest
authentication<BR>
if (!radius_www_authorize(""))
{<BR>
www_challenge("",
"0");<BR>
break;<BR> };</FONT>
<DIV> </DIV>
<DIV><FONT face=Fixedsys
size=2>
record_route();<BR>
rewritehostport("cisco_sip_gw_ip:5060");<BR>
if (!t_relay())
{<BR>
sl_reply_error();<BR>
};<BR>
break;<BR> };<BR></FONT></DIV>
<DIV><FONT><SPAN class=002472113-10022005><FONT face=Fixedsys
size=2></FONT></SPAN> </DIV></FONT></SPAN></DIV>
<DIV><SPAN class=002472113-10022005><FONT face="Lucida Sans Unicode"
color=#0000ff size=2>so you're not relaying all the SIP messages, maybe
this can work : <BR></FONT></SPAN></DIV>
<DIV><SPAN class=002472113-10022005><FONT face="Lucida Sans Unicode"
color=#0000ff size=2><SPAN class=002472113-10022005><FONT color=#000000><FONT
face=Fixedsys size=2>if (method=="INVITE") || (method=="CANCEL")
{<BR> # Uncomment
this if you want to use digest
authentication<BR>
if (!radius_www_authorize(""))
{<BR>
www_challenge("",
"0");<BR>
break;<BR>
};</FONT><FONT face="Times New Roman" size=3> </FONT></FONT>
<DIV><FONT face=Fixedsys>};</FONT></DIV>
<DIV><FONT face=Fixedsys></FONT> </DIV>
<DIV><FONT
face=Fixedsys>record_route();<BR>rewritehostport("cisco_sip_gw_ip:5060");<BR>
</FONT></DIV>
<DIV><FONT face=Fixedsys>if (!t_relay()) {<BR><SPAN
class=002472113-10022005>
</SPAN>sl_reply_error();</FONT></DIV>
<DIV><FONT><FONT face=Fixedsys><SPAN
class=002472113-10022005> break;</SPAN><BR><SPAN
class=002472113-10022005> </SPAN>};<BR></FONT></FONT></DIV>
<DIV><FONT><FONT face=Fixedsys><SPAN class=002472113-10022005><FONT
face="Lucida Sans Unicode">Hope this work.</FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT><FONT face=Fixedsys><SPAN class=002472113-10022005><FONT
face="Lucida Sans Unicode">Good luck.!!</FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT><FONT face=Fixedsys><SPAN class=002472113-10022005><FONT
face="Lucida Sans Unicode"></FONT></SPAN></FONT></FONT> </DIV>
<DIV><FONT><FONT face=Fixedsys><SPAN class=002472113-10022005><FONT
face="Lucida Sans Unicode">Ricardo Martinez.-</FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT><FONT face=Fixedsys><SPAN
class=002472113-10022005></SPAN></FONT></FONT></SPAN></FONT></SPAN> </DIV></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Mensaje original-----<BR><B>De:</B> Todor
[mailto:todorakis@gmail.com]<BR><B>Enviado el:</B> Jueves, 10 de Febrero de
2005 8:15<BR><B>Para:</B> serusers@lists.iptel.org<BR><B>Asunto:</B> [Serusers] bad
call flow<BR><BR></FONT></DIV>
<DIV><FONT face=Fixedsys size=2>Hi All,<BR><BR>I have a serious problem with
SIP call flow over SER. </FONT></DIV>
<DIV><FONT face=Fixedsys size=2>My SER don't retransmit ACK first and after
that don't retransmit BYE message, too.<BR>Can any one advice me? what
can be a reason? </FONT></DIV>
<DIV><FONT face=Fixedsys size=2>Here are call flow and ser.cfg.</FONT></DIV>
<DIV><FONT face=Fixedsys size=2></FONT> </DIV>
<DIV><FONT face=Fixedsys size=2><FONT face=Arial></FONT> </DIV>
<DIV><FONT
face=Arial></FONT><BR>SIPPHONE------------------------SER--------------------------CISCO
SIP
GW<BR>|-------------INVITE------------>|
|<BR>|<----------TRying---------------|
|<BR>|
|-----------INVITE-------------->|<BR>|
|<----------TRying---------------|<BR>|
|<------------183----------------|<BR>|<------------183----------------|
|
<BR>|
|<-------------OK----------------|</FONT></DIV>
<DIV><FONT face=Fixedsys size=2>|---------------ther is two way RTP channel
----------------------|<BR>|<-------------OK----------------|
|<BR>|--------------ACK-------------->|
|
<BR>|
|<-------------OK----------------|<BR>|<-------------OK----------------|
|<BR>|--------------ACK-------------->|
|<BR>|
|<-------------OK----------------|<BR>|<-------------OK----------------|
|<BR>|--------------ACK-------------->|
|<BR>|
|<-------------OK----------------|<BR>|<-------------OK----------------|
|<BR>|--------------ACK-------------->| SER don't retransmit
ACK
|<BR>|
| and Cisco timedout after 19sec
|<BR>|
|<-------------BYE---------------|<BR>|
|<-------------BYE---------------|<BR>|
|<-------------BYE---------------|<BR>| SER don't
retransmit BYE
|<-------------BYE---------------|<BR>|
|<-------------BYE---------------|</FONT></DIV>
<DIV><FONT face=Fixedsys size=2></FONT> </DIV>
<DIV><FONT face=Fixedsys size=2></FONT> </DIV>
<DIV><FONT face=Fixedsys size=2></FONT> </DIV>
<DIV><FONT face=Fixedsys size=2></FONT> </DIV>
<DIV><FONT face=Fixedsys size=2>#<BR># $Id: ser.cfg,v 1.21.4.1 2003/11/10
15:35:15 andrei Exp $<BR># ----------- global configuration parameters
------------------------</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT face=Fixedsys
size=2>debug=8<BR>fork=yes<BR>log_stderror=yes</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT face=Fixedsys 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><FONT size=2></FONT> </DIV>
<DIV><FONT face=Fixedsys size=2># ------------------ module loading
----------------------------------<BR>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><FONT size=2></FONT> </DIV>
<DIV><FONT face=Fixedsys size=2>loadmodule
"/usr/local/lib/ser/modules/auth.so"<BR>loadmodule
"/usr/local/lib/ser/modules/auth_radius.so"</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT face=Fixedsys size=2># ----------------- setting module-specific
parameters ---------------<BR>modparam("usrloc", "db_mode",
0)<BR>modparam("rr", "enable_full_lr", 1)<BR># -------------------------
request routing logic -------------------</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT face=Fixedsys size=2>route{</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT face=Fixedsys size=2> 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><FONT size=2></FONT> </DIV>
<DIV><FONT face=Fixedsys size=2> # authenticate
register message using radius<BR> if
(method=="REGISTER")
{<BR> # Uncomment
this if you want to use digest
authentication<BR>
if (!radius_www_authorize(""))
{<BR>
www_challenge("",
"0");<BR>
break;<BR>
};<BR>
save("location");<BR>
break;<BR> };</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT face=Fixedsys size=2> # route (proxy)
invite message to gateway<BR> if (method=="INVITE") ||
(method=="CANCEL")
{<BR> # Uncomment
this if you want to use digest
authentication<BR>
if (!radius_www_authorize(""))
{<BR>
www_challenge("",
"0");<BR>
break;<BR>
};</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT face=Fixedsys
size=2>
record_route();<BR>
rewritehostport("cisco_sip_gw_ip:5060");<BR>
if (!t_relay())
{<BR>
sl_reply_error();<BR>
};<BR>
break;<BR> };<BR>}</FONT></DIV>
<DIV><FONT face=Fixedsys size=2>
</FONT></DIV></BLOCKQUOTE></BODY></HTML>