[sr-dev] [kamailio/kamailio] [Feature Request]: Add **connection** IP and Port vars (specifically for tcp_accept_haproxy=yes) (#2103)

Joel Serrano notifications at github.com
Tue Oct 29 22:19:11 CET 2019


Hi @miconda, 

I believe something might not be working as expected...

I have added the following:

```
...
loadmodule "tcpops.so"
...
tcp_accept_haproxy=yes
...
xlog("L_NOTICE", "New request - M=$rm UAC-IP=$si:$sp LB-IP=$tcp(c_si):$tcp(c_sp) UA='$ua' ID=$ci\n");
...
```

And this is what I see:
```
message":" NOTICE: {1 21 INVITE zgtu-ae~qO} <script>: New request - M=INVITE UAC-IP=104.175.176.242:37298 LB-IP=:0 UA='LinphoneIPhone\/00346 (belle-sip\/1.6.3)' ID=zgtu-ae~qO"}
```
Note the `LB-IP=:0`

Not related but probably caused by this ticket, I believe the documentation wasn't generated correctly:

https://www.kamailio.org/wiki/cookbooks/devel/pseudovariables check right after `$msrp(srcsock)`

I cannot reopen the ticket myself, please let me know if you want me to create a new issue.

Thanks, 
Joel.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2103#issuecomment-547634020
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20191029/0cab3e67/attachment.html>


More information about the sr-dev mailing list