[asterisk-bugs] [JIRA] (ASTERISK-24483) res_pjsip_pubsub.so, res_pjsip_refer.so: Assertion on un/re-load: mod.id == -1
tootai (JIRA)
noreply at issues.asterisk.org
Tue Jan 26 05:49:32 CST 2016
[ https://issues.asterisk.org/jira/browse/ASTERISK-24483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=229179#comment-229179 ]
tootai commented on ASTERISK-24483:
-----------------------------------
I face this problem with res_pjsip_refer on a new 13.7.0 installation when launching Asterisk. The line noload => res_pjsip_refer.so in modules.conf make the application starting well. Cli output is
Loading chan_pjsip.so.
== Registered RTP glue 'PJSIP'
== Registered channel type 'PJSIP' (PJSIP Channel Driver)
18:26:10.812 sip_endpoint.c !Module "mod-refer" registered
asterisk: ../src/pjsip-simple/evsub.c:417: pjsip_evsub_register_pkg: Assertion `mod_evsub.mod.id != -1' failed.
Daniel
> res_pjsip_pubsub.so, res_pjsip_refer.so: Assertion on un/re-load: mod.id == -1
> ------------------------------------------------------------------------------
>
> Key: ASTERISK-24483
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-24483
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_pjsip_pubsub, Resources/res_pjsip_refer
> Affects Versions: SVN, 12.7.0, 13.0.0
> Reporter: Tzafrir Cohen
>
> Asterisk 13 SVN (427089). When I disable loading those modules (to avoid having other modules depend on them, and hence allow unloading), unload the module and then load it, I get:
> {noformat}
> *CLI> module load res_pjsip_refer.so
> asterisk: ../src/pjsip-simple/evsub.c:416: pjsip_evsub_register_pkg: Assertion `mod_evsub.mod.id != -1' failed.
> Aborted
> {noformat}
> With the pubsub module I need to try harder:
> {noformat}
> *CLI> module load res_pjsip_pubsub.so
> Loaded res_pjsip_pubsub.so
> *CLI> module unload res_pjsip_pubsub.so
> Unloaded res_pjsip_pubsub.so
> *CLI> module load res_pjsip_pubsub.so
> asterisk: ../src/pjsip-simple/evsub.c:297: pjsip_evsub_init_module: Assertion `mod_evsub.mod.id == -1' failed.
> Aborted
> {noformat}
> Original motivation (and hence the major priority) - on Debian packages built on the same system (note: using the same pjproject. However I recall having the same problem with the same Asterisk built vs. a much older pjproject) it crashes with the same error on startup if I don't disable loading those two modules.
> Any idea where id is supposed to be set in the pjsip code?
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list