Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  3 Mar 98 12:57:07 +0100
From:      David Wetzel <dave@turbocat.de>
To:        freebsd-isdn@FreeBSD.ORG
Subject:   AM in C
Message-ID:  <199803031157.MAA00499@luigi.turbocat.de>

next in thread | raw e-mail | index | archive | help
Hi!

This AM works far better for me than the /bin/sh (or ksh) script.
The alaw2ulaw is not needed, but I was to lazy to read the docs
after discovering a crashed machine this night.

The next thing I will build in is configfile support.
---
   _  _
 _(_)(_)_  David Wetzel, Turbocat's Development,
(_) __ (_) Buchhorster Strasse, D-16567 Muehlenbeck/Berlin, FRG,
  _/  \_   Fax +49 33056 82835 NeXTmail dave@turbocat.de
 (______)  http://www.turbocat.de/
           DEVELOPMENT * CONSULTING * ADMINISTRATION
           WATCH OUT FOR TURBOFAX for OPENSTEP!

begin 644 answer.c
M+R\@5'5E($UA<B`@,R`P,CHT,CHQ-"!-150@,3DY."`)9&%V94!T=7)B;V-A
M="YD90HO+R!S=&%R=&5D"@HC9&5F:6YE($),2U]325I%"3(P-#@*(V1E9FEN
M92!33U@)"2(O=7-R+VQO8V%L+V)I;B]S;W@B"B-D969I;F4)04Q!5U5,05<)
M(B]U<W(O;&]C86PO8FEN+V%L87<R=6QA=R(*"B-I;F-L=61E(#QS=&1I;RYH
M/@HC:6YC;'5D92`\=&EM92YH/@H*"49)3$4)*F1E=FEC93L*"49)3$4)*FQO
M9V9I;&4["@EC:&%R"7-R8TYU;5LS,%T["@EC:&%R"61E<W1.=6U;,S!=.PH)
M8VAA<B!A<F=B=69;,C4U73L*"6-H87(@=&UP0G5F6S$P,C1=(#T@(B(["@H*
M=F]I9"!W<FET951O4&AO;F4@*&-H87(@*G!A=&@I"GL*"6-H87(@"6)U9EM"
M3$M?4TE:15T["@E&24Q%"2IS<F-F:6QE.PH):6YT"0EI(#T@,#L*"6EN=`D)
M<F5A9&-O=6YT(#T@,#L*"@ES<F-F:6QE(#T@9F]P96XH<&%T:"PB<B(I.PH)
M:68@*'-R8V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To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isdn" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803031157.MAA00499>