Re: Getting started with Kamailio and Freeswitch
Alexis Fidalgo via sr-users <[email protected]> Fri, 31 Jul 2026 09:32:09 -0300
| Newsgroups | gmane.comp.voip.ser |
|---|---|
| Message-ID | <[email protected]> |
--===============0450752388== Content-Type: multipart/alternative; boundary="Apple-Mail=_08A21856-8ADF-45CB-90F5-1E1BE812E088" --Apple-Mail=_08A21856-8ADF-45CB-90F5-1E1BE812E088 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 There=E2=80=99s no =E2=80=9Cmagic=E2=80=9D, there=E2=80=99s no = =E2=80=9Cchatgpt suggested=E2=80=9D. AI is a probabilistic response based on some way to concatenate tokens, = is up to the reader to interpret the response, read, investigate, make = it usable, set it, try, read again and build a criteria to finally made = it. There=E2=80=99s no magic module, or software, of computers, or AI even = if they try most of the people to believe in this sh*t. I said this with total respect, it=E2=80=99s not personal, i=E2=80=99ve = been reading this list for years, everybody here is willing to help = always, every time, but solve a problem is work in it, not to convert it = in somebody else problem. I have dozens of kamailio=E2=80=99s in front of freeswitch's, = asterisk=E2=80=99s, ims=E2=80=99s implementations, sbc=E2=80=99s, mss, = msc, etc etc. It works, simply as that, but requires work, you can make = it or to pay some company to do that. > On 31 Jul 2026, at 9:08=E2=80=AFAM, airsay--- via sr-users = <[email protected]> wrote: >=20 > I will just say I saw your post on Upwork >=20 > On Thu, 30 Jul 2026 at 02:31, Alex Lake via sr-users = <[email protected] = <mailto:[email protected]>> wrote: >> ChatGPT suggested adding this, and it does seem to get around the = problem >>=20 >> if ($rU =3D~ "^[0-9]+$") { xlog("Routing number $rU to = FreeSWITCH\n"); $du=20 >> =3D "sip:85.10.4.2:5090 <http://85.10.4.2:5090/>"; route(RELAY); = exit; } >>=20 >> So it seems that my Kamailio wasn't really setup for relaying calls=20= >> elsewhere (eg Freeswitch). Maybe some magic module missing? >>=20 >> I should have said at the beginning that this was installed via a=20 >> package manager, not compiled from source. Perhaps relevant? >>=20 >>=20 >>=20 >> On 29/07/2026 21:12, Alex Lake via sr-users wrote: >> > Hi all, >> > >> > I've been meaning to use this since it was called SER, but now is = the=20 >> > time... >> > >> > I've tried to follow some guides on how to set it up. >> > >> > I created a user which seems to be able to REGISTER perfectly well. >> > >> > However, when I try to send a call, the 407 response seems to be=20 >> > replied to perfectly well, but it would appear that the=20 >> > lookup("location") function sets $rc to -3 and so Kamailio returns = 404=20 >> > to the INVITE. >> > >> > Any ideas about where to look for getting past this? >> > >> > Many thanks! >> > >> > Alex >> > __________________________________________________________ >> > Kamailio - Users Mailing List - Non Commercial Discussions --=20 >> > [email protected] <mailto:[email protected]> >> > To unsubscribe send an email to [email protected] = <mailto:[email protected]> >> > Important: keep the mailing list in the recipients, do not reply = only=20 >> > to the sender! >> __________________________________________________________ >> Kamailio - Users Mailing List - Non Commercial Discussions -- = [email protected] <mailto:[email protected]> >> To unsubscribe send an email to [email protected] = <mailto:[email protected]> >> Important: keep the mailing list in the recipients, do not reply only = to the sender! > __________________________________________________________ > Kamailio - Users Mailing List - Non Commercial Discussions -- = [email protected] > To unsubscribe send an email to [email protected] > Important: keep the mailing list in the recipients, do not reply only = to the sender! --Apple-Mail=_08A21856-8ADF-45CB-90F5-1E1BE812E088 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html aria-label=3D"message body"><head><meta http-equiv=3D"content-type" = content=3D"text/html; charset=3Dutf-8"></head><body = style=3D"overflow-wrap: break-word; -webkit-nbsp-mode: space; = line-break: after-white-space;">There=E2=80=99s no =E2=80=9Cmagic=E2=80=9D= , there=E2=80=99s no =E2=80=9Cchatgpt = suggested=E2=80=9D.<div><br></div><div>AI is a probabilistic response = based on some way to concatenate tokens, is up to the reader to = interpret the response, read, investigate, make it usable, set it, try, = read again and build a criteria to finally made = it.</div><div><br></div><div>There=E2=80=99s no magic module, or = software, of computers, or AI even if they try most of the people to = believe in this sh*t.</div><div><br></div><div><br></div><div>I said = this with total respect, it=E2=80=99s not personal, i=E2=80=99ve been = reading this list for years, everybody here is willing to help always, = every time, but solve a problem is work in it, not to convert it in = somebody else problem.</div><div><br></div><div>I have dozens of = kamailio=E2=80=99s in front of freeswitch's, asterisk=E2=80=99s, ims=E2=80= =99s implementations, sbc=E2=80=99s, mss, msc, etc etc. It works, simply = as that, but requires work, you can make it or to pay some company to do = that.</div><div><div><br = id=3D"lineBreakAtBeginningOfMessage"><div><br><blockquote = type=3D"cite"><div>On 31 Jul 2026, at 9:08=E2=80=AFAM, airsay--- via = sr-users <[email protected]> wrote:</div><br = class=3D"Apple-interchange-newline"><div><div><div dir=3D"ltr">I will = just say I saw your post on Upwork</div><br><div class=3D"gmail_quote = gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Thu, 30 = Jul 2026 at 02:31, Alex Lake via sr-users <<a = href=3D"mailto:[email protected]">sr-users_at= [email protected]</a>> wrote:<br></div><blockquote = class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px = solid rgb(204,204,204);padding-left:1ex">ChatGPT suggested adding this, = and it does seem to get around the problem<br> <br> if ($rU =3D~ "^[0-9]+$") { xlog("Routing number $rU to FreeSWITCH\n"); = $du <br> =3D "sip:<a href=3D"http://85.10.4.2:5090/" rel=3D"noreferrer" = target=3D"_blank">85.10.4.2:5090</a>"; route(RELAY); exit; }<br> <br> So it seems that my Kamailio wasn't really setup for relaying calls <br> elsewhere (eg Freeswitch). Maybe some magic module missing?<br> <br> I should have said at the beginning that this was installed via a <br> package manager, not compiled from source. Perhaps relevant?<br> <br> <br> <br> On 29/07/2026 21:12, Alex Lake via sr-users wrote:<br> > Hi all,<br> ><br> > I've been meaning to use this since it was called SER, but now is = the <br> > time...<br> ><br> > I've tried to follow some guides on how to set it up.<br> ><br> > I created a user which seems to be able to REGISTER perfectly = well.<br> ><br> > However, when I try to send a call, the 407 response seems to be = <br> > replied to perfectly well, but it would appear that the <br> > lookup("location") function sets $rc to -3 and so Kamailio returns = 404 <br> > to the INVITE.<br> ><br> > Any ideas about where to look for getting past this?<br> ><br> > Many thanks!<br> ><br> > Alex<br> > __________________________________________________________<br> > Kamailio - Users Mailing List - Non Commercial Discussions -- <br> > <a href=3D"mailto:[email protected]" = target=3D"_blank">[email protected]</a><br> > To unsubscribe send an email to <a = href=3D"mailto:[email protected]" = target=3D"_blank">[email protected]</a><br> > Important: keep the mailing list in the recipients, do not reply = only <br> > to the sender!<br> __________________________________________________________<br> Kamailio - Users Mailing List - Non Commercial Discussions -- <a = href=3D"mailto:[email protected]" = target=3D"_blank">[email protected]</a><br> To unsubscribe send an email to <a = href=3D"mailto:[email protected]" = target=3D"_blank">[email protected]</a><br> Important: keep the mailing list in the recipients, do not reply only to = the sender!<br> </blockquote></div> </div> __________________________________________________________<br>Kamailio - = Users Mailing List - Non Commercial Discussions -- = [email protected]<br>To unsubscribe send an email to = [email protected]<br>Important: keep the mailing list in = the recipients, do not reply only to the = sender!<br></div></blockquote></div><br></div></div></body></html>= --Apple-Mail=_08A21856-8ADF-45CB-90F5-1E1BE812E088-- --===============0450752388== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected] To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender! --===============0450752388==--