Hello,
you can look at the code of lookup("location") function to see what
other attributes are set vs what you set via config operations, as you
wrote that with lookup("location") you don't face the issue.
Cheers,
Daniel
On 14.05.21 12:44, Marrold wrote:
> Hi,
>
> Apologies for the delay updati
Hi,
Apologies for the delay updating this one - it took longer than expected to
get our test platform upgraded to the latest kamailio version that included
the newer TCPOPS functions.
I can confirm that using tcp_get_conid() and tcp_set_otcpid() appears to
work around the issue. I'm still curious
Hello,
can you try with master branch to use sbranch-related functions from pv
module along with the result from reg_fetch_contact().
Cheers,
Daniel
On 19.03.21 11:13, Marrold wrote:
> We don't see the issue when using the standard lookup() function, only
> when we start manually appending branc
We don't see the issue when using the standard lookup() function, only when
we start manually appending branches with the results
from reg_fetch_contact()
Thanks
Matthew
On Wed, Mar 17, 2021 at 7:18 AM Daniel-Constantin Mierla
wrote:
> Hello,
>
>
> On 11.03.21 10:55, Marrold wrote:
>
> Hi Dani
Hello,
On 11.03.21 10:55, Marrold wrote:
> Hi Daniel,
>
> I didn't spot those TCPOPs functions, I'll give them a try and let you
> know how I get on.
>
> Do you have any idea why Kamailio is intermittently selecting the
> wrong connection using ID vs peer address?
have you tried and got that wi
Hi Daniel,
I didn't spot those TCPOPs functions, I'll give them a try and let you know
how I get on.
Do you have any idea why Kamailio is intermittently selecting the wrong
connection using ID vs peer address?
Thanks for the suggestions.
Matthew
On Wed, Mar 10, 2021 at 7:27 AM Daniel-Constantin
Hello,
a while ago I did some work to make possible to specify the outgoing tcp
connection id, see:
*
https://www.kamailio.org/docs/modules/stable/modules/tcpops.html#tcpops.f.tcp_set_otcpid
And the next function after it.
However, the testing was minimal, maybe not verifying the entire chain
Hi,
I've done a bit more digging and realised that $conid is read-only, and
only available for an inbound connection - so I dont think it will achieve
what I need.
I did a bit more troubleshooting and observed the differences in the debug
log between two identical calls:
This example failed - th
Hi all,
I'm currently adding a feature to our Kamailio configuration to fork calls
based on user agent.
To do so I'm getting the registered endpoints with reg_fetch_contacts()
iterating through and matching on them, then using seturi() /
append_branch() and setting the dst-uri and flags as requir