Pjsip Module Reload Problem

Home » Asterisk Users » Pjsip Module Reload Problem
Asterisk Users 3 Comments

Hi!

Installing new asterisk server and decided to use chan_pjsip.

While module reload I get:

y 12 15:33:04] ERROR[21137]: config_options.c:715 aco_process_var: Could not find option suitable for category ‘3567’ named ‘inband_progress’ at line 867 of
[May 12 15:33:04] ERROR[21137]: res_sorcery_config.c:317
sorcery_config_internal_load: Could not create an object of type ‘aor’
with id ‘3567’ from configuration file ‘pjsip.conf’

After asterisk restart:

bkk*CLI> pjsip reload Module ‘res_pjsip.so’ reloaded successfully.
— Reloading module ‘res_pjsip.so’ (Basic SIP resource)
[May 12 15:33:49] NOTICE[21216]: sorcery.c:1374 sorcery_object_load:
Type ‘system’ is not reloadable, maintaining previous values
— Remote UNIX connection
— Remote UNIX connection disconnected bkk*CLI>

everything is fine?

Is it bug?

Astersik 13.9.0.

Thank you!

3 thoughts on - Pjsip Module Reload Problem

  • Dmitry Melekhov wrote:

    inband_progress is not a valid option for AORs, it is applicable to endpoints. That’s what the above is saying. If you remove it then your AOR will be loaded and created as expected.

    Since you did not change the file it did not do the needless work of rereading it, so you didn’t see the message again.

  • 12.05.2016 15:38, Joshua Colp пишет:

    I have no this option in aor section, only globally:

    ;inband_progress=no ; Determines whether chan_pjsip will indicate ringing inband_progress=yes

    I placed it where it is in sample config ,and

    [3567]
    type=aor max_contacts=1

    ;

  • 12.05.2016 16:01, Dmitry Melekhov пишет:

    Oops, forget to uncomment section header [endpoints], this explains everything. Thank you!