Skip Menu |

This queue is for tickets about the POE-Component-Client-Asterisk-Manager CPAN distribution.

Report information
The Basics
Id: 115782
Status: new
Priority: 0/
Queue: POE-Component-Client-Asterisk-Manager

People
Owner: Nobody in particular
Requestors: msharenkov [...] rapida.ru
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Module does not work on new versions of AMI (two dots in version num)
Date: Fri, 1 Jul 2016 09:03:24 +0300
To: "bug-POE-Component-Client-Asterisk-Manager [...] rt.cpan.org" <bug-POE-Component-Client-Asterisk-Manager [...] rt.cpan.org>
From: Шаренков Максим Николаевич <msharenkov [...] rapida.ru>
Module does not work on new versions of Asterisk AMI, where version num has two dots ('2.8.0' as example) Wrong regexp is below: Line 321: if ($self->{buffer} =~ s#^(?:Asterisk|Aefirion) Call Manager(?: Proxy)?/(\d+\.\d+\w*)$self->{crlf}##is) { Need to be fixed to (for example) if ($self->{buffer} =~ s#^(?:Asterisk|Aefirion) Call Manager(?: Proxy)?/(\d+(?:\.\d+)+\w*)$self->{crlf}##is) { С уважением, Максим Шаренков, Старший программист группы программной интеграции Платежная система "Рапида" Офис: +7 (495) 380 1777 доб. 1613 Моб.: +7 (915) 173 6323 e-mail: msharenkov@rapida.ru<mailto:msharenkov@rapida.ru> www.rapida.ru<http://www.rapida.ru/>