I'm facing a problem with my current setup.

Currently I have a Kamailio server as dispatcher. It doesn't do anything to the SIP packets except forwarding them.

FreeSwitch is receiving SIP packages from Kamailio, as Kamailio as setup as a trunk to FreeSwitch.

I have some devices with attached numbers, they are external numbers.

When I call in to the voicemail, to hear hold music etc. everything works. But when I'm trying to call other devices I get the error "Too Many Hops".

Can anyone help me figure out the problem?