My outbound proxy ip adress is set in config.ini as well.<div><br></div><div>What if I wanted to add Sylk's ip address into Recourd-Route header of outgoing INVITE, to get responses to Sylk again, </div><div>Then we have same problem again, right?<br>
<br><div class="gmail_quote">On Thu, Feb 28, 2013 at 1:40 PM, Saúl Ibarra Corretgé <span dir="ltr"><<a href="mailto:saul@ag-projects.com" target="_blank">saul@ag-projects.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br>
On Feb 28, 2013, at 12:32 PM, Record Route wrote:<br>
<br>
> Hi Saul,<br>
><br>
> Same things happen if I add Record-Route instead of Route.<br>
><br>
> The ip I added into Route header is my outbound proxy's ip. What I want is, the further response/request messages for that outgoing INVITE come through my outbound proxy again.<br>
><br>
<br>
</div>Then you should set the outbound_proxy setting in the general config file (config.ini) and add a Record-Route in your proxy. Yes, there is something obscure going on inside PJSIP, but you are adding those headers in the wrong place, regardless.<br>

<div class="HOEnZb"><div class="h5"><br>
<br>
Regards,<br>
<br>
--<br>
Saúl Ibarra Corretgé<br>
AG Projects<br>
<br>
<br>
<br>
</div></div></blockquote></div><br></div>