My modem does not support voice command :S. Bad for me. <br><br>I started a mute call using atd<number>; command, just to try. Apparently it supports basic AT commands. <br><br><div class="gmail_quote">On Tue, Aug 11, 2009 at 3:54 PM, Tzafrir Cohen <span dir="ltr"><<a href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.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;"><div class="im">On Tue, Aug 11, 2009 at 08:30:01PM +0100, Odicha wrote:<br>
> 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>
</div>Care for some perl code to do that? ;-)<br>
<br>
Anyway, this sounds linux-specific.<br>
<div class="im"><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>
<br>
</div>Why not make use of udev (or HAL and higher level layers)? Oops, anybody<br>
mentioned "Linux specific?". Ahem.<br>
<br>
What happens when a new device is plugged while your code is already<br>
running?<br>
<br>
When a device is disconnected?<br>
<font color="#888888"><br>
--<br>
Tzafrir Cohen<br>
icq#16849755 <a href="mailto:jabber%3Atzafrir.cohen@xorcom.com">jabber:tzafrir.cohen@xorcom.com</a><br>
+972-50-7952406 mailto:<a href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.com</a><br>
<a href="http://www.xorcom.com" target="_blank">http://www.xorcom.com</a> <a href="http://iax:guest@local.xorcom.com/tzafrir" target="_blank">iax:guest@local.xorcom.com/tzafrir</a><br>
</font><div><div></div><div class="h5"><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>