<div dir="ltr"><div><div><div>Hi Andrew,<br><br></div>Yes you are right. I am getting 500 from the peer server. I do not know why but I have noticed that in the offer SDP which I am sending, the IP address is set to eth0's address. I need to set it to my eth2's IP address (I have a dedicated ip for the peer's rtp). How I can do it ? :)<br><br></div>Best,<br></div>- Afshin<br><div><div><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 2, 2015 at 7:06 PM, Andrew Pogrebennyk <span dir="ltr"><<a href="mailto:apogrebennyk@sipwise.com" target="_blank">apogrebennyk@sipwise.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 12/02/2015 04:32 PM, afshin afzali wrote:<br>
> Hi Andrew,<br>
><br>
> One step forward :) Seems that it works properly except one thing. The<br>
> peer server replies with 500 internal server error! as you can see in<br>
> the following log traces. The magic is that I can not see any sip packet<br>
> exchange with my peer server (using tcpdump) :(<br>
</span>>  [...]<br>
<span class="">> Dec  2 10:19:02 ngcp lb[32609]: NOTICE: <script>: Reply from Outbound -<br>
> S=500 - Server Internal Error M=INVITE IP=udp:myPeerServer:5060<br>
> ID=da6a8305f1290f52@QUZTSElOLVBDLkJhc2FtYWQuQ09N_b2b-1 UA='<null>'<br>
<br>
</span>In the IP field we see that 500 is coming from the server.<br>
Why tcpdudmp doesn't see it, perhaps you are capturing on eth0? Try with<br>
-i any option.<br>
<span class="HOEnZb"><font color="#888888"><br>
Andrew<br>
</font></span></blockquote></div><br></div></div></div></div></div></div></div>