<div dir="ltr">Hello,<div><br></div><div>Gracias Pedro, kiitos Mikko.<br></div><div><br></div><div>It's good to know I have configured Kamailio correctly. I added the type into my table but so far no luck having asterisk see the clients registered, at least on cli. I do see that asterisk adds registration data into the table. I'll work on this for a bit and ask in the asterisk list on more tricks on asterisk side. I'll post back here if I find out what the problem was, in case someone is having similar issues. </div>
<div><br></div><div>Thanks again,</div><div>Olli</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-04-22 21:06 GMT+03:00 Pedro Niño <span dir="ltr"><<a href="mailto:nino.pedro@gmail.com" target="_blank">nino.pedro@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Don't forget to include peer type (friend), and The callbacknumber In The table.</p>
<p dir="ltr">It happened to me and asterisk/kamailio behavior was wayyy to weird  until made sure both parameters were there.</p>
<p dir="ltr">-----</p><div class=""><br>
In this setup I have SIP peers in an asterisk table added like this:</div><p></p><div class="">
<p dir="ltr">INSERT INTO sippeers (name, defaultuser, host, sippasswd, fromuser, fromdomain) VALUES ('660', '660', 'dynamic', 'password', '660', '<a href="http://testers.com/" target="_blank">testers.com</a>');</p>


</div><p dir="ltr">------<br>
</p>
<div class="gmail_quote">El abr 19, 2014 1:17 PM, "Olli Heiskanen" <<a href="mailto:ohjelmistoarkkitehti@gmail.com" target="_blank">ohjelmistoarkkitehti@gmail.com</a>> escribió:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div class="h5">
<div dir="ltr"><div><br></div><div>Hello,</div><div><br></div><div>One of the tests I've been working with is Asterisk realtime integration according to Daniel's guide here: <a href="http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb" target="_blank">http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb</a></div>


<div><br></div><div>Weird thing is the client looks registered but I'm not sure if it really is registered. If I'm not mistaken I should see the peers when I issue 'sip show peers' on asterisk cli. Instead I get this:<br>


</div><div><br></div><div><div>*CLI> sip show peers</div><div>Name/username      Host      Dyn Forcerport Comedia      ACL Port      Status      Description      Realtime</div><div>0 sip peers [Monitored: 0 online, 0 offline Unmonitored: 0 online, 0 offline]</div>


</div><div><br></div><div><br></div><div>Also, calling between clients will fail; in Asterisk cli I get:</div><div><div>*CLI></div><div>  == Using SIP RTP TOS bits 184</div><div>  == Using SIP RTP CoS mark 5</div><div>


    -- Executing [661@default:1] NoOp("SIP/660-00000000", "Testing: Dialed 661") in new stack</div><div>    -- Executing [661@default:2] Dial("SIP/660-00000000", "SIP/661,3600,rt") in new stack</div>


<div>  == Using SIP RTP TOS bits 184</div><div>  == Using SIP RTP CoS mark 5</div><div>    -- Called SIP/661</div><div>  == Everyone is busy/congested at this time (1:0/0/1)</div><div>    -- Executing [661@default:3] Hangup("SIP/660-00000000", "") in new stack</div>


<div>  == Spawn extension (default, 661, 3) exited non-zero on 'SIP/660-00000000'</div></div><div><br></div><div><br></div><div>In this setup I have SIP peers in an asterisk table added like this:</div><div>INSERT INTO sippeers (name, defaultuser, host, sippasswd, fromuser, fromdomain) VALUES ('660', '660', 'dynamic', 'password', '660', '<a href="http://testers.com" target="_blank">testers.com</a>');</div>


<div><br></div><div>I have Kamailio and Asterisk on the same machine where Kamailio listens port 5060 and Asterisk listens 5070. Things that differ from the guide are Kamailio and Asterisk versions, which in my case are newer. Also, for another testing case I have MULTIDOMAIN enabled in Kamailio, does this interfere with the realtime integration? I'm using only one domain though. </div>


<div><br></div><div>Please let me know if any configs or traces I can provide will help figure out what's going on.</div><div><br></div><div>cheers,</div><div>Olli</div></div>
<br></div></div><div class="">_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></div></blockquote></div>
<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>