Cool, that works too. But I guess in Asterisk it&#39;s easier to extract the &quot;FROM&quot; header using the SIP_HEADER function than some custom header variable...although it might just be easy, I just don&#39;t know how to do it. <div>
<br></div><div>Thanks anyway,</div><div>RR<br><br><div class="gmail_quote">On Wed, Apr 21, 2010 at 11:43 AM, David Ponzone <span dir="ltr">&lt;<a href="mailto:david.ponzone@gmail.com">david.ponzone@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div style="word-wrap:break-word">Well, yes.<div>Or you use the network_addr variable, and you put it in a custom header X-Original-IP or whatever.</div>
<div><br></div><div><div class="im"><div> <span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="word-wrap:break-word">
<span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="word-wrap:break-word">
<div><font face="&#39;Helvetica Neue&#39;"><font color="#1C00FF">David Ponzone  </font><font color="#000000" size="3"><span style="font-size:12px">Direction Technique</span></font></font></div><div><font face="&#39;Helvetica Neue&#39;"><font size="3"><span style="font-size:13px">email: <a href="mailto:david.ponzone@ipeva.fr" target="_blank">david.ponzone@ipeva.fr</a></span></font></font></div>
<div><font face="&#39;Helvetica Neue&#39;"><font size="3"><span style="font-size:13px">tel:      01 74 03 18 97</span></font></font></div><div><font face="&#39;Helvetica Neue&#39;"><font size="3"><span style="font-size:13px">gsm:   06 66 98 76 34</span></font></font></div>
<div><font face="&#39;Helvetica Neue&#39;"><br></font></div><div><font color="#1C00FF" face="&#39;Helvetica Neue&#39;">Service Client<span> </span></font><font face="&#39;Helvetica Neue&#39;"><font color="#FF0000">IP</font></font><font color="#1C00FF" face="&#39;Helvetica Neue&#39;">eva</font></div>
<div><font color="#1C00FF" face="&#39;Helvetica Neue&#39;"><span style="color:rgb(0, 0, 0);font-family:Helvetica"><div><font face="&#39;Helvetica Neue&#39;"><font size="3"><span style="font-size:13px">tel:      0811 46 26 26</span></font></font></div>
<div><font face="&#39;Helvetica Neue&#39;" size="3"><span style="font-size:13px"><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(0, 34, 243)"><span style="text-decoration:underline"><a>www.ipeva.fr</a></span><span style="color:rgb(101, 104, 149)">  -   <span style="color:rgb(0, 34, 243);text-decoration:underline"><a>www.ipeva-studio.com</a></span></span></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(0, 34, 243)"><span style="text-decoration:underline"><br></span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(0, 34, 243)">
<span><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;text-align:justify;color:rgb(192, 192, 192)"><i>Ce message et toutes les pièces jointes sont confidentiels et établis à l&#39;intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d&#39;altération. </i><b><i>IPeva</i></b><i> décline toute responsabilité au titre de ce message s&#39;il a été altéré, déformé ou falsifié. Si vous n&#39;êtes pas destinataire de ce message, merci de le détruire immédiatement et d&#39;avertir l&#39;expéditeur.</i></div>
<div style="text-decoration:underline;text-align:justify"><font color="#C0C0C0"><i><br></i></font></div></span></div></span></font></div></span></font></div></div></span><br></div></span><br> </div><br></div><div><div>Le 21/04/2010 à 17:34, RR a écrit :</div>
<div><div></div><div class="h5"><br><blockquote type="cite">Thanks David. We know the custom header is the way to go but didn&#39;t know how to send that in the header. After a little research, discovered that we could use the sip_invite_domain channel variable to forward the call with the original &quot;From&quot; Header to the Asterisk Farm. Just thought it would help someone else out in the future :)<div>
 <br><span style="font-family:sans-serif;font-size:15px;line-height:22px"><h3 style="color:black;background-color:initial;font-weight:bold;margin-top:0px;margin-right:0px;margin-bottom:0.3em;margin-left:0px;padding-top:0.5em;padding-bottom:0.17em;border-bottom-width:initial;border-bottom-style:none;border-bottom-color:initial;font-size:20px;background-repeat:initial initial">
 <span style="font-family:arial;font-weight:normal;line-height:normal;font-size:small">On Tue, Apr 20, 2010 at 9:16 PM, David Ponzone <span dir="ltr">&lt;<a href="mailto:david.ponzone@gmail.com" target="_blank">david.ponzone@gmail.com</a>&gt;</span> wrote:</span></h3>
 </span><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Setting a customer SIP header seems a nice way to do that. And easy.<div>
 <div><br><div> <span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="word-wrap:break-word">
 <span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="word-wrap:break-word">
 <div><font face="&#39;Helvetica Neue&#39;"><font color="#1C00FF">David Ponzone  </font><font color="#000000" size="3"><span style="font-size:12px">Direction Technique</span></font></font></div><div><font face="&#39;Helvetica Neue&#39;"><font size="3"><span style="font-size:13px">email: <a href="mailto:david.ponzone@ipeva.fr" target="_blank">david.ponzone@ipeva.fr</a></span></font></font></div>
 <div><font face="&#39;Helvetica Neue&#39;"><font size="3"><span style="font-size:13px">tel:      01 74 03 18 97</span></font></font></div><div><font face="&#39;Helvetica Neue&#39;"><font size="3"><span style="font-size:13px">gsm:   06 66 98 76 34</span></font></font></div>
 <div><font face="&#39;Helvetica Neue&#39;"><br></font></div><div><font color="#1C00FF" face="&#39;Helvetica Neue&#39;">Service Client<span> </span></font><font face="&#39;Helvetica Neue&#39;"><font color="#FF0000">IP</font></font><font color="#1C00FF" face="&#39;Helvetica Neue&#39;">eva</font></div>
 <div><font color="#1C00FF" face="&#39;Helvetica Neue&#39;"><span style="color:rgb(0, 0, 0);font-family:Helvetica"><div><font face="&#39;Helvetica Neue&#39;"><font size="3"><span style="font-size:13px">tel:      0811 46 26 26</span></font></font></div>
 <div><font face="&#39;Helvetica Neue&#39;" size="3"><span style="font-size:13px"><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(0, 34, 243)"><span style="text-decoration:underline"><a>www.ipeva.fr</a></span><span style="color:rgb(101, 104, 149)">  -   <span style="color:rgb(0, 34, 243);text-decoration:underline"><a>www.ipeva-studio.com</a></span></span></div>
 <div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(0, 34, 243)"><span style="text-decoration:underline"><br></span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(0, 34, 243)">
 <span><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;text-align:justify;color:rgb(192, 192, 192)"><i>Ce message et toutes les pièces jointes sont confidentiels et établis à l&#39;intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d&#39;altération. </i><b><i>IPeva</i></b><i> décline toute responsabilité au titre de ce message s&#39;il a été altéré, déformé ou falsifié. Si vous n&#39;êtes pas destinataire de ce message, merci de le détruire immédiatement et d&#39;avertir l&#39;expéditeur.</i></div>
 <div style="text-decoration:underline;text-align:justify"><font color="#C0C0C0"><i><br></i></font></div></span></div></span></font></div></span></font></div></div></span><br></div></span><br> </div><br><div><div>Le 21/04/2010 à 01:24, RR a écrit :</div>
 <br><blockquote type="cite"><div><div></div><div>Hello list,<div><br></div><div>we have an FS server configured as a call-distributor (using &quot;mod_distributor&quot;) to a bank/farm of Asterisk servers. However, since the FS is acting like a B2BUA, it&#39;s not passing the originating IP (network_addr) from the originating switch/gateway to the Asterisk farm (as expected). However, we need to have this information in the Asterisk servers. How can we achieve this? Do we need to create/insert a custom SIP header when passing on the call or set a variable or any other way?</div>
  <div><br></div><div>Any help on the issue will be much appreciated</div><div><br></div><div>Thanks in advance,</div><div>RR</div></div></div> _______________________________________________<br>FreeSWITCH-users mailing list<br>
 <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
 UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
 </blockquote></div><br></div></div></div><br>_______________________________________________<br> FreeSWITCH-users mailing list<br> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
 <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
 <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br> <br></blockquote></div><br></div></div> _______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div></div></div><br></div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>