<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    I would also add  prefix()  function available in the core.<br>
    <br>
    <a class="moz-txt-link-freetext" href="http://www.kamailio.org/wiki/cookbooks/4.2.x/core#prefix">http://www.kamailio.org/wiki/cookbooks/4.2.x/core#prefix</a><br>
    <br>
    Regards,<br>
    Cezary<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 05/10/2015 14:43, Federico Cabiddu
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAFOaF_i0ebLALqZyS8ZSk78jS1COWqZei7i=JUwX_4Y3=sYRcg@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi,
        <div>for this kind of operations you really have a lot of
          possible choices with kamailio.</div>
        <div>Some examples:</div>
        <div><br>
        </div>
        <div>1) operating directly on $ru, since it is a r/w
          pseudovariable (<a moz-do-not-send="true"
href="http://www.kamailio.org/wiki/cookbooks/devel/pseudovariables#ru_-_request_uri">http://www.kamailio.org/wiki/cookbooks/devel/pseudovariables#ru_-_request_uri</a>)</div>
        <div>2) use textops module's susbst_uri function <a
            moz-do-not-send="true"
href="http://www.kamailio.org/docs/modules/devel/modules/textops.html#textops.f.subst_uri"><a class="moz-txt-link-freetext" href="http://www.kamailio.org/docs/modules/devel/modules/textops.html#textops.f.subst_uri">http://www.kamailio.org/docs/modules/devel/modules/textops.html#textops.f.subst_uri</a></a></div>
        <div>3) use avp_pushto from avpops module (<a
            moz-do-not-send="true"
href="http://www.kamailio.org/docs/modules/devel/modules/avpops.html#avpops.f.avp_pushto"><a class="moz-txt-link-freetext" href="http://www.kamailio.org/docs/modules/devel/modules/avpops.html#avpops.f.avp_pushto">http://www.kamailio.org/docs/modules/devel/modules/avpops.html#avpops.f.avp_pushto</a></a>)</div>
        <div>4) use dialplan module</div>
        <div><br>
        </div>
        <div>Hope this helps.</div>
        <div><br>
        </div>
        <div>Regards,</div>
        <div><br>
        </div>
        <div>Federico</div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Mon, Oct 5, 2015 at 12:06 PM,
          Infinicalls Infinicalls <span dir="ltr"><<a
              moz-do-not-send="true" href="mailto:infinicalls@gmail.com"
              target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:infinicalls@gmail.com">infinicalls@gmail.com</a></a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
             I am able to successfully connect to a PSTN gw from
            Kamailio. Now, he<br>
            says I need to prepend  a value (eg.123123) before the
            number(ENUM)<br>
            and then only terminate the calls. Where do I add this? Can
            somebody<br>
            help me?<br>
            <br>
            thanks<br>
            Ganesh Kumar<br>
            <br>
            _______________________________________________<br>
            SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
            mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
              rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
          </blockquote>
        </div>
        <br>
      </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>
  </body>
</html>