I am about to test the channel with the model E226 by Huawei. I'll post the results whenever I finish the tests. <br><br>As you said, the AT commands for the modem manipulation are not standard and I am trying the understand them by reading your source code. If you have any documentation that you took as reference, I'll appreciate the download-link contribution :).<br>
<br><br><br><div class="gmail_quote">On Tue, Aug 11, 2009 at 3:30 PM, Odicha <span dir="ltr"><<a href="mailto:odicha@hotmail.com">odicha@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
If anyone has another hardware that could work and /or any question about<br>
how it works I'll be pleased to help.<br>
<br>
what it does at now...<br>
<br>
Huawei audio modems have three ttyUSB ports. So they use une port for<br>
GPRs/3G data connection ( subdevice 0), next port for audio (only audio<br>
slinear stream.. passtrough directly to asterisk when voice is enabled) and<br>
next port for AT communication (some no standard AT commands for enabling<br>
voice streaming on other port, and all rest of standard stuff)<br>
<br>
So It mainly uses AT commands and some routines for enabling/disabling audio<br>
stream. Not complex at all.<br>
<br>
The "worst part" in module is about modem detection. It might be rewritten.<br>
It searches for device strings in /sys/bus/usb/devices/ . It might work with<br>
some fs library I think<br>
<br>
How it starts.<br>
First of all It does the "dirty search" of modems. It will write into<br>
asterisk one file<br>
sebi_devices.conf<br>
with data about modems their tty port and their IMEI<br>
After that it loads sebi.conf. If Imei from modem config exists in<br>
sebi_devices.conf (it's attached ..) it loads modem channel.<br>
<div class="im"><br>
<br>
----- Original Message -----<br>
From: "Thomas Kenyon" <<a href="mailto:digium@sanguinarius.co.uk">digium@sanguinarius.co.uk</a>><br>
To: "Asterisk Developers Mailing List" <<a href="mailto:asterisk-dev@lists.digium.com">asterisk-dev@lists.digium.com</a>><br>
</div><div><div></div><div class="h5">Sent: Tuesday, August 11, 2009 7:00 PM<br>
Subject: Re: [asterisk-dev] About chan_mobile<br>
<br>
<br>
> Odicha wrote:<br>
>> Hi.<br>
>><br>
>> Take a look at something like that I have done.<br>
>> It's for Huawei voice usb modems<br>
>> It's in beta stage yet, for testing in 1.4.x branch<br>
>> It works fine on Huawei E169/K3520 modems (the only voice modems I own)<br>
>><br>
> This sounds fantastic, a much better idea than my current chan_mobile<br>
> setup.<br>
><br>
>> you have it at<br>
>> <a href="http://asterisk-es-rsp.irontec.com/svn/team/Odicha/unstable/chan_sebi/" target="_blank">http://asterisk-es-rsp.irontec.com/svn/team/Odicha/unstable/chan_sebi/</a><br>
>><br>
>> Now it supports voice and sms services (tested with 4 modems at time).<br>
>> It has early media working fine, CID detection and a good audio quality<br>
>> (no<br>
>> digital/analog conversion).<br>
>><br>
>> ToDo.<br>
>> Sms support for standard serial devices (analog FCTs for example...).<br>
>> Better modem detection routines.<br>
>><br>
>> Voice for standard mobiles not in mind because generally they don't<br>
>> support<br>
>> audio in serial/usb channel. So get audio through and audio card iy's a<br>
>> dirty solution and you can only have one channel at time.<br>
>> Using USB modems with voice capabilities the only limit is USB channel<br>
>> (in<br>
>> 2.0 not problem at all for working with 4 or 5 devices at time) (I don't<br>
>> have more modems for stress testing...). And they are inexpensive at now.<br>
>> It<br>
>> could be like "X100P" of mobile channels.<br>
>><br>
>> Best Regards<br>
>><br>
>> ----- Original Message -----<br>
>> From: "Kai Hoerner" <<a href="mailto:kai@ciphron.de">kai@ciphron.de</a>><br>
>> To: "Asterisk Developers Mailing List" <<a href="mailto:asterisk-dev@lists.digium.com">asterisk-dev@lists.digium.com</a>><br>
>> Sent: Tuesday, August 11, 2009 2:48 PM<br>
>> Subject: Re: [asterisk-dev] About chan_mobile<br>
>><br>
>><br>
>>> i think it would work. but your channel will conflict with chan_alsa /<br>
>>> chan_oss ..<br>
>>> chan_alsa uses mic + earphone connectors of the sound card connected.<br>
>>> the source code of this channel driver is a good starting point, if you<br>
>>> really intend to implement it this way.<br>
>>><br>
>>> but your idea sounds kinda ugly.<br>
>>> why dont you use bluetooth?<br>
>>><br>
>>><br>
>>> Carlos Ruiz Diaz schrieb:<br>
>>>> Hello,<br>
>>>><br>
>>>> I am about to start the development of a usb version of the<br>
>>>> chan_mobile. I almost finished my research and my idea is to use the<br>
>>>> USB serial connection to fully control the phone using AT commands<br>
>>>> (like chan_mobile). The main problem with this approach is the audio<br>
>>>> and by now, the only idea that I have is to use the headset (mic +<br>
>>>> earphone ) connected to the mic and speaker slots of the computer. I<br>
>>>> am also looking for a way to isolate the audio channels.<br>
>>>><br>
>>>> Do you think it will work?<br>
>>>><br>
>>>><br>
>>>> ------------------------------------------------------------------------<br>
>>>><br>
>>>> _______________________________________________<br>
>>>> --Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
>>>><br>
>>>> AstriCon 2009 - October 13 - 15 Phoenix, Arizona<br>
>>>> Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br>
>>>><br>
>>>> asterisk-dev mailing list<br>
>>>> To UNSUBSCRIBE or update options visit:<br>
>>>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br>
>>><br>
>>> _______________________________________________<br>
>>> --Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
>>><br>
>>> AstriCon 2009 - October 13 - 15 Phoenix, Arizona<br>
>>> Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br>
>>><br>
>>> asterisk-dev mailing list<br>
>>> To UNSUBSCRIBE or update options visit:<br>
>>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br>
>>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> --Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
>><br>
>> AstriCon 2009 - October 13 - 15 Phoenix, Arizona<br>
>> Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br>
>><br>
>> asterisk-dev mailing list<br>
>> To UNSUBSCRIBE or update options visit:<br>
>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br>
>><br>
>><br>
><br>
> _______________________________________________<br>
> --Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
><br>
> AstriCon 2009 - October 13 - 15 Phoenix, Arizona<br>
> Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br>
><br>
> asterisk-dev mailing list<br>
> To UNSUBSCRIBE or update options visit:<br>
> <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br>
><br>
<br>
<br>
_______________________________________________<br>
--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
<br>
AstriCon 2009 - October 13 - 15 Phoenix, Arizona<br>
Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br>
<br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br>
</div></div></blockquote></div><br>