<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="country-region"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Times New\000D\000A";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";
        color:black;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
pre
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:Arial;
        color:blue;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:Arial;
        color:blue;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:blue;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body bgcolor=white lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
11.0pt;font-family:Arial;color:blue'>Thank you Daniel,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
11.0pt;font-family:Arial;color:blue'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
11.0pt;font-family:Arial;color:blue'>It works fine (without errors) with your
patch.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
11.0pt;font-family:Arial;color:blue'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
11.0pt;font-family:Arial;color:blue'>Best regards,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
11.0pt;font-family:Arial;color:blue'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
11.0pt;font-family:Arial;color:blue'>Julia<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
11.0pt;font-family:Arial;color:blue'><o:p> </o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
color=black face="Times New Roman"><span style='font-size:12.0pt;color:windowtext'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 color=black face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;color:windowtext;font-weight:bold'>From:</span></font></b><font
size=2 color=black face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;
color:windowtext'> Daniel-Constantin Mierla [mailto:<st1:PersonName w:st="on">miconda@gmail.com</st1:PersonName>]
<br>
<b><span style='font-weight:bold'>Sent:</span></b> Monday, May 27, 2013 5:15 PM<br>
<b><span style='font-weight:bold'>To:</span></b> Julia; 'Kamailio (SER) - Users
Mailing List'<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [SR-Users] topoch and
xHTTP</span></font><font color=black><span style='color:windowtext'><o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt'>Hello,<br>
<br>
I pushed over the weekend a patch that should fix it. Practically was an error
message, but the processing was going on further without issues. topoh was
executed for http requests and shouldn't have been like that.<br>
<br>
Would be appreciated if you can test and report whether is fine  now or
not. The patch is now in branches 3.3, 4.0 and master.<br>
<br>
Cheers,<br>
Daniel<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'>On 5/23/13 2:50 PM, Julia wrote:<o:p></o:p></span></font></p>

</div>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'
cite="mid:6C6E8E7779364460A090A0D03C7E6367@n53113" type=cite><u1:smarttagtype namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="country-region"><u1:smarttagtype namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"><u1:smarttagtype namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place">

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
11.0pt;font-family:Arial;color:blue'><!--[if gte mso 9]><xml>
    <u1:shapedefaults u2:ext="edit" spidmax="1026"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
    <u1:shapelayout u3:ext="edit">
     <u1:idmap u3:ext="edit" data="1"/>
    </u1:shapelayout>
</xml><![endif]-->It’s an incoming request <u1:p></u1:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
11.0pt;font-family:Arial;color:blue'><u1:p> </u1:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
11.0pt;font-family:Arial;color:blue'>Debug3 :<u1:p></u1:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt;color:windowtext'><br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29536]: DEBUG: <core>
[ip_addr.c:247]: tcpconn_new: new tcp connection: 80.80.80.241<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29536]: DEBUG: <core> [tcp_main.c:1089]:
tcpconn_new: on port 51898, type 2<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29536]: DEBUG: <core>
[tcp_main.c:1400]: tcpconn_add: hashes: 902:996:7, 4<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29536]: DEBUG: <core>
[io_wait.h:390]: DBG: io_watch_add(0x82cec0, 57, 2, 0x7f8481de59a0), fd_no=48<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29536]: DEBUG: <core>
[io_wait.h:617]: DBG: io_watch_del (0x82cec0, 57, -1, 0x0) fd_no=49 called<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29536]: DEBUG: <core>
[tcp_main.c:4295]: tcp: DBG: sending to child, events 1<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29536]: DEBUG: <core>
[tcp_main.c:3966]: selected tcp worker 3 33(29526) for activity on [tcp:<a
href="http://172.16.60.113:5060" title="http://172.16.60.113:5060/"
moz-do-not-send=true>172.16.60.113:5060</a>], 0x7f8481de59a0<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[tcp_read.c:1354]: received n=8 con=0x7f8481de59a0, fd=11<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[parser/msg_parser.c:624]: SIP Request:<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[parser/msg_parser.c:626]:  method:  <GET><br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[parser/msg_parser.c:628]:  uri:     </Update><br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[parser/msg_parser.c:630]:  version: <HTTP/1.1><br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[parser/msg_parser.c:104]: found end of header<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: ERROR: <core>
[parser/parse_from.c:60]: ERROR:parse_from_header: bad msg or missing FROM
header<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: ERROR: topoh
[topoh_mod.c:215]: cannot parse FROM header<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[parser/msg_parser.c:624]: SIP Request:<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[parser/msg_parser.c:626]:  method:  <GET><br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[parser/msg_parser.c:628]:  uri:     </Update><br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[parser/msg_parser.c:630]:  version: <HTTP/1.1><br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[parser/msg_parser.c:104]: found end of header<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[receive.c:149]: After parse_msg...<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: xhttp
[xhttp_mod.c:345]: new fake msg created (300 bytes):#012<GET /Update
HTTP/1.1#015#012Via: SIP/2.0/TCP <a
href="http://80.80.80.241:51898#015#012Accept"
title="http://80.80.80.241:51898/#015#012Accept" moz-do-not-send=true>80.80.80.241:51898#015#012Accept</a>:
text/html, application/xhtml+xml, */*#015#012Accept-Language:
he-IL#015#012User-Agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1;
Trident/6.0)#015#012Accept-Encoding: gzip, deflate#015#012Host: <a
href="http://172.16.60.113:5060#015#012DNT"
title="http://172.16.60.113:5060/#015#012DNT" moz-do-not-send=true>172.16.60.113:5060#015#012DNT</a>:
1#015#012Connection: Keep-Alive#015#012#015#012><br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[parser/msg_parser.c:624]: SIP Request:<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[parser/msg_parser.c:626]:  method:  <GET><br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[parser/msg_parser.c:628]:  uri:     </Update><br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[parser/msg_parser.c:630]:  version: <HTTP/1.1><br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[parser/parse_via.c:2561]: end of header reached, state=5<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[parser/msg_parser.c:511]: parse_headers: Via found, flags=2<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[parser/msg_parser.c:513]: parse_headers: this is the first via<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: NOTICE: <script>:
HTTP HANDLER /Update<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: exec
[exec_mod.c:208]: executing [kamctl fifo mt_list]<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[main.c:886]: SIGCHLD received: we do not worry about grand-children<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: exec
[exec.c:274]: no result from kamctl fifo mt_list<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: mtree
[mtree.c:414]: no match for: <br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: INFO: mtree
[mtree_mod.c:450]: no prefix found in [CAC] for []<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: sl [sl.c:278]:
reply in stateless mode (sl)<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[parser/msg_parser.c:104]: found end of header<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[msg_translator.c:206]: check_via_address(80.80.80.241, 80.80.80.241, 0)<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[parser/msg_parser.c:624]: SIP Request:<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[parser/msg_parser.c:626]:  method:  <HTTP/1.1><br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[parser/msg_parser.c:628]:  uri:     <200><br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[parser/msg_parser.c:630]:  version: <OK><br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[parser/parse_via.c:2561]: end of header reached, state=5<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[parser/msg_parser.c:511]: parse_headers: Via found, flags=2<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[parser/msg_parser.c:513]: parse_headers: this is the first via<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[parser/msg_parser.c:202]: DEBUG: get_hdr_body : content_length=61<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[parser/msg_parser.c:104]: found end of header<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: ERROR: <core>
[parser/parse_from.c:60]: ERROR:parse_from_header: bad msg or missing FROM
header<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: ERROR: topoh
[topoh_mod.c:215]: cannot parse FROM header<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[tcp_main.c:2313]: tcp_send: send from reader (29526 (33)), reusing fd<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[tcp_main.c:2549]: tcp_send: sending...<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[tcp_main.c:2583]: tcp_send: after real write: c= 0x7f8481de59a0 n=203 fd=11<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[tcp_main.c:2584]: tcp_send: buf=#012HTTP/1.1 200 OK#015#012Via: SIP/2.0/TCP <a
href="http://80.80.80.241:51898#015#012Content-Type"
title="http://80.80.80.241:51898/#015#012Content-Type" moz-do-not-send=true>80.80.80.241:51898#015#012Content-Type</a>:
text/html#015#012Server: kamailio (3.3.1 (x86_64/linux))#015#012Content-Length:
61#015#012#015#012<html><body>LastUpdated 0 result
<null>;<null>;</body></html><br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[usr_avp.c:644]: DEBUG:destroy_avp_list: destroying list (nil)<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[usr_avp.c:644]: DEBUG:destroy_avp_list: destroying list (nil)<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29536]: DEBUG: <core>
[tcp_main.c:3617]: handle_ser_child: read response= 7f8481de59a0, -1, fd -1
from 33 (29526)<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[usr_avp.c:644]: DEBUG:destroy_avp_list: destroying list (nil)<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[usr_avp.c:644]: DEBUG:destroy_avp_list: destroying list (nil)<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[usr_avp.c:644]: DEBUG:destroy_avp_list: destroying list (nil)<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[usr_avp.c:644]: DEBUG:destroy_avp_list: destroying list (nil)<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[xavp.c:365]: destroying xavp list (nil)<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[receive.c:293]: receive_msg: cleaning up<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[io_wait.h:390]: DBG: io_watch_add(0x871120, 11, 2, 0x7f8481de59a0), fd_no=1<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[io_wait.h:617]: DBG: io_watch_del (0x871120, 11, -1, 0x10) fd_no=2 called<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[tcp_read.c:1281]: releasing con 0x7f8481de59a0, state -2, fd=11, id=4<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29526]: DEBUG: <core>
[tcp_read.c:1282]:  extra_data (nil)<br>
May 23 15:44:57 RNDSRV /usr/local/sbin/kamailio[29536]: DEBUG: <core>
[tcp_main.c:3378]: handle_tcp_child: reader response= 7f8481de59a0, -2 from 3 <u1:p></u1:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
11.0pt;font-family:Arial;color:blue'><u1:p> </u1:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
11.0pt;font-family:Arial;color:blue'><u1:p> </u1:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
11.0pt;font-family:Arial;color:blue'>Thank you,<u1:p></u1:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
11.0pt;font-family:Arial;color:blue'>Julia<u1:p></u1:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
11.0pt;font-family:Arial;color:blue'><u1:p> </u1:p></span></font><o:p></o:p></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
color=black face="Times New Roman"><span style='font-size:12.0pt;color:windowtext'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 color=black face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;color:windowtext;font-weight:bold'>From:</span></font></b><font
size=2 color=black face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;
color:windowtext'> <a href="mailto:sr-users-bounces@lists.sip-router.org">sr-users-bounces@lists.sip-router.org</a>
[<a href="mailto:sr-users-bounces@lists.sip-router.org">mailto:sr-users-bounces@lists.sip-router.org</a>]
<b><span style='font-weight:bold'>On Behalf Of </span></b>Daniel-Constantin Mierla<br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, May 23, 2013 3:10
PM<br>
<b><span style='font-weight:bold'>To:</span></b> Kamailio (SER) - Users Mailing
List<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [SR-Users] topoch and
xHTTP</span></font><o:p></o:p></p>

</div>

<u1:p></u1:p>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><u1:p> </u1:p><o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt'>Hello,<br>
<br>
iirc, topoh callbacks are executed only for incoming sip traffic. Do you try to
relay the http request? That doesn't work, kamailio works only as http server,
not proxy.<br>
<br>
If it is the case of incoming request, can you run with debug=3 and send the
output of such case here?<br>
<br>
Cheers,<br>
Daniel<u1:p></u1:p><o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 color=black face="Times New "><span
style='font-size:12.0pt;font-family:"Times New\000D\000A"'>On 5/23/13 12:21 PM,
Julia wrote:<u1:p></u1:p></span></font><o:p></o:p></p>

</div>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'
cite="mid:0F6E3AAD74144176A920A17A414C40D9@n53113" type=cite><!--[if gte mso 9]><xml>
    <u4:shapedefaults u2:ext="edit" spidmax="1026"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
    <u3:shapelayout u4:ext="edit">
     <u3:idmap u4:ext="edit" data="1"/>
    </u3:shapelayout>
</xml><![endif]-->

<p class=MsoNormal><font size=3 color=black face="Times New "><span
style='font-size:12.0pt;font-family:"Times New\000D\000A"'>Hello,<u5:p></u5:p><u1:p></u1:p></span></font><o:p></o:p></p>

<pre><font size=3 color=black face="Times New Roman"><span style='font-size:
12.0pt;font-family:"Times New Roman"'>I am testing the xHTTP module on kamailio-3.3 with topology hiding (topoch)</span></font><i><span
style='font-style:italic'> </span></i><font size=3 face="Times New Roman"><span
style='font-size:12.0pt;font-family:"Times New Roman"'>and <u5:p></u5:p></span></font><u1:p></u1:p><o:p></o:p></pre><pre><font
size=3 color=black face="Times New Roman"><span style='font-size:12.0pt;
font-family:"Times New Roman"'>I get parsing error for each received HTTP message:  <u5:p></u5:p></span></font><u1:p></u1:p><o:p></o:p></pre>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
11.0pt;font-family:Arial;color:blue'><u5:p> </u5:p></span></font><u1:p></u1:p><o:p></o:p></p>

<div>

<p class=MsoNormal><font size=3 color=black face="Times New "><span
style='font-size:12.0pt;font-family:"Times New\000D\000A"'>/usr/local/sbin/kamailio[2937]:
ERROR: <core> [parser/parse_from.c:60]: ERROR:parse_from_header: bad msg
or missing FROM header<br>
/usr/local/sbin/kamailio[2937]: ERROR: topoh [topoh_mod.c:215]: cannot parse
FROM header<u5:p></u5:p><u1:p></u1:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
11.0pt;font-family:Arial;color:blue'><u5:p> </u5:p></span></font><u1:p></u1:p><o:p></o:p></p>

<p class=MsoNormal><font size=3 color=black face="Times New "><span
style='font-size:12.0pt;font-family:"Times New\000D\000A"'>Is it configuration
issue?<u1:p></u1:p></span></font><o:p></o:p></p>

</div>

</blockquote>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><br>
<br>
<br>
<o:p></o:p></span></font></p>

<u1:p></u1:p><pre><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt'>-- <u1:p></u1:p><o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>Daniel-Constantin Mierla - <a
href="http://www.asipto.com" moz-do-not-send=true>http://www.asipto.com</a><u1:p></u1:p><o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'><a
href="http://twitter.com/#%21/miconda" moz-do-not-send=true>http://twitter.com/#!/miconda</a> - <a
href="http://www.linkedin.com/in/miconda" moz-do-not-send=true>http://www.linkedin.com/in/miconda</a><u1:p></u1:p><o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>Kamailio Advanced Training, <st1:city u6:st="on"><st1:City
w:st="on">San Francisco</st1:city></st1:City>, <st1:country-region u6:st="on"><st1:place u6:st="on"><st1:country-region
w:st="on"><st1:place w:st="on">USA</st1:place></st1:country-region></st1:place></st1:country-region> - June 24-27, 2013<u1:p></u1:p><o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>  * <a
href="http://asipto.com/u/katu" moz-do-not-send=true>http://asipto.com/u/katu</a> *<u1:p></u1:p><o:p></o:p></span></font></pre></blockquote>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><br>
<br>
</u1:smarttagtype></u1:smarttagtype></u1:smarttagtype><o:p></o:p></span></font></p>

<pre><font size=2 color=black face="Courier New"><span style='font-size:10.0pt'>-- <o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>Daniel-Constantin Mierla - <a
href="http://www.asipto.com">http://www.asipto.com</a><o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'><a
href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a
href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a><o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>Kamailio Advanced Training, <st1:City
w:st="on">San Francisco</st1:City>, <st1:country-region w:st="on"><st1:place
 w:st="on">USA</st1:place></st1:country-region> - June 24-27, 2013<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>  * <a
href="http://asipto.com/u/katu">http://asipto.com/u/katu</a> *<o:p></o:p></span></font></pre></div>

</body>

</html>