Hello.
I've done some local testing of my changes to 'cfg.lex' and 'cfg.y'.
The
changes are pretty small. I just added a few lines so that
'tcp_new_conn_alias_flags' can be parsed as global option in the config
file.
How would you recommend that I proceed?
Should I submit to the master branch and then make a pull request relative
to the 4.3 branch?
Or perhaps I should submit to a private developer branch first, then make a
pull request relative to the master branch.
I read the appropriate Wiki pages, but since this will be my first time
submitting, I want to be sure I do it properly.
Thanks.
On Fri, Jan 22, 2016 at 12:39 AM, Daniel-Constantin Mierla <
miconda(a)gmail.com> wrote:
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>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
Mierlahttp://twitter.com/#!/miconda -
http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio -
http://www.asipto.comhttp://miconda.eu