[Spce-user] Rtpengine perl client
Richard Fuchs
rfuchs at sipwise.com
Sun Apr 24 10:29:00 EDT 2016
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
More information about the Spce-user
mailing list