[Home]

Summary:ASTERISK-00136: Asterisk crashes when checking for callerid in own application
Reporter:izo (izo)Labels:
Date Opened:2003-08-20 15:33:38Date Closed:2011-06-07 14:05:06
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) libpri.txt
Description:If callerid is not set ( network prohibited  ISDN E400P )
reading chan->callerid crashes asterisk





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

Debug attached
Comments:By: x martinp (martinp) 2003-08-20 18:12:32

Mark suggested you do this in asterisk.c and your application:

printf("sizeof = %d\n",sizeof(struct ast_channels));

we think that you use wrong headers for your app and asterisk.
Since I just checked the code and when there is no callerid we set zt_pvt -> callerid to ""; and then in zt_new we strdup it to ast_channels -> callerid

By: Mark Spencer (markster) 2003-08-20 18:15:40

Problem in build environment of customer