[Asterisk-Dev] Big problem with lastet CVS version (at 10:26PM 9/1/2004)

Fernando Romo pop at cofradia.org
Wed Sep 1 20:35:40 MST 2004


Dear Developers:

I update few moments ago the asterisk sources and re-compile the 
project, I notice two changes in pbx.c & channels/chan_zap.c than make 
this when i receive a call from a Zap channel:

asterisk -c
Asterisk CVS-HEAD-09/01/04-22:16:51, Copyright (C) 1999-2004 Digium.
Written by Mark Spencer <markster at digium.com>
=========================================================================
[ Booting....................................    -- SIP Seeding '1000' 
at 1000 at 192.168.1.54:5060 for 3600
    -- SIP Seeding '1201' at 1201 at 200.56.66.38:5060 for 1800
........................................................................... 
]
Asterisk Ready.
*CLI>
*CLI> Sep  1 22:22:26 NOTICE[1107762096]: chan_zap.c:5069 ss_thread: Got 
event 2 (Ring/Answered)...
Sep  1 22:22:35 WARNING[-2133038160]: acl.c:216 ast_lookup_iface: Unable 
to get IP of eth0: Bad file descriptor
Sep  1 22:22:35 WARNING[-2133038160]: channel.c:311 ast_channel_alloc: 
Alert pipe creation failed!
Sep  1 22:22:35 WARNING[-2133038160]: channel.c:311 ast_channel_alloc: 
Alert pipe creation failed!
Sep  1 22:22:35 WARNING[-2133038160]: chan_local.c:452 local_new: Unable 
to allocate channel structure
Sep  1 22:22:35 NOTICE[-2133038160]: app_dial.c:231 wait_for_answer: 
Unable to create local channel for call forward to 'Local/1201 at default'
Segmentation fault

I check the code with the CVS and notice the following changes:

In channels/chan_zap.c
--------------
cvs dif -r 1.328 channels/chan_zap.c
Index: channels/chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.328
retrieving revision 1.329
diff -r1.328 -r1.329
4778c4778
<                       if (ast_exists_extension(chan, chan->context, 
exten, 1, p->callerid) && strcmp(chan->exten, ast_parking_ext())) {
---
 >                       if (ast_exists_extension(chan, chan->context, 
exten, 1, p->callerid) && strcmp(exten, ast_parking_ext())) {
---------------------------------
In pbx.c

cvs diff -r 1.147 pbx.c
Index: pbx.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx.c,v
retrieving revision 1.147
retrieving revision 1.148
diff -r1.147 -r1.148
1792a1793,1794
 >               if (option_verbose > 1)
 >                       ast_verbose( VERBOSE_PREFIX_2 "Starting %s at 
%s,%s,%d failed so falling back to exten 's'\n", c->name, c->context, 
c->exten, c->priority);
1795a1798,1799
 >                       if (option_verbose > 1)
 >                               ast_verbose( VERBOSE_PREFIX_2 "Starting 
%s at %s,%s,%d still failed so falling back to context 'default'\n", 
c->name, c->context, c->exten, c->priority);


I try in a moment to rollback the changes with the cvs and see what hapend.

Best Regards..... Fernando Romo
                           pop at cofradia.org




More information about the asterisk-dev mailing list