<div dir="ltr">Yes. Thats correct<br>Kamailio.cfg is a script. It is a sublnguage. You must think as programmer for using it<br><br>Input data is sip method. Thist script using it for handling making changes if it need and make him to know where it must be proxyed<br>That is a main idea.<br><br>Actually in asteirks for example it is a same btut asteirsk works at the extensions.conf/ael/lua with invite method and<br>Taking Leg A and creates Leg B<br><br>kamailio is different. It is just proxies same method through itself. and working with every method like invite and his replies, and other methods.<br><br>You must think not about dialplan there but about method handling. And it need to very good know SIP RFC for understanding what is going on and why.<br><br>I suppose everyone who uses kamailio thought before thant knows SIP. But it was wrong.</div><div class="gmail_extra"><br><div class="gmail_quote">2016-09-15 5:59 GMT+03:00 Valter Nogueira <span dir="ltr"><<a href="mailto:valter@fastway.com.br" target="_blank">valter@fastway.com.br</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Yes, you are absolutely right: I don't understand (yet) how Kamailio works!<br><br></div>I prefer installing it from sources.<br><br></div>What I get until now, is that kamailio.cfg is more a program than a configuration file at all.<br><br></div>I really appreciate the links and I will try to understand them.<br><br></div>Thank you<span class="HOEnZb"><font color="#888888"><br></font></span><div class="gmail_extra"><span class="HOEnZb"><font color="#888888"><br clear="all"><div><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Valter<br></div><div><br></div></div></div></div></div></div></div></div></div></div></font></span><div><div class="h5">
<br><div class="gmail_quote">2016-09-13 16:11 GMT-03:00 Yuriy Gorlichenko <span dir="ltr"><<a href="mailto:ovoshlook@gmail.com" target="_blank">ovoshlook@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">it is many-many examples of kamialio.cfg at the internet that describes same logic with different staff (like kamailio as registrar and also as kamailio as just proxy)<br><br>I suppose you just dont fully understood logic of how kamailo working.<br><br>Just goole first. I aslo had same question some time ago. google helped me to understand all it.<br>really. Just trying to help<br><br>Read this<br><br><a href="http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb" target="_blank">http://kb.asipto.com/asterisk:<wbr>realtime:kamailio-4.0.x-asteri<wbr>sk-11.3.0-astdb</a><br><a href="http://lextertech.blogspot.ru/2015/01/asterisk-v117-realtime-integration-with.html" target="_blank">http://lextertech.blogspot.ru/<wbr>2015/01/asterisk-v117-realtime<wbr>-integration-with.html</a><br><a href="https://www.kamailio.org/dokuwiki/doku.php/asterisk:realtime-integration" target="_blank">https://www.kamailio.org/dokuw<wbr>iki/doku.php/asterisk:realtime<wbr>-integration</a><br><br>and this (dont see that it is old.Logis is the same)<br><br><a href="https://www.kamailio.org/w/2010/11/asterisk-1-6-and-kamailio-3-1-realtime-integration-tutorial/" target="_blank">https://www.kamailio.org/w/201<wbr>0/11/asterisk-1-6-and-kamailio<wbr>-3-1-realtime-integration-<wbr>tutorial/</a><div><br></div><div>All this just one of the many variants how you can to integrate it.<br>Good Luck. I suppose you will know many new cool things when open kamailio for yourself.<br><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-09-13 21:11 GMT+03:00 Gholamreza Sabery <span dir="ltr"><<a href="mailto:gr.sabery@gmail.com" target="_blank">gr.sabery@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>For testing purpose you can use example config file it is a very good place to start. Also if you want automatic installation and deployment you can use this project:<br><br><a href="https://github.com/ghrst/Kamailio-HA" target="_blank">https://github.com/ghrst/Kamai<wbr>lio-HA</a><br><br></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 13, 2016 at 8:57 PM, Valter Nogueira <span dir="ltr"><<a href="mailto:valter@fastway.com.br" target="_blank">valter@fastway.com.br</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">We won't need transcoding.</p>
<p dir="ltr">Is b2b b2bua?</p><div><div>
<div class="gmail_extra"><br><div class="gmail_quote">Em 13 de set de 2016 13:07, "anfecora" <<a href="mailto:anfecora@gmail.com" target="_blank">anfecora@gmail.com</a>> escreveu:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Valter i wouldnt take fully asterisk from the picture you can use it to handle transcoding for example and still a b2b support.</p>
<p dir="ltr">Perhaps you can look for asterisk kamailio setup in the same server.</p>
<div class="gmail_extra"><br><div class="gmail_quote">On Sep 13, 2016 8:42 AM, "Valter Nogueira" <<a href="mailto:valter@fastway.com.br" target="_blank">valter@fastway.com.br</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div>I use Asterisk for SIP and Media Proxy. Despite the fact that Asterisk is not a SIP Proxy at all.<br><br></div>Customer registers in a SIP account, sends the invite and thru de context Asterisk dials out thru a SIP Trunk. Asterisk does the media proxy, since customer can't route directly to the SIP Trunk (altough it has a valida address, it don't have a public route allowed to it).<br><br></div>I need limit customer concurrent calls, mangle some dial-in/dial-out numbers, keep track of ongoing call, control SIP dialog, retransmit correct hang-up causes and do media proxy (no transconding at all)<br><br></div>After reading about Kamailio and Opensips, and due to the Kamailio Admin Book, I decided to go with Kamailio.<br><br></div>Well, I understand that I have to use some kamailio modules, like auth, dialplan, rtpproxy and db_mysql.<br><br></div>What make me stuck is how does everything fit together in kamailio.cfg and how do I get ongoing calls and CDR's?<br><br></div>Can anyone point me a direction?<br><br></div>Thanks<br clear="all"><div><div><div><div><div><div><div><div><div><div><div><div><div><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><br><br></div><br></div></div></div></div></div></div></div></div></div>
</div></div></div></div></div></div></div></div></div></div></div></div></div>
<br>______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">http://lists.sip-router.org/cg<wbr>i-bin/mailman/listinfo/sr-user<wbr>s</a><br>
<br></blockquote></div></div>
<br>______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">http://lists.sip-router.org/cg<wbr>i-bin/mailman/listinfo/sr-user<wbr>s</a><br>
<br></blockquote></div></div>
</div></div><br>______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">http://lists.sip-router.org/cg<wbr>i-bin/mailman/listinfo/sr-user<wbr>s</a><br>
<br></blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">http://lists.sip-router.org/cg<wbr>i-bin/mailman/listinfo/sr-user<wbr>s</a><br>
<br></blockquote></div><br></div>
<br>______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">http://lists.sip-router.org/cg<wbr>i-bin/mailman/listinfo/sr-user<wbr>s</a><br>
<br></blockquote></div><br></div></div></div></div>
<br>______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">http://lists.sip-router.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
<br></blockquote></div><br></div>