<div dir="ltr"><span style="color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(225,235,242)">Dears,</span><br style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(225,235,242)">
<br style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(225,235,242)">
<span style="color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(225,235,242)">Environment: Asterisk 11.4</span><br style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(225,235,242)">
<span style="color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(225,235,242)">Objective: attempting H.323 trunk integration with "Polycom CMA" using ooh323 module.</span><br style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(225,235,242)">
<br style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(225,235,242)">
<span style="color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(225,235,242)">When placing H323 calls from the Polycom CMA, the call goes through the trunk (as shown by tcpdump) but is rejected by Asterisk with the following error in /var/log/asterisk/h323_log</span><br style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(225,235,242)">
<br style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(225,235,242)">
<span style="color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(225,235,242)">==================</span><br style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(225,235,242)">
<span style="color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(225,235,242)">10:40:28:564 ERROR: Security denial remote sig IP isn't a socket ip, 10.44.1.156 not 10.71.0.55 (incoming, ooh323c_1)</span><br style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(225,235,242)">
<span style="color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(225,235,242)">10:40:28:565 ERROR:Failed ooH2250Receive - Clearing call (incoming, ooh323c_1)</span><br style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(225,235,242)">
<span style="color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(225,235,242)">==================</span><br style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(225,235,242)">
<br style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(225,235,242)">
<span style="color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(225,235,242)">(In the log, 10.44.1.156 being IP address of H323 client registered to Polycom CMA, 10.71.0.55 being the address of Polycom CMA).</span><br style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(225,235,242)">
<br style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(225,235,242)">
<span style="color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(225,235,242)">tcpdump shows "disengageRequest" H.225 sent by Asterisk to Polycom CMA.</span><br>
<div><span style="color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(225,235,242)"><br></span></div>
<div><span style="color:rgb(0,0,0);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(236,243,247)">I solved this problem by commenting these lines in ooh323.c and recompiling:</span><br style="margin:0px;padding:0px;color:rgb(0,0,0);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(236,243,247)">
<br style="margin:0px;padding:0px;color:rgb(0,0,0);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(236,243,247)"><span style="color:rgb(0,0,0);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(236,243,247)">=======================</span><br style="margin:0px;padding:0px;color:rgb(0,0,0);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(236,243,247)">
<span style="color:rgb(0,0,0);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(236,243,247)">if (strncmp(remoteIP, call->remoteIP, strlen(remoteIP))) {</span><br style="margin:0px;padding:0px;color:rgb(0,0,0);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(236,243,247)">
<span style="color:rgb(0,0,0);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(236,243,247)">OOTRACEERR5("ERROR: Security denial remote sig IP isn't a socket ip, %s not %s "</span><br style="margin:0px;padding:0px;color:rgb(0,0,0);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(236,243,247)">
<span style="color:rgb(0,0,0);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(236,243,247)">"(%s, %s)\n", remoteIP, call->remoteIP, call->callType,</span><br style="margin:0px;padding:0px;color:rgb(0,0,0);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(236,243,247)">
<span style="color:rgb(0,0,0);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(236,243,247)">call->callToken);</span><br style="margin:0px;padding:0px;color:rgb(0,0,0);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(236,243,247)">
<span style="color:rgb(0,0,0);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(236,243,247)">return OO_FAILED;</span><br style="margin:0px;padding:0px;color:rgb(0,0,0);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(236,243,247)">
<span style="color:rgb(0,0,0);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(236,243,247)">}</span><br style="margin:0px;padding:0px;color:rgb(0,0,0);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(236,243,247)">
<span style="color:rgb(0,0,0);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(236,243,247)">=======================</span><span style="color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(225,235,242)"><br>
</span></div><div><span style="color:rgb(0,0,0);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(236,243,247)"><br></span></div>
<div><span style="color:rgb(0,0,0);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(236,243,247)">I am not sure if the above code is correct at all, how can the trunk work with it? I suppose there might be a way to disable the check, in a more clean way, but I found no option like that.</span></div>
<div><span style="color:rgb(0,0,0);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(236,243,247)"><br></span></div><div>
<span style="color:rgb(0,0,0);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(236,243,247)">Thanks</span></div><div>
<span style="color:rgb(0,0,0);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(236,243,247)"><br></span></div><div><span style="color:rgb(0,0,0);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(236,243,247)">Kind Regards</span></div>
<div><span style="color:rgb(0,0,0);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(236,243,247)"><br></span></div><div>
<span style="color:rgb(0,0,0);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.328125px;background-color:rgb(236,243,247)">Gabriele Odone</span></div>
</div>