[asterisk-dev] About chan_mobile

Daniel Ferrer daniel at ipcontact.com.uy
Tue Aug 11 15:09:28 CDT 2009


Excelent!

I'll try a Huawei E220, and I'll give you feedback.
By the way, I've found in google your blog here: 
http://odicha.wordpress.com, I'll take a look at it.

bye
daniel

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


-- 
Ing. Daniel Ferrer
IPContact Software S.R.L.
Tel/Fax: (+5982) 4025420




More information about the asterisk-dev mailing list