I have Huawei E367 with voice enablled firmware of 11.838.01.00.1131 version being used with Asterisk 15.4.1 at Ubuntu 14.04 x64 LTS.
The latest version of the chan dongle is used.
I made udev rules which launch application (I developed) asks ttyUSB ports, gets imei and assigns some useful symlink name for the dogle depending on dongle and ttyUSB port.
At least one time in 24 hours chan dongle invokes "dongle reset" or some looks like this, I think, at the end AT+CFUN=1,1 command.
As following, after the dongle is inplugged and then in a short time is plugged again.
But for the time dongle connection in Asterisk is lost, dongle is inaccessible as for Asterisk as for oher applications and after dongle replugged symlink is lost and is not renewed even if there is trigger add in udev rules.
After dongle is just replugged, first calling via the dongle faults and then after 2-4 seconds is succsess.
It doesn' t matter incoming or outgoing calling.
I tried to put resetdongle to "no" but nothing changed.
So, In case of this, I have 7 questions:
What is chan dongle launch dongle reset for ?
How is it happended often ?
Why is resetdongle=no not worked ?
How is udev rule to set up that symlink would be renewed after dongle reset ?
How avoid connection losing ?
How is to disable it (I disabled it completely via source code editing and rebuilding it)
Is it very important and is it safe and useful to completely disable it ?
I have Huawei E367 with voice enablled firmware of 11.838.01.00.1131 version being used with Asterisk 15.4.1 at Ubuntu 14.04 x64 LTS. The latest version of the chan dongle is used. I made udev rules which launch application (I developed) asks ttyUSB ports, gets imei and assigns some useful symlink name for the dogle depending on dongle and ttyUSB port. At least one time in 24 hours chan dongle invokes "dongle reset" or some looks like this, I think, at the end AT+CFUN=1,1 command. As following, after the dongle is inplugged and then in a short time is plugged again. But for the time dongle connection in Asterisk is lost, dongle is inaccessible as for Asterisk as for oher applications and after dongle replugged symlink is lost and is not renewed even if there is trigger add in udev rules. After dongle is just replugged, first calling via the dongle faults and then after 2-4 seconds is succsess. It doesn' t matter incoming or outgoing calling. I tried to put resetdongle to "no" but nothing changed.
So, In case of this, I have 7 questions:
What is chan dongle launch dongle reset for ? How is it happended often ? Why is resetdongle=no not worked ? How is udev rule to set up that symlink would be renewed after dongle reset ? How avoid connection losing ? How is to disable it (I disabled it completely via source code editing and rebuilding it) Is it very important and is it safe and useful to completely disable it ?