<div dir="ltr">OK. I tried passing values using $$ptr ($ptr = \$options{$x}) but doesnt seem to be working. May be I am doing something wrong</div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 24, 2016 at 7:59 PM, Richard Fuchs <span dir="ltr"><<a href="mailto:rfuchs@sipwise.com" target="_blank">rfuchs@sipwise.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 24/04/16 03:03 AM, John Nash wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
When testing<br>
<a href="https://github.com/sipwise/rtpengine/blob/master/utils/ng-client" rel="noreferrer" target="_blank">https://github.com/sipwise/rtpengine/blob/master/utils/ng-client</a> I<br>
stumbled across one issue while sending request to Rtpengine from perl<br>
client.<br>
<br>
The issue in some cases SIP endpoint generates integer from-tag and when<br>
"packet" is passed to bencode function, bencode formats it as integer<br>
</blockquote>
<br></span>
This is caused by the Perl Bencode module. As it says in the docs:<br>
<br>
Plain scalars that look like<br>
       canonically represented integers will be serialised as such. To bypass the heuristic and force<br>
       serialisation as a string, use a reference to a scalar.<br>
<br>
I'll push a patch that fixes this tomorrow.<br>
<br>
Cheers<br>
_______________________________________________<br>
Spce-user mailing list<br>
<a href="mailto:Spce-user@lists.sipwise.com" target="_blank">Spce-user@lists.sipwise.com</a><br>
<a href="https://lists.sipwise.com/listinfo/spce-user" rel="noreferrer" target="_blank">https://lists.sipwise.com/listinfo/spce-user</a><br>
</blockquote></div><br></div>