[Asterisk-Dev] Re: Asterisk-Dev Digest, Vol 12, Issue 17

amishra at techroutes.com amishra at techroutes.com
Sat Jul 9 07:25:45 MST 2005


Hi Tzafrir,

First of all I apolozise for partial information.
I have a red hat machine (9) which I have been using as a server and I am
telnetting it through my fedora core 3 machine. I have down loaded a sip
softphone (sflphone).
I am not using any card as i plan to work intranet...call switching and forwarding..

And Here are your Other Query results:
--------------------------------------------------------------------------------------------------
*CLI> show version
Asterisk 1.0.7 built by root at localhost.localdomain on a i686 running Linux
--------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------
[root at localhost asterisk]# ls -ld /etc/asterisk
drwxr-xr-x    2 root     root         4096 Jul  8 17:21 /etc/asterisk
[root at localhost asterisk]# ls -ld /etc/asterisk/sip.conf
-rw-r--r--    1 root     root        12573 Jul  8 17:09 /etc/asterisk/sip.conf
--------------------------------------------------------------------------------------------------
When I execute asterisk using " asterisk -vvvvc " I find :
---------------------------------------------------------------------------------------------------

[chan_sip.so] => (Session Initiation Protocol (SIP))
  == Parsing '/etc/asterisk/sip.conf': Found
Jul  9 17:46:55 WARNING[1975]: config.c:579 cfg_process: parse error: No category
context for line 31 of sip.conf
Jul  9 17:46:55 NOTICE[1975]: chan_sip.c:8637 reload_config: Unable to load
config sip.conf, SIP disabled
---------------------------------------------------------------------------------------------------

There are many other errors as well but I thought it to be failing my application.
Could you solve my problem...
Or do i go for a fresh installation.......

Please Help............

Thanks And Regards,

Amit Ranjan Mishra
amishra at techroutes.com
Softwares
Techroutes Network Pvt. Ltd.

On Fri,  8 Jul 2005 12:00 , asterisk-dev-request at lists.digium.com sent:

>Send Asterisk-Dev mailing list submissions to
>	asterisk-dev at lists.digium.com
>
>To subscribe or unsubscribe via the World Wide Web, visit
>	http://lists.digium.com/mailman/listinfo/asterisk-dev
>or, via email, send a message with subject or body 'help' to
>	asterisk-dev-request at lists.digium.com
>
>You can reach the person managing the list at
>	asterisk-dev-owner at lists.digium.com
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of Asterisk-Dev digest..."
>
>
>Today's Topics:
>
>   1. Single port FXO card based on  82537EP chipset
>      (Victor L?pez (ACANTO))
>   2. Re: Unable to load sip.conf (Tzafrir Cohen)
>   3. Re: Single port FXO card based on  82537EP chipset (Tzafrir Cohen)
>   4. RE: Single port FXO card based on  82537EP chipset
>      (Victor L?pez (ACANTO))
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Fri, 8 Jul 2005 09:33:43 -0400
>From: Victor L?pez(ACANTO) vlopez at acanto.cl>
>Subject: [Asterisk-Dev] Single port FXO card based on  82537EP chipset
>To: "Asterisk Developers Mailing List" asterisk-dev at lists.digium.com>
>Message-ID: 20050708094223.GA55607 at mail13b.oemgrp.com>
>Content-Type: text/plain; charset="iso-8859-1"
>
>Hi all,
>i am working down here in Chile and trying to bring up "wcfxo" module ussing
>a sinlge FXO card but when we try to install module we receive the following
>error:
>[root at AcantoPBX proc]# insmod wcfxo
>  Using /lib/modules/2.4.20-8/misc/wcfxo.o
>  /lib/modules/2.4.20-8/misc/wcfxo.o: init_module: No such device
>  Hint: insmod errors can be caused by incorrect module parameters,
>including invalid IO or IRQ parameters.
>      You may find more information in syslog or the output from dmesg
>[root at AcantoPBX proc]#
>
>
> 
>In order to include Vendor Id showed by kernel to this PCI card, "1080", i
>have changed file: zaptel/wcfxo.c , but doesn´t work:
>static struct pci_device_id wcfxo_pci_tbl[] = {
>              { 0xe159, 0x0001, 0x8085, PCI_ANY_ID, 0, 0, (unsigned long)
>&wcx101p },
>            { 0xe159, 0x0001, 0x8086, PCI_ANY_ID, 0, 0, (unsigned long)
>&wcx100p },
>            { 0xe159, 0x0001, 0x8086, PCI_ANY_ID, 0, 0, (unsigned long)
>&generic },
>            { 0xe159, 0x0001, 0x8087, PCI_ANY_ID, 0, 0, (unsigned long)
>&generic },
>            { 0x1057, 0x5608, PCI_ANY_ID, PCI_ANY_ID, 0, 0, (unsigned long)
>&wcx100p },
>/*New*/ { 0x1080, 0x5608, PCI_ANY_ID, PCI_ANY_ID, 0, 0, (unsigned long)
>&wcx100p },
>            { 0 }
>};
>
>Anybody knows or have some hint that could share with me? i´ll really
>appreciate
> 
>Best Regards,
>Víctor
>==========================================================================
> 
>Our Configuration is:
> 
>1.- Asterisk Version: 1.0.7
>--------------------------------------
>*CLI> show version
>Asterisk CVS-Nv1-0-7-07/07/05-10:36:35 built by root at AcantoPBX on a i686
>running Linux
>
>2.- RedHat 9 Kernel version: 2.4.20.8
>-----------------------------------------------------
>[root at AcantoPBX proc]# uname -a
>Linux AcantoPBX 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686 i386
>GNU/Linux
> 
>3.- PCI modem reconized by Kernel: 8086:1080
>--------------------------------------------------------------------
>[root at AcantoPBX proc]# cat /proc/pci
>..................
>............
>  Bus  0, device  10, function  0:
>    Modem: PCI device 8086:1080 (Intel Corp.) (rev 4).
>      IRQ 5.
>      Master Capable.  Latency=64.  Min Gnt=1.Max Lat=62.
>      Non-prefetchable 32 bit memory at 0xd7efa000 [0xd7efafff].
>      I/O at 0xc400 [0xc4ff].
>.............
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL:
http://lists.digium.com/pipermail/asterisk-dev/attachments/20050708/b71ad721/attachment.html
>
>------------------------------
>
>Message: 2
>Date: Fri, 8 Jul 2005 17:39:05 +0300
>From: Tzafrir Cohen tzafrir.cohen at xorcom.com>
>Subject: Re: [Asterisk-Dev] Unable to load sip.conf
>To: asterisk-dev at lists.digium.com
>Message-ID: 20050708143904.GE16319 at xorcom.com>
>Content-Type: text/plain; charset=us-ascii
>
>On Fri, Jul 08, 2005 at 11:30:10AM +0000, amit mishra wrote:
>> Hi Asterisk Group Members,
>> I am  a new member to this Asterisk society .
>> I am fascinated with the asterisk concept and so has started looking
>> into  its usage.
>> 
>> I have installed it into my machine. When I try to  execute it , it
>> shows an error in chan_sip.c: Unable to load  config sip.conf.
>> I tried to reload it on the command prompt with " reload sip"
>>  but to no help.........
>
>Maybe you'll get more information is you set verbosity:
>
>  set verbose 3
>
>in the Asterisk CLI.
>
>Do you run asterisk as root or as a user?
>
>Please give the output of the following two command:
>
>  ls -ld /etc/asterisk /etc/asterisk/sip.conf
>
>In the linux CLI. 
>
>What version of Asterisk? What distribution?
>
>-- 
>Tzafrir Cohen     icq#16849755  +972-50-7952406
>tzafrir.cohen at xorcom.com  http://www.xorcom.com
>
>
>------------------------------
>
>Message: 3
>Date: Fri, 8 Jul 2005 17:46:31 +0300
>From: Tzafrir Cohen tzafrir.cohen at xorcom.com>
>Subject: Re: [Asterisk-Dev] Single port FXO card based on  82537EP
>	chipset
>To: asterisk-dev at lists.digium.com
>Message-ID: 20050708144631.GF16319 at xorcom.com>
>Content-Type: text/plain; charset=iso-8859-1
>
>On Fri, Jul 08, 2005 at 09:33:43AM -0400, Victor López(ACANTO) wrote:
>> Hi all,
>> i am working down here in Chile and trying to bring up "wcfxo" module ussing
>> a sinlge FXO card but when we try to install module we receive the following
>> error:
>> [root at AcantoPBX proc]# insmod wcfxo
>>   Using /lib/modules/2.4.20-8/misc/wcfxo.o
>>   /lib/modules/2.4.20-8/misc/wcfxo.o: init_module: No such device
>>   Hint: insmod errors can be caused by incorrect module parameters,
>> including invalid IO or IRQ parameters.
>>       You may find more information in syslog or the output from dmesg
>
>Do you see the card on the output of 'lspci'? It should appear as a
>"TigerJet ISDN modem" or some very similar misleading name.
>
>> [root at AcantoPBX proc]#
>> 
>> 
>>  
>> In order to include Vendor Id showed by kernel to this PCI card, "1080", i
>> have changed file: zaptel/wcfxo.c , but doesn´t work:
>
>What card is it?  Why do you change just the vendor ID?
>
>> static struct pci_device_id wcfxo_pci_tbl[] = {
>>               { 0xe159, 0x0001, 0x8085, PCI_ANY_ID, 0, 0, (unsigned long)
>> &wcx101p },
>>             { 0xe159, 0x0001, 0x8086, PCI_ANY_ID, 0, 0, (unsigned long)
>> &wcx100p },
>>             { 0xe159, 0x0001, 0x8086, PCI_ANY_ID, 0, 0, (unsigned long)
>> &generic },
>>             { 0xe159, 0x0001, 0x8087, PCI_ANY_ID, 0, 0, (unsigned long)
>> &generic },
>>             { 0x1057, 0x5608, PCI_ANY_ID, PCI_ANY_ID, 0, 0, (unsigned long)
>> &wcx100p },
>> /*New*/ { 0x1080, 0x5608, PCI_ANY_ID, PCI_ANY_ID, 0, 0, (unsigned long)
>> &wcx100p },
>>             { 0 }
>> };
>> 
>> Anybody knows or have some hint that could share with me? i´ll really
>> appreciate
>>  
>> Best Regards,
>> Víctor
>> ==========================================================================
>>  
>> Our Configuration is:
>>  
>> 1.- Asterisk Version: 1.0.7
>> --------------------------------------
>> *CLI> show version
>> Asterisk CVS-Nv1-0-7-07/07/05-10:36:35 built by root at AcantoPBX on a i686
>> running Linux
>
>Hmmm... If you get a version from the CVS, why not grab 1.0.9? 
>
>> 
>> 2.- RedHat 9 Kernel version: 2.4.20.8
>
>Get a newer distro. One that is actually supported ;-)
>
>> -----------------------------------------------------
>> [root at AcantoPBX proc]# uname -a
>> Linux AcantoPBX 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686 i386
>> GNU/Linux
>>  
>> 3.- PCI modem reconized by Kernel: 8086:1080
>> --------------------------------------------------------------------
>> [root at AcantoPBX proc]# cat /proc/pci
>> ..................
>> ............
>>   Bus  0, device  10, function  0:
>>     Modem: PCI device 8086:1080 (Intel Corp.) (rev 4).
>>       IRQ 5.
>>       Master Capable.  Latency=64.  Min Gnt=1.Max Lat=62.
>>       Non-prefetchable 32 bit memory at 0xd7efa000 [0xd7efafff].
>>       I/O at 0xc400 [0xc4ff].
>> .............
>
>This is not the X100P clone software modem. I think you got the wrong
>entry. Could you please post the output of 'lspci' (all the entries in a
>nicer format)?
>
>-- 
>Tzafrir Cohen     icq#16849755  +972-50-7952406
>tzafrir.cohen at xorcom.com  http://www.xorcom.com
>
>
>------------------------------
>
>Message: 4
>Date: Fri, 8 Jul 2005 11:12:10 -0400
>From: Victor L?pez(ACANTO) vlopez at acanto.cl>
>Subject: RE: [Asterisk-Dev] Single port FXO card based on  82537EP
>	chipset
>To: "'Asterisk Developers Mailing List'"
>	asterisk-dev at lists.digium.com>
>Message-ID: 20050708112104.GA80672 at mail13b.oemgrp.com>
>Content-Type: text/plain;	charset="iso-8859-1"
>
>
>
>All Pci device´s installed are:
>
>[root at AcantoPBX log]# lspci
>00:00.0 Host bridge: Silicon Integrated Systems [SiS]: Unknown device 0661
>(rev 11)
>00:01.0 PCI bridge: Silicon Integrated Systems [SiS]: Unknown device 0003
>00:02.0 ISA bridge: Silicon Integrated Systems [SiS]: Unknown device 0964
>(rev 36)
>00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 01)
>00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS]
>SiS7012 PCI Audio Accelerator (rev a0)
>00:03.0 USB Controller: Silicon Integrated Systems [SiS] SiS7001 USB
>Controller (rev 0f)
>00:03.1 USB Controller: Silicon Integrated Systems [SiS] SiS7001 USB
>Controller (rev 0f)
>00:03.2 USB Controller: Silicon Integrated Systems [SiS] SiS7001 USB
>Controller (rev 0f)
>00:03.3 USB Controller: Silicon Integrated Systems [SiS] SiS7002 USB 2.0
>00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 10/100
>Ethernet (rev 90)
>00:05.0 RAID bus controller: Silicon Integrated Systems [SiS]: Unknown
>device 0180 (rev 01)
>00:0a.0 Modem: Intel Corp.: Unknown device 1080 (rev 04)
>01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS]: Unknown
>device 6330
>[root at AcantoPBX log]#
>
>Do you think that Asterisk rev 1.0.9 could include this card?
>
>Thanks a lot,
>Víctor
>
>-----Mensaje original-----
>De: asterisk-dev-bounces at lists.digium.com
>[asterisk-dev-bounces at lists.digium.com','','','')">asterisk-dev-bounces at lists.digium.com]
En nombre de Tzafrir Cohen
>Enviado el: Viernes, 08 de Julio de 2005 10:47
>Para: asterisk-dev at lists.digium.com
>Asunto: Re: [Asterisk-Dev] Single port FXO card based on 82537EP chipset
>
>On Fri, Jul 08, 2005 at 09:33:43AM -0400, Victor López(ACANTO) wrote:
>> Hi all,
>> i am working down here in Chile and trying to bring up "wcfxo" module 
>> ussing a sinlge FXO card but when we try to install module we receive 
>> the following
>> error:
>> [root at AcantoPBX proc]# insmod wcfxo
>>   Using /lib/modules/2.4.20-8/misc/wcfxo.o
>>   /lib/modules/2.4.20-8/misc/wcfxo.o: init_module: No such device
>>   Hint: insmod errors can be caused by incorrect module parameters, 
>> including invalid IO or IRQ parameters.
>>       You may find more information in syslog or the output from dmesg
>
>Do you see the card on the output of 'lspci'? It should appear as a
>"TigerJet ISDN modem" or some very similar misleading name.
>
>> [root at AcantoPBX proc]#
>> 
>> 
>>  
>> In order to include Vendor Id showed by kernel to this PCI card, 
>> "1080", i have changed file: zaptel/wcfxo.c , but doesn´t work:
>
>What card is it?  Why do you change just the vendor ID?
>
>> static struct pci_device_id wcfxo_pci_tbl[] = {
>>               { 0xe159, 0x0001, 0x8085, PCI_ANY_ID, 0, 0, (unsigned 
>> long) &wcx101p },
>>             { 0xe159, 0x0001, 0x8086, PCI_ANY_ID, 0, 0, (unsigned 
>> long) &wcx100p },
>>             { 0xe159, 0x0001, 0x8086, PCI_ANY_ID, 0, 0, (unsigned 
>> long) &generic },
>>             { 0xe159, 0x0001, 0x8087, PCI_ANY_ID, 0, 0, (unsigned 
>> long) &generic },
>>             { 0x1057, 0x5608, PCI_ANY_ID, PCI_ANY_ID, 0, 0, (unsigned 
>> long) &wcx100p }, /*New*/ { 0x1080, 0x5608, PCI_ANY_ID, PCI_ANY_ID, 0, 
>> 0, (unsigned long) &wcx100p },
>>             { 0 }
>> };
>> 
>> Anybody knows or have some hint that could share with me? i´ll really 
>> appreciate
>>  
>> Best Regards,
>> Víctor
>> ======================================================================
>> ====
>>  
>> Our Configuration is:
>>  
>> 1.- Asterisk Version: 1.0.7
>> --------------------------------------
>> *CLI> show version
>> Asterisk CVS-Nv1-0-7-07/07/05-10:36:35 built by root at AcantoPBX on a 
>> i686 running Linux
>
>Hmmm... If you get a version from the CVS, why not grab 1.0.9? 
>
>> 
>> 2.- RedHat 9 Kernel version: 2.4.20.8
>
>Get a newer distro. One that is actually supported ;-)
>
>> -----------------------------------------------------
>> [root at AcantoPBX proc]# uname -a
>> Linux AcantoPBX 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686 
>> i386 GNU/Linux
>>  
>> 3.- PCI modem reconized by Kernel: 8086:1080
>> --------------------------------------------------------------------
>> [root at AcantoPBX proc]# cat /proc/pci
>> ..................
>> ............
>>   Bus  0, device  10, function  0:
>>     Modem: PCI device 8086:1080 (Intel Corp.) (rev 4).
>>       IRQ 5.
>>       Master Capable.  Latency=64.  Min Gnt=1.Max Lat=62.
>>       Non-prefetchable 32 bit memory at 0xd7efa000 [0xd7efafff].
>>       I/O at 0xc400 [0xc4ff].
>> .............
>
>This is not the X100P clone software modem. I think you got the wrong entry.
>Could you please post the output of 'lspci' (all the entries in a nicer
>format)?
>
>-- 
>Tzafrir Cohen     icq#16849755  +972-50-7952406
>tzafrir.cohen at xorcom.com  http://www.xorcom.com
>_______________________________________________
>Asterisk-Dev mailing list
>Asterisk-Dev at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-dev
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev
>
>
>
>------------------------------
>
>_______________________________________________
>Asterisk-Dev mailing list
>Asterisk-Dev at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-dev
>
>
>End of Asterisk-Dev Digest, Vol 12, Issue 17
>********************************************
>







More information about the asterisk-dev mailing list