new to the area and trying to setup Kamailio with Asterisk in a single machine. All users will register to Kamailio's port and in case of need for media, it will be forwarded to Asterisk, that is my intention. All of my work is based on the following link https://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb. Here is what i have done:
I did import to the mysql>asterisk database 3 users 2200, 2201 and 2202. Then created in sip.conf the same 3 users with the same credentials. Then on 3 PCs i used softphones (Jitsi, Zoiper) and registered each account to a softphone. Problems:
  • Cannot see the users in the Asterisk's cli, sip show peers
  • I can see users only in Kamailio with kamctl ul show
  • A call between the extensions goes to voicemail. It never reaches the other destination eg 2200 calls 2201 and in Asterisk's console i am getting a message that 2201 is absent and it goes to voicemail. The same with any other extension.
Attached you can find:
  1. Kamailio.cfg
  2. Asterisk's sip.conf
  3. Asterisk's extension.conf
  4. The import that i have done to mysql for the user creation.

I would appreciate if someone could point me to the error and help me fix it please?