Is the outbound provider the same as the inbound?
In my case the inbound was sending calls to my unregistered kamailio (ip whitelisting)
But the outbound provider requires registration.
In my case, I just added to the gw configuration in freeswitch a proxy with my kamailio. Something like:
outboundproxy=4.3.2.1
That should send all outbound regs and calls via your kamailio.
But if in your case, your provider will use that registration to send YOU calls, this will probably not work. You’d indeed need to register from kamailio. Something I understand is possible, but never been able to do._______________________________________________On Sat, 5 Jan 2019 at 06:07, Prashant Gupta <prashant@farmguide.in> wrote:Thanks for the reply. Can you please explain how can I achieve this?In this scenario, will the incoming calls still be routed through the kamailio. What about the outgoing calls?My use case to use kamailio was to send separate incoming numbers to separate asterisk servers. Do you think this is feasible with the solution of having asterisk register to SIP via kamailio._______________________________________________On Fri, Jan 4, 2019 at 4:18 PM David Villasmil <david.villasmil.work@gmail.com> wrote:This exact same thing happened to me, and I found the easiest is to register from your asterisk. Have kamailio just forward the registrations and every asterisk will be registered normally.
I know it’s not ideal, but I couldn’t make it work, and at least it’s now working perfectly._______________________________________________On Fri, 4 Jan 2019 at 07:51, Prashant Gupta <prashant@farmguide.in> wrote:_______________________________________________Hi,I have the following architecture - SIP provider <-> Kamailio <-> Asterisk serversI currently do not have any issues connecting my asterisk servers to Kamailio server. I am however having issues connecting my Kamailio server to my SIP provider. I am using the uac module for registration and have stored my credentials in the uacreg table. When I sniff on my network, I am able to see Register message being send out and receives an OK from my provider. But I am still unable to get incoming messages to Kamailio. Also these SIP responses from the SIP provider do not make it to kamailio route as I have logged any message that enter the request_route.SIP Messages from Wireshark -1) 19 563.919267 10.67.XXX.XXX 10.232.XXX.XXX SIP 497 Request: REGISTER sip:ims.airtel.in (1 binding) |2) 20 564.040917 10.232.XXX.XXX 10.67.XXX.XXX SIP 480 Status: 401 Unauthorized |3) 21 564.041574 10.67.XXX.XXX 10.232.XXX.XXX SIP 744 Request: REGISTER sip:ims.airtel.in (1 binding) |4) 22 564.173338 10.232.XXX.XXX 10.67.XXX.XXX SIP 649 Status: 200 OK (1 binding) |Here 10.232.XXX.XXX is my SIP providers proxy address and 10.67.XXX.XXX is my local IP of the lan connected to the SIP line.
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev