<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:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:578903226;
        mso-list-type:hybrid;
        mso-list-template-ids:-17911100 1125529682 67567619 67567621 67567617 67567619 67567621 67567617 67567619 67567621;}
@list l0:level1
        {mso-level-start-at:0;
        mso-level-number-format:bullet;
        mso-level-text:-;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-font-family:Calibri;
        mso-bidi-font-family:"Times New Roman";}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Wingdings;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></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 lang="DE" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Good afternoon Ladies and Gentlemen,<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">I&#8217;m trying to use OpenSIPS as a Border Controller between a PSTN and a FreeSWITCH. The PSTN is sending all SIP-messages through a SIP-trunk.<o:p></o:p></p>
<p class="MsoNormal">I got OpenSIPS working fine from PSTN through OpenSIPS to FreeSWITCH, but the other way around (from FS over OpenSIPS to PSTN), &nbsp;I&#8217;m getting an error message I can&#8217;t solve.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">As far as I can tell, when OpenSIPS opens up a new branch it is changing internally the headers from the incoming SIP-message from FreeSWITCH into a wrong format and after that it&#8217;s throwing two errors:<o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="mso-list:Ignore">-<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>ERROR:tm:send_ack: failed to generate a HBH ACK if key HFs in reply missing
<br>
ERROR:tm:reply_received: failed to send ACK (local=no)<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:72.0pt;text-indent:-18.0pt;mso-list:l0 level2 lfo1">
<![if !supportLists]><span style="font-family:&quot;Courier New&quot;"><span style="mso-list:Ignore">o<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;
</span></span></span><![endif]>Here I looked at the relevant code but I can&#8217;t tell what it is trying to do in the transaction module<o:p></o:p></p>
<p class="MsoNormal">Additionally this piece of info:<o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="mso-list:Ignore">-<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>&#8230; SIP/2.0 400 Bad Request..Warning: 399 192.168.1.30 &quot;Malformed headers : From &quot; &#8230;<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:72.0pt;text-indent:-18.0pt;mso-list:l0 level2 lfo1">
<![if !supportLists]><span style="font-family:&quot;Courier New&quot;"><span style="mso-list:Ignore">o<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;
</span></span></span><![endif]>From this somehow I found out that it&#8217;s missing the &#8220;:&#8220; after From<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Please see the attached config, routing logic, oopensips-errorlog and the sip-trace.<br>
I would very much appreciate it if somebody could give me, at least, a hint how I could fix the problem, because by now I googled these problems for three days now w/o a solution.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Thanks in advance for any help I can get!<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:DE">Very Respectfully<o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="mso-fareast-language:DE">Dimitry Nagorny<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-size:8.0pt;mso-fareast-language:DE">Trainee<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;mso-fareast-language:DE"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;color:#4BA829;mso-fareast-language:DE">robot</span><span style="font-size:8.0pt;color:#004994;mso-fareast-language:DE">5</span><span style="font-size:8.0pt;mso-fareast-language:DE"> GmbH
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;mso-fareast-language:DE">Walter-Oehmichen-Straße 18
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;mso-fareast-language:DE">68519 Viernheim
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;mso-fareast-language:DE">Tel.: &#43;49 6204 704 - 511<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;mso-fareast-language:DE">Fax: &#43;49 6204 704 - 501<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;mso-fareast-language:DE"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;mso-fareast-language:DE">E-Mail:
</span><span style="mso-fareast-language:DE"><a href="mailto:dimitry.nagorny@robot5.de"><span style="font-size:8.0pt;color:#004994">dimitry.nagorny@robot5.de</span></a></span><u><span style="color:#004994;mso-fareast-language:DE"><o:p></o:p></span></u></p>
<p class="MsoNormal"><span style="font-size:8.0pt;mso-fareast-language:DE">Internet:
<span style="color:#004994"><a href="http://www.robot5.de/"><span style="font-family:&quot;Times New Roman&quot;,serif;color:#004994">www.robot5.de</span></a></span></span><span style="font-size:8.0pt;mso-fareast-language:DE"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;mso-fareast-language:DE"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><u><span style="font-size:8.0pt;mso-fareast-language:DE">_____________________________________________________________<o:p></o:p></span></u></p>
<table class="MsoNormalTable" border="0" cellpadding="0">
<tbody>
<tr>
<td width="150" valign="top" style="width:112.5pt;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span style="font-size:8.0pt">Geschäftsführer:<br>
Werner Oestreicher<br>
Robert Schlabs<br>
Stefan Wagner <o:p></o:p></span></p>
</td>
<td valign="top" style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span style="font-size:8.0pt">Sitz der Gesellschaft: Viernheim<br>
Amtsgericht: Darmstadt<br>
Registerabteilung: Lampertheim HRB 92975<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt">USt-IdNr.: DE293694382</span><span style="font-size:8.0pt"><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="font-size:8.0pt;color:#7F7F7F;mso-fareast-language:DE"><br>
Diese Email enthält vertrauliche und/oder rechtlich geschützte Informationen.<br>
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten<br>
haben, informieren Sie bitte sofort den Absender und vernichten diese E-Mail.<br>
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist<br>
nicht gestattet.<br>
<br>
</span><span lang="EN-US" style="font-size:8.0pt;color:#7F7F7F;mso-fareast-language:DE">This message is confidential and may contain privileged information.<br>
If you are not the above named addressee or authorized to receive this<br>
message on behalf of the addressee, please advise the sender immediately<br>
and delete this message. Any unauthorized copying, disclosure or<br>
distribution of the information in this e-mail is strictly forbidden.</span><span lang="EN-US" style="font-size:8.0pt;color:#7F7F7F;mso-fareast-language:DE"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>