Hi Amar,

That's an "package from distro vs package from 3rd party" issue / confusing part I think. 

For example here I install Kamailio from 3rd party Kamailio repo (Debian not Ubuntu but the commands should be the same) 

5.2.3 is from 3rd party. 
This shows me that carrierroute.so is included in package Kamailio. So you have it all ready. 


karsten@debian:~$ dpkg -L kamailio | grep carrier
/usr/lib/x86_64-linux-gnu/kamailio/modules/carrierroute.so
/usr/share/doc/kamailio/modules/README.carrierroute.gz/usr/share/kamailio/dbtext/kamailio/carrier_name
/usr/share/kamailio/dbtext/kamailio/carrierfailureroute
/usr/share/kamailio/dbtext/kamailio/carrierroute

Here I show the version of carrierroute-modules. That's an distro package name and the older 4.4.4 version (and that's why your install failed) 

karsten@debian:~$ apt list -a kamailio-carrierroute-modules
Listing... Done
kamailio-carrierroute-modules/stable,stable 4.4.4-2+deb9u3 amd64


Finally the Kamailio version installed and all available. 

karsten@debian:~$ apt list -a kamailio                Listing... Done
kamailio/unknown,now 5.2.3+stretch amd64 [installed]
kamailio/stable,stable 4.4.4-2+deb9u3 amd64

Hope it helps. Simply load the module and some corresponding dB backend and you can go. 

Cheers 
Karsten 

Amar Tinawi <amar.tinawi@gmail.com> schrieb am Sa., 22. Juni 2019, 14:00:
Hello Daniel
the same command i used for all components : 
apt-get install kamailio-carrierroute-modules

On Thu, Jun 20, 2019 at 12:49 PM Daniel-Constantin Mierla <miconda@gmail.com> wrote:

Hello,

what was the command you used to install the carrierroute package?

Cheers,
Daniel

On 20.06.19 10:12, Amar Tinawi wrote:
Hello
i'm facing a dependency error when trying to install kamailio 5.2.3+xenial with carrier route module

using apt package installer

The following packages have unmet dependencies:
 kamailio-carrierroute-modules : Depends: kamailio (= 4.3.4-1.1ubuntu2) but 5.2.3+xenial is to be installed
E: Unable to correct problems, you have held broken packages.


all other modules installed fine

any suggestions?

thanks in advance



_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users