logs archiveIRC Archive / Undernet / #gentoo / 2006 / February / 25 / 1
HeppyCat
danke Freman
zaei
C coroutines.
That's kinda scary.
Freman
a flow chat would help better understand it... but it's not that hard to follow
the [bits] are sections
but you already know that (c:
I'm getting ready to explain the whole asterisk process to a debian man who is with debian cos he's to old to learn gentoo
zaei
How can you be too old to learn gentoo?
Freman
(Action) shrugs
he says "If we're going to build and sell asterisk boxes I want to do them in debian cos I understand it" I'm like... "Should do it in gentoo cos you're not qualified to touch asterisk"
HeppyCat
no no
im so not a debian mab
man
it was just the fastest thing i could put on the box
it was sunday, i had to be able to receive calls monday morning
i got gentoo running on my sparc goddamnit
just not asterisk ;)
zaei
I'm afraid to compile this.
pinkerton
lol
Freman
meh
I'm supprized pennytel have customers
theyr recharge process is like windows xp activation process
fkn hard work
         

zaei
Wow.
It worked.
Neat.
Coroutines in C.
theBear
hey zaei ! what does BV(RXCIE)|BV(TXCIE)|BV(RXEN) (in c, only part of the line, the ones is brackets are variables/register locations.... what is the BV and the pipes doing ?)
HeppyCat
i pay my provider through paypal
its pretty much instant
zaei
If that's C, BV is a function call, the | is the bitwise OR operation.
Of course, BV could be a macro.
| could be a macro.
RXCIE, et al could be macros.
theBear
hmmm... function call eh ? macro eh ? i think its probly bitwise or.... hmmm.... nah... the rx tx blah stuff is definately bits in a register
its all done in the .h file
hmm.... this is sh*tty
hmmm.. hmm.... an ifdef UCSRB , #define UCR UCSRB in a .h file will set UCR to UCSRB which i would have defined in a program that includes this stuff ?
stupid libraries ! i've just got ZERO idea how all this sh*t works with each other
zaei
#define UCR UCSRB essentially replaces any occurence of UCR with WCSRB.
HeppyCat
ok, i tihnk im supposed to pass something special to my provider to make this thing work
theBear
yeah, and if this is an included .h then i can set UCSRB in the main program and it will work ?
zaei
I've got no idea what you are doing =>
HeppyCat
call rejected: no authority found
theBear
me too :)
Viza
zaei, what's the difference between logical OR & bitwise OR?
theBear
this stuff is complicated... no wonder you spend so much time fu*king with it
gregthekeg
ass head
HeppyCat
ass butt
zaei
Viza: 00110010 | 11010001 = 11110011
00110010 || 11010001 == 1
Viza
zaei, oO
ah i see
zaei
Make sense?
Viza
in the first one, the 1 bits in both are merged, in the second, !0 = true ?
HeppyCat
zaei: lay off the pipe
         

zaei
Viza: Exactly.
Viza
ok cool, ty :)
theBear
zaei is the god of C
zaei
=P
HeppyCat
well, freenode #asterisk sure was helpful
they told me to turn on debug and see what args were being passed
and then werent interested in what those args were
ok im takin a break from this damn thing. guess i'll work on ym sister's laptop some
ectospasm
what asterisk problems were you having?
HeppyCat
cant get an outgoing call to work
im registered iax@nufone
Dial(${IAX01}/${EXTEN})
and i get call rejected: no authority found
ectospasm
What's in the variable ${IAX01}?
HeppyCat
IAX2/user:pass@switch-2.nufone.net
ectospasm
Oh, you need a protocol... like Dial(IAX2/${IAX01}/${EXTEN})
assuming iax.conf is configured correctly...
HeppyCat
the protocol is in the variable
ectospasm
I'm not sure if you can do that...
HeppyCat
i have to specify it twice?
ectospasm
At least, when I was making IAX2 connections I didn't do it that way...
HeppyCat
do i specify the context listed in iax.conf?
or is it just PROTOCOL/hostname
ectospasm
Yeah, it's be something like Dial(IAX2/${IAX_CONF_CONTEXT}/${EXTEN})
IIRC, it's been a while since I've looked at it.
There's actually a couple of different ways to do it.
HeppyCat
oh that didnt work at all
ectospasm
Are you using 1.0 or 1.2?
HeppyCat
1.0
ectospasm
Don't listen to anything I say then, I was working with CVS-HEAD prior to the release of 1.2, and then 1.2 after it was released...
HeppyCat
haha
well thanks
=)
ectospasm
So my config was all 1.2
Gurkan
-_-
ectospasm
Are you married to 1.0?
HeppyCat
i really think ive got that line right
well kinda
dont thikn 1.2 works on sparc yet
ectospasm
Ah, gotcha
HeppyCat
even though im running on a pc right onw
havent been able to actually get it to run yet on the sparc
but i had to be able to take incoming calls immediately, so i setup a pc
and i can receive calls just fine
plan is after i get everything setup in a semi functional manner, i can work on gettin the damn thing to run on the sparc, then copy the configs over
Gurkan
Oh good, Captain Adventure has arrived.
HeppyCat
GARGH
zaei
ARG!
GRR!
Gwydion-: Get your DDO headstart key?
HeppyCat
curses
ok
im doing this sh*t right
ive got to be
zaei
NCURSES!
*chuckle*
I love logging into school, and using the names of files people are editing to find out what classes they are in.
HeppyCat
fu*king sure im doing this right
tyvek
so fu*king am i
zaei
Brendon Offerman is in CMSC202.
And Alexandra Menton is in CMSC201.
tyvek
um okies
zaei
The number of females in CMSC courses drops linearly with the course number.
There are no women in my CMSC411 class.
tyvek
Im sure
Gurkan
YOU'RE sure? feel these nipples!
zaei
I'm Gurkan!
shahid shahid ... guru
Haha.
Gurkan
take me to the meat
tyvek
Gurkan: you need to sit on your own penis
zaei
That guy thinks he's slick changing his finger info.
tyvek
nothing like getting "toasted" after you give plasma
Freman
sh*t, time flys when you're hacking
(Action) debates whether to rush to the shops or not
zaei
Yes it does =)
HeppyCat
NCURSES!
zaei
Hrmz.
This parallelism stuff is interesting.
HeppyCat
ok
i am very sure the problem is not on my end
now if only i could catch someone online to fix it...
Tuluthrar
what's up happycat?
HeppyCat
asterisk iax to nufone
Tuluthrar
?
HeppyCat
know what asterisk is?
Tuluthrar
*
theBear
heh
HeppyCat
heh
Tuluthrar
heh no
but i will if you tell me
;)
HeppyCat
voip pbx
1 2 3 4 5 next »