[asterisk-users] pjsip module reload problem
Dmitry Melekhov
dm at belkam.com
Thu May 12 07:04:08 CDT 2016
12.05.2016 16:01, Dmitry Melekhov пишет:
> 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
Oops, forget to uncomment section header [endpoints], this explains
everything.
Thank you!
>
>
> [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.
>>
>
More information about the asterisk-users
mailing list