Re: [SR-Users] Checking callee registration

2020-11-09 Thread ahmed moghazy
I know i should do it but how what is the code ? > On 09/11/2020, at 5:41 PM, Alex Balashov wrote: > > You should do it! > >> On 11/9/20 9:04 AM, ahmed moghazy wrote: >> I want to check if callee is registered or not before routing call because >> this made error and make caller unregistered

Re: [SR-Users] How to modify INVITE Request Line string

2020-11-09 Thread Jose Figueroa
Hi Alex, Thank you for your quick reply. Yeah, I already did that, but I thought this was a different way to do it. I proceed with that and worked. Thank you. On Mon, Nov 09, 2020 at 11:47:47AM -0500, Alex Balashov wrote: > Just modify $rU. > > On 11/9/20 11:46 AM, Jose Figueroa wrote: > > Hel

[SR-Users] How to modify INVITE Request Line string

2020-11-09 Thread Jose Figueroa
Hello everybody, Today I received a request from a carrier which needs us to send the calls using a prefix in the INVITE header. I am reading the documentation for kamailio 4.3.x but I havent found anything I can use in order to modify the Request Line (INVITE) string. I need to change from thi

Re: [SR-Users] How to modify INVITE Request Line string

2020-11-09 Thread Alex Balashov
Just modify $rU. On 11/9/20 11:46 AM, Jose Figueroa wrote: Hello everybody, Today I received a request from a carrier which needs us to send the calls using a prefix in the INVITE header. I am reading the documentation for kamailio 4.3.x but I havent found anything I can use in order to modify

Re: [SR-Users] Checking callee registration

2020-11-09 Thread Alex Balashov
You should do it! On 11/9/20 9:04 AM, ahmed moghazy wrote: I want to check if callee is registered or not before routing call because this made error and make caller unregistered untill i restarted the linphone ___ Kamailio (SER) - Users Mailing List

[SR-Users] Checking callee registration

2020-11-09 Thread ahmed moghazy
I want to check if callee is registered or not before routing call because this made error and make caller unregistered untill i restarted the linphone ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bi

Re: [SR-Users] BYE and TCP

2020-11-09 Thread Daniel-Constantin Mierla
Hello, there is no association between a SIP call and a TCP connection. SIP is not designed on TCP streams, the forwarding is based on the headers. It doesn't matter if there are messages belonging to same call or not, they can share same connection, or can open a new one... The BYE from caller g

Re: [SR-Users] (no subject)

2020-11-09 Thread Antony Stone
On Monday 09 November 2020 at 11:06:42, ahmed moghazy wrote: > Hello, > When i make a call from specific user to another it didnt make call and it > gave missed call to another one after a minute so the call doesnot > complete i dont know why , Thank you. We don't know why either. Please give u

[SR-Users] (no subject)

2020-11-09 Thread ahmed moghazy
Hello, When i make a call from specific user to another it didnt make call and it gave missed call to another one after a minute so the call doesnot complete i dont know why , Thank you. ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.

Re: [SR-Users] Kamailio behind HAProxy

2020-11-09 Thread Sergey Safarov
In AWS I now use the network load balancer without enabled HAproxy protocol. On EC2 instances used two ENI. First for traffic via NLB for Inbound traffic. And second ENI for outbound traffic. This works but, maybe complex to implement. Now I looking to: 1) enable TCP + HAproxy protocol support in

Re: [SR-Users] BYE and TCP

2020-11-09 Thread Kjeld Flarup
Hello I have attached a pcap received from the provider. It is quite informative as it shows bits of how they forward the call. We send to 194.247.61.26 which is a Kamailio proxy, that forwards the call to a SBC 194.247.61.32 My guess is that the 194.247.61.26 kamailio gets confused, and does

Re: [SR-Users] Kamailio behind HAProxy

2020-11-09 Thread Joey Golan
Maybe I miss understood you. For local installations you mean HAProxy with transparent mode? I have a functioning setup without proxy protocol enabled but without anitflood enabled because all traffic comes from same HAProxy address. I’m not sure I understand the purpose of tcp_accept_haproxy. W