[asterisk-bugs] [JIRA] (ASTERISK-25050) res_pjsip cannot load when contact is enabled for realtime

Rusty Newton (JIRA) noreply at issues.asterisk.org
Sun May 3 08:21:33 CDT 2015


     [ https://issues.asterisk.org/jira/browse/ASTERISK-25050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rusty Newton updated ASTERISK-25050:
------------------------------------

    Status: Open  (was: Triage)

> res_pjsip cannot load when contact is enabled for realtime
> ----------------------------------------------------------
>
>                 Key: ASTERISK-25050
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25050
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: 13.3.2
>         Environment: Ubuntu 14.04 - Kernel: 3.13.0-51-generic
> pjsip: 2.4
> jansson 2.7
> iksemel 1.4
> spandsp 0.0.6pre21
> dahdi 2.10.1
> Compiled with:
> ./configure --with-crypto --with-ssl --with-srtp --with-iksemel --with-pjproject --with-dahdi --with-jansson
>            Reporter: Andreas Krüger
>            Severity: Minor
>
> On a complete new install of Asterisk 13.3.2 enabling realtime for pjsip, the following error occur constant:
> Using the guideline from https://wiki.asterisk.org/wiki/display/AST/Setting+up+PJSIP+Realtime it mentions to add the following line in sorcery:
> {code}
> contact=realtime,ps_contacts
> {code}
> When this line is enabled, res_pjsip cannot load with the following output:
> {code}
> [May  2 19:47:55] ERROR[26935]: sorcery.c:774 __ast_sorcery_open: Error attempting to apply configuration res_pjsip to sorcery.
> [May  2 19:47:55] ERROR[26935]: res_pjsip/config_system.c:122 ast_sip_initialize_system: Failed to open SIP system sorcery
> [May  2 19:47:55] ERROR[26935]: res_pjsip.c:3371 load_module: Failed to initialize SIP 'system' configuration section. Aborting load
> {code}
> When `contact` is not added, everything works as expected.
> Complete output log:
> {code}
> root at odn1-voip-cluster01-asterisk04:/etc/asterisk# asterisk  -g -f
> [May  2 19:47:55] NOTICE[26935]: loader.c:1361 load_modules: 2 modules will be loaded.
> [May  2 19:47:55] NOTICE[26935]: res_odbc.c:1531 odbc_obj_connect: Connecting asterisk_read
> [May  2 19:47:55] NOTICE[26935]: res_odbc.c:1563 odbc_obj_connect: res_odbc: Connected to asterisk_read [asterisk_read]
> [May  2 19:47:55] NOTICE[26935]: res_odbc.c:923 load_odbc_config: Registered ODBC class 'asterisk_read' dsn->[asterisk_read]
> [May  2 19:47:55] NOTICE[26935]: res_odbc.c:1531 odbc_obj_connect: Connecting asterisk_write
> [May  2 19:47:55] NOTICE[26935]: res_odbc.c:1563 odbc_obj_connect: res_odbc: Connected to asterisk_write [asterisk_write]
> [May  2 19:47:55] NOTICE[26935]: res_odbc.c:923 load_odbc_config: Registered ODBC class 'asterisk_write' dsn->[asterisk_write]
> [May  2 19:47:55] NOTICE[26935]: res_odbc.c:1531 odbc_obj_connect: Connecting cdr_read
> [May  2 19:47:55] NOTICE[26935]: res_odbc.c:1563 odbc_obj_connect: res_odbc: Connected to cdr_read [cdr_read]
> [May  2 19:47:55] NOTICE[26935]: res_odbc.c:923 load_odbc_config: Registered ODBC class 'cdr_read' dsn->[cdr_read]
> [May  2 19:47:55] NOTICE[26935]: res_odbc.c:1531 odbc_obj_connect: Connecting cdr_write
> [May  2 19:47:55] NOTICE[26935]: res_odbc.c:1563 odbc_obj_connect: res_odbc: Connected to cdr_write [cdr_write]
> [May  2 19:47:55] NOTICE[26935]: res_odbc.c:923 load_odbc_config: Registered ODBC class 'cdr_write' dsn->[cdr_write]
> [May  2 19:47:55] NOTICE[26935]: res_odbc.c:1531 odbc_obj_connect: Connecting voicemail_read
> [May  2 19:47:55] NOTICE[26935]: res_odbc.c:1563 odbc_obj_connect: res_odbc: Connected to voicemail_read [voicemail_read]
> [May  2 19:47:55] NOTICE[26935]: res_odbc.c:923 load_odbc_config: Registered ODBC class 'voicemail_read' dsn->[voicemail_read]
> [May  2 19:47:55] NOTICE[26935]: res_odbc.c:1531 odbc_obj_connect: Connecting voicemail_write
> [May  2 19:47:55] NOTICE[26935]: res_odbc.c:1563 odbc_obj_connect: res_odbc: Connected to voicemail_write [voicemail_write]
> [May  2 19:47:55] NOTICE[26935]: res_odbc.c:923 load_odbc_config: Registered ODBC class 'voicemail_write' dsn->[voicemail_write]
> [May  2 19:47:55] NOTICE[26935]: res_odbc.c:1903 load_module: res_odbc loaded.
> [May  2 19:47:55] NOTICE[26935]: cdr.c:4156 cdr_toggle_runtime_options: CDR simple logging enabled.
> [May  2 19:47:55] NOTICE[26935]: loader.c:1361 load_modules: 297 modules will be loaded.
> 19:47:55.536 os_core_unix.c !pjlib 2.4 for POSIX initialized
> [May  2 19:47:55] ERROR[26935]: sorcery.c:774 __ast_sorcery_open: Error attempting to apply configuration res_pjsip to sorcery.
> [May  2 19:47:55] ERROR[26935]: res_pjsip/config_system.c:122 ast_sip_initialize_system: Failed to open SIP system sorcery
> [May  2 19:47:55] ERROR[26935]: res_pjsip.c:3371 load_module: Failed to initialize SIP 'system' configuration section. Aborting load
> [May  2 19:47:55] WARNING[26935]: res_phoneprov.c:1229 get_defaults: Unable to find a valid server address or name.
> [May  2 19:47:55] ERROR[26935]: ari/config.c:296 process_config: No configured users for ARI
> [May  2 19:47:55] WARNING[26935]: loader.c:590 load_dynamic_module: Error loading module 'res_ari_mailboxes.so': /usr/lib/asterisk/modules/res_ari_mailboxes.so: undefined symbol: stasis_app_mailbox_to_json
> [May  2 19:47:55] WARNING[26935]: loader.c:1076 load_resource: Module 'res_ari_mailboxes.so' could not be loaded.
> [May  2 19:47:55] NOTICE[26935]: res_config_ldap.c:1710 parse_config: No directory user found, anonymous binding as default.
> [May  2 19:47:55] ERROR[26935]: res_config_ldap.c:1736 parse_config: No directory URL or host found.
> [May  2 19:47:55] ERROR[26935]: res_config_ldap.c:1613 load_module: Cannot load LDAP RealTime driver.
> [May  2 19:47:55] NOTICE[26935]: chan_skinny.c:8404 config_load: Configuring skinny from skinny.conf
> [May  2 19:47:55] WARNING[26935]: chan_dahdi.c:18931 process_dahdi: Ignoring any changes to 'userbase' (on reload) at line 23.
> [May  2 19:47:55] WARNING[26935]: chan_dahdi.c:18931 process_dahdi: Ignoring any changes to 'vmsecret' (on reload) at line 31.
> [May  2 19:47:55] WARNING[26935]: chan_dahdi.c:18931 process_dahdi: Ignoring any changes to 'hassip' (on reload) at line 35.
> [May  2 19:47:55] WARNING[26935]: chan_dahdi.c:18931 process_dahdi: Ignoring any changes to 'hasiax' (on reload) at line 39.
> [May  2 19:47:55] WARNING[26935]: chan_dahdi.c:18931 process_dahdi: Ignoring any changes to 'hasmanager' (on reload) at line 47.
> [May  2 19:47:56] NOTICE[26935]: confbridge/conf_config_parser.c:2047 verify_default_profiles: Adding default_menu menu to app_confbridge
> [May  2 19:47:56] NOTICE[26935]: cel_custom.c:95 load_config: No mappings found in cel_custom.conf. Not logging CEL to custom CSVs.
> [May  2 19:47:56] WARNING[26935]: app_voicemail.c:5724 inboxcount2: Failed to obtain database object for 'asterisk'!
> [May  2 19:47:56] WARNING[26935]: app_voicemail.c:5724 inboxcount2: Failed to obtain database object for 'asterisk'!
> [May  2 19:47:56] ERROR[26935]: codec_dahdi.c:820 find_transcoders: Failed to open /dev/dahdi/transcode: No such file or directory
> ^Croot at odn1-voip-cluster01-asterisk04:/etc/asterisk#
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list