Re: [SR-Users] record_route_preset and set_advertised_address in branch_route

2020-05-29 Thread Володимир Іванець
I tried to add it to the *request_route* and the behavior didn't change. According to the function description and the example, it is meant for new branches that are created in the *failure_route*. The requirement is to send INVITEs to all contacts at the same time. I figured that I can just use *

Re: [SR-Users] record_route_preset and set_advertised_address in branch_route

2020-05-29 Thread Sergiu Pojoga
*> t_save_lumps* look like it's meant for serial forking I don't think so. Have you tried it? Regards, On Fri, May 29, 2020 at 12:55 PM Володимир Іванець wrote: > Hello Sergiu, > > Thank you for the suggestion. Sorry, I had to clarify that I'm using > parallel forking and *t_save_lumps* look l

Re: [SR-Users] record_route_preset and set_advertised_address in branch_route

2020-05-29 Thread Володимир Іванець
Hello Sergiu, Thank you for the suggestion. Sorry, I had to clarify that I'm using parallel forking and *t_save_lumps* look like it's meant for serial forking. Thank you! пт, 29 трав. 2020 о 18:55 Sergiu Pojoga пише: > Check out the t_save_lumps() function, which should solve your problem. >

Re: [SR-Users] record_route_preset and set_advertised_address in branch_route

2020-05-29 Thread Sergiu Pojoga
Check out the t_save_lumps() function, which should solve your problem. https://kamailio.org/docs/modules/5.3.x/modules/tm.html#tm.f.t_save_lumps On Fri, May 29, 2020 at 11:12 AM Володимир Іванець wrote: > Hello! > > I'm having interesting behavior and wanted to ask if someone knows if this >

[SR-Users] record_route_preset and set_advertised_address in branch_route

2020-05-29 Thread Володимир Іванець
Hello! I'm having interesting behavior and wanted to ask if someone knows if this is correct or not. Kamailio v5.3.3. is used. Asterisk sends INVITE to Kamailio. Kamailio performs lookup. Some contacts require Record-Route and Via headers adjustments before sending out INVITEs. I use functions *r

Re: [SR-Users] ds_is_from_list with domain

2020-05-29 Thread Henning Westerholt
Hello, there are different ways, but it case you want to do it dynamically in the cfg: https://www.kamailio.org/docs/modules/5.2.x/modules/ipops.html#ipops.f.dns_int_match_ip Cheers, Henning -- Henning Westerholt – https://skalatan.de/blog/ Kamailio services – https://gilawa.com

[SR-Users] ds_is_from_list with domain

2020-05-29 Thread Abdirahman A. Osman
Hello, I am using freeswitch in kubernetes and IPaddresses are not fixed instead I am using domain names in the dispatcher.list. Also I am using ds_is_from_list to set the destination to either upstream or downstream. The issue I have is that when freeswitch sends an invite message to Kamailio i

[SR-Users] Kamailio 5.3 - Topos errors when it is processing a cancel

2020-05-29 Thread José Seabra
Hello there, I have been noticing TOPOS errors when kamailio is processing a CANCEL: INFO: ESP_LOG: 752f4a957266379479eee74924687bc40ae1509c: REQ M=CANCEL RURI=sip:333@domain:5060 F=sip:111@domain T=sip:333@domain oP=UDP pr=udp rP=UDP cseq=102 ct= ua= SRC:xx.xxx.xx.xx:5060 => RCV:xx.xx.xx.xx:5060