<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>It's on 3.1 and 3.0.<br>
    </p>
    <pre class="moz-signature" cols="72">Vlad Patrascu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
    <div class="moz-cite-prefix">On 07/18/2019 09:52 AM, sagar malam
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAEZuF3unhyh0dDkzpZVrTdZY4wYuSt7Lao-MSCMbe6+nhXyL=w@mail.gmail.com">
      <div dir="ltr">Hi Vlad,<br>
        <div><br>
        </div>
        <div>Thanks for fix.Is it pushed to 3.0 ? or it will be released
          with 3.1 ? </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Wed, Jul 17, 2019 at 8:41
          PM Vlad Patrascu <<a href="mailto:vladp@opensips.org"
            moz-do-not-send="true">vladp@opensips.org</a>> wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div bgcolor="#FFFFFF">
            <p>Hi Sagar,</p>
            <p>This is a bug introduced when porting the script
              functions interface to 3.0. I've just pushed a fix, thanks
              for reporting!</p>
            <p>Regards,<br>
            </p>
            <pre class="gmail-m_-3206217705691012506moz-signature" cols="72">Vlad Patrascu
OpenSIPS Developer
<a class="gmail-m_-3206217705691012506moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank" moz-do-not-send="true">http://www.opensips-solutions.com</a></pre>
            <div class="gmail-m_-3206217705691012506moz-cite-prefix">On
              07/17/2019 05:05 PM, sagar malam wrote:<br>
            </div>
            <blockquote type="cite">
              <div dir="ltr">Hello,
                <div><br>
                </div>
                <div>
                  <div>Can anyone please help me on this ? </div>
                </div>
              </div>
              <br>
              <div class="gmail_quote">
                <div dir="ltr" class="gmail_attr">On Tue, Jul 16, 2019
                  at 3:22 PM sagar malam <<a
                    href="mailto:sagarmalam@gmail.com" target="_blank"
                    moz-do-not-send="true">sagarmalam@gmail.com</a>>
                  wrote:<br>
                </div>
                <blockquote class="gmail_quote" style="margin:0px 0px
                  0px 0.8ex;border-left:1px solid
                  rgb(204,204,204);padding-left:1ex">
                  <div dir="ltr">
                    <div
                      class="gmail-m_-3206217705691012506gmail-m_-1329212427574809177gmail-gE
gmail-m_-3206217705691012506gmail-m_-1329212427574809177gmail-iv
                      gmail-m_-3206217705691012506gmail-m_-1329212427574809177gmail-gt"
                      style="padding:20px 0px 0px;font-size:0.875rem">
                      <table
                        class="gmail-m_-3206217705691012506gmail-m_-1329212427574809177gmail-cf
gmail-m_-3206217705691012506gmail-m_-1329212427574809177gmail-gJ"
style="border-collapse:collapse;margin-top:0px;width:auto;font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:0.875rem;letter-spacing:0.2px;display:block"
                        cellpadding="0">
                        <tbody style="display:block">
                        </tbody>
                      </table>
                      <span style="font-size:small">Hello, </span></div>
                    <div
                      class="gmail-m_-3206217705691012506gmail-m_-1329212427574809177gmail-">
                      <div
                        id="gmail-m_-3206217705691012506gmail-m_-1329212427574809177gmail-:9ot"
class="gmail-m_-3206217705691012506gmail-m_-1329212427574809177gmail-ii
gmail-m_-3206217705691012506gmail-m_-1329212427574809177gmail-gt"
                        style="font-size:0.875rem;direction:ltr;margin:8px
                        0px 0px;padding:0px">
                        <div
                          id="gmail-m_-3206217705691012506gmail-m_-1329212427574809177gmail-:3l"
class="gmail-m_-3206217705691012506gmail-m_-1329212427574809177gmail-a3s
gmail-m_-3206217705691012506gmail-m_-1329212427574809177gmail-aXjCH"
style="overflow:hidden;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:small;line-height:1.5">
                          <div dir="ltr">
                            <div>I am using  <span
                                style="color:rgb(0,0,0);font-family:Helvetica,Arial"><b>add_isup_part([isup_msg_type][,extra_headers])</b></span></div>
                            <div>function from request and failure route
                              to local route  in <b>Opensips 3.0</b> version
                              script but I am getting parsing error as
                              below . I AM NOT GETTING THIS ERROR IN
                              OPENSIPS 2.x. Please help me on this
                              issue.</div>
                            <div>------------------------------------------------------------------------</div>
                            <div><font color="#0000ff">Usage</font> : </div>
                            <div><br>
                            </div>
                            <div>
                              <div>        if(!isflagset(11) &&
                                $avp(tsi_types)=="SIP-I" ) {<br>
                                                $ru  = $ru +
                                ";user=phone";<br>
                                               xlog("L_INFO","Adding
                                isup part ");<br>
                                <br>
                                               
                                if(add_isup_part("Initial address")) { <br>
                                                        setflag(11);<br>
                                                }<br>
                                <br>
                                        } else {<br>
                                                xlog("L_INFO","Removing
                                isup part "); <br>
                                               
                                remove_body_part("application/sdp","revert");<br>
                                        }</div>
                              <div>------------------------------------------------------------------------------</div>
                              <div><span style="color:rgb(255,0,0)">Error </span><span
                                  style="color:rgb(255,0,0)">:</span><br>
                              </div>
                              <div>Jul 15 10:46:35 sbcsbc opensips:
                                CRITICAL:core:yyerror: parse error in
                                /usr/local//etc/opensips/opensips.cfg:1282:28-29: <b>Command
                                  <add_isup_part> cannot be used
                                  in the block#012</b><br>
                                Jul 15 10:46:35 sbcsbc opensips:        
                                       xlog("L_INFO","Adding isup part
                                ");<br>
                                Jul 15 10:46:35 sbcsbc opensips: <br>
                                Jul 15 10:46:35 sbcsbc opensips:      
                                #011#011if(add_isup_part("Initial
                                address")) { <br>
                                Jul 15 10:46:35 sbcsbc opensips:      
                                #011#011^~<br>
                                Jul 15 10:46:35 sbcsbc opensips: #011  
                                     #011setflag(11);<br>
                                Jul 15 10:46:35 sbcsbc opensips:
                                #011#011}<br>
                                Jul 15 10:46:35 sbcsbc opensips:
                                ERROR:core:parse_opensips_cfg: bad
                                config file (1 errors)<br>
                                Jul 15 10:46:35 sbcsbc opensips:
                                ERROR:core:main: failed to parse config
                                file (null)<br>
                                Jul 15 10:46:35 sbcsbc opensips:
                                NOTICE:core:main: Exiting....<br>
                              </div>
                              <div>----------------------------------------------------------------------------------</div>
                              <br
class="gmail-m_-3206217705691012506gmail-m_-1329212427574809177gmail-Apple-interchange-newline">
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                    <div><br>
                    </div>
                    -- <br>
                    <div dir="ltr"
class="gmail-m_-3206217705691012506gmail-m_-1329212427574809177gmail_signature">
                      <div dir="ltr">Thanks,
                        <div><br>
                        </div>
                        <div>Sagar</div>
                      </div>
                    </div>
                  </div>
                </blockquote>
              </div>
              <br clear="all">
              <div><br>
              </div>
              -- <br>
              <div dir="ltr"
                class="gmail-m_-3206217705691012506gmail_signature">
                <div dir="ltr">Thanks,
                  <div><br>
                  </div>
                  <div>Sagar</div>
                </div>
              </div>
              <br>
              <fieldset
                class="gmail-m_-3206217705691012506mimeAttachmentHeader"></fieldset>
              <br>
              <pre>_______________________________________________
Users mailing list
<a class="gmail-m_-3206217705691012506moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank" moz-do-not-send="true">Users@lists.opensips.org</a>
<a class="gmail-m_-3206217705691012506moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank" moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
            </blockquote>
            <br>
          </div>
          _______________________________________________<br>
          Users mailing list<br>
          <a href="mailto:Users@lists.opensips.org" target="_blank"
            moz-do-not-send="true">Users@lists.opensips.org</a><br>
          <a
            href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
            rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
        </blockquote>
      </div>
      <br clear="all">
      <div><br>
      </div>
      -- <br>
      <div dir="ltr" class="gmail_signature">
        <div dir="ltr">Thanks,
          <div><br>
          </div>
          <div>Sagar</div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>