[Freeswitch-users] Mutiple GSMopen USB modem setup

Dmitry Lysenko dvl36.ripe.nick at gmail.com
Wed Dec 19 19:46:00 MSK 2012


Below snippet of my gsmopen config for 1-st and 4-st USB hub ports with
Huawei modems in it.
USB hub port numbers marked as bold.
-----
<!-- output of "ls -1" at /dev/serial/by-path
platform-orion-ehci.0-usb-0:1.*1*:1.0-port0
platform-orion-ehci.0-usb-0:1.*1*:1.1-port0
platform-orion-ehci.0-usb-0:1.*1*:1.2-port0
platform-orion-ehci.0-usb-0:1.*4*:1.0-port0
platform-orion-ehci.0-usb-0:1.*4*:1.1-port0
platform-orion-ehci.0-usb-0:1.*4*:1.2-port0
platform-orion-ehci.0-usb-0:1.*6*:1.0-port0
platform-orion-ehci.0-usb-0:1.*6*:1.1-port0
platform-orion-ehci.0-usb-0:1.*6*:1.2-port0
platform-orion-ehci.0-usb-0:1.*7*:1.0-port0
platform-orion-ehci.0-usb-0:1.*7*:1.1-port0
platform-orion-ehci.0-usb-0:1.*7*:1.2-port0
-->
  <per_interface_settings>
    <interface id="1" name="gsm01">
      <param name="controldevice_name"
value="/dev/serial/by-path/platform-orion-ehci.0-usb-0:1.*1*:1.2-port0"/>
      <param name="controldevice_audio_name"
value="/dev/serial/by-path/platform-orion-ehci.0-usb-0:1.*1*:1.1-port0"/>
      <param name="capture_boost" value="+4"/>
      <param name="playback_boost" value="+6"/>
      <param name="dialplan" value="XML"/>
      <param name="context" value="default"/>
      <param name="hold-music" value="$${moh_uri}"/>
      <param name="destination" value="1000"/>
    </interface>
    <interface id="2" name="gsm02">
      <param name="controldevice_name"
value="/dev/serial/by-path/platform-orion-ehci.0-usb-0:1.*4*:1.2-port0"/>
      <param name="controldevice_audio_name"
value="/dev/serial/by-path/platform-orion-ehci.0-usb-0:1.*4*:1.1-port0"/>
      <param name="capture_boost" value="+4"/>
      <param name="playback_boost" value="+6"/>
      <param name="dialplan" value="XML"/>
      <param name="context" value="default"/>
      <param name="hold-music" value="$${moh_uri}"/>
      <param name="destination" value="1000"/>
---
BTW, the patch for long device names is not mine.


2012/12/19 Giovanni Maruzzelli <gmaruzz at gmail.com>

> On Wed, Dec 19, 2012 at 4:55 PM, Dmitry Lysenko
> <dvl36.ripe.nick at gmail.com> wrote:
> > I tried, not so hard, but it does not work. :( At least on Debian Wheezy.
> > Linux Udev system is changing too often, so I decided to use
> > /dev/serial/by-path/* for persistence.
>
> can you please detail how you use /dev/serial/by-path/* for persistence ?
> (btw, the patch for long device names you sent is in mainline since some
> weeks)
>
> -giovanni
>
>
> --
> Sincerely,
>
> Giovanni Maruzzelli
> Cell : +39-347-2665618
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121219/67f7ed22/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list