Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Huawei chan dongle and "dongle reset" command causes unplug/plug device as a result connection is lost ! #62

Open
CpServiceSpb opened this issue Dec 1, 2018 · 0 comments

Comments

@CpServiceSpb
Copy link

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant