### Description
installing from the RPM installs libphonenumber 8.10 which does not include the north American area code 689.
### Solution?
Update google libphonenumber requirements to >=8.12 in kamailio's PHONENUM module.
### Additional Information
* **Kamailio Version** - output of `kamailio -v`
``` version: kamailio 5.4.1 (x86_64/linux) 09fd6a flags: USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES ADAPTIVE_WAIT_LOOPS 1024, MAX_RECV_BUFFER_SIZE 262144, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB poll method support: poll, epoll_lt, epoll_et, sigio_rt, select. id: 09fd6a compiled on 11:07:49 Sep 1 2020 with gcc 4.8.5 ```
* **Operating System**:
``` CentOS 7.8 - CentOS Linux release 7.8.2003 (Core) kernel 3.10.0-1127.13.1.el7.x86_64 ```
For CentOS7 upgrade is not possible. The compiler does not support class `std::unique_ptr`.
``` [ 29%] Building CXX object CMakeFiles/phonenumber.dir/src/phonenumbers/phonenumbermatcher.cc.o /usr/bin/c++ -DI18N_PHONENUMBERS_USE_ALTERNATE_FORMATS -DI18N_PHONENUMBERS_USE_BOOST -DI18N_PHONENUMBERS_USE_ICU_REGEXP -DI18N_PHONENUMBERS_USE_TR1_UNORDERED_MAP -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/root/rpmbuild/BUILD/libphonenumber-8.12.11/cpp/src -I/root/rpmbuild/BUILD/libphonenumber-8.12.11/cpp/test -Wall -Werror -o CMakeFiles/phonenumber.dir/src/phonenumbers/phonenumbermatcher.cc.o -c /root/rpmbuild/BUILD/libphonenumber-8.12.11/cpp/src/phonenumbers/phonenumbermatcher.cc /root/rpmbuild/BUILD/libphonenumber-8.12.11/cpp/src/phonenumbers/phonenumbermatcher.cc: In member function 'bool i18n::phonenumbers::PhoneNumberMatcher::CheckNumberGroupingIsValid(const i18n::phonenumbers::PhoneNumber&, const string&, i18n::phonenumbers::ResultCallback4<bool, const i18n::phonenumbers::PhoneNumberUtil&, const i18n::phonenumbers::PhoneNumber&, const std::basic_string<char>&, const std::vector<std::basic_string<char> >&>*) const': /root/rpmbuild/BUILD/libphonenumber-8.12.11/cpp/src/phonenumbers/phonenumbermatcher.cc:704:9: error: 'unique_ptr' is not a member of 'std' std::unique_ptr<RegExpInput> nsn_input( ^ /root/rpmbuild/BUILD/libphonenumber-8.12.11/cpp/src/phonenumbers/phonenumbermatcher.cc:704:36: error: expected primary-expression before '>' token std::unique_ptr<RegExpInput> nsn_input( ^ /root/rpmbuild/BUILD/libphonenumber-8.12.11/cpp/src/phonenumbers/phonenumbermatcher.cc:706:45: error: 'nsn_input' was not declared in this scope national_significant_number)); ^ gmake[2]: *** [CMakeFiles/phonenumber.dir/src/phonenumbers/phonenumbermatcher.cc.o] Error 1 gmake[2]: Leaving directory `/root/rpmbuild/BUILD/libphonenumber-8.12.11' gmake[1]: Leaving directory `/root/rpmbuild/BUILD/libphonenumber-8.12.11' gmake[1]: *** [CMakeFiles/phonenumber.dir/all] Error 2 gmake: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.sVbi0F (%build) Downloading https://github.com/google/libphonenumber/archive/v8.12.11/libphonenumber-8.1... to /root/rpmbuild/SOURCES/libphonenumber-8.12.11.tar.gz Bad exit status from /var/tmp/rpm-tmp.sVbi0F (%build) ```
Here, for you possible options: 1) update CentOS 7 to CentOS 8; 2) update gcc compiler on CentOS7 and create a custom `libphonenumber` and `kamailio` build.
CentOS 8 available [here](http://rpm.kamailio.org/centos/8/master/master/x86_64/Packages/l/). The second option you can do yourself. We cannot use a not standard compiler on the project.
Same problem on centos 8. pls fix.
what is problem on CentOS 8?
@Moke, if you still have an issue with the current master or with the new release, please open a new ticket.
Closed #2533.