Re: [SR-Users] topos xavu_field_contact_host kamailio 5.5

2021-12-03 Thread Jonathan Hunter
Hi Karsten, Ok cool thanks for that I am testing now. I also have the fun on a NAT’d interface so I am playing with setting advertised address as well! Makes sense thank you for the reply. Jon Sent from Mail for Windows From: Karsten Horsmann

Re: [SR-Users] topos xavu_field_contact_host kamailio 5.5

2021-12-03 Thread Karsten Horsmann
Hi Jonathan, I placed a new route and set the user part $xavu(_tps_=>a_contact) = "sbc_a";$xavu(_tps_=>b_contact) = "sbc_b"; And for special cases I set the to user part to the To user for some silly pbx boxes. Can also be that in this mode without setting a/b_contact the normal

Re: [SR-Users] topos xavu_field_contact_host kamailio 5.5

2021-12-03 Thread Jonathan Hunter
Hi Karsten, Thank you for your reply. Thats interesting I will test it, so I see in the documentation it states; $xavu(_tps_=>a_contact) = "..."; In your case what did you enter so that it just sets the user part? I assume I could just set it to $sel(contact.uri.user) for example and it woul

Re: [SR-Users] topos xavu_field_contact_host kamailio 5.5

2021-12-03 Thread Karsten Horsmann
Hi Jonathan, I use topos in mode 2 (rewrite user part) and then it sets the domain part to the listen / socket value AFAIK if you only set user part and did not specify the contact host. #!ifdef WITH_TOPOS modparam("topos", "storage", "redis") modparam("topos_redis", "serverid", "CFG_REDIS_NA

Re: [SR-Users] DMQ Usrloc/Dialog - Experiences

2021-12-03 Thread Julien Chavanton
Hi Henning, I did use a maximum of 4 nodes. In one AWS region and 2 availability zones. (also they support jumbo frames) This way there is always a registrar available to process requests and they can all be restarted without concerns or dependency on database backend. On Wed, Dec 1, 2021 at 11

Re: [SR-Users] topos xavu_field_contact_host kamailio 5.5

2021-12-03 Thread Henning Westerholt
Hi Jonathan, without looking too much into the details, it could be modified/extended to support this mode as well. Daniel might also have some comments on this topic. Using e.g., hash table is of course a way to do something like this as well. Cheers, Henning From: Jonathan Hunter Sent: Fr

Re: [SR-Users] topos xavu_field_contact_host kamailio 5.5

2021-12-03 Thread Jonathan Hunter
Hello Henning, Ok appreciate the confirmation, could this be a possible option moving forwards with the module? In the meantime I assume other approach is hash tables as I have done before? Thanks again appreciate your response. Jon Sent from Mail

Re: [SR-Users] topos xavu_field_contact_host kamailio 5.5

2021-12-03 Thread Henning Westerholt
Hello Jonathan, I see, so you want basically configure different contact addresses for A-side and B-side of the call. This is probably not supported from topos right now, its only possible for the user name. Cheers, Henning From: Jonathan Hunter Sent: Friday, December 3, 2021 10:07 AM To: He

Re: [SR-Users] topos xavu_field_contact_host kamailio 5.5

2021-12-03 Thread Jonathan Hunter
Hello Henning, Yes your comments make perfect sense. Essentially I want to change the contact in-dialog as essentially the initial INVITE comes in on a private interface from the carrier, and then goes out on a public interface to the subscriber, so the subscriber only see’s public IP address

Re: [SR-Users] topos xavu_field_contact_host kamailio 5.5

2021-12-03 Thread Henning Westerholt
Hello Jonathan, Usually, you want to set the appropriate contact host in the initial INVITE and then the dialog stays “with” this contact. This can be done by just setting the xavp and is the way the topology module usually works. Maybe you can elaborate why you want to change the contact in-di

Re: [SR-Users] topos xavu_field_contact_host kamailio 5.5

2021-12-03 Thread Jonathan Hunter
HI Henning, Yes sorry late night 😊 and thank you for reply. Yes I conditionally want to set it, I have tried this but not sure it has worked to this point hence why I am wondering if I am missing something. Say for example I have request coming in from carrier on 10.10.10.10 interface and want

Re: [SR-Users] topos xavu_field_contact_host kamailio 5.5

2021-12-03 Thread Henning Westerholt
Hello, There might be a spelling error below, you probably mean: "$xavu(_tps_=>contact_host) = "2.2.2.2"; And this works fine but obviously sets the contact_host to 2.2.2.2 across both interfaces, I ideally want it to change between 10.10.10.10 and 2.2.2.2." Not sure if I understand your questi

[SR-Users] topos xavu_field_contact_host kamailio 5.5

2021-12-03 Thread Jonathan Hunter
Hi All, I was wondering if anyone can help, and advise me if I am missing something when using topos in an environment where I have more than one interface for kamailio. Essentially I would like to set the contact_host to 2 different values depending on the flow of the SIP requests, as we have