[SR-Users] add a SIP custom header on a SIP response generated locally

2024-01-17 Thread frédéric Gaisnon via sr-users
Hello,



I want to add a SIP custom header on a SIP response generated locally (on
the 408 generated when fr_inv_timeout is expired for example)

I've tried functions append_hf and append_to_reply in
event_route[tm:branch-failure:XXX] or event_route [tm:local-response]
without any success.

Do you have any suggestions to accomplish this ?



Regards,

Frédéric Gaisnon
__
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:


[SR-Users] Re: Releasing v5.7.4

2024-01-17 Thread Daniel-Constantin Mierla via sr-users
Hello,

here is the usual reminder that v5.7.4 is planned to be released today,
therefore any commit to branch 5.7 has to be announced to sr-dev and
wait for ack to avoid conflicts with the building of the new release.
Once the announcement is out, commits can go in this branch as usual.

Cheers,
Daniel

On 15.01.24 11:40, Daniel-Constantin Mierla wrote:
> Hello,
>
> I am considering to release Kamailio v5.7.4 (out of branch 5.7) on
> Thursday, Jan 18, 2024. If anyone is aware of issues not yet on the bug
> tracker, report them there asap in order to have a better chance to be
> fixed.
>
> Cheers,
> Daniel

-- 
Daniel-Constantin Mierla (@ asipto.com)
twitter.com/miconda -- linkedin.com/in/miconda
Kamailio Consultancy, Training and Development Services -- asipto.com
Kamailio Advanced Training, February 20-22, 2024 -- asipto.com
Kamailio World Conference, April 18-19, 2024, Berlin -- kamailioworld.com
__
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:


[SR-Users] IMS registration failure

2024-01-17 Thread Srinidhi via sr-users
I am trying to get imsdroid register to pcscf . But failing with 504 server 
timeout .

Please help to figure out the reason for register failure .


 in module ims_registrar_pcscf 
[/usr/local/lib64/kamailio/modules/ims_registrar_pcscf.so]
 0(310120) DEBUG:  [core/modparam.c:123]: 
set_mod_param_regex(): found  in module 
ims_registrar_pcscf [/usr/local/lib64/kamailio/modules/ims_registrar_pcscf.so]
 0(310120) DEBUG:  [core/sr_module.c:632]: 
find_mod_export_record(): found export of  in module 
ims_registrar_pcscf [/usr/local/lib64/kamailio/modules/ims_registrar_pcscf.so]
 0(310120) DEBUG:  [core/cfg.lex:1643]: 
sr_push_yy_state(): including file: route/register.cfg 
(/etc/kamailio_pcscf/route/register.cfg)
 0(310120) DEBUG:  [core/sr_module.c:632]: 
find_mod_export_record(): found export of  in module 
ims_registrar_pcscf [/usr/local/lib64/kamailio/modules/ims_registrar_pcscf.so]
 0(310120) DEBUG:  [core/cfg/cfg.c:173]: 
cfg_declare(): new config group has been registered: 'core' (num=56, size=224)
 0(310120) DEBUG:  [core/cfg/cfg.c:173]: 
cfg_declare(): new config group has been registered: 'tcp' (num=27, size=108)
 0(310120) DEBUG:  [core/pt.c:138]: register_procs(): 
registering new processes: 0 (old) + 1 (new) = 1 (total)
 0(310120) DEBUG:  [core/cfg/cfg.c:173]: 
cfg_declare(): new config group has been registered: 'tm' (num=36, size=168)
 0(310120) DEBUG:  [core/cfg/cfg.c:173]: 
cfg_declare(): new config group has been registered: 'maxfwd' (num=1, size=4)
 0(310120) DEBUG:  [core/cfg/cfg.c:173]: 
cfg_declare(): new config group has been registered: 'siputils' (num=1, size=4)
 0(310120) DEBUG:  [core/pt.c:138]: register_procs(): 
registering new processes: 1 (old) + 1 (new) = 2 (total)
 0(310120) DEBUG:  [core/cfg/cfg.c:173]: 
cfg_declare(): new config group has been registered: 'xlog' (num=1, size=4)
 0(310120) DEBUG:  [core/cfg/cfg.c:173]: 
cfg_declare(): new config group has been registered: 'dispatcher' (num=3, 
size=24)
 0(310120) DEBUG:  [core/cfg/cfg.c:173]: 
cfg_declare(): new config group has been registered: 'sctp' (num=19, size=76)
 0(310120) DEBUG:  [core/pt.c:138]: register_procs(): 
registering new processes: 2 (old) + 1 (new) = 3 (total)
 0(310120) DEBUG:  [core/cfg/cfg.c:173]: 
cfg_declare(): new config group has been registered: 'dbg' (num=3, size=12)
 0(310120) DEBUG:  [core/cfg/cfg.c:173]: 
cfg_declare(): new config group has been registered: 'registrar' (num=11, 
size=56)
 0(310120) DEBUG:  [core/cfg/cfg.c:173]: 
cfg_declare(): new config group has been registered: 'rtpengine' (num=5, 
size=20)
 0(310120) DEBUG:  [core/pt.c:138]: register_procs(): 
registering new processes: 3 (old) + 1 (new) = 4 (total)
 0(310120) DEBUG:  [core/pt.c:138]: register_procs(): 
registering new processes: 4 (old) + 1 (new) = 5 (total)
 0(310120) DEBUG:  [core/pt.c:138]: register_procs(): 
registering new processes: 5 (old) + 1 (new) = 6 (total)
 0(310120) DEBUG:  [core/pt.c:99]: init_pt(): 
registering new processes: 6 (old) + 96 (new) = 102 (total)
 0(310120) DEBUG:  [core/route.c:885]: fix_actions(): 
fixing pcscf_is_registered()
 0(310120) DEBUG:  [core/route.c:885]: fix_actions(): 
fixing pcscf_unregister()
 4(310124) ERROR: *** cfgtrace:request_route=[REGISTER] 
c=[/etc/kamailio_pcscf/route/register.cfg] l=9 a=16 n=if
 4(310124) ERROR: *** cfgtrace:request_route=[REGISTER] 
c=[/etc/kamailio_pcscf/route/register.cfg] l=7 a=63 n=assign
 4(310124) ERROR: *** cfgtrace:request_route=[REGISTER] 
c=[/etc/kamailio_pcscf/route/register.cfg] l=9 a=25 n=xnotice
 4(310124) ERROR: *** cfgtrace:request_route=[REGISTER] 
c=[/etc/kamailio_pcscf/route/register.cfg] l=10 a=25 n=xnotice
 4(310124) ERROR: *** cfgtrace:request_route=[REGISTER] 
c=[/etc/kamailio_pcscf/route/register.cfg] l=11 a=25 n=xnotice
 4(310124) ERROR: *** cfgtrace:request_route=[REGISTER] 
c=[/etc/kamailio_pcscf/route/register.cfg] l=12 a=25 n=xnotice
 4(310124) ERROR: *** cfgtrace:request_route=[REGISTER] 
c=[/etc/kamailio_pcscf/route/register.cfg] l=15 a=63 n=assign
 4(310124) ERROR: *** cfgtrace:request_route=[REGISTER] 
c=[/etc/kamailio_pcscf/route/register.cfg] l=22 a=16 n=if
 4(310124) ERROR: *** cfgtrace:request_route=[REGISTER] 
c=[/etc/kamailio_pcscf/route/register.cfg] l=17 a=25 n=is_present_hf
 4(310124) ERROR: *** cfgtrace:request_route=[REGISTER] 

[SR-Users] rr, loose_route and corex alias_subdomains

2024-01-17 Thread Jon Bonilla (Manwe) via sr-users
Hi

I'm having an issue with the double rr for mst direct routing. 
I'm using subdomains like 23234.mydomain.com with a wildcard certificate and I
set corex modparam alias_subdomains to mydomain.com

But loose_route doesn't seem to detect the rr as myself

I get the message:

rr [loose.c:804]: rr_do_force_send_socket(): no socket found to match second RR
(sip:20141.mydomain.com:5063;transport=tls;ftag=as7107d0fe;lr;r2=on;vsf=AAADCQMaABhMS1NYRh0cRllbR0RRQG91cC5lcw--;nat=yes;pet=mst)



Regarding my setup is more or less like this:

kamailio.local.cfg:

#!substdef "!MSTDOMAIN!mydomain.com!g"

kamailio.cfg:
modparam("corex", "alias_subdomains", "MSTDOMAIN")


But in the cli:

kamctl rpc corex.list_aliases
{
  "jsonrpc":  "2.0",
  "result": [
],
  "id": 1319303
}


I don't remember to have this issue when I was developing the mst integration.
Either I missed it or can it be a regression? kamailio version is 5.6.4 at the
moment.

Any ideas?


cheers

Jon






-- 
PekePBX, the multitenant PBX solution
https://pekepbx.com


pgpzPYNBBKzEu.pgp
Description: Firma digital OpenPGP
__
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:


[SR-Users] Re: tls.cfg and configuration

2024-01-17 Thread Henning Westerholt via sr-users
Hello,

module specific configuration files (like tls.cfg, dispatcher.list etc..) are 
usually in a special format that don’t allow the usage of “main” kamailio.cfg 
statements and variables etc..

If you want to use some templates, maybe using something like ansible is a way 
to go.

Cheers,

Henning

From: Aymeric Moizard via sr-users 
Sent: Mittwoch, 17. Januar 2024 13:53
To: Kamailio (SER) - Users Mailing List 
Cc: Aymeric Moizard 
Subject: [SR-Users] tls.cfg and configuration

Hi all,

I'm using a central file to define my kamailio cfg configuration.

First question:

In my main kamailio.cfg, I use:

   include_file "kamailio-config.cfg"
which contains:
#!substdef 
"!MY_DOMAIN!kamailio.example.com!g"

I would like to use the same in tls.cfg which is defined this way:

modparam("tls", "config", "/etc/kamailio/tls.cfg")

but I get:

  sr_cfg_parse(): tls.cfg:17:1: Unsupported option 'include_file'

Would you advise some way to achieve my goal: ie, I would like only
one file to edit my configuration options which would have an effect on
both kamailio.cfg and tls.cfg

Second question:

Can someone confirm that #!substdef will also not have any effect
when used in tls.cfg

Thanks
Aymeric

--
[Image removed by sender.]Antisip - http://www.antisip.com
__
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:


[SR-Users] tls.cfg and configuration

2024-01-17 Thread Aymeric Moizard via sr-users
Hi all,

I'm using a central file to define my kamailio cfg configuration.

First question:

In my main kamailio.cfg, I use:

   include_file "kamailio-config.cfg"
which contains:
#!substdef "!MY_DOMAIN!kamailio.example.com!g"

I would like to use the same in tls.cfg which is defined this way:

modparam("tls", "config", "/etc/kamailio/tls.cfg")

but I get:

  sr_cfg_parse(): tls.cfg:17:1: Unsupported option 'include_file'

Would you advise some way to achieve my goal: ie, I would like only
one file to edit my configuration options which would have an effect on
both kamailio.cfg and tls.cfg

Second question:

Can someone confirm that #!substdef will also not have any effect
when used in tls.cfg

Thanks
Aymeric

-- 
Antisip - http://www.antisip.com
__
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe: