Hi Daniel (and everyone else).<br><br>I&#39;m still facing problems when using Kamailio as dispatcher in front of FreeSwitch. Everything works when connected directly to FreeSwitch. When connected via Kamailio, some calls fails in certain directions between devices.<br>

<br>I&#39;ve setup tshark on FreeSwitch now to analyze the input from both scenarios.<br><br>When connected directly to FreeSwitch, which works, this is my INVITE:<br><a href="http://pastebin.com/p4CZJJz3">http://pastebin.com/p4CZJJz3</a><br>

<br>This is how the INVITE looks when it fails via Kamailio:<br><a href="http://pastebin.com/9AFEsuVs">http://pastebin.com/9AFEsuVs</a><br><br>Can anyone help my out, to see if the problems is with Kamailio or FreeSwitch?<br>

<br><div class="gmail_quote">2011/9/30 Henrik Aagaard Sørensen <span dir="ltr">&lt;<a href="mailto:henrikaagaardsorensen@gmail.com">henrikaagaardsorensen@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hi Daniel.<br><br>I&#39;ve tried a lot with FreeSwitch, but somehow I still thinks Kamailio does something to the SIP messages etc. as everything works without Kamailio. This is my kamailio.cfg: <a href="http://pastebin.com/PcVPnh6Q" target="_blank">http://pastebin.com/PcVPnh6Q</a><br>


<br><div class="gmail_quote"><div class="im">2011/9/30 Henrik Aagaard Sørensen <span dir="ltr">&lt;<a href="mailto:henrikaagaardsorensen@gmail.com" target="_blank">henrikaagaardsorensen@gmail.com</a>&gt;</span><br></div>

<div><div></div><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Daniel.<br><br>I can see in FreeSwitch, from the log, this error:<br>2011-09-30 06:49:58.275812 [ERR] sofia_reg.c:2136 Cannot locate any 
authentication credentials to complete an authentication request for 
realm &#39;&quot;10.0.1.7&quot;&#39;<br><br>That I do not get when connecting directly to FreeSwitch, without Kamailio. So I guess Kamailio does something?<br><br>But I also guess the problem lies with FreeSwitch and not Kamailio, as it is FreeSwitch not accepting.<div>


<div></div><div><br>
<br><div class="gmail_quote">2011/9/30 Daniel-Constantin Mierla <span dir="ltr">&lt;<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hello,<div><br>
    <br>
    On 9/29/11 10:28 PM, Henrik Aagaard Sørensen wrote:
    <blockquote type="cite">I&#39;m using Kamailio as dispatcher to a FreeSwitch
      setup.<br>
      <br>
      Currently it &quot;almost&quot; work. I have 2 extensions connected to my
      FreeSwitch via Kamailio. However, I can only send calls one way
      because Kamailio seems to change the domain on the extension.<br>
    </blockquote></div>
    Kamailio is not changing anything by default, if something is
    changed, you executed a function for that. Which domain you think is
    changed by kamailio? Request URI, From or To addresses?<br>
    <br>
    Can you provide ngrep traces of registration and a call for this
    case? Tell what you expected in the content of the sip messages and
    you think kamailio changed.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <blockquote type="cite"><div>
      <br>
      One extension is registered with <a href="mailto:ID@sip.my-domain.com" target="_blank">ID@sip.my-domain.com</a>.
      This I can send calls to.<br>
      The other extension is registered with ID@local-ip. This I cannot
      send calls to.<br>
      <br>
      Isn&#39;t it possible to have Kamailio register the extension on my
      FreeSwitch with @<a href="http://sip.my-domain.com" target="_blank">sip.my-domain.com</a>?<br>
      <br>
      If I register both extension directly to my FreeSwitch everything
      works.<br>
      <br>
      <fieldset></fieldset>
      <br>
      </div><pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote><font color="#888888">
    <br>
    <pre cols="72">-- 
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
Kamailio Advanced Training, Dec 5-8, Berlin: <a href="http://asipto.com/u/kat" target="_blank">http://asipto.com/u/kat</a>
<a href="http://linkedin.com/in/miconda" target="_blank">http://linkedin.com/in/miconda</a> -- <a href="http://twitter.com/miconda" target="_blank">http://twitter.com/miconda</a></pre>
  </font></div>

</blockquote></div><br>
</div></div></blockquote></div></div></div><br>
</blockquote></div><br>