Carl Karsten | 1 Jul 19:58 2005

make install bug

yate09 cvs,
./automake
./configure
make
make install

carl <at> tsp1:~/src/yate/clients$ ./yate-gtk
./yate-gtk: error while loading shared libraries: libyate.so.0.9.0: cannot open 
shared object file: No such file or directory

It is here:
/usr/local/lib/libyate.so.0.9.0

It just doesn't get added to /etc/ld.so.conf

Carl K

Maciek Kaminski | 1 Jul 21:35 2005
Picon

Yate09 drops core when extmodule attaches sources fast

Hi,
Yate09 drops core when extmodule attaches sources fast. See yate log and 
backtrace bellow.

Yate log:
ExtModReceiver   ALL processLine 
'%%>message:1120246337.182465:1120246337:chan.attach::source=wave/play//home/maciejka/projekty/9/yate/sounds/digits/pl/6.gsm'
ExtModReceiver   ALL Created message 0x805bb60 'chan.attach' [0x8059f38]
Message Sniffer  ALL 'chan.attach' time=2902086208 thread=0x8059fe8 
data=0x8055528 retval='(null)'
  param['source'] = 
'wave/play//home/maciejka/projekty/9/yate/sounds/digits/pl/6.gsm'
YateEngine       ALL 
WaveSource::WaveSource("/home/maciejka/projekty/9/yate/sounds/digits/pl/6.gsm",0x8055528) 
[0x805cf20]
 >>> DataTranslator::detachChain(0x8056ab0,0x805a348)
<<< DataTranslator::detachChain
YateEngine       ALL WaveSource::~WaveSource() [0x8056ab0] total=165 
stamp=800
YateEngine      INFO WaveSource rate=1707 b/s
Yate Engine      ALL ExtMod [0x8059f38] message 'chan.dtmf' [0x80538a0] 
returning true
YateEngine       ALL WaveSource [0x8056ab0] end of data [0x8055528] [(null)]
Yate Engine      ALL DataTranslator::attachChain [0x805cf20] "gsm" -> 
[0x805a348] "gsm" succeeded
ExtModReceiver   ALL outputLine 
'%%<message:1120246337.182465:true:chan.attach::source=wave/play//home/maciejka/projekty/9/yate/sounds/digits/pl/6.gsm'
YateEngine      INFO IAX DTFM inside a call: 54 [0x8054270]
Message Sniffer  ALL 'chan.dtmf' time=1120246337319995 thread=0x8053358 
data=(nil) retval='(null)'
(Continue reading)

Diana Cionoiu | 1 Jul 21:51 2005
Picon

Re: make install bug

Hello Carl,

This is why we have ./run-gtk .

Diana

> yate09 cvs,
> ./automake
> ./configure
> make
> make install
> 
> carl <at> tsp1:~/src/yate/clients$ ./yate-gtk
> ./yate-gtk: error while loading shared libraries: libyate.so.0.9.0: cannot open 
> shared object file: No such file or directory
> 
> It is here:
> /usr/local/lib/libyate.so.0.9.0
> 
> It just doesn't get added to /etc/ld.so.conf
> 
> Carl K
> 

Maciek Kaminski | 4 Jul 09:52 2005
Picon

echochannel module

Echo channel module. Is echos backs what it send to it.

At the moment it uses default(slin) format. As it simply shuffles data 
blocks it should use peer format. Question is how to do it for 
call.execute(chan.attach is simpler I suppose).

mk
Attachment (echochan.cpp): text/x-c++src, 4869 bytes
Maciek Kaminski | 4 Jul 09:57 2005
Picon

tts module

TTS module. It is an interface to Festival TTS engine(http://www.cstr.ed.ac.uk/projects/festival/).
Festival server should be started manualy(festival_server). It accepts two forms of source
descriptions: 
tts/Hello, Welcome to yate 
than default voice is used and: 
tts/voice_kal_diphone/Hello, Welcome to yate
than voice kal_diphone is used.

mk

Attachment (tts.cpp): text/x-c++src, 10 KiB
Maciek Kaminski | 4 Jul 10:07 2005
Picon

rmodule

Rmodule. TCP interface for yate: gives extmodule functionality over TCP, 
- implicit channel, + ability to watch events and insert arbitrary 
callendpoints. It also has experimental ability to start external 
process and comunicate with it through pipes.
dumbchannel.cpp - dumb channel for rmodule to have something to attach to.

mk

Attachment (dumbchan.cpp): text/x-c++src, 4302 bytes
Attachment (rmodule.cpp): text/x-c++src, 20 KiB
Attachment (hashtable.h): text/x-chdr, 1555 bytes
Attachment (HashTable.cpp): text/x-c++src, 3831 bytes
Maciek Kaminski | 4 Jul 10:29 2005
Picon

yaypm

YAYPM - Yet Another Yate Python Module.

It is based on Twisted asynchronous framework, allows to program in 
"Twisted style" with defereds and as a bonus, with little help of python 
generators, to "flatten" message loops efficiently. With twisted 
asynchronous implementation of network protocols it makes powerful 
prototyping tool. As an example here is a code sniplet that reads your 
email:

def attachAndWaitForNotify(yate, targetid, source):

    yield yate.dispatch(Message(
        type = "message", name = "chan.attach",
        attrs = {"userData": targetid,
                 "notify": targetid,
                 "source": source}))
    getResult()

    yield yate.onmsg("chan.notify", lambda m : m.attrs["targetid"] == 
targetid)
    yate.ret(getResult(), True)

def handle(yate, callid, targetid):

    logger.debug("imap.py")

    yield go(attachAndWaitForNotify(yate, targetid, 
"tts/voice_cstr_pl_em_diphone/Witaj w czytniku poczty elektronicznej"))
    getResult()   

(Continue reading)

Maciek Kaminski | 4 Jul 11:04 2005
Picon

transfer module

Low level transfers implmentation. Module introduces two kinds of messages:
call.transfer - transfers both ends of a call from userData() to 
transferto1 and transferto2. On success sets transferedtargetid1 and 
transferedtargetid2 to ids of destination channels.
call.connect - connects _existing_ channels of ids: id1 and id2

It uses HashTable.cpp. You will find it in rmodule email.

mk
Attachment (transfer.cpp): text/x-c++src, 5592 bytes
Maciek Kaminski | 4 Jul 11:11 2005
Picon

glue module

Rather experimental(two days old) pseudo channel that glues variuos data 
sources into one channel. For example:
glue/wave/play/./subject.gsm+tts/Very complicated subject
Would play subject.gsm from wave module and utterance from tts module.
Attachment (glue.cpp): text/x-c++src, 7719 bytes
Maciek Kaminski | 4 Jul 11:58 2005
Picon

yaypm - once again

YAYPM - Yet Another Yate Python Module.

It is based on Twisted asynchronous framework, allows to program in 
"Twisted style" with defereds and as a bonus, with little help of python 
generators, to "flatten" message loops efficiently. With twisted 
asynchronous implementation of network protocols it makes powerful 
prototyping tool. As an example here is a code sniplet that reads your 
email:

def attachAndWaitForNotify(yate, targetid, source):

   yield yate.dispatch(Message(
       type = "message", name = "chan.attach",
       attrs = {"userData": targetid,
                "notify": targetid,
                "source": source}))
   getResult()

   yield yate.onmsg("chan.notify", lambda m : m.attrs["targetid"] == 
targetid)
   yate.ret(getResult(), True)

def handle(yate, callid, targetid):

   logger.debug("imap.py")

   yield go(attachAndWaitForNotify(yate, targetid, 
"tts/voice_cstr_pl_em_diphone/Witaj w czytniku poczty elektronicznej"))
   getResult()  
   yield go(connect("mail.tiger.com.pl", "maciejka", "xxxxx"))
(Continue reading)


Gmane