<HTML >
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">

                                                                <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-16"><TITLE></TITLE>

<META content="MSHTML 6.00.2900.2838" name=GENERATOR></HEAD>
                                                        <BODY >
                                                                <DIV>
<DIV dir=ltr align=left><FONT face=Arial size=2><SPAN 
class=874543307-12052006>Hi everyone,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial size=2><SPAN 
class=874543307-12052006></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial size=2><SPAN class=874543307-12052006>I 
am still trying to find a solution to my problem with BYe messages that are not 
going through SER.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial size=2><SPAN 
class=874543307-12052006>Maybe someone with enough knowledge about route 
recording could help me with the configuration:</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial size=2><SPAN 
class=874543307-12052006></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial size=2><SPAN class=874543307-12052006>
<DIV><SPAN class=874543307-12052006><FONT face=Arial size=2>My main problem with 
BYE messages is that they are not going through SER; the client sends it 
directly to my rtp proxy. as the RTP is established with it.</FONT></SPAN></DIV>
<DIV><SPAN class=874543307-12052006><FONT face=Arial size=2>I need them to go 
through SER. How can I achieve this ?</FONT></SPAN></DIV></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial size=2><SPAN 
class=874543307-12052006></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial size=2><SPAN class=874543307-12052006>I 
don't know how to use route recording, could you explain what following config 
block does ? (this is in the default configuration but doesn't make BYE messages 
to go through SER)</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=874543307-12052006></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=874543307-12052006>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if 
(!method=="REGISTER") 
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
record_route();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
}</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=874543307-12052006>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if 
(loose_route()) 
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
# mark routing logic in 
request<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
append_hf("P-hint: 
rr-enforced\r\n");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
route(1);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
break;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };</SPAN></FONT></DIV>
<DIV><SPAN class=874543307-12052006><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=874543307-12052006><FONT face=Arial 
size=2>thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=874543307-12052006><FONT face=Arial 
size=2>ilker</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT><FONT face=Arial color=#0000ff 
size=2></FONT><FONT face=Arial color=#0000ff size=2></FONT><BR>&nbsp;</DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> serusers-bounces@lists.iptel.org 
[mailto:serusers-bounces@lists.iptel.org] <B>On Behalf Of </B>&#304;lker Aktuna 
(Ko&#231;.net)<BR><B>Sent:</B> Friday, May 05, 2006 12:09 AM<BR><B>To:</B> fay butt; 
serusers@lists.iptel.org<BR><B>Subject:</B> RE: [Serusers] How to use record route to 
change path of BYE messages<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>
<DIV dir=ltr align=left><SPAN class=975140621-04052006><FONT face=Arial 
color=#0000ff size=2>Hi,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=975140621-04052006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=975140621-04052006><FONT face=Arial 
color=#0000ff size=2>Thanks for your reply but this is totally a different 
case.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=975140621-04052006><FONT face=Arial 
color=#0000ff size=2>In my case the problem is not CANCEL messages but BYE and 
ACK messages.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=975140621-04052006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=975140621-04052006><FONT face=Arial 
color=#0000ff size=2>BYE message (and also ACK) is sent to the contact of the 
RTP stream instead of the SER proxy.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=975140621-04052006><FONT face=Arial 
color=#0000ff size=2>But I want these messages to be sent to 
SER.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=975140621-04052006><FONT face=Arial 
color=#0000ff size=2>That's why I should somehow make them to be sent to 
SER.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=975140621-04052006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=975140621-04052006><FONT face=Arial 
color=#0000ff size=2>So It should be done by either recording route or changing 
contact header.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=975140621-04052006><FONT face=Arial 
color=#0000ff size=2>How can I do that ?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=975140621-04052006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=975140621-04052006><FONT face=Arial 
color=#0000ff size=2>Thanks,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=975140621-04052006><FONT face=Arial 
color=#0000ff size=2>ilker</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> serusers-bounces@lists.iptel.org 
[mailto:serusers-bounces@lists.iptel.org] <B>On Behalf Of </B>fay butt<BR><B>Sent:</B> 
Thursday, May 04, 2006 7:08 PM<BR><B>To:</B> 
serusers@lists.iptel.org<BR><B>Subject:</B> Re: [Serusers] How to use record route to 
change path of BYE messages<BR></FONT><BR></DIV>
<DIV></DIV>hi,<BR>&nbsp;&nbsp; i had that problem a time ago.<BR>&nbsp; I just 
put this messege and now it's working fine.<BR>&nbsp; if (method == "CANCEL" 
)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
{&nbsp;&nbsp; 
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if 
(uri =~"^sip:4[0-9]*@localhost") 
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
forward ( asterisk , 5060 );&nbsp; 
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
t_relay();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
break;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
};<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
};<BR><BR><B><I>"&#221;lker Aktuna (Ko&#231;.net)" &lt;ilkera@koc.net&gt;</I></B> wrote: 
<BLOCKQUOTE class=replbq 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">
  <META http-equiv=EXPIRES content=0>
  <META http-equiv=EXPIRESABSOLUTE content="Tue, 01 Jun 1999 12:00:00 GMT">
  <META http-equiv=PRAGMA content=NO-CACHE>
  <META http-equiv=CACHE-CONTROL content=PRIVATE>
  <META http-equiv=CACHE-CONTROL content=NO-CACHE>
  <META content="MSHTML 6.00.2900.2838" name=GENERATOR>
  <DIV><!-- Converted from text/plain format -->
  <DIV><FONT size=2>Hi,<BR><BR>For voice communication I use a SIP+RTP proxy 
  together with SER.<BR>For PSTN calls SER routes the INVITE messages to the RTP 
  proxy.<BR><BR>Everything works fine there, but when the call is ended by one 
  client (which is connected to SER) or the PSTN user, the BYE message does not 
  arrive to SER. If our RTP proxy does not see the message coming from SER, call 
  doesn't end.<BR><BR>That's why I need all of the BYE messages to go through 
  SER.<BR>How can I do that ?<BR>In the default configuration there is a record 
  route process for every message other than REGISTER.<BR>But still BYE and ACK 
  messages are not sent to SER.<BR><BR>Should I change the contact header of the 
  messages arriving from RTP proxy ?<BR>If so, how can I do it ?<BR><BR>What 
  does following configuration block do 
  ?<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (loose_route()) 
  {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  # mark routing logic in 
  request<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  append_hf("P-hint: 
  rr-enforced\r\n");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  route(1);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  break;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  };<BR><BR><BR>Thanks,<BR>ilker<BR></FONT></DIV></DIV>
  <DIV style="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: verdana">
  <DIV style="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: verdana">
  <DIV 
  style="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: verdana">&nbsp;</DIV></DIV></DIV></BLOCKQUOTE></DIV>
<!--445D5241795C-->
<br><br><a href="http://387555.sigclick.mailinfo.com/sigclick/050A0207/00044F03/01004900/66252513.jpg"><img src="http://387555.signature1.mailinfo.com/confirm2.6/050A0207/00044F03/01004900/66252513.jpg" border="0" nosend="1"></a><!--445D5241795C//--></DIV>
                                                                <DIV STYLE="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: verdana">
                                                                        <DIV STYLE="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: verdana">
                                                                                <DIV STYLE="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: verdana">_____________________________________________________________________________________________________________________________________________</DIV>
                                                                                <DIV STYLE="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: verdana">Bu e-posta mesaji kisiye ozel olup, gizli bilgiler iceriyor olabilir. Eger bu e-posta mesaji size yanlislikla ulasmissa,&nbsp; icerigini hic bir sekilde kullanmayiniz ve ekli dosyalari acmayiniz. Bu durumda lutfen e-posta mesajini kullaniciya hemen geri gonderiniz&nbsp; ve&nbsp; tum kopyalarini mesaj kutunuzdan siliniz. Bu e-posta mesaji, hic bir sekilde, herhangi bir amac icin cogaltilamaz, yayinlanamaz ve para karsiligi satilamaz.&nbsp; Bu e-posta mesaji viruslere karsi anti-virus sistemleri tarafindan taranmistir. Ancak yollayici, bu e-posta mesajinin - virus koruma sistemleri ile kontrol ediliyor olsa bile - virus icermedigini garanti etmez ve meydana gelebilecek zararlardan dogacak hicbir sorumlulugu kabul etmez. </DIV>
                                                                                <DIV STYLE="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: verdana">This message is intended solely for the use of the individual or entity to whom it is addressed , and may contain confidential&nbsp; information. If you are not the intended recipient of this message or you receive this mail in error, you should refrain from making any use of the contents and from opening any attachment. In that case, please notify the sender immediately and return the message to the sender, then, delete and destroy all copies. This e-mail message, can not be copied, published or sold for any reason. This e-mail message has been swept by anti-virus systems for the presence of computer viruses. In doing so, however,&nbsp; sender&nbsp; cannot warrant that virus or other forms of data corruption may not be present and do not take any responsibility in any occurrence.</DIV>
                                                                                <DIV STYLE="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: verdana">_____________________________________________________________________________________________________________________________________________</DIV>
                                                                                <DIV STYLE="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: verdana" ALIGN="justify">
</DIV>
</DIV>
</DIV></BODY></HTML>