How to install chan datacard

Discussion in 'General' started by simulatorhck, Feb 19, 2011.

  1. simulatorhck

    Joined:
    Jan 9, 2011
    Messages:
    17
    Likes Received:
    0
    Hi all. I have an Hauwey e169 usb connect card and I read that i can use it in asterisk to make and receive calls from mobile number of the sim that i use in. The problem is that i can't find the way to install the appropriate module in elastix. I use the last elastix version in 64bit mode. Someone can help me installing chan datacard?
    I' m not able to install it from svn.
    Thank you
     
  2. fmvillares

    Joined:
    Sep 8, 2007
    Messages:
    1,785
    Likes Received:
    0
    its almost useless in centos because of the fact that chan datacard relays in usbmodswitch to change modem status from pen drive mode to modem..and the kernel in centos does not support natvely this function as new kernels from ubuntu debia etc does...
    you need to do 3 steps basiclly
    1 change usb mode to modem
    2 configure correctly modem in usb_modwitch config
    3 compile and configure chan datacard manually from tar and asterisk sources and then configure it...
    beware that the real fact is that only 6 or 7 modems are supportde only.
     
  3. simulatorhck

    Joined:
    Jan 9, 2011
    Messages:
    17
    Likes Received:
    0
    Hi
    What distro can easily used to obtain a simple gsm gateway?
    I have an huawey e169g
    Thank you
     
  4. fmvillares

    Joined:
    Sep 8, 2007
    Messages:
    1,785
    Likes Received:
    0
    Re: Re:How to install chan datacard

    as in chan datacard forum says and asterisk es lists debian 6 or ubuntu 10.10
    fedora 14 also has good comments
    but remember only modems listed in the readme of chan datacard works
     
  5. simulatorhck

    Joined:
    Jan 9, 2011
    Messages:
    17
    Likes Received:
    0
    Some problem...I istalled usb modeswitch and modeswitch data...Then used modeswitch with the c /etc/usb:modeswithc/id-device mode and the first time i got all working
    Then i reboot the pc and never had the possibility to get chan_datacard commected.
    This is the lsusb
    [root@host ~]# lsusb
    Bus 005 Device 001: ID 0000:0000
    Bus 001 Device 004: ID 12d1:1446 Huawei Technologies Co., Ltd. E1552 (HSPA modem)
    Bus 001 Device 001: ID 0000:0000
    Bus 002 Device 001: ID 0000:0000
    Bus 003 Device 001: ID 0000:0000
    Bus 004 Device 001: ID 0000:0000

    and the grep | dmesg usb
    usb 1-4: USB disconnect, address 2
    option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
    option 1-4:1.0: device disconnected
    option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
    option 1-4:1.1: device disconnected
    option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
    option 1-4:1.2: device disconnected
    Bluetooth: HIDP (Human Interface Emulation) ver 1.1
    NET: Registered protocol family 10
    lo: Disabled Privacy Extensions
    IPv6 over IPv4 tunneling driver
    eth0: no IPv6 routers present
    usb 1-4: new high speed USB device using ehci_hcd and address 3
    usb 1-4: configuration #1 chosen from 1 choice
    usb-storage: probe of 1-4:1.0 failed with error -5
    usb-storage: probe of 1-4:1.1 failed with error -5
    usb-storage: probe of 1-4:1.2 failed with error -5
    usb 1-4: USB disconnect, address 3
    asterisk[3209]: segfault at 00002aaace0cf11e rip 00000033f427bfb0 rsp 0000000042521388 error 4
    usb 1-4: new high speed USB device using ehci_hcd and address 4
    usb 1-4: configuration #1 chosen from 1 choice
    scsi8 : SCSI emulation for USB Mass Storage devices
    usb-storage: device found at 4
    usb-storage: waiting for device to settle before scanning
    scsi9 : SCSI emulation for USB Mass Storage devices
    usb-storage: device found at 4
    usb-storage: waiting for device to settle before scanning
    Vendor: HUAWEI Model: Mass Storage Rev: 2.31
    Type: CD-ROM ANSI SCSI revision: 02
    usb-storage: device scan complete
    Vendor: HUAWEI Model: MMC Storage Rev: 2.31
    Type: Direct-Access ANSI SCSI revision: 02
    sd 9:0:0:0: Attached scsi removable disk sda
    usb-storage: device scan complete
    scsi 8:0:0:0: Attached scsi generic sg0 type 5
    sd 9:0:0:0: Attached scsi generic sg1 type 0
    sr0: scsi-1 drive
    Uniform CD-ROM driver Revision: 3.20
    sr 8:0:0:0: Attached scsi CD-ROM sr0
    [root@host ~]#

    I tryied to configure chan datacard to connect to ttyUSbo/1/2 but without success...
    What's the matter???
     
  6. fmvillares

    Joined:
    Sep 8, 2007
    Messages:
    1,785
    Likes Received:
    0
    you need to run usb modswitch automatically in services to change the modem mode every time that its connected and that modem 1522 is not in the support list so it will not work
    * Huawei K3715
    * Huawei E169 / K3520
    * Huawei E1550 ---- 1550 not 1552

    This channel is known NOT to work with the folowing UMTS cards:
    * Huawei E160 / K3565
     
  7. simulatorhck

    Joined:
    Jan 9, 2011
    Messages:
    17
    Likes Received:
    0
    yes I undestand. But the card is an e1550...infact when i put in windows dc ulocker says me that is an Huawey e1550. The other thing is that one time this device was seen by chan datacard. It's like the sistem missundestood the card id or the card lock itself in a strange mode that is seen like other kind of card...
    I read that there's another module that is similar, chan:sebi....where to get it ?
    Thank you
     
  8. fmvillares

    Joined:
    Sep 8, 2007
    Messages:
    1,785
    Likes Received:
    0
    chan datacard is an evolution of chan sebi...its one of my friends in spain work, odicha,
    you could seek it in asterisk-rsp project page
     
  9. simulatorhck

    Joined:
    Jan 9, 2011
    Messages:
    17
    Likes Received:
    0
    So i dont undestand where's the problem. The same thing is if i use virtual box with elastix... i tryed also with e169 huawey card... It was ok one time and when I reboot.....nothing..now in lsusb the sistem says
    Bus 001 Device 001: ID 0000:0000
    Bus 001 Device 003: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem
    Bus 001 Device 002: ID 80ee:0021

    ....
    Ufffff....
     
  10. fmvillares

    Joined:
    Sep 8, 2007
    Messages:
    1,785
    Likes Received:
    0
    Re: Re:How to install chan datacard

    if you still using centos you will never stop suffering..use only as chan sebi and datacard developers say.... debian or ubuntu or redhat 6/fedora as centos 5.5 kernel does not support usb modwitch correctly beucase its old origins
     

Share This Page