<div dir="auto">Hi,<div dir="auto"><br></div><div dir="auto">the learning curve in sipproxies is really hard cos you have to understand the basics of sip. It's nothing you can do in a day. I learn every day and I am sure that I not understand everything. </div><div dir="auto"><br></div><div dir="auto">You could hire one of the business professionals on Kamailio to help you </div><div dir="auto"><br></div><div dir="auto"><a href="https://www.kamailio.org/w/business-directory/">https://www.kamailio.org/w/business-directory/</a><br></div><div dir="auto"><br></div><div dir="auto">There you find many great people that can help you for some money. </div><div dir="auto"><br></div><div dir="auto">Cheers </div><div dir="auto">Karsten </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">ospos web <<a href="mailto:osposweb@gmail.com">osposweb@gmail.com</a>> schrieb am Di., 5. Mai 2020, 01:17:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sun, May 3, 2020 at 3:17 PM PICCORO McKAY Lenz<br>
<<a href="mailto:mckaygerhard@gmail.com" target="_blank" rel="noreferrer">mckaygerhard@gmail.com</a>> wrote:<br>
> are the string ip comparitions. The guide points out two important routines,<br>
> which are FROMASTERISK and TOASTERISK, in these it is verified if the<br>
> request acts from asterisk, or goes to asterisk.<br>
> But are another routine that are also important, es la REGFWD<br>
<br>
many many thans! now it worked at leas some call are making in some asterisk..<br>
but as you pointed here seems nobody wants to help us with the<br>
route[REGFWD} also i am a novice in this SIP world.. can anybody help<br>
me? PLEASE!<br>
<br>
> HERE THE LAST PROBLEM:<br>
><br>
> taken from the asterisk realtime guide, just almost at the lasted<br>
> lines of the kamailio.cfg this is the code part that i cannot or i<br>
> does not have enoought knowledge to translate that rules<br>
> to the dispatcher ruling.. there are the code:<br>
><br>
> route[REGFWD] {<br>
>         if(!is_method("REGISTER"))<br>
>         {<br>
>                 return;<br>
>         }<br>
>         $var(rip) = $sel(cfg_get.asterisk.bindip);<br>
>         $uac_req(method)="REGISTER";<br>
>         $uac_req(ruri)="sip:" + $var(rip) + ":" + $sel(cfg_get.asterisk.bindport);<br>
>         $uac_req(furi)="sip:" + $au + "@" + $var(rip);<br>
>         $uac_req(turi)="sip:" + $au + "@" + $var(rip);<br>
>         $uac_req(hdrs)="Contact: <sip:" + $au + "@"<br>
>                                 + $sel(cfg_get.kamailio.bindip)<br>
>                                 + ":" + $sel(cfg_get.kamailio.bindport) + ">\r\n";<br>
>         if($sel(contact.expires) != $null)<br>
>                 $uac_req(hdrs)= $uac_req(hdrs) + "Expires: " + $sel(contact.expires) + "\r\n";<br>
>         else<br>
>                 $uac_req(hdrs)= $uac_req(hdrs) + "Expires: " + $hdr(Expires) + "\r\n";<br>
>         uac_req_send();<br>
> }<br>
><br>
><br>
> 2020-04-22 19:59 GMT-04:00, ospos web <<a href="mailto:osposweb@gmail.com" target="_blank" rel="noreferrer">osposweb@gmail.com</a>>:<br>
> > Hi all folks, Hello people, I'm new and I've been reading, so I have<br>
> > some but not much knowledge.<br>
> ><br>
> > I must integrate as work, two asterisk to the kamailio, a month ago I<br>
> > started with the real time guide [1] with only one kamailio, register,<br>
> > start the call, etc.. I am with the basics and it works.<br>
> ><br>
> > Now I must put two asterisk and using dispatcher, but although I read<br>
> > the documentation of the module.. use it and so then configure a list<br>
> > of file (with the asterisk where to dispatch) and not in the<br>
> > database..<br>
> ><br>
> > MY HELP REQUEST QUESTION: How do I use dispatcher in load balancing<br>
> > mode, but taking in consideration my already working realtime-asterisk<br>
> > worling setup?<br>
> ><br>
> > THE PROBLEM: since with what I did it simply sends the call to both<br>
> > asterisk. i setup only 4 easy steps.. load module, then setup params<br>
> > (where i set the asterisk lists by file, and not db) and then added a<br>
> > "ds_select_dst(1, 4);" before the "route(RELAY);" line. please help!<br>
> ><br>
> > as i know.. the ds_select_dst(1, 4); prepare wicht asterisk will be<br>
> > choose to use and then when the routing RELAY happends no cares if in<br>
> > the realtime previously guide are a main asterisk? right?<br>
> ><br>
> > NOTE: I know it's a big world... but I can't keep reading the kamailio<br>
> > theory, i must goon forward due i have to lear later once are property<br>
> > working..<br>
> ><br>
> > [1]<br>
> > <a href="https://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb" rel="noreferrer noreferrer" target="_blank">https://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb</a><br>
> ><br>
> > _______________________________________________<br>
> > Kamailio (SER) - Users Mailing List<br>
> > <a href="mailto:sr-users@lists.kamailio.org" target="_blank" rel="noreferrer">sr-users@lists.kamailio.org</a><br>
> > <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
> ><br>
><br>
><br>
> --<br>
> Lenz McKAY Gerardo (PICCORO)<br>
> <a href="http://qgqlochekone.blogspot.com" rel="noreferrer noreferrer" target="_blank">http://qgqlochekone.blogspot.com</a><br>
><br>
> _______________________________________________<br>
> Kamailio (SER) - Users Mailing List<br>
> <a href="mailto:sr-users@lists.kamailio.org" target="_blank" rel="noreferrer">sr-users@lists.kamailio.org</a><br>
> <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br>
<br>
<br>
-- <br>
<a href="http://www.osposweb.com" rel="noreferrer noreferrer" target="_blank">www.osposweb.com</a><br>
<br>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank" rel="noreferrer">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>