[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sr-users
Subject:    Re: [SR-Users] lval_pvar_assign(): setting pvar failed
From:       Daniel-Constantin Mierla <miconda () gmail ! com>
Date:       2020-09-28 10:47:33
Message-ID: 4c385d77-d943-9a87-9853-85917b78ed4e () gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hello,

is the transaction created at the moment when assignment is done?

Cheers,
Daniel

On 28.09.20 06:57, Uttam Giri wrote:
> Hi,
> i am using htable to assign internal transaction index and
> label.however its unable to assign the index and label
>
> modparam("htable", "htable", "hte=>size=8;autoexpire=300")
> $sht(hte=>id_index::$rU) = $T(id_index)
> $sht(hte=>id_label::$rU) = $T(id_label);
>
> Logs:-
>
> <script>: proceesing suspended in trasaction [10701:2082699975]
> Sep 28 04:44:19 ip-172-31-36-96 /usr/sbin/kamailio[98519]: ERROR: {1
> 29982 INVITE 8f62773bc3dc44a9adb32723f0d0e269} <core>
> [core/lvalue.c:353]: lval_pvar_assign(): setting pvar failed
> Sep 28 04:44:19 ip-172-31-36-96 /usr/sbin/kamailio[98519]: ERROR: {1
> 29982 INVITE 8f62773bc3dc44a9adb32723f0d0e269} <core>
> [core/lvalue.c:404]: lval_assign(): assignment failed at pos:
> (570,32-570,43)
> Sep 28 04:44:19 ip-172-31-36-96 /usr/sbin/kamailio[98519]: ERROR: {1
> 29982 INVITE 8f62773bc3dc44a9adb32723f0d0e269} <core>
> [core/lvalue.c:353]: lval_pvar_assign(): setting pvar failed
> Sep 28 04:44:19 ip-172-31-36-96 /usr/sbin/kamailio[98519]: ERROR: {1
> 29982 INVITE 8f62773bc3dc44a9adb32723f0d0e269} <core>
> [core/lvalue.c:404]: lval_assign(): assignment failed at pos:
> (571,32-571,43)
> Sep 28 04:44:19 ip-172-31-36-96 /usr/sbin/kamailio[98519]: INFO: {1
> 29982 INVITE 8f62773bc3dc44a9adb32723f0d0e269} <script>: [SUSPEND]
> htable key value [<null>   --   <null>]
>
> Is there any solution for this issue?
>
> Thanks,
> Uttam
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Funding: https://www.paypal.me/dcmierla


[Attachment #5 (text/html)]

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello,</p>
    <p>is the transaction created at the moment when assignment is done?</p>
    <p>Cheers,<br>
      Daniel</p>
    <div class="moz-cite-prefix">On 28.09.20 06:57, Uttam Giri wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAHwPDxP4wY2QekusGjOAz5wFE-9qu+oe25KbgkRyvEYndUKhvg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hi,
        <div>i am using htable to assign internal transaction index and
          label.however its unable to assign the index and label</div>
        <div><br>
        </div>
        <div>modparam("htable", "htable",
          "hte=&gt;size=8;autoexpire=300")<br>
        </div>
        <div>$sht(hte=&gt;id_index::$rU) = $T(id_index)<br>
        </div>
        <div>$sht(hte=&gt;id_label::$rU) = $T(id_label);<br>
        </div>
        <div><br>
        </div>
        <div>Logs:-</div>
        <div><br>
        </div>
        <div>&lt;script&gt;: proceesing suspended in trasaction
          [10701:2082699975]<br>
          Sep 28 04:44:19 ip-172-31-36-96 /usr/sbin/kamailio[98519]:
          ERROR: {1 29982 INVITE 8f62773bc3dc44a9adb32723f0d0e269}
          &lt;core&gt; [core/lvalue.c:353]: lval_pvar_assign(): setting
          pvar failed<br>
          Sep 28 04:44:19 ip-172-31-36-96 /usr/sbin/kamailio[98519]:
          ERROR: {1 29982 INVITE 8f62773bc3dc44a9adb32723f0d0e269}
          &lt;core&gt; [core/lvalue.c:404]: lval_assign(): assignment
          failed at pos: (570,32-570,43)<br>
          Sep 28 04:44:19 ip-172-31-36-96 /usr/sbin/kamailio[98519]:
          ERROR: {1 29982 INVITE 8f62773bc3dc44a9adb32723f0d0e269}
          &lt;core&gt; [core/lvalue.c:353]: lval_pvar_assign(): setting
          pvar failed<br>
          Sep 28 04:44:19 ip-172-31-36-96 /usr/sbin/kamailio[98519]:
          ERROR: {1 29982 INVITE 8f62773bc3dc44a9adb32723f0d0e269}
          &lt;core&gt; [core/lvalue.c:404]: lval_assign(): assignment
          failed at pos: (571,32-571,43)<br>
          Sep 28 04:44:19 ip-172-31-36-96 /usr/sbin/kamailio[98519]:
          INFO: {1 29982 INVITE 8f62773bc3dc44a9adb32723f0d0e269}
          &lt;script&gt;: [SUSPEND] htable key value [&lt;null&gt;   --
            &lt;null&gt;]<br>
        </div>
        <div><br>
        </div>
        <div>Is there any solution for this issue?</div>
        <div><br>
        </div>
        <div>Thanks,</div>
        <div>Uttam</div>
        <div><br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" \
wrap="">_______________________________________________ Kamailio (SER) - Users \
Mailing List <a class="moz-txt-link-abbreviated" \
href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a> <a \
class="moz-txt-link-freetext" \
href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
 </pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" \
href="http://www.asipto.com">www.asipto.com</a> <a class="moz-txt-link-abbreviated" \
href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a \
class="moz-txt-link-abbreviated" \
                href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
                
Funding: <a class="moz-txt-link-freetext" \
href="https://www.paypal.me/dcmierla">https://www.paypal.me/dcmierla</a></pre>  \
</body> </html>



_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic