<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    see if this tutorial helps you:<br>
    <br>
      -
    <a class="moz-txt-link-freetext" href="http://kb.asipto.com/freeswitch:kamailio-3.3.x-freeswitch-1.2.x-sbc">http://kb.asipto.com/freeswitch:kamailio-3.3.x-freeswitch-1.2.x-sbc</a><br>
    <br>
    It shows how to use Lua with FreeSwitch to access database of
    kamailio.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 15/12/14 12:08, Juned Khan wrote:<br>
    </div>
    <blockquote
cite="mid:CAMm4cj8XUTADvmSGzQbJxUWYuJUagJvH6kCAM1_wkB0Qwixsfw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>Hi All,<br>
            <br>
          </div>
          I am using Kamailio for signalling purpose. In my current
          setup I am handling sip registration in Kamailio server and
          forwarding call to Freeswitch server , and registration and
          call forwarding to FS server is working. But at Freeswitch
          side I need accountcode to elstablish a call.<br>
          <br>
        </div>
        <div>I am using this to setup <a moz-do-not-send="true"
href="https://wiki.freeswitch.org/wiki/Kamailio_basic_setup_as_proxy_for_FreeSWITCH">https://wiki.freeswitch.org/wiki/Kamailio_basic_setup_as_proxy_for_FreeSWITCH</a><br>
          <br>
        </div>
        <div>I am using Kamailio 4.2.1 and Freeswitch 1.4.14 on CentOS
          6.5.<br>
        </div>
        <div>I have also attached my Kamalio.cfg file.<br>
        </div>
        <div><br>
        </div>
        So how do I store and send accountcode variable to Freeswitch?<br>
        <div>
          <div><br clear="all">
            <div>
              <div>
                <div>
                  <div class="gmail_signature">
                    <div dir="ltr">
                      <div>
                        <div dir="ltr">
                          <div dir="ltr">
                            <div>
                              <div dir="ltr">
                                <div dir="ltr">
                                  <div>
                                    <div dir="ltr">
                                      <div dir="ltr">
                                        <p
style="font-family:Helvetica,Arial,sans-serif;font-size:10px;line-height:12px;color:rgb(153,153,153)"><span
                                            style="font-weight:bold">Regards<br>
                                            Juned Khan</span>
                                          <span>/</span> <span
                                            style="color:rgb(153,153,153)">Network
                                            Engineer</span><br>
                                          <span
                                            style="color:rgb(153,153,153)">+91
                                            9974740823</span><span>/</span>
                                          <a moz-do-not-send="true"
                                            href="mailto:juned.khan@inextrix.com"
                                            style="color:rgb(221,162,0)"
                                            target="_blank">juned.khan@inextrix.com</a></p>
                                        <p
style="font-family:Helvetica,Arial,sans-serif;font-size:10px;line-height:12px"><span
style="font-weight:bold;color:rgb(153,153,153)">iNextrix Technologies
                                            Pvt Ltd.</span> <br>
                                          <a moz-do-not-send="true"
                                            href="http://htmlsig.com/www.inextrix.com"
                                            style="color:rgb(221,162,0)"
                                            target="_blank">www.inextrix.com</a>
                                        </p>
                                        <p
                                          style="font-size:10px;line-height:12px"><a
                                            moz-do-not-send="true"
                                            href="https://www.facebook.com/junedkhan23"
                                            target="_blank"><img
                                              moz-do-not-send="true"
                                              src="http://htmlsig.com/images/icon-komodo/facebook.png"
                                              alt="Facebook"></a> <a
                                            moz-do-not-send="true"
                                            href="https://twitter.com/juned23"
                                            target="_blank"><img
                                              moz-do-not-send="true"
                                              src="http://htmlsig.com/images/icon-komodo/twitter-2.png"
                                              alt="Twitter"></a> <a
                                            moz-do-not-send="true"
                                            href="https://plus.google.com/+JunedKhan"
                                            target="_blank"><img
                                              moz-do-not-send="true"
                                              src="http://htmlsig.com/images/icon-komodo/google-plus.png"
                                              alt="Google Plus"></a> <a
                                            moz-do-not-send="true"
                                            href="http://htmlsig.com/in.linkedin.com/in/junedk"
                                            target="_blank"><img
                                              moz-do-not-send="true"
                                              src="http://htmlsig.com/images/icon-komodo/linkedin.png"
                                              alt="Linkedin"></a> </p>
                                        <p
style="font-family:Helvetica,Arial,sans-serif;color:rgb(153,153,153);font-size:9px;line-height:12px">This

                                          e-mail message may contain
                                          confidential or legally
                                          privileged information and is
                                          intended only for the use of
                                          the intended recipient(s). Any
                                          unauthorized disclosure,
                                          dissemination, distribution,
                                          copying or the taking of any
                                          action in reliance on the
                                          information herein is
                                          prohibited. E-mails are not
                                          secure and cannot be
                                          guaranteed to be error free as
                                          they can be intercepted,
                                          amended, or contain viruses.
                                          Anyone who communicates with
                                          us by e-mail is deemed to have
                                          accepted these risks. Company
                                          Name is not responsible for
                                          errors or omissions in this
                                          message and denies any
                                          responsibility for any damage
                                          arising from the use of
                                          e-mail. Any opinion and other
                                          statement contained in this
                                          message and any attachment are
                                          solely those of the author and
                                          do not necessarily represent
                                          those of the company.</p>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <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>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
  </body>
</html>