It is only about the returned value of the variable $dp. The port is not set in the
outbound proxy uri.
The logic is, if the $du has no port value, then return 5060 -- probably some old code
relying on default value for port -- relevant piece of code inside the pv module:
```
} else if(param->pvn.u.isname.name.n==2) /* port */ {
if(uri.port.s==NULL)
return pv_get_5060(msg, param, res);
return pv_get_strintval(msg, param, res, &uri.port, (int)uri.port_no);
```
---
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/700#issuecomment-231299002