[Home]

Summary:ASTERISK-03630: [patch] pridialplan=dynamic fix prevents * startup when no libpri installed
Reporter:kuj (kuj)Labels:
Date Opened:2005-03-04 15:26:22.000-0600Date Closed:2008-01-15 15:26:57.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) zappri.txt
Description:Yesterday's fix to chan_zap.c (1.412) prevents proper start of * when no libpri is installed, resulting in this error message:

[chan_zap.so]Mar  4 14:11:50 WARNING[17304]: loader.c:301 __load_resource: /usr/lib/asterisk/modules/chan_zap.so: undefined symbol: pri_plan2str
Mar  4 14:11:50 WARNING[17304]: loader.c:509 load_modules: Loading module chan_zap.so failed!

****** ADDITIONAL INFORMATION ******

As offending function dialplan2str is only called from within code that is inside "#ifdef ZAPATA_PRI", dialplan2str itself should be inside the same #ifdef
Comments:By: Brian West (bkw918) 2005-03-04 15:30:43.000-0600

This is minor... you included a patch... but didn't mention if you have a disclaimer on file.

/b

By: kuj (kuj) 2005-03-04 15:39:38.000-0600

Disclaimer on file.

Not going to argue about minor/major. Per bug guidelines, to me this is major: " A bug which completely prevents Asterisk from operating in a method that it normally is expected to operate -- and particularly if it cannot be reasonably worked around".

By: Mark Spencer (markster) 2005-03-04 20:11:41.000-0600

Fixed in CVS head.  thanks

By: Digium Subversion (svnbot) 2008-01-15 15:26:57.000-0600

Repository: asterisk
Revision: 5139

U   trunk/channels/chan_zap.c
U   trunk/include/asterisk/sched.h

------------------------------------------------------------------------
r5139 | markster | 2008-01-15 15:26:56 -0600 (Tue, 15 Jan 2008) | 2 lines

Remove accidental libpri dependency (bug ASTERISK-3630)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=5139