[Freeswitch-users] Gsmopen : no audio in huawei e1550

Dmitry Lysenko dvl36.ripe.nick at gmail.com
Wed Aug 22 17:49:36 MSD 2012


So, if it doesn't work with audio device at /dev/ttyUSB2, try /dev/ttyUSB1
Typo was at ttyUSB1 too.

2012/8/22 Sameer Khan <sameer2k3t at gmail.com>

> Could not be
> because freeswitch is being run as root
>
> And it can load /dev/ttyUSB0
>
> sorry I had typo in audio line, It can load ttyUSB2 now
>
>
>
>
>
> On Wed, Aug 22, 2012 at 6:03 PM, Dmitry Lysenko <dvl36.ripe.nick at gmail.com
> > wrote:
>
>> Maybe:
>>
>> http://lists.freeswitch.org/pipermail/freeswitch-users/2012-August/087009.html
>> ?
>>
>> 2012/8/22 Sameer Khan <sameer2k3t at gmail.com>
>>
>>> this is wvdial output
>>>
>>>
>>> Found a modem on /dev/ttyUSB0.
>>> Modem configuration written to /etc/wvdial.conf.
>>> ttyUSB0<Info>: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
>>> ttyUSB3<Info>: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
>>>
>>>
>>> On Wed, Aug 22, 2012 at 5:39 PM, Sameer Khan <sameer2k3t at gmail.com>wrote:
>>>
>>>> No luck
>>>>
>>>> 2012-08-22 17:35:38.337967 [ERR] gsmopen_protocol.cpp:3160 rev
>>>> ccae5cd|07bc7ba[(nil)|37     ][ERRORA  3160 ][gsm01     ][-1, 0, 0] port
>>>> ttyUSB2, NOT open
>>>>
>>>> 2012-08-22 17:37:27.057967 [ERR] gsmopen_protocol.cpp:3160 rev
>>>> ccae5cd|07bc7ba[(nil)|37     ][ERRORA  3160 ][gsm01     ][-1, 0, 0] port
>>>> ttyUSB1, NOT open
>>>>
>>>> Yes It is enabled, I tested before on other box
>>>>
>>>>
>>>> On Wed, Aug 22, 2012 at 5:01 PM, Dmitry Lysenko <
>>>> dvl36.ripe.nick at gmail.com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I have reproduced  such situation. It seems that
>>>>> controldevice_audio_name is pointing to wrong /dev/ttyUSBx.
>>>>> I suggest try:
>>>>>
>>>>>  <param name="controldevice_name" value="/dev/ttyUSB0"/>
>>>>>  <param name="controldevice_audio_name" value="/dev/ttyUSB1"/>
>>>>>
>>>>> if doesn't help try:
>>>>>  <param name="controldevice_name" value="/dev/ttyUSB0"/>
>>>>>  <param name="controldevice_audio_name" value="/dev/ttyUSB2"/>
>>>>>
>>>>> P.S. Are you sure modem voice feature enabled?
>>>>>
>>>>> 2012/8/22 Sameer Khan <sameer2k3t at gmail.com>
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> It says
>>>>>>
>>>>>> option                  8690  0
>>>>>> usb_wwan                9960  1 option
>>>>>> usbserial              31372  2 option,usb_wwan
>>>>>>
>>>>>> What should I do now to get it working ?
>>>>>>
>>>>>> Thanks for replying
>>>>>>
>>>>>> On Tue, Aug 21, 2012 at 2:55 PM, Dmitry Lysenko <
>>>>>> dvl36.ripe.nick at gmail.com> wrote:
>>>>>>
>>>>>>> As root: lsmod | grep option
>>>>>>> Should be something like that:
>>>>>>> ---
>>>>>>> root at debian:~# lsmod | grep option
>>>>>>> option                 15351  6
>>>>>>> usb_wwan                8362  1 option
>>>>>>> usbserial              26535  14 usb_wwan,option
>>>>>>> usbcore               122921  10
>>>>>>> ehci_hcd,usb_storage,usbserial,gspca_main,usb_wwan,option,gspca_zc3xx,snd_usbmidi_lib,snd_usb_audio
>>>>>>> ---
>>>>>>>  2012/8/21 Sameer Khan <sameer2k3t at gmail.com>
>>>>>>>
>>>>>>>> I guess so, I have CentOS 6 minimal installed
>>>>>>>>
>>>>>>>> how can I identify if this is option driver ?
>>>>>>>>
>>>>>>>> Yes I saw this message on ttyUSB0
>>>>>>>>
>>>>>>>> I can not load gsmopen with ttyUSB2 or ttyUSB1
>>>>>>>>
>>>>>>>>
>>>>>>>> On Tue, Aug 21, 2012 at 2:21 PM, Dmitry Lysenko <
>>>>>>>> dvl36.ripe.nick at gmail.com> wrote:
>>>>>>>>
>>>>>>>>> Are you using "option" linux driver?
>>>>>>>>> I checked Huawei E1550, E153 and E173 modems on some systems and
>>>>>>>>> they have only 3 virtual serial ports.(using "option" driver)
>>>>>>>>> Also you can check manually with minicom.
>>>>>>>>> Usually ttyUSB0 is accepting  AT-commands, but will not reply with
>>>>>>>>> OK or ERROR, ttyUSB1 is used for audio, and ttyUSB2 is accepting
>>>>>>>>> AT-commands and replying  as normal serial modem.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> 2012/8/21 Sameer Khan <sameer2k3t at gmail.com>
>>>>>>>>>
>>>>>>>>>> It didn't for me, according to wvdial my modem is ttyUSB0 and
>>>>>>>>>> ttyUSB3
>>>>>>>>>>
>>>>>>>>>> On Mon, Aug 20, 2012 at 1:43 PM, Dmitry Lysenko <
>>>>>>>>>> dvl36.ripe.nick at gmail.com> wrote:
>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Hello.
>>>>>>>>>>> Try:
>>>>>>>>>>>  <param name="controldevice_name" value="/dev/ttyUSB2"/>
>>>>>>>>>>>  <param name="controldevice_audio_name" value="/dev/ttyUSB1"/>
>>>>>>>>>>> It's worked for me.
>>>>>>>>>>>
>>>>>>>>>>> 2012/8/20 Sameer Khan <sameer2k3t at gmail.com>
>>>>>>>>>>>
>>>>>>>>>>>>  Hi,
>>>>>>>>>>>>
>>>>>>>>>>>> I can't get audio working with e1550
>>>>>>>>>>>>
>>>>>>>>>>>> I have this config :
>>>>>>>>>>>>     <interface id="1" name="gsm01">
>>>>>>>>>>>>       <param name="controldevice_name" value="/dev/ttyUSB0"/>
>>>>>>>>>>>>       <param name="controldevice_audio_name"
>>>>>>>>>>>> value="/dev/ttyUSB3"/>
>>>>>>>>>>>>
>>>>>>>>>>>> I tried swaping 0 and 3 but having same results
>>>>>>>>>>>>
>>>>>>>>>>>> I am originating a call from softphone and answering it on cell
>>>>>>>>>>>> phone but softphone doesn't get notified of being answered and keeps
>>>>>>>>>>>> ringing
>>>>>>>>>>>>
>>>>>>>>>>>> Please help
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> _________________________________________________________________________
>>>>>>>>>>>> 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
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> _________________________________________________________________________
>>>>>>>>>>> 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
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> _________________________________________________________________________
>>>>>>>>>> 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
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _________________________________________________________________________
>>>>>>>>> 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
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> _________________________________________________________________________
>>>>>>>> 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
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _________________________________________________________________________
>>>>>>> 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
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> _________________________________________________________________________
>>>>>> 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
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> _________________________________________________________________________
>>>>> 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
>>>>>
>>>>>
>>>>
>>>
>>> _________________________________________________________________________
>>> 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
>>>
>>>
>>
>> _________________________________________________________________________
>> 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
>>
>>
>
> _________________________________________________________________________
> 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/20120822/1cda7e75/attachment-0001.html 


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