Hi all, the following configuration gives me those errors:
[Jun 18 16:12:22] ERROR[219]: res_sorcery_config.c:405 sorcery_config_internal_load: Config file ‘pjsip.conf’ could not be loaded; configuration contains a duplicate object: ‘1000-auth’ of type ‘auth’
[Jun 18 16:12:22] ERROR[219]: res_sorcery_config.c:405 sorcery_config_internal_load: Config file ‘pjsip.conf’ could not be loaded; configuration contains a duplicate object: ‘1000’ of type ‘aor’
[Jun 18 16:12:22] ERROR[219]: res_sorcery_config.c:405 sorcery_config_internal_load: Config file ‘pjsip.conf’ could not be loaded; configuration contains a duplicate object: ‘1000’ of type ‘endpoint’
But I cannot understand what is wrong on my pjsip.conf. Can you point me at the issue?
; Configurazione trasporto (UDP, con TLS opzionale)
[transport-udp]
type=transport
protocol=udp
bind=0.0.0.0:5060
external_media_address=192.168.1.200 ; Sostituisci con l’IP pubblico del server
external_signaling_address=192.168.1.200
local_net=172.19.0.0/16 ; Sostituisci con la tua rete locale
allow_reload=yes
Actually it’s because they re not marked up correctly:
[Jun 18 16:12:22] ERROR[219]: res_sorcery_config.c:405 sorcery_config_internal_load: Config file 'pjsip.conf' could not be loaded; configuration contains a duplicate object: '1000-auth' of type 'auth'
[Jun 18 16:12:22] ERROR[219]: res_sorcery_config.c:405 sorcery_config_internal_load: Config file 'pjsip.conf' could not be loaded; configuration contains a duplicate object: '1000' of type 'aor'
[Jun 18 16:12:22] ERROR[219]: res_sorcery_config.c:405 sorcery_config_internal_load: Config file 'pjsip.conf' could not be loaded; configuration contains a duplicate object: '1000' of type 'endpoint'