Hello to all!
I want to connect a gsm modem. But I do not understand what to specify in the chan_dongle.conf configuration file. Through which device files the asterisk will connect to the modem.
On CentOS, on which this modem worked before, it was defined by three devices /dev/ttyUSB0, /dev/ttyUSB1, /dev/ttyUSB2 .
But on my ASUS RT-N18U with Advanced Tomato firmware installed, there are no /dev/ttyUSB* . When connecting the modem to /var/log/message see:
May 27 10:23:00 unknown kern.info kernel: usb 2-2: new high speed USB device using ehci_hcd and address 4 May 27 10:23:00 unknown user.debug hotplug[5829]: Attached USB device 2-2:1.0 [INTERFACE=255/255/255 PRODUCT=12d1/1001/0] May 27 10:23:00 unknown user.debug hotplug[5835]: Attached USB device 2-2:1.1 [INTERFACE=255/255/255 PRODUCT=12d1/1001/0] May 27 10:23:00 unknown user.debug hotplug[5836]: Attached USB device 2-2:1.2 [INTERFACE=255/255/255 PRODUCT=12d1/1001/0] I see the new character device in /dev :
crw-rw-rw- 1 root root 189, 131 May 27 10:23 usbdev2.4 But he is alone and the asterisk cannot connect to it:
[May 27 07:33:06] WARNING[6233]: chan_dongle.c:235 opentty: tcgetattr() failed for /dev/usbdev2.4: Inappropriate ioctl for device What can be wrong? How to find those 3 /dev/ttyUSB* devices on a router with Tomato firmware that I had on CentOS?
Thank you for the answers.