From: David S. <dy...@os...> - 2002-10-28 19:44:08
|
What are the proper names P_xxx names for CAS and other non-isdn t1 span card protocols? I am right now building up a globalcall config system on top of the current driver... On Mon, 28 Oct 2002, Gilmore, Gerry wrote: > > Range of network device names, are they always going to be > N_dtiBxCy ? What are other possibilities. > > For all digital (T1/E1) cards, the network device name (:N_ parameter) is > always of the form: dtiBxTy where 'x' is the span number and 'y' is either > 23,24 or 30, depending on whether it's T1 or E1 and CAS or ISDN. Actually, > you can use the ATDV_SUBDEVS() function to get the 24 vs. 30 info. for each > board. > > For analog, it's a bit funny in that the network device name is listed by > the :V_ parameter. So, for example, a single 4-port system fro North > American analog protocol would pass (:V_dxxxB1C1:P_na_an_io) to gc_Open(). > > > Number of device ports/timeslots that need to be opened for a > "span" by a protocol name > For T1 CAS, it's 24. For T1 ISDN, it's 23. For E1, it's 30. > > Gerry > > Gerry Gilmore > Field Applications Engineer > Intel Corporation > Intel Communication Sales Organization > phone: 770-619-5909 x105 > fax: 770-619-5889 > email: Ger...@in... > http://www.intel.com > > > > -----Original Message----- > From: David Sugar [mailto:dy...@os...] > Sent: Monday, October 28, 2002 2:12 PM > To: Gilmore, Gerry > Cc: Sean Bruno - TELECOM; bay...@li... > Subject: RE: [Bayonne-dialogic] Dynamic Protocol Detection under Global > Ca ll > > > > As soon as I can get some verification that the current driver works, I > think I will try to do a programmable config file. Here is what I need to > know: > > Range of network device names, are they always going to be > N_dtiBxCy ? What are other possibilities. > > Number of device ports/timeslots that need to be opened for a > "span" by a protocol name > > In addition, I may need to define a span "type", at least for digital span > cards, since they can be E1, T1, or even BRI based spans, and that is not > clear from the network protocol string alone. > > On Mon, 28 Oct 2002, Gilmore, Gerry wrote: > > > You're right, David....There's no good, rock-solid way to auto-detect. The > > best way is to use a config file which would include: > > > > Network device name (such as dtiB1T1) > > Protocol string (as used by gc_Open) > > Voice Resource device name (if needed by protocol - CAS and analog, > > specifically) > > > > To keep the config file length manageable, you *could* use the board-level > > device name (such as dtiB1), protocol, etc., since you'll almost always be > > using the same protocol on all channels of a board (logical span, > actually). > > > > Gerry > > > > > > Gerry Gilmore > > Field Applications Engineer > > Intel Corporation > > Intel Communication Sales Organization > > phone: 770-619-5909 x105 > > fax: 770-619-5889 > > email: Ger...@in... > > http://www.intel.com > > > > > > > > -----Original Message----- > > From: David Sugar [mailto:dy...@os...] > > Sent: Monday, October 28, 2002 1:48 PM > > To: Sean Bruno - TELECOM > > Cc: Gerry Gilmore; bay...@li... > > Subject: Re: [Bayonne-dialogic] Dynamic Protocol Detection under Global > > Call > > > > > > > > We could move this stuff into the config file and in fact, I want to, > > since Mark originally hardcoded the configuration. However, I do not know > > > of any way we can do a complete auto-detect. > > > > On 28 Oct 2002, Sean Bruno - TELECOM wrote: > > > > > Is there an accepted method for "auto" detecting what procol the machine > > > is set up to use so that the gc_open(); doesn't have the protocol > > > "hardcoded" into it? > > > > > > example: > > > sprintf(devmap[i].devname, ":N_dtiB1T%d:P_ISDN", i + 1); > > > sprintf(devmap[i].voicedev, "dxxxB%dC%d", card, vox); > > > slog(Slog::levelDebug) << "opening " << devmap[i].devname << ", > > > suggesting " << devmap[i].voicedev << "for vox" << endl; > > > if(gc_OpenEx(&devmap[i].linedev, devmap[i].devname, EV_SYNC, > > > > > > Can we pull the protocol "P_ISDN" out of a config file or something? > > > > > > On Mon, 2002-10-28 at 06:28, Gilmore, Gerry wrote: > > > > You apparently have specified the board-level device "dxxxB1" rather > > than > > > > the channel-level device "dxxxB1C1" (or dxxxB1C2, etc.) > > > > > > > > > > > > Gerry Gilmore > > > > Field Applications Engineer > > > > Intel Corporation > > > > Intel Communication Sales Organization > > > > phone: 770-619-5909 x105 > > > > fax: 770-619-5889 > > > > email: Ger...@in... > > > > http://www.intel.com > > > > > > > > > > > > > > > > -----Original Message----- > > > > From: Rogier Mars [mailto:ro...@xs...] > > > > Sent: Sunday, October 27, 2002 6:26 PM > > > > To: bay...@li... > > > > Cc: ro...@fo... > > > > Subject: [Bayonne-dialogic] dialogic d21/d card failed to go onhook > > > > > > > > > > > > Hi, > > > > > > > > I've been using your list to configure the dialogic driver for linux > and > > the > > > > bayonne package. after some trouble with the driver hanging the system > > > > (which seems to have been caused by irq conflicts), the driver looks > > okay > > > > now. > > > > > > > > only when I start a demo program, I get an error message: > > > > ------------------------------------ > > > > D/xxx Customer Service Demonstration Program Version 97.08 > > > > Copyright (c) 1988-1997 Dialogic Corporation > > > > ALL RIGHTS RESERVED > > > > WARNING: sr_putstop: dxxxB1 not ready for command! > > > > ./custserv: dxxxB1 now in use > > > > ./custserv: using dxxxB1 failed to go onhook. > > > > Interrupted system call > > > > ------------------------------------ > > > > > > > > Is this a hardware problem or is this a misconfiguration? > > > > I've seen one document on the internet that had some info about this > > > > message, and it said to increase the timeout from 1 to 10 seconds, > only > > it > > > > did not state what timeout or in which file that was. > > > > > > > > Is there anyone that has had the same error message, and knows a > > solution? > > > > > > > > thanks, > > > > > > > > rogier > > > > > > > > > > > > I've included configuration data below: > > > > > > > > ------------------------------------ > > > > > > > > ################################### > > > > # # > > > > # DIALOGIC CONFIGURATION FILE # > > > > # # > > > > ################################### > > > > > > > > > > > > > > > > > > > > > > > > > > > > [Genload - All Boards] > > > > LogFile=genload.log > > > > D41DAddress = D0000 > > > > BusType=None > > > > PCMEncoding=ULAW > > > > [Genload - Address D0000] /* D/XXD */ > > > > PCMEncoding=ULAW > > > > ---------------------------------------------------- > > > > .sbairq > > > > 6 > > > > ---------------------------------------------------- > > > > .mastercfg > > > > 00200 vox sram 1 2 > > > > 00201 ant an 1 0 > > > > ---------------------------------------------------- > > > > /proc/interrupts > > > > CPU0 > > > > 0: 12826 XT-PIC timer > > > > 1: 676 XT-PIC keyboard > > > > 2: 0 XT-PIC cascade > > > > 11: 0 XT-PIC eth0 > > > > 14: 1345 XT-PIC ide0 > > > > 15: 5 XT-PIC ide1 > > > > NMI: 0 > > > > LOC: 0 > > > > ERR: 0 > > > > MIS: 0 > > > > ---------------------------------------------------- > > > > /proc/ioports > > > > 0000-001f : dma1 > > > > 0020-003f : pic1 > > > > 0040-005f : timer > > > > 0060-006f : keyboard > > > > 0080-008f : dma page reg > > > > 00a0-00bf : pic2 > > > > 00c0-00df : dma2 > > > > 00f0-00ff : fpu > > > > 0170-0177 : ide1 > > > > 01f0-01f7 : ide0 > > > > 02f8-02ff : serial(set) > > > > 0376-0376 : ide1 > > > > 03c0-03df : vga+ > > > > 03f6-03f6 : ide0 > > > > 03f8-03ff : serial(set) > > > > 0cf8-0cff : PCI conf1 > > > > 6000-600f : VIA Technologies, Inc. Bus Master IDE > > > > 6000-6007 : ide0 > > > > 6008-600f : ide1 > > > > 6200-621f : Realtek Semiconductor Co., Ltd. RTL-8029(AS) > > > > 6200-621f : ne2k-pci > > > > ---------------------------------------------------- > > > > /proc/iomem > > > > 00000000-0009ffff : System RAM > > > > 000a0000-000bffff : Video RAM area > > > > 000c0000-000c7fff : Video ROM > > > > 000f0000-000fffff : System ROM > > > > 00100000-03ffffff : System RAM > > > > 00100000-002268a5 : Kernel code > > > > 002268a6-002a221f : Kernel data > > > > e0000000-e07fffff : Matrox Graphics, Inc. MGA 2064W [Millennium] > > > > e0800000-e0803fff : Matrox Graphics, Inc. MGA 2064W [Millennium] > > > > ffff0000-ffffffff : reserved > > > > ---------------------------------------------------- > > > > Starting ORB Event Server: > > > > Starting Orbacus4 nameserv: > > > > ---------------------------------------------------- > > > > Warning: loading /lib/modules/2.4.19/misc/streams-dlgnDriver.o will > > taint > > > > the kernel: no license > > > > Warning: loading /lib/modules/2.4.19/misc/streams-dlgnDriver.o will > > taint > > > > the kernel: forced load > > > > Using /lib/modules/2.4.19/misc/streams-dlgnDriver.o > > > > Warning: kernel-module version mismatch > > > > /lib/modules/2.4.19/misc/streams-dlgnDriver.o was compiled for kernel > > > > version 2.4.9-12 > > > > while this kernel is version 2.4.19 > > > > Warning: loading /lib/modules/2.4.19/misc/streams-gncfdDriver.o will > > taint > > > > the kernel: no license > > > > Warning: loading /lib/modules/2.4.19/misc/streams-gncfdDriver.o will > > taint > > > > the kernel: forced load > > > > Using /lib/modules/2.4.19/misc/streams-gncfdDriver.o > > > > Warning: kernel-module version mismatch > > > > /lib/modules/2.4.19/misc/streams-gncfdDriver.o was compiled for kernel > > > > version 2.4.9-12 > > > > while this kernel is version 2.4.19 > > > > Warning: loading /lib/modules/2.4.19/misc/streams-gpioDriver.o will > > taint > > > > the kernel: no license > > > > Warning: loading /lib/modules/2.4.19/misc/streams-gpioDriver.o will > > taint > > > > the kernel: forced load > > > > Using /lib/modules/2.4.19/misc/streams-gpioDriver.o > > > > Warning: kernel-module version mismatch > > > > /lib/modules/2.4.19/misc/streams-gpioDriver.o was compiled for kernel > > > > version 2.4.9-12 > > > > while this kernel is version 2.4.19 > > > > Warning: loading /lib/modules/2.4.19/misc/streams-sctmrDriver.o will > > taint > > > > the kernel: no license > > > > Warning: loading /lib/modules/2.4.19/misc/streams-sctmrDriver.o will > > taint > > > > the kernel: forced load > > > > Using /lib/modules/2.4.19/misc/streams-sctmrDriver.o > > > > Warning: kernel-module version mismatch > > > > /lib/modules/2.4.19/misc/streams-sctmrDriver.o was compiled for kernel > > > > version 2.4.9-12 > > > > while this kernel is version 2.4.19 > > > > Warning: loading /lib/modules/2.4.19/misc/streams-dvbmDriver.o will > > taint > > > > the kernel: no license > > > > Warning: loading /lib/modules/2.4.19/misc/streams-dvbmDriver.o will > > taint > > > > the kernel: forced load > > > > Using /lib/modules/2.4.19/misc/streams-dvbmDriver.o > > > > Warning: kernel-module version mismatch > > > > /lib/modules/2.4.19/misc/streams-dvbmDriver.o was compiled for kernel > > > > version 2.4.9-12 > > > > while this kernel is version 2.4.19 > > > > Dialogic Generic Downloader Version 5.10 (Build 12) > > > > Copyright (c) 1992-2000 by Dialogic Corp. > > > > Using /usr/dialogic/cfg/dialogic.cfg to configure Dialogic Boards > > > > System Download ............................................ > > > > D/21D (addr D000) Download .. d4x Firmware Version 6.53 Build > 0028.0002 > > > > 1 Dialogic Board Successfully Installed > > > > Dialogic NFAS Configuration Program > > > > Version 2.0 > > > > Linux 2.x.x > > > > Copyright (c) 2001 Intel Corp. > > > > ALL RIGHTS RESERVED > > > > Add SW Devices .... > > > > REGVOX: # > > > > REGVOX: # Dialogic Generic Configuration File > > > > REGVOX: # > > > > REGVOX: # > > > > REGVOX: # Total number of virtual boards - 1 > > > > REGVOX: # > > > > REGVOX: > > > > REGVOX: # > > > > REGVOX: # Board Type - D/21D > > > > REGVOX: # > > > > REGVOX: dxxxB1 2 1 C D0000 2000 0 D4X 3 > > > > Add SW Devices Done > > > > Dialogic SCSA Transmit Timeslot Assignment Program > > > > Version 2.0 > > > > Linux 2.x.x > > > > Copyright (C) 1997-2000 Dialogic Corp. > > > > ALL RIGHTS RESERVED > > > > ---------------------------------------------------- > > > > lsmod > > > > Module Size Used by Tainted: PF > > > > streams-dvbmDriver 126912 0 (unused) > > > > streams-sctmrDriver 25888 0 (unused) > > > > streams-gpioDriver 9644 0 > > > > streams-gncfdDriver 11936 1 > > > > streams-dlgnDriver 462704 0 [streams-dvbmDriver streams-sctmrDriver > > > > streams-gpioDriver streams-gncfdDriver] > > > > streams 501696 0 [streams-dvbmDriver streams-sctmrDriver > > streams-gpioDriver > > > > streams-gncfdDriver streams-dlgnDriver] > > > > ne2k-pci 4768 1 > > > > 8390 6320 0 [ne2k-pci] > > > > ---------------------------------------------------- > > > > CPU0 > > > > 0: 28066 XT-PIC timer > > > > 1: 1498 XT-PIC keyboard > > > > 2: 0 XT-PIC cascade > > > > 6: 2 XT-PIC dlgnsba > > > > 11: 6 XT-PIC eth0 > > > > 14: 2506 XT-PIC ide0 > > > > 15: 5 XT-PIC ide1 > > > > NMI: 0 > > > > LOC: 0 > > > > ERR: 0 > > > > MIS: 0 > > > > ---------------------------------------------------- > > > > 0000-001f : dma1 > > > > 0020-003f : pic1 > > > > 0040-005f : timer > > > > 0060-006f : keyboard > > > > 0080-008f : dma page reg > > > > 00a0-00bf : pic2 > > > > 00c0-00df : dma2 > > > > 00f0-00ff : fpu > > > > 0170-0177 : ide1 > > > > 01f0-01f7 : ide0 > > > > 02f8-02ff : serial(set) > > > > 0376-0376 : ide1 > > > > 03c0-03df : vga+ > > > > 03f6-03f6 : ide0 > > > > 03f8-03ff : serial(set) > > > > 0cf8-0cff : PCI conf1 > > > > 6000-600f : VIA Technologies, Inc. Bus Master IDE > > > > 6000-6007 : ide0 > > > > 6008-600f : ide1 > > > > 6200-621f : Realtek Semiconductor Co., Ltd. RTL-8029(AS) > > > > 6200-621f : ne2k-pci > > > > ---------------------------------------------------- > > > > 00000000-0009ffff : System RAM > > > > 000a0000-000bffff : Video RAM area > > > > 000c0000-000c7fff : Video ROM > > > > 000f0000-000fffff : System ROM > > > > 00100000-03ffffff : System RAM > > > > 00100000-002268a5 : Kernel code > > > > 002268a6-002a221f : Kernel data > > > > e0000000-e07fffff : Matrox Graphics, Inc. MGA 2064W [Millennium] > > > > e0800000-e0803fff : Matrox Graphics, Inc. MGA 2064W [Millennium] > > > > ffff0000-ffffffff : reserved > > > > ---------------------------------------------------- > > > > D/xxx Customer Service Demonstration Program Version 97.08 > > > > Copyright (c) 1988-1997 Dialogic Corporation > > > > ALL RIGHTS RESERVED > > > > WARNING: sr_putstop: dxxxB1 not ready for command! > > > > ./custserv: dxxxB1 now in use > > > > ./custserv: using dxxxB1 failed to go onhook. > > > > Interrupted system call > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.net email is sponsored by: ApacheCon, November 18-21 in > > > > Las Vegas (supported by COMDEX), the only Apache event to be > > > > fully supported by the ASF. http://www.apachecon.com > > > > _______________________________________________ > > > > Bayonne-dialogic mailing list > > > > Bay...@li... > > > > https://lists.sourceforge.net/lists/listinfo/bayonne-dialogic > > > > > > > > > > > > ------------------------------------------------------- > > > > This sf.net email is sponsored by:ThinkGeek > > > > Welcome to geek heaven. > > > > http://thinkgeek.com/sf > > > > _______________________________________________ > > > > Bayonne-dialogic mailing list > > > > Bay...@li... > > > > https://lists.sourceforge.net/lists/listinfo/bayonne-dialogic > > > > > > |