<div><div dir="auto">Log into asterisk’s cli and see what it has to say.</div></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 30 Aug 2019 at 14:07, Aristeidis Tsitras <<a href="mailto:tsitras@gmail.com">tsitras@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>attached you can find the pcap. <br></div><div>IPs</div><div><ul><li>192.168.1.220. Kamailio at port 5060 and Asterisk at port 5080</li><li>192.168.1.7.    Zoiper softphone in Windows PC. extension 2200<br></li><li>192.168.1.124. Softphone in Android phone. extension 2201</li></ul><div>2200 calls 2201. 2200's softphone says call established, probably voicemail, but 2201 never receives the call.</div><div><br></div><div>Thanks in advance for your help</div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Στις Παρ, 30 Αυγ 2019 στις 2:19 μ.μ., ο/η David Villasmil <<a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a>> έγραψε:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div><div dir="auto">The users are registered on kamailio, not asterisk, that’s why you don’t see them in asterisk. </div></div></div><div><div><div dir="auto"><br></div><div dir="auto">The voicemail is happening because asterisk doesn’t know where the user being called is. So I assume kamailio is not forwarding the registration location to asterisk.</div><div dir="auto"><br></div><div dir="auto">Make a trace with I.e.: sngrep while registering, you should the register forward happening.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 30 Aug 2019 at 09:55, Aristeidis Tsitras <<a href="mailto:tsitras@gmail.com" target="_blank">tsitras@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>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 <a href="https://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb" target="_blank">https://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb</a>. Here is what i have done:</div><div><ul><li>Debian 8, 64 bit machine with mysql and odbc <br></li><li><font size="1"><i>root@kamast: ~ $ lsb_release -a<br>No LSB modules are available.<br>Distributor ID: Debian<br>Description:    <b>Debian GNU/Linux 8.11 (jessie)</b><br>Release:        8.11<br>Codename:       jessie<br>root@kamast: ~ $ uname -a<br>Linux kamast 3.16.0-10-amd64 #1 SMP Debian 3.16.72-1 (2019-08-13) x86_64 GNU/Linux<br>root@kamast: ~ $  </i></font>   <br></li><li>Kamailio 5.2 installed from Kamailio's deb repository</li><li>Asterisk 13LTS installed from source</li><li>Used the same passwords such as kamailiorw and asterisk_password, since this is a test system, for proof of concept.<br></li></ul><div>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:</div><div><ul><li>Cannot see the users in the Asterisk's cli, sip show peers</li><li>I can see users only in Kamailio with kamctl ul show</li><li>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.</li></ul><div>Attached you can find:</div><div><ol><li>Kamailio.cfg</li><li>Asterisk's sip.conf</li><li>Asterisk's extension.conf</li><li>The import that i have done to mysql for the user creation.</li></ol><div><br></div><div>I would appreciate if someone could point me to the error and help me fix it please?</div><div><br></div><div><br></div><div><br></div></div></div></div></div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div></div>
</div>-- <br><div dir="ltr" class="m_-2226992189037659495gmail-m_349342809578987220gmail_signature"><div dir="ltr"><div>Regards,</div><div><br></div>David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: +34669448337</div></div></div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Regards,</div><div><br></div>David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: +34669448337</div></div></div>