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!
Dmitry Melekhov wrote:> 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'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.> > > 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>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. -- Joshua Colp Digium, Inc. | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org
12.05.2016 15:38, Joshua Colp ?????:> > Dmitry Melekhov wrote: >> 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' > > 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.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 ;> >> >> >> 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> > > 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. >