OK, thanks for reporting. When I get some time I will look to see if initializing all those options via config file can be added in a easy mode.

If you want to add dedicated global parameter for it, do a pull request on gihub project.

Cheers,
Daniel

On 22/01/16 02:40, Cody Herzog wrote:
Thanks for the ongoing support.

I tried 'tcp.new_conn_alias_flags = 1' in the global config section, but that causes a config file parse error on startup.

I have also tried the following:

'tcp_new_conn_alias_flags = 1' <== parse error

'tcp_options.new_conn_alias_flags=1' <== NO parse error, but doesn't seem to change the option.

The only way I've found to change the option is at runtime as follows:

sudo kamctl kamcmd cfg.set_now_int tcp new_conn_alias_flags 1


Thanks.

On Tue, Jan 19, 2016 at 2:48 PM, Daniel-Constantin Mierla <miconda@gmail.com> wrote:
Hello,

I am not the developer that added the new_conn_alias_flags and had not time to dig much in the code to given an precise answer. But if it make the case you detailed to work, then set it. In its definition in the code i saw it can be 0, 1 or 2.

Try to see if it works to set it in kamailio.cfg with:

tcp.new_conn_alias_flags = 1

Use it in the part with global parameters.

Cheers,
Daniel



-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com
http://miconda.eu