[Spce-user] Rtpengine perl client

John Nash john.nash778 at gmail.com
Sun Apr 24 13:54:35 EDT 2016


OK. I tried passing values using $$ptr ($ptr = \$options{$x}) but doesnt
seem to be working. May be I am doing something wrong

On Sun, Apr 24, 2016 at 7:59 PM, Richard Fuchs <rfuchs at sipwise.com> wrote:

> On 24/04/16 03:03 AM, John Nash wrote:
>
>> When testing
>> https://github.com/sipwise/rtpengine/blob/master/utils/ng-client I
>> stumbled across one issue while sending request to Rtpengine from perl
>> client.
>>
>> The issue in some cases SIP endpoint generates integer from-tag and when
>> "packet" is passed to bencode function, bencode formats it as integer
>>
>
> This is caused by the Perl Bencode module. As it says in the docs:
>
> Plain scalars that look like
>        canonically represented integers will be serialised as such. To
> bypass the heuristic and force
>        serialisation as a string, use a reference to a scalar.
>
> I'll push a patch that fixes this tomorrow.
>
> Cheers
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> https://lists.sipwise.com/listinfo/spce-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20160424/d3161762/attachment-0001.html>


More information about the Spce-user mailing list