Hi all, i have found the two possible solution for doing RAS with Asterisk: 1) PPPD (http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+PPPD) I have downloaded the tgz proposed in the Wiki: app_pppd-060822.tgz But it do not compiler under Asterisk 1.2.9.1-BRIstuffed-0.3.0-PRE-1q. First this #if gave me an error #if (ASTERISK_VERSION_NUM >= 010400) #define ASTERISK_NEW_MODULE_INTERFACE #warning ASTERISK_NEW_MODULE_INTERFACE defined #endif root at officepbx:/usr/src/app_pppd # make dep rm -f .depend touch .depend for i in *.c; do gcc -g -Wall -O -D_ISOC99_SOURCE -D_GNU_SOURCE -I/usr/include -M $i ;done >> .depend app_pppd.c:43:6: error: invalid digit "9" in octal constant But since this is only an test for asterisk version, i my version seems to fullfill the requirement, i just commented it out (only the diff, so that the #define will be used!) After this the make dep goes through, but make does not: root at officepbx:/usr/src/app_pppd # make gcc -c -g -Wall -O -D_ISOC99_SOURCE -D_GNU_SOURCE -I/usr/include -o app_pppd.o app_pppd.c app_pppd.c:45:2: warning: #warning ASTERISK_NEW_MODULE_INTERFACE defined app_pppd.c:827: error: conflicting types for ?unload_module? /usr/include/asterisk/module.h:57: error: previous declaration of ?unload_module? was here app_pppd.c:840: error: conflicting types for ?load_module? /usr/include/asterisk/module.h:46: error: previous declaration of ?load_module? was here app_pppd.c:848: error: conflicting types for ?description? /usr/include/asterisk/module.h:75: error: previous declaration of ?description? was here app_pppd.c:861: error: conflicting types for ?key? /usr/include/asterisk/module.h:92: error: previous declaration of ?key? was here make: *** [app_pppd.o] Fehler 1 Does anyone know if app_pppd compile under Asterisk 1.2.9 ? I think this solution is quite attractive, since no zaptel patching is required ... 2) ZapRAS (http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+ZapRAS) Here one need to patch zaptel but the download link is broken: ftp://ftp.digium.com/pub/zaptel/misc/ Furthermore a Howto this all the steps would be very nice. For example the Wiki say this: - You need to apply the PPPoE patch then the Zaptel patch. Well, i have to work not very often with patch but i know that it matters what options you have to supply and the location from there you execute the command. After studying the Wiki page it seems that the patches only affect the ppp-package. Can someone explain to me why i have to re-compile zaptel? Do i have to change something there too? Why re-compile asterisk? No changes/patches in the asterisk source code are mentioned ... app_zapras.c is part of the asterisk packages, it is compiled and the .so file lies ready to use. Do i miss something that makes these recompiling necessary? After all the Link to the patches seems to be outdated: ftp://ftp.digium.com/pub/zaptel/misc/ should be changed to http://downloads.digium.com/pub/zaptel/misc/ I can do this myself the moment i got my password back for the Wiki ;) Thanks for any help/suggestions offered, Tobias Wolf
On Tue, Apr 29, 2008 at 02:36:36PM +0200, Tobias Wolf wrote:> Hi all, > > i have found the two possible solution for doing RAS with Asterisk: > > 1) PPPD (http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+PPPD) > I have downloaded the tgz proposed in the Wiki: app_pppd-060822.tgz > But it do not compiler under Asterisk 1.2.9.1-BRIstuffed-0.3.0-PRE-1q. > > First this #if gave me an error > #if (ASTERISK_VERSION_NUM >= 010400) > #define ASTERISK_NEW_MODULE_INTERFACE > #warning ASTERISK_NEW_MODULE_INTERFACE defined > #endifThis is for Asterisk 1.4 . There is bristuff for 1.4 (bristuff 0.4.x). Or, alternatively, backport it yourself... -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
Many people think ZapRAS is for modem dialin. None of the RAS stuff support modems, as far as I know. The RAS stuff in Asterisk is for networking via ISDN, rather than modem. Tzafrir Cohen wrote:> On Tue, Apr 29, 2008 at 02:36:36PM +0200, Tobias Wolf wrote: >> Hi all, >> >> i have found the two possible solution for doing RAS with Asterisk: >> >> 1) PPPD (http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+PPPD) >> I have downloaded the tgz proposed in the Wiki: app_pppd-060822.tgz >> But it do not compiler under Asterisk 1.2.9.1-BRIstuffed-0.3.0-PRE-1q. >> >> First this #if gave me an error >> #if (ASTERISK_VERSION_NUM >= 010400) >> #define ASTERISK_NEW_MODULE_INTERFACE >> #warning ASTERISK_NEW_MODULE_INTERFACE defined >> #endif > > This is for Asterisk 1.4 . There is bristuff for 1.4 (bristuff 0.4.x). > Or, alternatively, backport it yourself... >-- Consulting for Asterisk, Polycom, Sangoma, Digium, Cisco, LAN, WAN, QoS, T-1, PRI, Frame Relay, Linux, and network design. Based near Birmingham, AL. Now accepting clients worldwide.
If you want to do RAS (modem or data) I would suggest going with a Portmaster PM3(Livingston, then purchased by Lucent, They are reliable and pretty cheap. You can use Asterisk to route the calls into it if you use a two port card. You can find them at www.portmasters.com pm-3a-2t-r PM-3A-2T w/48 56k v.90 modems $395.00 $400.00 it will save you more in time and aggravation. Alex> -----Original Message----- > From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users- > bounces at lists.digium.com] On Behalf Of Eric Wieling > Sent: Tuesday, April 29, 2008 11:09 AM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [asterisk-users] RAS with Asterisk and PRI > > Many people think ZapRAS is for modem dialin. None of the RAS stuff > support modems, as far as I know. The RAS stuff in Asterisk is for > networking via ISDN, rather than modem. > > Tzafrir Cohen wrote: > > On Tue, Apr 29, 2008 at 02:36:36PM +0200, Tobias Wolf wrote: > >> Hi all, > >> > >> i have found the two possible solution for doing RAS with Asterisk: > >> > >> 1) PPPD (http://www.voip- > info.org/wiki/index.php?page=Asterisk+cmd+PPPD) > >> I have downloaded the tgz proposed in the Wiki: app_pppd-060822.tgz > >> But it do not compiler under Asterisk1.2.9.1-BRIstuffed-0.3.0-PRE-1q.> >> > >> First this #if gave me an error > >> #if (ASTERISK_VERSION_NUM >= 010400) > >> #define ASTERISK_NEW_MODULE_INTERFACE > >> #warning ASTERISK_NEW_MODULE_INTERFACE defined > >> #endif > > > > This is for Asterisk 1.4 . There is bristuff for 1.4 (bristuff0.4.x).> > Or, alternatively, backport it yourself... > > > > -- > Consulting for Asterisk, Polycom, Sangoma, Digium, Cisco, LAN, WAN,QoS,> T-1, PRI, Frame Relay, Linux, and network design. Based near > Birmingham, AL. Now accepting clients worldwide. > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
Eric Wieling schrieb:> Many people think ZapRAS is for modem dialin. None of the RAS stuff > support modems, as far as I know. The RAS stuff in Asterisk is for > networking via ISDN, rather than modem. > >This is exactly what we want ZapRAS to use for ;) Maybe anyone can enlighten me in answering my questions according ZapRAS, or are they too trivial ;) Have i overlooked some useful source of information ?> Tzafrir Cohen wrote: > >> On Tue, Apr 29, 2008 at 02:36:36PM +0200, Tobias Wolf wrote: >> >>> Hi all, >>> >>> i have found the two possible solution for doing RAS with Asterisk: >>> >>> 1) PPPD (http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+PPPD) >>> I have downloaded the tgz proposed in the Wiki: app_pppd-060822.tgz >>> But it do not compiler under Asterisk 1.2.9.1-BRIstuffed-0.3.0-PRE-1q. >>> >>> First this #if gave me an error >>> #if (ASTERISK_VERSION_NUM >= 010400) >>> #define ASTERISK_NEW_MODULE_INTERFACE >>> #warning ASTERISK_NEW_MODULE_INTERFACE defined >>> #endif >>> >> This is for Asterisk 1.4 . There is bristuff for 1.4 (bristuff 0.4.x). >> Or, alternatively, backport it yourself... >> >> > >-- Tobias Wolf Leiter Softwareentwicklung / Kommunikationsl?sungen Evision GmbH Wittekindstr. 105 44139 Dortmund Tel: +49 (0)231 - 47790 307 Fax: +49 (0)231 - 47790 500 http://www.evision.de This electronic mail transmission and any accompanying attachments contain confidential information intended only for the use of the individual or entity named above. Any dissemination, distribution, copying or action taken in reliance on the contents of this communication by anyone other than the intended recipient is strictly prohibited. If you have received this communication in error please immediately delete the E-mail and notify the sender at the above E-mail address. Thank you. H?vener & Trapp Evision GmbH, Dortmund - HRB Nr.12477, Registergericht Dortmund - Gesch?ftsf?hrer Christoph Begall
Alexander Lopez schrieb:> If you want to do RAS (modem or data) I would suggest going with a > Portmaster PM3(Livingston, then purchased by Lucent, They are reliable > and pretty cheap. You can use Asterisk to route the calls into it if you > use a two port card. > > > You can find them at www.portmasters.com > pm-3a-2t-r PM-3A-2T w/48 56k v.90 modems $395.00 > $400.00 it will save you more in time and aggravation. > > >Another solution that i thought of, was just to use an ordinary ISDN Card like an AVM!Fritz. Configure the pppd for this card, plug an cable from the Fritz to my Junghans Card. This is not very elegant, but cheap and saves one the hazzle with patching software that runs smoothly or has to be upgraded ... regards -- Tobias Wolf Leiter Softwareentwicklung / Kommunikationsl?sungen Evision GmbH Wittekindstr. 105 44139 Dortmund Tel: +49 (0)231 - 47790 307 Fax: +49 (0)231 - 47790 500 http://www.evision.de This electronic mail transmission and any accompanying attachments contain confidential information intended only for the use of the individual or entity named above. Any dissemination, distribution, copying or action taken in reliance on the contents of this communication by anyone other than the intended recipient is strictly prohibited. If you have received this communication in error please immediately delete the E-mail and notify the sender at the above E-mail address. Thank you. H?vener & Trapp Evision GmbH, Dortmund - HRB Nr.12477, Registergericht Dortmund - Gesch?ftsf?hrer Christoph Begall
Tzafrir Cohen schrieb:> On Tue, Apr 29, 2008 at 02:36:36PM +0200, Tobias Wolf wrote: > >> Hi all, >> >> i have found the two possible solution for doing RAS with Asterisk: >> >> 1) PPPD (http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+PPPD) >> I have downloaded the tgz proposed in the Wiki: app_pppd-060822.tgz >> But it do not compiler under Asterisk 1.2.9.1-BRIstuffed-0.3.0-PRE-1q. >> >> First this #if gave me an error >> #if (ASTERISK_VERSION_NUM >= 010400) >> #define ASTERISK_NEW_MODULE_INTERFACE >> #warning ASTERISK_NEW_MODULE_INTERFACE defined >> #endif >> > > This is for Asterisk 1.4 . There is bristuff for 1.4 (bristuff 0.4.x). > Or, alternatively, backport it yourself... > >Ahh, thanks ... good to know ... i misinterpreted the source code as 1.04 and not as 1.4. maybe i will take a go at the bristuff for asterisk 1.4 regards, -- Tobias Wolf Leiter Softwareentwicklung / Kommunikationsl?sungen Evision GmbH Wittekindstr. 105 44139 Dortmund Tel: +49 (0)231 - 47790 307 Fax: +49 (0)231 - 47790 500 http://www.evision.de This electronic mail transmission and any accompanying attachments contain confidential information intended only for the use of the individual or entity named above. Any dissemination, distribution, copying or action taken in reliance on the contents of this communication by anyone other than the intended recipient is strictly prohibited. If you have received this communication in error please immediately delete the E-mail and notify the sender at the above E-mail address. Thank you. H?vener & Trapp Evision GmbH, Dortmund - HRB Nr.12477, Registergericht Dortmund - Gesch?ftsf?hrer Christoph Begall