<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hi,<br>
      In this configuration file, authentication is done before routing
      to Freeswitch.<br>
      If you are getting 407 responses it is because the request does
      not have an Authorization header or the credentials are incorrect.
      The cfg file you have attached does not have a realm defined in
      the calls to proxy_authorize/proxy_challenge (lines 520-521 and
      505-507). This needs to contain the domain of your system,
      specifically, the one stored in the subscriber database. (See
<a class="moz-txt-link-freetext" href="http://www.kamailio.org/docs/modules/devel/modules/auth.html#auth.f.proxy_challenge">http://www.kamailio.org/docs/modules/devel/modules/auth.html#auth.f.proxy_challenge</a>)<br>
      Authentication is done for every request, so if the client
      receives a 407 response, it must resend the request with the right
      credentials. You can check this is happening by looking at a
      tcpdump trace in wireshark or with ngrep.<br>
      <br>
      The cfg file has some preconfigured routes for Freeswitch. If the
      called number does not match any of the regular expressions the
      call will probably be rejected with a 404 Not Found.<br>
      '43' does not match any of the expressions, but '433nnn' will
      forward to a FS conference.<br>
      <br>
      Regards,<br>
      Hugh<br>
      <br>
      On 11/11/2013 14:34, Joli Martinez wrote:<br>
    </div>
    <blockquote
      cite="mid:BC9047BB-D1B1-4C20-A046-64CC30772FD4@gmail.com"
      type="cite">
      <pre wrap="">Hello,

I log into the FS cli and set the cli to debug.  I see not calls coming into FS when I dial 43.  When I dial 41 I see the call hits the call and it get routed VM.

I am new to Kamailio and don't know enough to start troubleshooting.  If you can point me in the right direction.  From what I read kamailio only has on config file and there is no reference to "43" in there so where do you configure the dial-peers or call routing?
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">  

thanks,

On Nov 8, 2013, at 6:13 PM, Fred Posner <a class="moz-txt-link-rfc2396E" href="mailto:fred@palner.com"><fred@palner.com></a> wrote:

</pre>
      <blockquote type="cite">
        <pre wrap="">When you dial 43 you get a prompt or 41?

Also, do you see anything in the freeswitch logs or have a sip capture/

Fred Posner | The Palner Group
direct: 503-914-0999 | fax: 954-472-2896

On 11/08/2013 06:04 PM, Joli Martinez wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">I am new to Kamailio and am having an issue with the dialplan setup.  I
have Kamailio setup as an SBC to handle all user authentication and call
routing.  I need freeswitch to handle all conferences and voicemails.
 When I dial 433001 I would like to be transferred to freeswitch for
conferences.  Right now I have followed the following article and it
when I dial 433001 call hangs up and never reaches FS.  If I call 43
call does reach FS and I am able to hear FS play the VM prompt.

My system is CentoOS 6.4 and FS is installed via yum, but Kamailio is
complied. Both FS and Kamailio are on the same box.

What commands would you suggest I use to troubleshoot these issues in
the future.

<a class="moz-txt-link-freetext" href="http://kb.asipto.com/freeswitch:kamailio-3.0.x-freeswitch-1.0.6d-ms#dokuwiki__top">http://kb.asipto.com/freeswitch:kamailio-3.0.x-freeswitch-1.0.6d-ms#dokuwiki__top</a>

Also, since I am new could you give some pointers as far as security and
documentation.

thanks,




_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>

</pre>
        </blockquote>
        <pre wrap="">
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
      </blockquote>
      <pre wrap="">
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Hugh Waite
Principal Design Engineer
Crocodile RCS Ltd.</pre>
  </body>
</html>