<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
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<br>
<br>
<div class="moz-cite-prefix">On 5/23/13 12:21 PM, Julia wrote:<br>
</div>
<blockquote cite="mid:0F6E3AAD74144176A920A17A414C40D9@n53113"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 11 (filtered
medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
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";}
span.EmailStyle17
{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]-->
<div class="Section1">
<p class="MsoNormal"><font size="3" face="Times New Roman"><span
style="font-size:
12.0pt">Hello,<o:p></o:p></span></font></p>
<pre><font size="3" 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 <o:p></o:p></span></font></pre>
<pre><font size="3" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman"">I get parsing error for each received HTTP message: <o:p></o:p></span></font></pre>
<p class="MsoNormal"><font size="2" face="Arial" color="blue"><span
style="font-size:
11.0pt;font-family:Arial;color:blue"><o:p> </o:p></span></font></p>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span
style="font-size:
12.0pt">/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<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial" color="blue"><span
style="font-size:
11.0pt;font-family:Arial;color:blue"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span
style="font-size:
12.0pt">Is it configuration issue?</span></font></p>
</div>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Training, San Francisco, USA - June 24-27, 2013
* <a class="moz-txt-link-freetext" href="http://asipto.com/u/katu">http://asipto.com/u/katu</a> *</pre>
</body>
</html>