<div dir="ltr"><div>Hi Social Boh, <br></div><div><br></div><div>Thank you for pointing it. <br><br></div>Diff of src/modules.lst from kamailio v5.1 and v5.0 is a below<br><div><br><span style="font-family:monospace,monospace">19c19<br><span style="color:rgb(39,78,19)">< exclude_modules= acc_radius app_java app_lua app_mono app_perl app_python auth_ephemeral auth_identity auth_radius carrierroute cdp cdp_avp cnxcc cplc crypto db2_ldap db_berkeley db_cassandra db_mongodb db_mysql db_oracle db_perlvdb db_postgres db_sqlite db_unixodbc dialplan dnssec erlang evapi geoip geoip2 gzcompress h350 http_async_client http_client ims_auth ims_charging ims_dialog ims_diameter_server ims_icscf ims_isc ims_ocs ims_qos ims_registrar_pcscf ims_registrar_scscf ims_usrloc_pcscf ims_usrloc_scscf jansson janssonrpcc json jsonrpcc kazoo lcr ldap log_systemd memcached misc_radius ndb_cassandra ndb_mongodb ndb_redis nsq osp outbound peering <b>phonenum</b> presence presence_conference presence_dialoginfo presence_mwi presence_profile presence_reginfo presence_xml pua pua_bla pua_dialoginfo pua_reginfo pua_rpc pua_usrloc pua_xmpp rabbitmq regex rls sctp snmpstats tls topos_redis utils uuid websocket xcap_client xcap_server xhttp_pi xmlops xmlrpc xmpp $(skip_modules)</span><br>---<br><span style="color:rgb(32,18,77)">> exclude_modules= acc_radius app_java app_lua app_mono app_perl app_python auth_ephemeral auth_identity auth_radius carrierroute cdp cdp_avp cnxcc cplc crypto db2_ldap db_berkeley db_cassandra db_mongodb db_mysql db_oracle db_perlvdb db_postgres db_sqlite db_unixodbc dialplan dnssec erlang evapi geoip geoip2 gzcompress h350 http_async_client http_client ims_auth ims_charging ims_dialog ims_icscf ims_isc ims_ocs ims_qos ims_registrar_pcscf ims_registrar_scscf ims_usrloc_pcscf ims_usrloc_scscf jansson janssonrpcc json jsonrpcc kazoo lcr ldap log_systemd memcached misc_radius ndb_cassandra ndb_mongodb ndb_redis nsq osp outbound peering presence presence_conference presence_dialoginfo presence_mwi presence_profile presence_reginfo presence_xml pua pua_bla pua_dialoginfo pua_reginfo pua_rpc pua_usrloc pua_xmpp rabbitmq regex rls sctp snmpstats tls utils uuid websocket xcap_client xcap_server xhttp_pi xmlops xmlrpc xmpp $(skip_modules)</span><br></span><br></div><div><br></div>I will test on fresh machine again. I just pulled again from git and looks like somehow phonenum was missing in my exclude_modules.<br><br clear="all"><div><div class="gmail_extra"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div><font size="2"><span style="font-family:verdana,sans-serif"><span style="color:rgb(39,78,19)">--<br>regards,</span></span></font></div><font size="2"><span style="font-family:verdana,sans-serif"><span style="color:rgb(39,78,19)"><br>abdul basit | p: +92 32 1416 4196 | o: +92 30 0841 1445</span></span></font></div></div>
<br><div class="gmail_quote">On 18 January 2018 at 01:57, Social Boh <span dir="ltr"><<a href="mailto:social@bohboh.info" target="_blank">social@bohboh.info</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p>Hello Abdul,</p>
<p>check src/modules.lst</p>
<p>file<br>
</p>
<p>exclude_modules= <br>
</p>
<p>line must contain:<br>
</p>
<p>phonenum</p>
<p>phonenum is the new module present from 5.1 Kamailio version and
depend on libphonenumber library<br>
</p>
<p><a class="m_7385469581018283811moz-txt-link-freetext" href="https://kamailio.org/docs/modules/5.1.x/modules/phonenum.html" target="_blank">https://kamailio.org/docs/<wbr>modules/5.1.x/modules/<wbr>phonenum.html</a><br>
</p>
<p>Regards<br>
</p>
<pre class="m_7385469581018283811moz-signature" cols="72">---
I'm SoCIaL, MayBe</pre></div></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div text="#000000" bgcolor="#FFFFFF"><div><div class="h5">
<div class="m_7385469581018283811moz-cite-prefix">El 17/01/2018 a las 15:40, Abdul Basit
escribió:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>
<div>Hi Daniel,<br>
<br>
</div>
That's what i was thinking about phonenum module.<br>
<br>
</div>
I simply git clone form kamailio repo<br>
<br>
<span style="font-family:monospace,monospace">make cfg
include_modules="utils app_lua db_postgres"<br>
make all<br>
make install<br>
</span>
<div><br>
</div>
<div>Nothing else. I wonder why kamailio 5.1 want to use
libphonenumber where there was no such dependency for version
5.0.x<br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div class="m_7385469581018283811gmail_signature" data-smartmail="gmail_signature">
<div><font size="2"><span style="font-family:verdana,sans-serif"><span style="color:rgb(39,78,19)">--<br>
regards,</span></span></font></div>
<font size="2"><span style="font-family:verdana,sans-serif"><span style="color:rgb(39,78,19)"><br>
abdul basit | p: +92 32 1416 4196 | o: +92 30 0841
1445</span></span></font></div>
</div>
<br>
<div class="gmail_quote">On 17 January 2018 at 19:22,
Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p>Hello,</p>
<p>how did you compile kamailio? The phonenum module
should not be compiled by default, only on demand...</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div>
<div class="m_7385469581018283811h5"> <br>
<div class="m_7385469581018283811m_-9142516280424454070moz-cite-prefix">On
16.01.18 17:27, Abdul Basit wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div class="m_7385469581018283811h5">
<div dir="ltr">
<div>
<div>
<div>
<div>Hi,<br>
<br>
</div>
I am able to compile kamailio 5.1 now.<br>
</div>
<div><br>
</div>
Added libphonenumber repo for latest debian
packages<br>
<br>
<span style="font-family:monospace,monospace">echo
“deb <a href="http://ftp.de.debian.org/debian" target="_blank">http://ftp.de.debian.org/debia<wbr>n</a>
sid main” >> /etc/apt/sources.list.d/libpho<wbr>nenumber7.list<br>
<br>
apt-get update && apt-get upgrade</span><br>
<br>
Additional updated packages and dependencies
to install are <br>
<br>
<span style="font-family:monospace,monospace">apt
install libphonenumber7 libphonenumber-dev
libicu57 libprotobuf10 libstdc++6
libgeocoding7 libboost-date-time1.62.0
libboost-filesystem1.62.0
libboost-system1.62.0 libboost-thread1.62.0
libboost-thread-dev<br>
<br>
apt install libprotobuf-dev<br>
<br>
</span></div>
Once done, kamailio 5.1 was compiled
successfully. <br>
</div>
I hope this will make someone's life easier.<br>
<div>
<div class="gmail_extra"><br clear="all">
<div>
<div class="m_7385469581018283811m_-9142516280424454070gmail_signature" data-smartmail="gmail_signature">
<div><font size="2"><span style="font-family:verdana,sans-serif"><span style="color:rgb(39,78,19)">--<br>
regards,</span></span></font></div>
<font size="2"><span style="font-family:verdana,sans-serif"><span style="color:rgb(39,78,19)"><br>
abdul basit</span></span></font></div>
<div class="m_7385469581018283811m_-9142516280424454070gmail_signature" data-smartmail="gmail_signature"><font size="2"><span style="font-family:verdana,sans-serif"><span style="color:rgb(39,78,19)"><br>
</span></span></font></div>
<div class="m_7385469581018283811m_-9142516280424454070gmail_signature" data-smartmail="gmail_signature"><font size="2"><span style="font-family:verdana,sans-serif"><span style="color:rgb(39,78,19)"></span></span></font><br>
</div>
</div>
<div class="gmail_quote">On 16 January 2018 at
18:48, Abdul Basit <span dir="ltr"><<a href="mailto:basit.engg@gmail.com" target="_blank">basit.engg@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div>Hi,<br>
<br>
</div>
I am trying to compile kamailio 5.1 from
git following <br>
<a href="https://kamailio.org/docs/tutorials/5.1.x/kamailio-install-guide-git/" target="_blank">https://kamailio.org/docs/tuto<wbr>rials/5.1.x/kamailio-install-g<wbr>uide-git/</a><br>
<br>
<div>
<div>on Debian GNU/Linux 8.10 (jessie)</div>
<div><br>
</div>
<div>I also installed packages after
getting dependency errors <br>
</div>
<div><span style="font-family:monospace,monospace">apt-get
install libhiredis-dev
libphonenumber6-dev libicu-dev</span><br>
</div>
<div><br>
</div>
<div><span style="font-family:monospace,monospace">apt-get
install unicode unicode-data</span><br>
</div>
<div><br>
</div>
<div>Kamailio compile stopped at error
<br>
</div>
<div>.....<br>
</div>
<span style="font-family:monospace,monospace">LD
(gcc) [M uid_avp_db.so]
uid_avp_db.so</span><br>
<span style="font-family:monospace,monospace"></span>
<div><span style="font-family:monospace,monospace">CC
(gcc) [M pdb.so] pdb.o<br>
LD (gcc) [M pdb.so]
pdb.so<br>
CC (gcc) [M
phonenum.so]
phonenum_mod.o<br>
CC (gcc) [M
phonenum.so]
phonenum_pv.o<br>
Compiling cphonenumber.cpp<br>
g++ -fPIC -DPIC -g -funroll-loops
-Wcast-align -m64
-minline-all-stringops
-falign-loops -ftree-vectorize
-fno-strict-overflow -Wall
-Wno-write-strings -Wno-deprecated
-Wno-unused-f<br>
unction -Wno-sign-compare
-Wno-strict-aliasing -fPIC -DPIC
-g -funroll-loops -Wcast-align
-m64 -minline-all-stringops
-falign-loops -ftree-vectorize
-fno-strict-overflow -Wall -DNA<br>
ME='"kamailio"'
-DVERSION='"5.1.0"'
-DARCH='"x86_64"' -DOS='linux_'
-DOS_QUOTED='"linux"'
-DCOMPILER='"gcc 4.9.2"'
-D__CPU_x86_64 -D__OS_linux
-DSER_VER=5001000
-DCFG_DIR='"/usr/loc<br>
al/etc/kamailio/"'
-DRUN_DIR='"/var/run/kamailio/<wbr>"'
-DPKG_MALLOC -DSHM_MEM -DSHM_MMAP
-DDNS_IP_HACK -DUSE_MCAST
-DUSE_TCP -DDISABLE_NAGLE
-DHAVE_RESOLV_RES -DUSE_DNS_CACHE
-DUSE_DNS<br>
_FAILOVER -DUSE_DST_BLACKLIST
-DUSE_NAPTR -DWITH_XAVP
-DMEM_JOIN_FREE -DF_MALLOC
-DQ_MALLOC -DTLSF_MALLOC
-DDBG_SR_MEMORY -DUSE_TLS
-DTLS_HOOKS -DUSE_CORE_STATS
-DSTATISTICS -DMALLO<br>
C_STATS -DWITH_AS_SUPPORT
-DUSE_SCTP -DFAST_LOCK
-DADAPTIVE_WAIT
-DADAPTIVE_WAIT_LOOPS=1024
-DCC_GCC_LIKE_ASM
-DHAVE_GETHOSTBYNAME2
-DHAVE_UNION_SEMUN
-DHAVE_SCHED_YIELD -DHAVE_MSG_<br>
NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL
-DHAVE_ALLOCA_H -DHAVE_TIMEGM
-DHAVE_SCHED_SETSCHEDULER
-DHAVE_IP_MREQN -DHAVE_EPOLL
-DHAVE_SIGIO_RT
-DSIGINFO64_WORKARROUND
-DUSE_FUTEX -DHAVE_SE<br>
LECT -I/opt/local/include
-DKAMAILIO_MOD_INTERFACE
-DMOD_NAME='"phonenum"' -c
cphonenumber.cpp -o cphonenumber.o<br>
In file included from
/usr/include/phonenumbers/geoc<wbr>oding/phonenumber_offline_geoc<wbr>oder.h:26:0,<br>
from
cphonenumber.cpp:24:<br>
/usr/include/phonenumbers/base<wbr>/memory/scoped_ptr.h:25:45:
fatal error:
phonenumbers/base/template_uti<wbr>l.h:
No such file or directory<br>
#include
"phonenumbers/base/template_ut<wbr>il.h"<br>
<wbr>
^<br>
compilation terminated.<br>
Makefile:22: recipe for target
'cphonenumber.o' failed<br>
make[2]: *** [cphonenumber.o]
Error 1<br>
Makefile:511: recipe for target
'modules' failed<br>
make[1]: *** [modules] Error 1<br>
make[1]: Leaving directory
'/usr/local/src/kamailio/src'<br>
Makefile:27: recipe for target
'all' failed<br>
make: *** [all] Error 2<br>
<br>
</span></div>
<div><span style="font-family:arial,helvetica,sans-serif">I
googled but couldnt found any
resolution or required dependency.
Its look like libphonenumber is
broken.</span></div>
<div><span style="font-family:arial,helvetica,sans-serif"><br>
</span></div>
<div><span style="font-family:arial,helvetica,sans-serif">Kindly
suggest way out. <br>
</span></div>
<div><span style="font-family:arial,helvetica,sans-serif"><br>
</span></div>
<div><span style="font-family:arial,helvetica,sans-serif">Also
i don't require </span><span style="font-family:arial,helvetica,sans-serif"><span style="font-family:arial,helvetica,sans-serif">libphonenumber for this
server. How to get rid off.<br>
</span></span></div>
<div><span style="font-family:arial,helvetica,sans-serif"><br>
</span><br clear="all">
<div>
<div class="m_7385469581018283811m_-9142516280424454070m_4633511851710454702gmail_signature">
<div><font size="2"><span style="font-family:verdana,sans-serif"><span style="color:rgb(39,78,19)">--<br>
regards,</span></span></font></div>
<font size="2"><span style="font-family:verdana,sans-serif"><span style="color:rgb(39,78,19)"><br>
abdul basit <br>
</span></span></font></div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
<br>
<fieldset class="m_7385469581018283811m_-9142516280424454070mimeAttachmentHeader"></fieldset>
<br>
</div>
</div>
<pre>______________________________<wbr>_________________
Kamailio (SER) - Users Mailing List
<a class="m_7385469581018283811m_-9142516280424454070moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a>
<a class="m_7385469581018283811m_-9142516280424454070moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">https://lists.kamailio.org/cgi<wbr>-bin/mailman/listinfo/sr-users</a><span class="m_7385469581018283811HOEnZb"><font color="#888888">
</font></span></pre>
<span class="m_7385469581018283811HOEnZb"><font color="#888888"> </font></span></blockquote>
<span class="m_7385469581018283811HOEnZb"><font color="#888888"> <br>
<pre class="m_7385469581018283811m_-9142516280424454070moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="m_7385469581018283811m_-9142516280424454070moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a class="m_7385469581018283811m_-9142516280424454070moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - March 5-7, 2018, Berlin - <a class="m_7385469581018283811m_-9142516280424454070moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank">www.asipto.com</a>
Kamailio World Conference - May 14-16, 2018 - <a class="m_7385469581018283811m_-9142516280424454070moz-txt-link-abbreviated" href="http://www.kamailioworld.com" target="_blank">www.kamailioworld.com</a></pre>
</font></span></div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="m_7385469581018283811mimeAttachmentHeader"></fieldset>
<br>
<pre>______________________________<wbr>_________________
Kamailio (SER) - Users Mailing List
<a class="m_7385469581018283811moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a>
<a class="m_7385469581018283811moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a>
</pre>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br></div></div></div>