<div><div><div dir="auto">The call is never successful in your asterisk. </div><div dir="auto"><br></div><div dir="auto">There is a REGISTER from kamailio to asterisk that fails, and so the INVITE will not work either.</div></div></div><div dir="auto"><br></div><div dir="auto">Try verifying all the authentication info, such as user/passwords, domains, etc.</div><div dir="auto">The you should try registering straight on asterisk. If (when) that works, the try registering on kamailio.</div><div dir="auto"><br></div><div dir="auto">And btw, if you didn’t realize that by asterisk’s log, you should probably read <div><a href="http://www.siptutorial.net/SIP/">http://www.siptutorial.net/SIP/</a></div><div dir="auto"><br></div></div><div dir="auto">About that public ip, your UA (Softphone) is probably configured to us STUN to discover its own IP address (which you want when registering/calling on a public registrar), you should disable that.</div><div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 4 Sep 2019 at 07:07, Aristeidis Tsitras <<a href="mailto:tsitras@gmail.com" target="_blank">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>HI. Attached you can find the following:</div><div><ul><li>tcpdump, named eth0.pcap</li><li>asterisk traces</li><li>kamailio's current config</li><li>sip.conf</li><li>extensions.conf</li></ul><div>The attempt was to call from 2200 to 2201 and vice versa. <br></div><div>IPs:</div><div><ol><li>System: 192.168.1.220</li><li>Windows PC 192.168.1.7</li><li>Android phone 192.168.1.124<br></li></ol></div><div>Another thing that i noticed is that when i have the adsl attached on the network then on the pcap file i see the public IP of the router something like <a href="mailto:2200@62.38.100.150" target="_blank">2200@62.38.100.150</a> instead of <a href="mailto:2200@192.168.1.7" target="_blank">2200@192.168.1.7</a>. When i unplug the adsl from the router, then i get <a href="mailto:2200@192.168.1.7" target="_blank">2200@192.168.1.7</a>. This happens only for the windows PC.</div><div>Also there was an attempt from a second windows PC in the network to register, but i could not see anything coming through. It is the extension 2202 and the IP is 192.168.1.8</div><div><br></div><div><br></div><div>I would appreciate any help available, please.</div><div><br></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Στις Παρ, 30 Αυγ 2019 στις 4:09 μ.μ., ο/η 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 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" 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>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_6818819261743945242m_4963213506638796111gmail-m_-666659720487206752m_-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="m_6818819261743945242m_4963213506638796111gmail-m_-666659720487206752gmail_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>
</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>