<div dir="ltr">Hi,<div><br></div><div>There we go, that was it. Thank you Joshua! </div><div><br></div><div>cheers,</div><div>Olli</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-08-06 15:26 GMT+03:00 Joshua Colp <span dir="ltr"><<a href="mailto:jcolp@digium.com" target="_blank">jcolp@digium.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Olli Heiskanen wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
</blockquote>
<br>
Kia ora,<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">
I noticed a strange thing while testing my Asterisk-Kamailio Realtime<br>
setup. In an INVITE the From and To headers contain the same number when<br>
calling through a Realtime integration setup. This happens when the<br>
INVITE leaves Asterisk.<br>
<br>
Can you guys tell me what might be causing this? I have <a href="mailto:660@testers.com" target="_blank">660@testers.com</a><br></div>
<mailto:<a href="mailto:660@testers.com" target="_blank">660@testers.com</a>> as a websocket client and <a href="mailto:700@testers.com" target="_blank">700@testers.com</a><br>
<mailto:<a href="mailto:700@testers.com" target="_blank">700@testers.com</a>> (caller) using a Zoiper client (db output<div class=""><br>
below). The call itself works, audio and all, only those headers are<br>
puzzling to me. I noticed this when I tried to add a label saying '700<br>
calling' on my web page. The same thing happens when I call from 660 to<br>
700.<br>
</div></blockquote>
<br>
Your configuration has "fromuser" set which explicitly sets the user portion of the From header to what you specify. This is commonly used for ITSPs as they use that to determine who you are trying to authenticate as. If you require this to be set then caller id information has to be transported in a different manner (RPID or PAI).<br>

<br>
Cheers,<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Joshua Colp<br>
Digium, Inc. | Senior Software Developer<br>
445 Jan Davis Drive NW - Huntsville, AL 35806 - US<br>
Check us out at: <a href="http://www.digium.com" target="_blank">www.digium.com</a> & <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a><br>
<br>
-- <br>
______________________________<u></u>______________________________<u></u>_________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
              <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
  <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/<u></u>mailman/listinfo/asterisk-<u></u>users</a><br>
</font></span></blockquote></div><br></div>