<div dir="ltr">You could find something related also on this link<div><br></div><div>Its in spanish </div><div><br></div><div><a href="https://blog.irontec.com/integracion-kamailio-y-asterisk-con-path/">https://blog.irontec.com/integracion-kamailio-y-asterisk-con-path/</a><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-03-01 11:25 GMT+01:00 Jurijs Ivolga <span dir="ltr"><<a href="mailto:jurij.ivo@gmail.com" target="_blank">jurij.ivo@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<br><div dir="ltr"><div><div><div><br></div>I would recommend you to take a look on path module:<br><br><a href="http://kamailio.org/docs/modules/1.4.x/path.html" target="_blank">http://kamailio.org/docs/modules/1.4.x/path.html</a><br></div>I think this is what you need.<br><br></div>With kind regards,<br><br></div><div>Jurijs<br></div><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">2016-03-01 12:02 GMT+02:00 Anton Tonev <span dir="ltr"><<a href="mailto:anton.tonev@gmail.com" target="_blank">anton.tonev@gmail.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div><div>Hello everybody, <br><br></div>I am a new user of Kamailio (4.3.1), I am working with it since 1-2 months. The thing that I'm trying to do is to build the following system:<br><br></div><div>same LAN<br><br></div><div>192.168.0.1<br></div>Alice                                                                                                                                        proprietary SIP Server</div><div>                         [Public_IP_X]   ------------ [Public_IP_Y] Kamailio [172.26.0.1] ---------- [172.26.0.1]  with<br></div>192.168.0.1                                                                                                                              registrar<br><div><div>Bob<br><br></div><div>Obviously Kamailio has to translate the local addresses of Alice and Bob, e.g. to use the Nathelper module.<br></div><div>The module is doing well its job because the Contact headers are replaced with the Public_IP_X when a REGISTER message is sent by Alice's or Bob's sip phones (I am using Linphone and Zoiper as clients).<br></div><div>Once the incoming sip register was treated by Kamailio it is sent to the proprietary SIP Server. The server sends 200 OK to Kamailio and the proxy relays the message to the clients. So the sip registration for me it is OK.<br></div><div><br>But when it comes to initiate a call from Alice to Bob the things are not as I expect it. The initial request INVITE sent from Alice goes to the sip server but then the server instead of sending the INVITE for Bob through Kamailio, it sends the message directly to Bob's device.<br></div><div>Does anyone knows how to "tell" to the sip server, using the SIP protocol, that it must use the proxy?<br></div><div>The only thing I have in mind is to force Kamailio to replace the contact of Alice and more precisely the host/ip address by the proxy's host/ip address. <br></div><div>I tested this idea and the sip server did what I was expecting but for me this is not a proper solution.<br></div><div>To do that I used this discussion - <a href="http://opensips.org/pipermail/users/2010-October/014873.html" target="_blank">http://opensips.org/pipermail/users/2010-October/014873.html</a><br></div><div>Thank you in advance for your attention !<br></div><div><br></div><div>Best regards, <br><br></div><div>Anton<br><br></div><div><br></div><div><br></div></div></div>
<br></div></div><span class="">_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></span></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>