Re: [SR-Users] Kamalio 5.4.0 should support ka_add_destination function of KeepAlive module ?

2020-08-12 Thread Daniel-Constantin Mierla
Hello,

the README was edited directly, which is not the way to do it. I added a
note in the pull request about how changes to module docs have to be
done, see also the wiki page:

  - https://www.kamailio.org/wiki/devel/module-docbook-readme

Cheers,
Daniel

On 12.08.20 16:17, sagar malam wrote:
> Hello Henning, 
>
> I have created pull request for same
>
> On Tue, Aug 11, 2020 at 9:10 PM Henning Westerholt  <mailto:h...@skalatan.de>> wrote:
>
> Hi Sagar,
>
>  
>
> the documentation can be improved by creating a “pull request” on
> github for it. Then it can be applied to the repository.
>
>  
>
> Cheers,
>
>  
>
> Henning
>
>  
>
> -- 
>
> Henning Westerholt – https://skalatan.de/blog/
>
> Kamailio services – https://gilawa.com <https://gilawa.com/>
>
>  
>
> *From:* sr-users  <mailto:sr-users-boun...@lists.kamailio.org>> *On Behalf Of *sagar
> malam
> *Sent:* Monday, August 10, 2020 7:58 PM
> *To:* mico...@gmail.com <mailto:mico...@gmail.com>
> *Cc:* Kamailio (SER) - Users Mailing List
> mailto:sr-users@lists.kamailio.org>>
> *Subject:* Re: [SR-Users] Kamalio 5.4.0 should support
> ka_add_destination function of KeepAlive module ?
>
>  
>
> It worked. Thanks so much. 
>
> Is there any way I can help to correct documentation ?
>
>  
>
> On Mon, Aug 10, 2020 at 8:28 PM Daniel-Constantin Mierla
> mailto:mico...@gmail.com>> wrote:
>
> Hello,
>
> the documentation is somehow incorrect, the function is
> exported with two parameters, the second being named owner. By
> name, I assume it has the purpose as described in the section:
>
>   -
> 
> https://kamailio.org/docs/modules/5.4.x/modules/keepalive.html#dev-add_destination
>
> So try to provide a 2nd string parameter that can be any
> value, for example you can use "config".
>
> Cheers,
> Daniel
>
> On 08.08.20 08:54, sagar malam wrote:
>
> Hello  
>
>  
>
> I want to use ka_add_destination function of KA module but
> i am getting this error :
> [root@SBC-4-1] kamailio -c -f
> /usr/local/etc/kamailio/kamailio.cfg
> loading modules under config path:
> /usr/local/lib64/kamailio/modules/
>  0(48016) ERROR:  [core/cfg.y:3451]: yyparse(): cfg.
> parser: failed to find command ka_add_destination (params 1)
>  0(48016) CRITICAL:  [core/cfg.y:3592]:
> yyerror_at(): parse error in config file
> /usr/local/etc/kamailio/kamailio.cfg, line 1449, column
> 58: unknown command, missing loadmodule?
>
> I know that 5.3.3 version does not support this function
> but 5.4.0 should as per documentation :
> 
> https://kamailio.org/docs/modules/5.4.x/modules/keepalive.html#keepalive.ka_add_destination
>
> Keepalive module is compiled and loaded in cfg.
>
>  
>
> -- 
>
> Thanks,
>
>  
>
> Sagar
>
>  
>
> ___
>
> Kamailio (SER) - Users Mailing List
>
> sr-users@lists.kamailio.org <mailto:sr-users@lists.kamailio.org>
>
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
> -- 
>
> Daniel-Constantin Mierla -- www.asipto.com <http://www.asipto.com>
>
> www.twitter.com/miconda <http://www.twitter.com/miconda> -- 
> www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda>
>
> Funding: https://www.paypal.me/dcmierla
>
>
>  
>
> -- 
>
> Thanks,
>
>  
>
> Sagar
>
>
>
> -- 
> Thanks,
>
> Sagar

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Funding: https://www.paypal.me/dcmierla

___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Kamalio 5.4.0 should support ka_add_destination function of KeepAlive module ?

2020-08-12 Thread sagar malam
Hello Henning,

I have created pull request for same

On Tue, Aug 11, 2020 at 9:10 PM Henning Westerholt  wrote:

> Hi Sagar,
>
>
>
> the documentation can be improved by creating a “pull request” on github
> for it. Then it can be applied to the repository.
>
>
>
> Cheers,
>
>
>
> Henning
>
>
>
> --
>
> Henning Westerholt – https://skalatan.de/blog/
>
> Kamailio services – https://gilawa.com
>
>
>
> *From:* sr-users  *On Behalf Of *sagar
> malam
> *Sent:* Monday, August 10, 2020 7:58 PM
> *To:* mico...@gmail.com
> *Cc:* Kamailio (SER) - Users Mailing List 
> *Subject:* Re: [SR-Users] Kamalio 5.4.0 should support ka_add_destination
> function of KeepAlive module ?
>
>
>
> It worked. Thanks so much.
>
> Is there any way I can help to correct documentation ?
>
>
>
> On Mon, Aug 10, 2020 at 8:28 PM Daniel-Constantin Mierla <
> mico...@gmail.com> wrote:
>
> Hello,
>
> the documentation is somehow incorrect, the function is exported with two
> parameters, the second being named owner. By name, I assume it has the
> purpose as described in the section:
>
>   -
> https://kamailio.org/docs/modules/5.4.x/modules/keepalive.html#dev-add_destination
>
> So try to provide a 2nd string parameter that can be any value, for
> example you can use "config".
>
> Cheers,
> Daniel
>
> On 08.08.20 08:54, sagar malam wrote:
>
> Hello
>
>
>
> I want to use ka_add_destination function of KA module but i am getting
> this error :
> [root@SBC-4-1] kamailio -c -f /usr/local/etc/kamailio/kamailio.cfg
> loading modules under config path: /usr/local/lib64/kamailio/modules/
>  0(48016) ERROR:  [core/cfg.y:3451]: yyparse(): cfg. parser: failed
> to find command ka_add_destination (params 1)
>  0(48016) CRITICAL:  [core/cfg.y:3592]: yyerror_at(): parse error in
> config file /usr/local/etc/kamailio/kamailio.cfg, line 1449, column 58:
> unknown command, missing loadmodule?
>
> I know that 5.3.3 version does not support this function but 5.4.0 should
> as per documentation :
>
> https://kamailio.org/docs/modules/5.4.x/modules/keepalive.html#keepalive.ka_add_destination
>
> Keepalive module is compiled and loaded in cfg.
>
>
>
> --
>
> Thanks,
>
>
>
> Sagar
>
>
>
> ___
>
> Kamailio (SER) - Users Mailing List
>
> sr-users@lists.kamailio.org
>
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
> --
>
> Daniel-Constantin Mierla -- www.asipto.com
>
> www.twitter.com/miconda -- www.linkedin.com/in/miconda
>
> Funding: https://www.paypal.me/dcmierla
>
>
>
>
> --
>
> Thanks,
>
>
>
> Sagar
>


-- 
Thanks,

Sagar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Kamalio 5.4.0 should support ka_add_destination function of KeepAlive module ?

2020-08-11 Thread Henning Westerholt
Hi Sagar,

the documentation can be improved by creating a “pull request” on github for 
it. Then it can be applied to the repository.

Cheers,

Henning

--
Henning Westerholt – https://skalatan.de/blog/
Kamailio services – https://gilawa.com<https://gilawa.com/>

From: sr-users  On Behalf Of sagar malam
Sent: Monday, August 10, 2020 7:58 PM
To: mico...@gmail.com
Cc: Kamailio (SER) - Users Mailing List 
Subject: Re: [SR-Users] Kamalio 5.4.0 should support ka_add_destination 
function of KeepAlive module ?

It worked. Thanks so much.
Is there any way I can help to correct documentation ?

On Mon, Aug 10, 2020 at 8:28 PM Daniel-Constantin Mierla 
mailto:mico...@gmail.com>> wrote:

Hello,

the documentation is somehow incorrect, the function is exported with two 
parameters, the second being named owner. By name, I assume it has the purpose 
as described in the section:

  - 
https://kamailio.org/docs/modules/5.4.x/modules/keepalive.html#dev-add_destination

So try to provide a 2nd string parameter that can be any value, for example you 
can use "config".

Cheers,
Daniel
On 08.08.20 08:54, sagar malam wrote:
Hello

I want to use ka_add_destination function of KA module but i am getting this 
error :
[root@SBC-4-1] kamailio -c -f /usr/local/etc/kamailio/kamailio.cfg
loading modules under config path: /usr/local/lib64/kamailio/modules/
 0(48016) ERROR:  [core/cfg.y:3451]: yyparse(): cfg. parser: failed to 
find command ka_add_destination (params 1)
 0(48016) CRITICAL:  [core/cfg.y:3592]: yyerror_at(): parse error in 
config file /usr/local/etc/kamailio/kamailio.cfg, line 1449, column 58: unknown 
command, missing loadmodule?

I know that 5.3.3 version does not support this function but 5.4.0 should as 
per documentation :
https://kamailio.org/docs/modules/5.4.x/modules/keepalive.html#keepalive.ka_add_destination

Keepalive module is compiled and loaded in cfg.

--
Thanks,

Sagar


___

Kamailio (SER) - Users Mailing List

sr-users@lists.kamailio.org<mailto:sr-users@lists.kamailio.org>

https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

--

Daniel-Constantin Mierla -- www.asipto.com<http://www.asipto.com>

www.twitter.com/miconda<http://www.twitter.com/miconda> -- 
www.linkedin.com/in/miconda<http://www.linkedin.com/in/miconda>

Funding: https://www.paypal.me/dcmierla


--
Thanks,

Sagar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Kamalio 5.4.0 should support ka_add_destination function of KeepAlive module ?

2020-08-10 Thread sagar malam
It worked. Thanks so much.
Is there any way I can help to correct documentation ?

On Mon, Aug 10, 2020 at 8:28 PM Daniel-Constantin Mierla 
wrote:

> Hello,
>
> the documentation is somehow incorrect, the function is exported with two
> parameters, the second being named owner. By name, I assume it has the
> purpose as described in the section:
>
>   -
> https://kamailio.org/docs/modules/5.4.x/modules/keepalive.html#dev-add_destination
>
> So try to provide a 2nd string parameter that can be any value, for
> example you can use "config".
>
> Cheers,
> Daniel
> On 08.08.20 08:54, sagar malam wrote:
>
> Hello
>
> I want to use ka_add_destination function of KA module but i am getting
> this error :
> [root@SBC-4-1] kamailio -c -f /usr/local/etc/kamailio/kamailio.cfg
> loading modules under config path: /usr/local/lib64/kamailio/modules/
>  0(48016) ERROR:  [core/cfg.y:3451]: yyparse(): cfg. parser: failed
> to find command ka_add_destination (params 1)
>  0(48016) CRITICAL:  [core/cfg.y:3592]: yyerror_at(): parse error in
> config file /usr/local/etc/kamailio/kamailio.cfg, line 1449, column 58:
> unknown command, missing loadmodule?
>
> I know that 5.3.3 version does not support this function but 5.4.0 should
> as per documentation :
>
> https://kamailio.org/docs/modules/5.4.x/modules/keepalive.html#keepalive.ka_add_destination
>
> Keepalive module is compiled and loaded in cfg.
>
> --
> Thanks,
>
> Sagar
>
> ___
> Kamailio (SER) - Users Mailing 
> Listsr-users@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
> --
> Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- 
> www.linkedin.com/in/miconda
> Funding: https://www.paypal.me/dcmierla
>
>

-- 
Thanks,

Sagar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Kamalio 5.4.0 should support ka_add_destination function of KeepAlive module ?

2020-08-10 Thread Daniel-Constantin Mierla
Hello,

the documentation is somehow incorrect, the function is exported with
two parameters, the second being named owner. By name, I assume it has
the purpose as described in the section:

  -
https://kamailio.org/docs/modules/5.4.x/modules/keepalive.html#dev-add_destination

So try to provide a 2nd string parameter that can be any value, for
example you can use "config".

Cheers,
Daniel

On 08.08.20 08:54, sagar malam wrote:
> Hello  
>
> I want to use ka_add_destination function of KA module but i am
> getting this error :
> [root@SBC-4-1] kamailio -c -f /usr/local/etc/kamailio/kamailio.cfg
> loading modules under config path: /usr/local/lib64/kamailio/modules/
>  0(48016) ERROR:  [core/cfg.y:3451]: yyparse(): cfg. parser:
> failed to find command ka_add_destination (params 1)
>  0(48016) CRITICAL:  [core/cfg.y:3592]: yyerror_at(): parse
> error in config file /usr/local/etc/kamailio/kamailio.cfg, line 1449,
> column 58: unknown command, missing loadmodule?
>
> I know that 5.3.3 version does not support this function but 5.4.0
> should as per documentation :
> https://kamailio.org/docs/modules/5.4.x/modules/keepalive.html#keepalive.ka_add_destination
>
> Keepalive module is compiled and loaded in cfg.
>
> -- 
> Thanks,
>
> Sagar
>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Funding: https://www.paypal.me/dcmierla

___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users