[asterisk-dev] About chan_mobile

Carlos Ruiz Diaz carlos.ruizdiaz at gmail.com
Tue Aug 11 15:16:33 CDT 2009


My modem does not support voice command  :S. Bad for me.

I started a mute call using atd<number>; command,  just to try. Apparently
it supports basic AT commands.

On Tue, Aug 11, 2009 at 3:54 PM, Tzafrir Cohen <tzafrir.cohen at xorcom.com>wrote:

> On Tue, Aug 11, 2009 at 08:30:01PM +0100, Odicha 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
>
> Care for some perl code to do that? ;-)
>
> Anyway, this sounds linux-specific.
>
> >
> > 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.
>
> Why not make use of udev (or HAL and higher level layers)? Oops, anybody
> mentioned "Linux specific?". Ahem.
>
> What happens when a new device is plugged while your code is already
> running?
>
> When a device is disconnected?
>
> --
>               Tzafrir Cohen
> icq#16849755              jabber:tzafrir.cohen at xorcom.com<jabber%3Atzafrir.cohen at xorcom.com>
> +972-50-7952406           mailto:tzafrir.cohen at xorcom.com
> http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir
>
> _______________________________________________
> --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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20090811/8c9292e3/attachment.htm 


More information about the asterisk-dev mailing list