List Info

Thread: * Not working after upgrade




* Not working after upgrade
user name
2006-10-09 15:54:15
On Monday 09 October 2006 16:49, Frank Griffith wrote:
> Hans Petter Selasky <hselaskyc2i.net> wrote:  On
Monday 09 October 2006 
02:04, Frank Griffith wrote:
> > Totally whacked....my system is totally whacked. I
upgraded * from
> > 1.2.9.1 to 1.2.12.1 via the ports collection and
the audio stopped
> > working. Incoming calls do not hear anything. So I
reinstalled 1.2.9.1
> > but the problem persisted. I then turned back on
my older * server which
> > was not upgraded and everything works fine again.
But my new system will
> > not even let me put 1.2.9.1 back on again.
> >
> > The port is not doing what it should. Can anyone
offer some advice here?
>
> Have you recompiled all external channel drivers?
>
> --HPS
>
>   I'm hoping you've got something there. If by all
channels drivers you
> mean zaptel, no I did not recompile zaptel. I simply
updated my ports
> collection and then did a "make deinstall" of
* 1.2.9.1 then did a "make
> install clean" using * 1.2.12.1.
>
>   Should I deinstall and remake libpri and the other
dependencies as well?
>

Try recompiling (deinstall/remake) all external Asterisk
channel drivers, like 
zaptel, chan_capi, ... and not the libraries, after that you
install 
Asterisk. I'm not sure if it helps.

--HPS
_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSDlists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd
* Not working after upgrade
user name
2006-11-21 09:28:04
On Monday 09 October 2006 17:54, Hans Petter Selasky wrote:
> On Monday 09 October 2006 16:49, Frank Griffith wrote:
> > Hans Petter Selasky <hselaskyc2i.net> wrote:  On Monday 09 October 2006
>
> 02:04, Frank Griffith wrote:
> > > Totally whacked....my system is totally
whacked. I upgraded * from
> > > 1.2.9.1 to 1.2.12.1 via the ports collection
and the audio stopped
> > > working. Incoming calls do not hear anything.
So I reinstalled 1.2.9.1
> > > but the problem persisted. I then turned back
on my older * server
> > > which was not upgraded and everything works
fine again. But my new
> > > system will not even let me put 1.2.9.1 back
on again.
> > >
> > > The port is not doing what it should. Can
anyone offer some advice
> > > here?
> >
> > Have you recompiled all external channel drivers?
> >
> > --HPS
> >
> >   I'm hoping you've got something there. If by all
channels drivers you
> > mean zaptel, no I did not recompile zaptel. I
simply updated my ports
> > collection and then did a "make
deinstall" of * 1.2.9.1 then did a "make
> > install clean" using * 1.2.12.1.
> >
> >   Should I deinstall and remake libpri and the
other dependencies as
> > well?
>
> Try recompiling (deinstall/remake) all external
Asterisk channel drivers,
> like zaptel, chan_capi, ... and not the libraries,
after that you install
> Asterisk. I'm not sure if it helps.
>

It looks like the powerof(0) problem derives from one of
your channel drivers. 
I found that the following solved the problem with my
chan_capi:

1)

Use "ast_set_read_format()" and
"ast_set_write_format()" to initialize the 
format used, hence "chan->lastreadformat" was
uninitialized.

     fmt = ast_best_codec(fmt);
 
+    ast_set_read_format(pbx_chan, fmt);
+    ast_set_write_format(pbx_chan, fmt);
+


2)

In my bridge routine, I only forward
"AST_FRAME_VOICE" now.

But still I think asterisk has a bug, in that it cannot
handle  
"AST_FRAME_NULL", hence "f->subclass ==
0", and it is forwarded by  
"ast_write()" to
"ast_translate_write()", which causes a powerof(0)
error 
with Asterisk 1.2.12+.

--HPS
_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSDlists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )