Re: [OpenSIPS-Users] Doubt about MID_REGISTRAR module

2020-01-27 Thread Alexey Kazantsev via Users
>Well, let’s check out in which mode is mid_registrar configured?   --- BR, Alexey http://alexeyka.zantsev.com/  ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinf

Re: [OpenSIPS-Users] Routing Question

2020-01-27 Thread Sharad Kumar via Users
Hi Alex, You can also use Dynamic Routing Module to route your calls. You can add regex rules and can route the call to destination gateways. https://opensips.org/html/docs/modules/2.4.x/drouting.html Thanks and Regards Sharad Kumar ___ Users

Re: [OpenSIPS-Users] Doubt about MID_REGISTRAR module

2020-01-27 Thread Social Boh
Perfect... so why in the Tutorial de INVITE comes from Main Registrar? # initial requests from main registrar, need to look them up! if (is_method("INVITE|MESSAGE") && $si == "10.0.0.3" && $sp == 5070) { xlog("looking up $ru!\n"); if (!mid_registrar_lookup("location")) {

Re: [OpenSIPS-Users] Routing Question

2020-01-27 Thread Liviu Chircu
On 27.01.2020 16:38, Alexander Perkins wrote: when a call comes into my OpenSIPS server, I'd to send it to another SIP server.  Here's the flow Call Comes In -> Hits OpenSIPS Server -> Needs to route to 2125551212@1.2.3.4 How would I go about doing this? Hi Alex

[OpenSIPS-Users] Routing Question

2020-01-27 Thread Alexander Perkins
Hi All. I am rather new to OpenSIPs. I have a question about routing that I cannot seem to find an answer online (I might be overthinking this). Basically, when a call comes into my OpenSIPS server, I'd to send it to another SIP server. Here's the flow Call Comes In -> Hits OpenSIPS Server -> N

Re: [OpenSIPS-Users] Doubt about MID_REGISTRAR module

2020-01-27 Thread Alexey Kazantsev via Users
>  It is absolutely correct. And that’s your job, as a VoIP adminitsrator, to forward this INVITE to the appropriate server.   Any SIP client will send INVITE to the server defined in its settings, at least if something additional is not configured («Outbound proxy» or «Route» or maybe it’s called

Re: [OpenSIPS-Users] opensips lua

2020-01-27 Thread volga629 via Users
Hello Razvan, Ticket volga629. On Mon, Jan 27, 2020 at 10:31, Răzvan Crainea wrote: Please open a ticket with this issue, as this seems to be a regression during porting to lua 5.2/5.3. In the meantime, please continue using lua5.1. Best re

Re: [OpenSIPS-Users] Doubt about MID_REGISTRAR module

2020-01-27 Thread Social Boh
Maybe my question not is totally clear: Alice and Bob register to Mid_Registrar and Mid_registrar send REGISTER to Main Registrar. If ALice call Bob the INVITE arrives to mid_registrar and not to Main Registrar, is it correct? Regards --- I'm SoCIaL, MayBe El 27/01/2020 a las 06:28, Alexe

Re: [OpenSIPS-Users] Doubt about MID_REGISTRAR module

2020-01-27 Thread Alexey Kazantsev via Users
  Even more, speaking about SIP protocol and REGISTER requests in general, it’s worth saying that you can specify some ‘third-party’ address with which the Contact: header of your REGISTER will be filled, and the INVITES for that endpoint will be sent to that address and not to the device which in

Re: [OpenSIPS-Users] Doubt about MID_REGISTRAR module

2020-01-27 Thread Alexey Kazantsev via Users
excuse me please, wrong thread... --- BR, Alexey http://alexeyka.zantsev.com/  ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] Doubt about MID_REGISTRAR module

2020-01-27 Thread Alexey Kazantsev via Users
Hi, Social Boh !   It’s absolutely OK, because when mid-registrar re-send a REGISTER, it does not change the IP address in the Contact: header.   So, when the ‘main server’ sends an INVITE to the end-point, it sends it not to the mid-registrar, but to the IP address being pointed in the Contact: h

Re: [OpenSIPS-Users] Doubt about MID_REGISTRAR module

2020-01-27 Thread Alexey Kazantsev via Users
Hi, Social Boh !   It’s absolutely OK, because when mid-registrar re-send a REGISTER, it does not change the IP address in the Contact: header.   So, when the ‘main server’ sends an INVITE to the end-point, it sends it not to the mid-registrar, but to the IP address being pointed in the Contact: h

Re: [OpenSIPS-Users] opensips lua

2020-01-27 Thread Răzvan Crainea
Please open a ticket with this issue, as this seems to be a regression during porting to lua 5.2/5.3. In the meantime, please continue using lua5.1. Best regards, Răzvan On 1/24/20 6:32 PM, volga629 via Users wrote: Hello Vlad, In latest master  was added support for 5.2 and 5.3, wrapper  prod