<div dir="ltr">This is the whole SDP:<br><br> v=0<br>        o=- 33170478 33170498 IN IP4 <span style="color:rgb(0,255,0)">ETH0IP</span><br>        s=eyeBeam<br>        c=IN IP4 10.200.251.178<br>        t=0 0<br>        m=audio 30920 RTP/AVP 100 6 0 8 3 18 98 97 5 102 101<br>        a=rtpmap:100 speex/16000<br>        a=rtpmap:98 ilbc/8000<br>        a=rtpmap:97 speex/8000<br>        a=rtpmap:102 l16/16000<br>        a=rtpmap:101 telephone-event/8000<br>        a=sendrecv<br>        a=alt:1 1 : 508DEDED 594B439A <span style="color:rgb(0,255,0)">MYCLIENTIP</span> 8578<br>        a=rtcp:30921<br>        a=direction:active<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 2, 2015 at 7:27 PM, afshin afzali <span dir="ltr"><<a href="mailto:a.afzali2003@gmail.com" target="_blank">a.afzali2003@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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<div><div class="h5"><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>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>> 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><font color="#888888"><br>
Andrew<br>
</font></span></blockquote></div><br></div></div></div></div></div></div></div></div></div>
</blockquote></div><br></div>